/* =========================================================
   Dr. Elias Albarouni, bilingual landing page
   Shared stylesheet (LTR + RTL via logical properties)
   ========================================================= */

:root {
  --ink: #111416;
  --navy: #10202D;
  --navy-deep: #08131C;
  --gold: #B3955A;
  --gold-soft: #D0BC8A;
  --ivory: #F6F4EF;
  --white: #FFFFFF;
  --muted: #66717A;
  --line: #DDD9CF;

  --maxw: 1240px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-y: clamp(4.5rem, 9vw, 8.75rem);
  --radius: 14px;
  --radius-sm: 10px;

  --shadow-sm: 0 1px 2px rgba(8, 19, 28, 0.05);
  --shadow-md: 0 18px 45px -25px rgba(8, 19, 28, 0.45);
  --shadow-lg: 0 40px 80px -40px rgba(8, 19, 28, 0.55);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-ar-display: "Noto Kufi Arabic", "Segoe UI", sans-serif;
  --font-ar-body: "Noto Sans Arabic", "Segoe UI", sans-serif;

  --fs-eyebrow: 0.78rem;
  --lh-body: 1.65;
}

/* ---------- Arabic locale overrides ---------- */
html[lang="ar"] {
  --font-serif: var(--font-ar-display);
  --font-sans: var(--font-ar-display);
  --lh-body: 1.85;
  --muted: #2c353c;
}
/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-anchor: none;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(1.0625rem, 0.4vw + 1rem, 1.125rem);
  line-height: var(--lh-body);
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

html[lang="ar"] body {
  font-weight: 500;
  font-size: clamp(1.08rem, 0.4vw + 1.02rem, 1.16rem);
  -webkit-font-smoothing: auto;
  -moz-osx-font-smoothing: auto;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
}

h1,
h2,
h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.08;
  margin: 0;
  color: var(--navy);
  letter-spacing: -0.01em;
}

html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3 {
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.3;
}

/* Arabic reads heavier: lift weight across key text so it feels
   confident rather than thin. */
html[lang="ar"] .nav-list a,
html[lang="ar"] .inline-link,
html[lang="ar"] .cred__title {
  font-weight: 700;
}

html[lang="ar"] .btn,
html[lang="ar"] .hero__title,
html[lang="ar"] .approach__quote,
html[lang="ar"] .brand__name,
html[lang="ar"] .tl-year {
  font-weight: 700;
}

html[lang="ar"] .lead,
html[lang="ar"] .hero__text,
html[lang="ar"] .about__body p,
html[lang="ar"] .exp-card p,
html[lang="ar"] .exp-card__list li,
html[lang="ar"] .cred__desc,
html[lang="ar"] .journey-step p,
html[lang="ar"] .tl-body p,
html[lang="ar"] .gallery__note,
html[lang="ar"] .contact__head p,
html[lang="ar"] .section-head p,
html[lang="ar"] .card-note,
html[lang="ar"] .site-footer,
html[lang="ar"] .contact__location,
html[lang="ar"] .hero__location,
html[lang="ar"] p,
html[lang="ar"] li {
  font-weight: 600;
}

html[lang="ar"] .exp-card h3 {
  font-weight: 800;
}

p {
  margin: 0;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  background: var(--gold-soft);
  color: var(--navy-deep);
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--section-y);
}

.eyebrow {
  font-family: var(--font-sans);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: 0.65;
}

html[lang="ar"] .eyebrow {
  letter-spacing: 0.08em;
  font-weight: 700;
}

.section-head {
  max-width: 60ch;
  margin-bottom: clamp(2.5rem, 5vw, 3.75rem);
}

.section-head .eyebrow {
  margin-bottom: 1rem;
}

.section-head h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.75rem);
}

.lead {
  color: var(--muted);
  font-size: 1.075rem;
}

.skip-link {
  position: absolute;
  inset-block-start: -100px;
  inset-inline-start: 1rem;
  background: var(--navy);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  z-index: 200;
  transition: inset-block-start 0.2s var(--ease);
}

.skip-link:focus {
  inset-block-start: 1rem;
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--navy);
  --btn-fg: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 48px;
  padding: 0.85rem 1.6rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-sans);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 0.2s var(--ease), background 0.25s var(--ease),
    color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--gold {
  --btn-bg: var(--gold);
  --btn-fg: var(--navy-deep);
}

.btn--gold:hover {
  --btn-bg: var(--gold-soft);
}

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--navy);
  border-color: var(--line);
}

.btn--ghost:hover {
  border-color: var(--gold);
  background: rgba(179, 149, 90, 0.08);
}

.btn--on-dark {
  --btn-bg: transparent;
  --btn-fg: var(--white);
  border-color: rgba(255, 255, 255, 0.28);
}

.btn--on-dark:hover {
  border-color: var(--gold-soft);
  background: rgba(255, 255, 255, 0.06);
}

.btn .icon {
  width: 18px;
  height: 18px;
  flex: none;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  inset-block-start: 0;
  z-index: 100;
  background: var(--ivory);
  border-block-end: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.site-header.is-scrolled,
.site-header:has(.primary-nav.is-open) {
  border-block-end-color: var(--line);
  background: var(--ivory);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  line-height: 1.1;
  min-width: 0;
}

.brand__home {
  flex: none;
  display: flex;
}

.brand__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

.brand__mono {
  width: 40px;
  height: 40px;
  flex: none;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.02em;
}

.brand__logo {
  width: 46px;
  height: 46px;
  flex: none;
  object-fit: contain;
}

.footer-brand .brand {
  gap: 0.7rem;
}

.footer-brand .brand__logo {
  width: 42px;
  height: 42px;
}

.brand__name {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy);
  display: inline;
  white-space: nowrap;
}

.brand__sub {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-block-start: 0.22rem;
  line-height: 1.3;
  max-width: 100%;
}

html[lang="ar"] .brand__sub {
  letter-spacing: 0.02em;
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: none;
}

/* Primary nav */
.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2rem);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 1.9rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list a {
  position: relative;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  padding-block: 0.35rem;
  transition: color 0.2s var(--ease);
}

.nav-list a::after {
  content: "";
  position: absolute;
  inset-block-end: 0;
  inset-inline-start: 0;
  width: 100%;
  height: 1.5px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: inline-start;
  transition: transform 0.25s var(--ease);
}

.nav-list a:hover {
  color: var(--navy);
}

.nav-list a:hover::after {
  transform: scaleX(1);
}

.nav-list a[aria-current="page"],
.nav-list a[aria-current="true"] {
  color: var(--navy-deep);
  font-weight: 600;
}

.nav-list a[aria-current="page"]::after,
.nav-list a[aria-current="true"]::after {
  transform: scaleX(1);
  height: 2px;
  background: var(--gold);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 1.15rem;
  font-family: var(--font-ar-display);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
  color: var(--gold);
  border: 1px solid var(--gold);
  border-radius: 999px;
  background: transparent;
  transition: transform 0.2s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.lang-switch[lang="en"] {
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.lang-switch:hover {
  border-color: var(--gold-soft);
  color: var(--gold-soft);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.lang-switch[aria-current="true"] {
  color: var(--gold);
}

.header-facebook {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  background: transparent;
  color: var(--gold);
  transition: transform 0.2s var(--ease), background 0.25s var(--ease),
    color 0.25s var(--ease), border-color 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}

.header-facebook svg {
  width: 28px;
  height: 28px;
  display: block;
  flex: none;
}

.header-facebook:hover {
  background: transparent;
  border-color: var(--gold-soft);
  color: var(--gold-soft);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.header-actions .btn {
  min-height: 42px;
  padding-block: 0.55rem;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  position: relative;
  width: 42px;
  height: 42px;
  flex: none;
  border: 1px solid var(--gold);
  border-radius: 999px;
  background: transparent;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  transition: transform 0.2s var(--ease), border-color 0.25s var(--ease),
    color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.nav-toggle:hover {
  border-color: var(--gold-soft);
  color: var(--gold-soft);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.nav-toggle span {
  position: relative;
  display: block;
  width: 16px;
  height: 2px;
  background: currentColor;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  width: 16px;
  height: 2px;
  background: currentColor;
  transition: transform 0.25s var(--ease), top 0.25s var(--ease),
    opacity 0.2s var(--ease);
}

.nav-toggle span::before {
  top: -5px;
}

.nav-toggle span::after {
  top: 5px;
}

.nav-toggle[aria-expanded="true"] {
  background: transparent;
  border-color: var(--gold);
  color: var(--gold);
}

.nav-toggle[aria-expanded="true"] span {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] span::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span::after {
  top: 0;
  transform: rotate(-45deg);
}

/* ---------- Hero (full-bleed navy matching the portrait) ---------- */
.hero {
  --hero-navy: #050607;
  --hero-h: calc(100svh - 74px);
  position: relative;
  background: var(--hero-navy);
  color: var(--ivory);
  overflow: hidden;
  height: var(--hero-h);
  max-height: var(--hero-h);
}

.hero__band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 48vw);
  height: 100%;
  align-items: stretch;
}

.hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: clamp(1.25rem, 4vh, 2.75rem);
  padding-inline: var(--gutter);
  max-width: 38rem;
  margin-inline-start: max(var(--gutter), calc((100vw - var(--maxw)) / 2));
  margin-inline-end: clamp(1.5rem, 4vw, 3rem);
}

html[dir="rtl"] .hero__content {
  margin-inline-start: clamp(1.5rem, 4vw, 3rem);
  margin-inline-end: max(var(--gutter), calc((100vw - var(--maxw)) / 2));
}

html[dir="rtl"] .hero__media {
  order: -1;
}

.hero h1 {
  font-size: clamp(2.35rem, 5.4vw, 3.85rem);
  margin-bottom: 0.4rem;
  color: var(--white);
}

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  font-weight: 500;
  font-style: italic;
  color: var(--gold-soft);
  margin-bottom: 1rem;
}

html[lang="ar"] .hero__title {
  font-style: normal;
  font-weight: 600;
}

.hero__text {
  max-width: 46ch;
  color: rgba(246, 244, 239, 0.78);
  font-size: 1.02rem;
  margin-bottom: 1.25rem;
}

.hero .btn--ghost {
  --btn-fg: var(--ivory);
  border-color: rgba(255, 255, 255, 0.28);
}

.hero .btn--ghost:hover {
  border-color: var(--gold-soft);
  background: rgba(255, 255, 255, 0.06);
}

/* Credential row, credibility-first, as used by premium clinics */
.hero__meta {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 1rem;
}

.hero__meta li {
  position: relative;
  padding-inline-start: 0.85rem;
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(246, 244, 239, 0.88);
}

.hero__meta li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  inset-block-start: 50%;
  width: 4px;
  height: 4px;
  margin-block-start: -2px;
  border-radius: 50%;
  background: var(--gold);
}

html[lang="ar"] .hero__meta li {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.hero__location {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  color: rgba(246, 244, 239, 0.62);
}

.hero__location .icon {
  width: 16px;
  height: 16px;
  color: var(--gold);
}

/* Hero portrait: edge-to-edge like contact, fill the right column */
.hero__media {
  position: relative;
  min-height: 100%;
  height: 100%;
  background: var(--hero-navy);
  overflow: hidden;
}

.hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Keep framing raised, but always touch top and base of the banner */
  object-position: 55% 28%;
  transform: none;
}

.portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  box-shadow: var(--shadow-lg);
}

.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portrait__frame {
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(208, 188, 138, 0.5);
  border-radius: calc(var(--radius) - 6px);
  pointer-events: none;
  z-index: 3;
}

.portrait__placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 0.75rem;
  text-align: center;
  color: rgba(246, 244, 239, 0.9);
  padding: 2rem;
}

.portrait__placeholder .mono {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  color: var(--gold-soft);
  letter-spacing: 0.05em;
}

.portrait__placeholder .note {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(246, 244, 239, 0.55);
}

html[lang="ar"] .portrait__placeholder .note {
  letter-spacing: 0.04em;
}

/* ---------- Credentials strip ---------- */
.creds {
  border-block: 1px solid var(--line);
  background: var(--white);
}

.creds__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  padding-block: clamp(2.5rem, 4vw, 3.25rem);
}

.cred {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.cred__icon {
  flex: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--gold);
}

.cred__icon .icon {
  width: 20px;
  height: 20px;
}

.cred__title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.cred__desc {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ---------- About ---------- */
.about__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.about h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  max-width: 18ch;
}

html[lang="ar"] .about h2 {
  max-width: none;
}

.about__body p + p {
  margin-block-start: 1.4rem;
}

.about__body p {
  color: #3a444c;
}

.about__cta {
  margin-block-start: 2rem;
}

.inline-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--navy);
  border-block-end: 1.5px solid var(--gold);
  padding-block-end: 3px;
  transition: gap 0.2s var(--ease), color 0.2s var(--ease);
}

.inline-link .icon {
  width: 16px;
  height: 16px;
  color: var(--gold);
  transition: transform 0.2s var(--ease);
}

.inline-link:hover {
  color: var(--gold);
}

.inline-link:hover .icon {
  transform: translateX(3px);
}

html[dir="rtl"] .inline-link:hover .icon {
  transform: translateX(-3px);
}

html[dir="rtl"] .inline-link .icon {
  transform: scaleX(-1);
}

/* ---------- Expertise ---------- */
.expertise {
  background: var(--white);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.15rem, 2.4vw, 1.65rem);
}

.section-head .lead {
  max-width: 46ch;
  margin-block: 0.85rem 1.35rem;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.6;
  font-weight: 500;
}

.section-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-block: 0.25rem 1.15rem;
  padding-block-end: 3px;
  border: none;
  border-block-end: 1.5px solid var(--gold);
  border-radius: 0;
  background: transparent;
  color: var(--navy);
  font-size: clamp(1.12rem, 1.5vw, 1.28rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  box-shadow: none;
  transition: color 0.2s var(--ease), gap 0.2s var(--ease);
}

html[lang="ar"] .section-cta {
  letter-spacing: 0;
  font-weight: 700;
}

.section-cta::after {
  content: "→";
  font-size: 0.95em;
  color: var(--gold);
  transition: transform 0.2s var(--ease);
}

html[dir="rtl"] .section-cta::after {
  content: "←";
}

.section-cta:hover,
.section-cta:focus-visible {
  color: var(--gold);
  gap: 0.7rem;
  outline: none;
}

.section-cta:hover::after,
.section-cta:focus-visible::after {
  transform: translateX(3px);
}

html[dir="rtl"] .section-cta:hover::after,
html[dir="rtl"] .section-cta:focus-visible::after {
  transform: translateX(-3px);
}

a.exp-card {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.exp-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: clamp(1.65rem, 2.8vw, 2.2rem) clamp(1.35rem, 2.2vw, 1.9rem);
  background:
    linear-gradient(165deg, #fffefb 0%, var(--ivory) 48%, #f3eee4 100%);
  border: 1px solid rgba(26, 45, 66, 0.1);
  border-radius: 0;
  border-block-start: 3px solid var(--navy);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.7) inset,
    0 12px 28px rgba(15, 28, 46, 0.04);
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  overflow: hidden;
}

.exp-card::before {
  content: "";
  position: absolute;
  inset-inline-end: -18%;
  inset-block-start: -22%;
  width: 9rem;
  height: 9rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(179, 149, 90, 0.14), transparent 68%);
  pointer-events: none;
}

.exp-card:hover,
.exp-card:focus-visible {
  border-color: rgba(179, 149, 90, 0.42);
  border-block-start-color: var(--gold);
  background:
    linear-gradient(165deg, #ffffff 0%, #fbf8f1 55%, #f6f0e4 100%);
  transform: translateY(-4px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.85) inset,
    0 22px 48px rgba(15, 28, 46, 0.1);
  outline: none;
}

.exp-card__icon {
  display: none;
}

.card-note {
  margin-block-start: 2rem;
  font-size: 0.9rem;
  font-style: italic;
  color: var(--muted);
}

html[lang="ar"] .card-note {
  font-style: normal;
}

/* ---------- Background / timeline ---------- */
.timeline {
  display: grid;
  gap: 0;
  max-width: 820px;
  margin-inline: auto;
}

.tl-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  padding-block: clamp(1.75rem, 3vw, 2.5rem);
  border-block-end: 1px solid var(--line);
  position: relative;
}

.tl-item:last-child {
  border-block-end: none;
}

.tl-year {
  font-family: var(--font-serif);
  font-size: 1.9rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
}

.tl-body h3 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.tl-body p {
  color: var(--muted);
  font-size: 0.98rem;
}

.tl-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-block-start: 1rem;
}

/* ---------- Research (dark) ---------- */
.research {
  background: linear-gradient(155deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--ivory);
  position: relative;
  overflow: hidden;
}

.research::before {
  content: "";
  position: absolute;
  inset-block-start: -30%;
  inset-inline-end: -10%;
  width: 480px;
  height: 480px;
  background: radial-gradient(
    circle,
    rgba(179, 149, 90, 0.18) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.research__inner {
  max-width: 760px;
  position: relative;
}

.research h2 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-block: 1rem 1.5rem;
}

.research p {
  color: rgba(246, 244, 239, 0.82);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.research .gold-rule {
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin-block-start: 2.25rem;
}

/* ---------- Contact (full-bleed cream matching the studio portrait) ---------- */
.contact {
  --contact-wall: #f3f1ec;
  background: var(--contact-wall);
  color: var(--ink);
  padding-block: 0;
}

.contact__band {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 42vw);
  align-items: stretch;
  min-height: min(58vh, 540px);
}

.contact__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: clamp(2.25rem, 5vw, 3.75rem);
  padding-inline: var(--gutter);
  max-width: 36rem;
  margin-inline-start: max(var(--gutter), calc((100vw - var(--maxw)) / 2));
  margin-inline-end: clamp(1.25rem, 3vw, 2.5rem);
}

html[dir="rtl"] .contact__copy {
  margin-inline-start: clamp(1.25rem, 3vw, 2.5rem);
  margin-inline-end: max(var(--gutter), calc((100vw - var(--maxw)) / 2));
}

html[dir="rtl"] .contact__media {
  order: -1;
}

.contact__media {
  background: var(--contact-wall);
  min-height: 100%;
}

.contact__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Leave a little space above the head */
  object-position: 50% 14%;
}

.contact__head {
  max-width: 620px;
  margin-bottom: clamp(1.25rem, 3vw, 1.75rem);
}

.contact__head h2 {
  color: var(--navy);
  font-size: clamp(1.75rem, 3.4vw, 2.4rem);
  margin-block: 0.7rem 0.65rem;
}

.contact__head p {
  color: var(--muted);
  font-size: 0.98rem;
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  max-width: 28rem;
}

.contact-card {
  display: grid;
  grid-template-columns: 1.1rem minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 1rem;
  row-gap: 0.2rem;
  align-items: start;
  padding: 1rem 0;
  background: transparent;
  border: none;
  border-block-end: 1px solid rgba(221, 217, 207, 0.9);
  border-radius: 0;
  transition: opacity 0.2s var(--ease);
}

.contact-card:last-child {
  border-block-end: none;
}

.contact-card:hover {
  opacity: 0.82;
}

.contact-card__icon {
  grid-row: 1 / span 2;
  width: 1.1rem;
  height: 1.1rem;
  margin-block-start: 0.35rem;
  border-radius: 0;
  border: none;
  background: transparent;
  display: grid;
  place-items: center;
  color: var(--gold);
  padding: 0;
}

.contact-card__icon .icon {
  width: 1.05rem;
  height: 1.05rem;
}

.contact-card__label,
.contact-card__value {
  grid-column: 2;
  min-width: 0;
}

.contact-card__label {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  line-height: 1.2;
}

html[lang="ar"] .contact-card__label {
  letter-spacing: 0.04em;
  font-weight: 700;
  font-size: 0.78rem;
}

.contact-card__value {
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  font-weight: 500;
  line-height: 1.3;
  color: var(--navy);
  letter-spacing: 0.01em;
  overflow-wrap: anywhere;
}

html[lang="ar"] .contact-card__value {
  font-family: var(--font-ar-display);
  font-weight: 700;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  letter-spacing: 0;
}

.contact-card__value:not([dir="ltr"]) {
  font-family: var(--font-sans);
  font-weight: 500;
  letter-spacing: 0.01em;
}

html[lang="ar"] .contact-card__value:not([dir="ltr"]) {
  font-family: var(--font-sans);
  font-weight: 600;
}

/* Phone / email: same sans as body text */
.contact-card__value[dir="ltr"] {
  font-family: var(--font-sans);
  font-weight: 500;
  letter-spacing: 0.01em;
  unicode-bidi: isolate;
}

html[lang="ar"] .contact-card__value[dir="ltr"] {
  font-family: var(--font-sans);
  font-weight: 600;
}

.contact__location {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-block-start: 1.15rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.contact__location .icon {
  width: 16px;
  height: 16px;
  color: var(--gold-soft);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(246, 244, 239, 0.72);
  padding-block: clamp(3rem, 5vw, 4rem);
  font-size: 0.9rem;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  align-items: flex-start;
  padding-block-end: 2rem;
  border-block-end: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .brand__name {
  color: var(--white);
  font-size: 1.2rem;
}

.footer-brand p {
  margin-block-start: 0.5rem;
  color: rgba(246, 244, 239, 0.6);
  font-size: 0.88rem;
}

.footer-links {
  display: flex;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(246, 244, 239, 0.75);
  transition: color 0.2s var(--ease);
}

.footer-links a:hover {
  color: var(--gold-soft);
}

.footer-disclaimer {
  padding-block: 1.75rem;
  display: grid;
  gap: 0.85rem;
  border-block-end: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(246, 244, 239, 0.55);
  font-size: 0.82rem;
  line-height: 1.6;
  max-width: 90ch;
}

.footer-copy {
  padding-block-start: 1.5rem;
  font-size: 0.82rem;
  color: rgba(246, 244, 239, 0.5);
}

/* ---------- Mobile sticky CTA ---------- */
.mobile-cta {
  position: fixed;
  inset-inline: 0;
  inset-block-end: calc(1.15rem + env(safe-area-inset-bottom));
  z-index: 90;
  display: none;
  justify-content: center;
  padding: 0 1.25rem;
  background: none;
  pointer-events: none;
  transition: transform 0.28s var(--ease), opacity 0.28s var(--ease);
}

.mobile-cta.is-hidden {
  transform: translateY(1.35rem);
  opacity: 0;
}

.mobile-cta.is-hidden .mobile-cta__btn {
  pointer-events: none;
}

.mobile-cta__btn {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.85rem 1.9rem;
  border-radius: 999px;
  border: 1px solid var(--gold);
  background: var(--gold);
  color: var(--navy-deep);
  font-family: var(--font-sans);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  box-shadow:
    0 16px 40px -14px rgba(8, 19, 28, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  transition: transform 0.2s var(--ease), background 0.25s var(--ease),
    color 0.25s var(--ease), border-color 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}

.mobile-cta__btn:hover {
  background: var(--gold-soft);
  color: var(--navy-deep);
  border-color: var(--gold-soft);
  transform: translateY(-2px);
  box-shadow:
    0 20px 44px -14px rgba(8, 19, 28, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

html[lang="ar"] .mobile-cta__btn {
  font-family: var(--font-sans);
  font-weight: 800;
  letter-spacing: 0;
  font-size: 0.98rem;
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal[data-delay="1"] {
  transition-delay: 0.08s;
}
.reveal[data-delay="2"] {
  transition-delay: 0.16s;
}
.reveal[data-delay="3"] {
  transition-delay: 0.24s;
}
.reveal[data-delay="4"] {
  transition-delay: 0.32s;
}
.reveal[data-delay="5"] {
  transition-delay: 0.4s;
}

/* ---------- Procedure practice areas ---------- */
.exp-card__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin-bottom: 1rem;
  padding: 0.35rem 0.7rem;
  border: 1px solid rgba(179, 149, 90, 0.35);
  border-radius: 999px;
  background: rgba(255, 252, 246, 0.9);
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  line-height: 1;
}

html[lang="ar"] .exp-card__num {
  letter-spacing: 0.06em;
  font-weight: 800;
}

.exp-card h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.45rem, 2.2vw, 1.85rem);
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: var(--navy-deep);
  letter-spacing: -0.02em;
  line-height: 1.18;
}

html[lang="ar"] .exp-card h3 {
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.35;
}

.exp-card p {
  color: #5a6570;
  font-size: 0.98rem;
  line-height: 1.7;
  font-weight: 500;
  flex: 1;
}

.exp-card__list {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 1rem 0 0;
  border-block-start: 1px solid rgba(26, 45, 66, 0.1);
  display: grid;
  gap: 0.5rem;
}

.exp-card__list li {
  position: relative;
  padding-inline-start: 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy-deep);
  line-height: 1.45;
}

html[lang="ar"] .exp-card__list li {
  font-weight: 700;
}

.exp-card__list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  inset-block-start: 0.55em;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--gold);
}

.exp-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  width: fit-content;
  margin-block-start: auto;
  padding: 0;
  padding-block-start: 1.35rem;
  padding-block-end: 3px;
  border: none;
  border-block-end: 1.5px solid var(--gold);
  border-radius: 0;
  background: transparent;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--gold);
}

html[lang="ar"] .exp-card__cta {
  letter-spacing: 0;
  font-weight: 700;
}

.exp-card__cta::after {
  content: "→";
  color: var(--gold);
  font-size: 0.95em;
  transition: transform 0.2s var(--ease);
}

html[dir="rtl"] .exp-card__cta::after {
  content: "←";
}

.exp-card:hover .exp-card__cta,
.exp-card:focus-visible .exp-card__cta {
  color: #9a7a3a;
  border-block-end-color: #9a7a3a;
}

.exp-card:hover .exp-card__cta::after,
.exp-card:focus-visible .exp-card__cta::after {
  transform: translateX(3px);
  color: #9a7a3a;
}

html[dir="rtl"] .exp-card:hover .exp-card__cta::after,
html[dir="rtl"] .exp-card:focus-visible .exp-card__cta::after {
  transform: translateX(-3px);
}

/* ---------- Approach / philosophy band ---------- */
.approach {
  background: var(--white);
  border-block: 1px solid var(--line);
}

.approach__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.approach__media {
  position: relative;
  aspect-ratio: 5 / 4;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.approach__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.approach__quote {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 500;
  line-height: 1.25;
  color: var(--navy);
  margin-block: 1.25rem 1.5rem;
}

html[lang="ar"] .approach__quote {
  line-height: 1.5;
}

.approach__quote::before {
  content: "“";
  color: var(--gold);
  margin-inline-end: 0.15em;
}

html[lang="ar"] .approach__quote::before {
  content: "”";
}

.approach p.lead {
  color: var(--muted);
}

/* ---------- Patient journey ---------- */
.journey__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  counter-reset: step;
}

.journey-step {
  position: relative;
  padding-block-start: 2.75rem;
}

.journey-step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: 0;
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--gold);
}

.journey-step::after {
  content: "";
  position: absolute;
  inset-block-start: 0.9rem;
  inset-inline-start: 3rem;
  inset-inline-end: 0;
  height: 1px;
  background: var(--line);
}

.journey-step:last-child::after {
  display: none;
}

.journey-step h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.journey-step p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---------- Gallery (legacy grid, kept for fallback) ---------- */
.gallery {
  background: var(--ivory);
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: clamp(0.6rem, 1.4vw, 1rem);
}

.gallery__item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--navy-deep);
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.gallery__item:hover img {
  transform: scale(1.04);
}

.gallery__item--tall {
  grid-row: span 2;
}

.gallery__item--wide {
  grid-column: span 2;
}

.gallery__note {
  margin-block-start: 1.5rem;
  font-size: 0.85rem;
  color: var(--muted);
  font-style: italic;
}

html[lang="ar"] .gallery__note {
  font-style: normal;
}

/* ---------- About with image ---------- */
.about__media {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  max-width: 420px;
}

.about__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Cinematic gallery carousel ---------- */
.gallery {
  background: var(--navy-deep);
  color: var(--ivory);
  overflow: hidden;
}

.gallery .section-head h2 {
  color: var(--white);
}

.carousel {
  position: relative;
  display: flex;
  flex-direction: column;
  margin-block: clamp(1.5rem, 3vw, 2.5rem);
  padding-block-end: 0.25rem;
}

.carousel__viewport {
  overflow: hidden;
}

.carousel__track {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
  transition: transform 0.75s var(--ease);
  will-change: transform;
}

.carousel__slide {
  position: relative;
  flex: 0 0 100%;
  aspect-ratio: 16 / 9;
  background: #050d14;
  overflow: hidden;
}

.carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  transition: transform 7s linear;
}

.carousel__slide.is-active img {
  transform: scale(1);
}

.carousel__slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(5, 13, 20, 0.15) 0%,
    rgba(5, 13, 20, 0) 35%,
    rgba(5, 13, 20, 0.55) 100%
  );
  pointer-events: none;
}

.carousel__caption {
  position: absolute;
  inset-block-end: 3.25rem;
  inset-inline-start: 0;
  z-index: 2;
  padding: clamp(1.25rem, 3vw, 2.75rem);
  padding-block-end: 0.5rem;
  max-width: 46ch;
}

.carousel__caption span {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.15rem, 2.4vw, 1.9rem);
  color: var(--white);
  line-height: 1.25;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.5);
}

html[lang="ar"] .carousel__caption span {
  font-style: normal;
  font-weight: 700;
}

/* Arrows */
.carousel__btn {
  position: absolute;
  inset-block-start: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: clamp(44px, 4vw, 56px);
  height: clamp(44px, 4vw, 56px);
  display: grid;
  place-items: center;
  border: 1px solid rgba(208, 188, 138, 0.55);
  border-radius: 50%;
  background: rgba(8, 19, 28, 0.45);
  backdrop-filter: blur(6px);
  color: var(--ivory);
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease),
    transform 0.25s var(--ease);
}

.carousel__btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-deep);
}

.carousel__btn svg {
  width: 24px;
  height: 24px;
}

.carousel__btn--prev {
  inset-inline-start: clamp(0.75rem, 2vw, 1.75rem);
}

.carousel__btn--next {
  inset-inline-end: clamp(0.75rem, 2vw, 1.75rem);
}

html[dir="rtl"] .carousel__btn svg {
  transform: scaleX(-1);
}

/* Dots sit under the heading, above the image, so they stay usable */
.carousel__dots {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.2rem;
  order: -1;
  position: relative;
  z-index: 4;
  min-height: 44px;
  margin-block: 0 0.85rem;
}

.carousel__dot {
  width: 40px;
  height: 44px;
  border: none;
  padding: 0;
  background: transparent;
  position: relative;
}

.carousel__dot::after {
  content: "";
  position: absolute;
  inset-inline: 6px;
  inset-block: 20px;
  border-radius: 999px;
  background: rgba(246, 244, 239, 0.35);
  transition: background 0.25s var(--ease), inset-inline 0.25s var(--ease);
}

.carousel__dot.is-active::after {
  background: var(--gold);
  inset-inline: 2px;
}

.gallery__note {
  margin-block-start: 1.75rem;
  font-size: 0.85rem;
  color: rgba(246, 244, 239, 0.6);
  font-style: italic;
}

html[lang="ar"] .gallery__note {
  font-style: normal;
}

/* ---------- Contact background portrait (legacy, unused) ---------- */

/* ---------- Responsive ---------- */
@media (max-width: 1099px) {
  .hero__band,
  .contact__band {
    grid-template-columns: minmax(0, 1fr) minmax(240px, 40vw);
  }
  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .about__grid {
    grid-template-columns: 1fr;
    justify-items: center;
  }
  .about__media {
    margin-inline: auto;
    width: min(100%, 400px);
  }
  .about__grid > :last-child {
    width: 100%;
    max-width: 40rem;
  }
  .about h2 {
    max-width: none;
  }
}

@media (max-width: 900px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    height: auto;
    max-height: none;
    overflow: visible;
  }
  .hero__band,
  .contact__band {
    grid-template-columns: 1fr;
    min-height: 0;
    height: auto;
  }
  .hero__media,
  .contact__media {
    order: -1;
    min-height: 52vw;
    max-height: 420px;
    height: 58vw;
  }
  .hero__media {
    position: relative;
    height: auto;
    min-height: 0;
    max-height: none;
    /* Crop top OR lighting (~20%) and a little from the bottom (~8%) */
    aspect-ratio: 4 / 3.6;
    overflow: hidden;
  }
  .hero__media img {
    position: absolute;
    inset-inline: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    max-width: none;
    object-fit: cover;
    object-position: center top;
    transform: translateY(-20%);
  }
  html[dir="rtl"] .hero__media,
  html[dir="rtl"] .contact__media {
    order: -1;
  }
  .hero__content,
  .contact__copy,
  html[dir="rtl"] .hero__content,
  html[dir="rtl"] .contact__copy {
    margin-inline: auto;
    max-width: var(--maxw);
    width: 100%;
  }
  .contact__copy {
    padding-block: 1.75rem 2rem;
    max-width: 32rem;
  }
  .approach__grid {
    grid-template-columns: 1fr;
  }
  .approach__media {
    order: -1;
  }
  .journey__grid {
    grid-template-columns: 1fr;
  }
  .journey-step {
    padding-block-start: 2.25rem;
  }
  .journey-step::after {
    display: none;
  }
  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 160px;
  }
}

@media (max-width: 1024px) {
  .header-inner {
    gap: 0.55rem;
    min-height: 68px;
  }
  .brand {
    flex: 1 1 auto;
    min-width: 0;
    gap: 0.5rem;
  }
  .brand__copy {
    min-width: 0;
    overflow: visible;
  }
  .brand__name {
    display: block;
    font-size: 0.98rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .brand__sub {
    white-space: normal;
    overflow: visible;
    line-height: 1.25;
    font-size: 0.62rem;
    letter-spacing: 0.05em;
    max-width: 14rem;
  }
  html[lang="ar"] .brand__sub {
    font-size: 0.68rem;
    letter-spacing: 0.01em;
    max-width: 12rem;
  }
  .header-actions {
    gap: 0.4rem;
    flex: 0 0 auto;
  }
  .lang-switch {
    min-height: 38px;
    padding: 0 0.75rem;
    font-size: 0.82rem;
    font-weight: 800;
  }
  .primary-nav {
    position: fixed;
    top: 68px;
    right: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    z-index: 400;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 0;
    background: var(--ivory);
    padding: 0.75rem var(--gutter) 2.5rem;
    overflow-y: auto;
    border-block-start: 1px solid var(--line);
    visibility: hidden;
    pointer-events: none;
    opacity: 0;
    transform: none;
  }

  html[dir="rtl"] .primary-nav {
    transform: none;
  }

  .primary-nav.is-open {
    visibility: visible;
    pointer-events: auto;
    opacity: 1;
    transform: none;
    box-shadow: 0 18px 40px rgba(8, 19, 28, 0.12);
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }

  .nav-list li {
    border-block-end: 1px solid var(--line);
  }

  .nav-list a {
    display: block;
    padding-block: 1.15rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--navy);
  }

  html[lang="ar"] .nav-list a {
    font-weight: 800;
    font-size: 1.25rem;
  }

  .nav-list a::after {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .header-actions .btn--cta {
    display: none;
  }
}

@media (max-width: 767px) {
  .hero {
    padding-block: 0;
    height: auto;
    max-height: none;
  }
  .hero__content {
    padding-block: 1.5rem 4.75rem;
  }
  .carousel__slide {
    aspect-ratio: 4 / 5;
  }
  .brand__sub {
    display: block;
    font-size: 0.58rem;
    letter-spacing: 0.045em;
    margin-block-start: 0.12rem;
    white-space: normal;
    overflow: visible;
    line-height: 1.25;
    max-width: 11.5rem;
  }
  html[lang="ar"] .brand__sub {
    font-size: 0.62rem;
    letter-spacing: 0.01em;
    max-width: 10rem;
  }
  .brand__logo {
    width: 38px;
    height: 38px;
  }
  .brand__name {
    font-size: 0.9rem;
  }
  html[lang="ar"] .brand__name {
    font-size: 0.9rem;
  }
  .header-facebook {
    width: 36px;
    height: 36px;
  }
  .header-facebook svg {
    width: 22px;
    height: 22px;
  }
  .nav-toggle {
    width: 36px;
    height: 36px;
  }
  .lang-switch {
    min-height: 36px;
    padding: 0 0.65rem;
    font-size: 0.78rem;
  }
  .hero__media,
  .contact__media {
    height: 72vw;
    max-height: 460px;
    min-height: 260px;
  }
  .hero__media {
    height: auto;
    max-height: none;
    min-height: 0;
    aspect-ratio: 4 / 3.6;
    overflow: hidden;
  }
  .hero__media img {
    position: absolute;
    inset-inline: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    max-width: none;
    object-fit: cover;
    object-position: center top;
    transform: translateY(-20%);
  }
  .hero h1 {
    font-size: clamp(2rem, 9vw, 2.55rem);
  }
  .hero__text {
    font-size: 0.95rem;
    margin-bottom: 0.9rem;
  }
  .contact__media {
    height: 52vw;
    max-height: 280px;
    min-height: 180px;
  }
  .contact__copy {
    padding-block: 1.35rem 5.25rem;
  }
  .contact-card {
    padding: 0.95rem 0;
  }
  .contact-card__value {
    font-size: 1.15rem;
  }
  .hero__cta .btn {
    flex: 1;
  }
  .creds__grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .card-grid {
    grid-template-columns: 1fr;
  }
  .tl-item {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  .tl-year {
    font-size: 1.5rem;
  }
  .gallery__grid {
    grid-auto-rows: 140px;
  }
  .gallery {
    padding-block-end: calc(var(--section-y) + 4.5rem);
  }
  .about__media {
    max-width: none;
  }
  .mobile-cta {
    display: flex;
  }
}

@media (max-width: 430px) {
  .brand__name {
    font-size: 0.82rem;
  }
  html[lang="ar"] .brand__name {
    font-size: 0.82rem;
  }
  .brand__sub {
    font-size: 0.52rem;
    letter-spacing: 0.04em;
    max-width: 10rem;
  }
  html[lang="ar"] .brand__sub {
    font-size: 0.56rem;
  }
  .header-inner {
    gap: 0.4rem;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
