:root {
  --bg: #0d1117;
  --bg-deep: #050607;
  --surface: #11151b;
  --surface-soft: #161b22;
  --text: #f1f1f1;
  --muted: #b7b7b7;
  --steel: #6b7077;
  --gold: #c8a45a;
  --gold-strong: #d8b96f;
  --line: rgba(200, 164, 90, 0.24);
  --hairline: rgba(255, 255, 255, 0.08);
  --header-bg: rgba(13, 17, 23, 0.9);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
  --on-gold: #111417;
  --max: 1180px;
  --header-height: 76px;
  --display: "Cormorant Garamond", "Cinzel", Georgia, serif;
  --display-caps: "Cinzel", "Cormorant Garamond", Georgia, serif;
  --sans: "Montserrat", Arial, sans-serif;
  --arabic: "Cairo", Arial, sans-serif;
  --arabic-display: "El Messiri", "Noto Kufi Arabic", "Cairo", Arial, sans-serif;
}

:root[data-theme="light"] {
  --bg: #f1f1f1;
  --bg-deep: #ffffff;
  --surface: #ffffff;
  --surface-soft: #ebe8e1;
  --text: #111417;
  --muted: #525860;
  --steel: #6b7077;
  --line: rgba(13, 17, 23, 0.13);
  --hairline: rgba(13, 17, 23, 0.11);
  --header-bg: rgba(241, 241, 241, 0.92);
  --shadow: 0 22px 70px rgba(13, 17, 23, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  overflow-x: hidden;
}

body {
  background:
    radial-gradient(circle at top right, rgba(200, 164, 90, 0.08), transparent 32rem),
    var(--bg);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.7;
  margin: 0;
  text-align: start;
}

body[dir="rtl"] {
  font-family: var(--arabic);
  line-height: 1.85;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  align-items: center;
  backdrop-filter: blur(12px);
  background: #0d1117;
  border-bottom: 1px solid rgba(200, 164, 90, 0.2);
  display: grid;
  gap: 18px;
  grid-template-columns: auto 1fr auto;
  height: var(--header-height);
  left: 0;
  min-height: var(--header-height);
  padding: 0 clamp(24px, 5vw, 96px);
  position: fixed;
  right: 0;
  top: 0;
  z-index: 1000;
}

.brand {
  align-items: center;
  direction: ltr;
  display: inline-flex;
  min-width: 214px;
}

.brand-logo {
  display: block;
  height: auto;
  max-height: 54px;
  object-fit: contain;
  width: clamp(170px, 15vw, 214px);
}

/* Header is always dark navy, so the header brand always uses the dark (light-ink) logo. */
.site-header .brand-logo-light {
  display: none;
}

.site-header .brand-logo-dark {
  display: block;
}

/* Footer follows the theme surface. */
.footer-brand .brand-logo-light {
  display: none;
}

:root[data-theme="light"] .footer-brand .brand-logo-dark {
  display: none;
}

:root[data-theme="light"] .footer-brand .brand-logo-light {
  display: block;
}

.site-nav {
  align-items: center;
  display: flex;
  gap: clamp(18px, 2.35vw, 32px);
  justify-content: center;
}

.site-nav a {
  color: #b7b7b7;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.15em;
  opacity: 1;
  padding: 26px 0 22px;
  position: relative;
  text-transform: uppercase;
}

.site-nav a.active,
.site-nav a:hover {
  color: var(--gold-strong);
  opacity: 1;
}

.site-nav a.active::after,
.site-nav a:hover::after {
  background: var(--gold);
  bottom: 14px;
  content: "";
  height: 2px;
  inset-inline: 0;
  position: absolute;
}

.header-actions {
  align-items: center;
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

.lang-switch {
  border: 1px solid var(--hairline);
  display: inline-flex;
  min-height: 34px;
}

.lang-switch button,
.theme-toggle,
.nav-toggle,
.ghost-button,
.outline-button,
.gold-button,
.text-link {
  align-items: center;
  border-radius: 2px;
  cursor: pointer;
  display: inline-flex;
  justify-content: center;
  min-height: 34px;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
  white-space: normal;
}

.lang-switch button,
.theme-toggle,
.ghost-button {
  background: transparent;
  border: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  min-width: 34px;
  padding: 6px 8px;
}

.lang-switch button.active,
.lang-switch button:hover,
.theme-toggle:hover {
  background: rgba(200, 164, 90, 0.12);
  color: var(--gold-strong);
}

.theme-toggle {
  border: 1px solid var(--hairline);
}

.outline-button,
.ghost-button {
  border: 1px solid var(--gold);
  color: var(--gold-strong);
  padding: 10px 18px;
}

.site-header .outline-button {
  border-radius: 0;
  color: var(--gold);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  min-height: 38px;
  padding: 9px 18px;
  text-transform: uppercase;
}

.site-header .outline-button::after,
.hero-cta::after {
  content: "→";
  margin-inline-start: 8px;
}

.gold-button {
  background: var(--gold);
  border: 1px solid var(--gold);
  color: var(--on-gold);
  font-weight: 700;
  padding: 12px 24px;
}

.text-link {
  color: var(--gold-strong);
  font-weight: 700;
  padding: 10px 0;
}

.outline-button:hover,
.ghost-button:hover {
  background: rgba(200, 164, 90, 0.12);
}

.gold-button:hover {
  background: var(--gold-strong);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
}

.hero,
.page-hero {
  color: #f1f1f1;
  min-height: 720px;
  overflow: hidden;
  padding: 128px clamp(24px, 7vw, 110px) 84px;
  position: relative;
}

body[data-page="home"] .hero {
  align-items: center;
  background: #0d1117;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  min-height: 100vh;
  padding: var(--header-height) 0 0;
}

.compact-hero {
  min-height: 560px;
}

.hero-bg {
  filter: saturate(0.9);
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  width: 100%;
  z-index: 0;
}

body[data-page="home"] .hero-bg {
  height: calc(100% - var(--header-height));
  inset: var(--header-height) 0 auto 0;
  object-position: center right;
  opacity: 0.88;
  width: 100%;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(5, 6, 7, 0.98) 0%, rgba(5, 6, 7, 0.84) 36%, rgba(5, 6, 7, 0.34) 76%),
    linear-gradient(180deg, rgba(5, 6, 7, 0.08), rgba(5, 6, 7, 0.92));
  inset: 0;
  position: absolute;
  z-index: 1;
}

body[data-page="home"] .hero-shade {
  background:
    linear-gradient(90deg, #0d1117 0%, rgba(13, 17, 23, 0.98) 24%, rgba(13, 17, 23, 0.82) 44%, rgba(13, 17, 23, 0.38) 68%, rgba(13, 17, 23, 0.12) 100%),
    linear-gradient(180deg, rgba(13, 17, 23, 0.48) 0%, rgba(13, 17, 23, 0.08) 38%, rgba(13, 17, 23, 0.74) 100%),
    radial-gradient(circle at 72% 46%, rgba(200, 164, 90, 0.1), transparent 34%);
}

body[dir="rtl"] .hero-shade {
  background:
    linear-gradient(270deg, rgba(5, 6, 7, 0.98) 0%, rgba(5, 6, 7, 0.84) 36%, rgba(5, 6, 7, 0.34) 76%),
    linear-gradient(180deg, rgba(5, 6, 7, 0.08), rgba(5, 6, 7, 0.92));
}

/* RTL home hero: keep grid in physical LTR so image stays left and text stays
   right; flip only the text content direction. */
body[data-page="home"][dir="rtl"] .hero {
  direction: ltr;
}

body[data-page="home"][dir="rtl"] .hero-bg {
  object-position: center left;
  transform: scaleX(-1);
}

body[data-page="home"][dir="rtl"] .hero-shade {
  background:
    linear-gradient(270deg, rgba(13, 17, 23, 0.96) 0%, rgba(13, 17, 23, 0.9) 22%, rgba(13, 17, 23, 0.66) 44%, rgba(13, 17, 23, 0.28) 68%, rgba(13, 17, 23, 0.1) 100%),
    linear-gradient(180deg, rgba(13, 17, 23, 0.34) 0%, rgba(13, 17, 23, 0.06) 38%, rgba(13, 17, 23, 0.62) 100%),
    radial-gradient(circle at 28% 46%, rgba(200, 164, 90, 0.1), transparent 34%);
}

.hero-inner {
  max-width: 720px;
  position: relative;
  z-index: 2;
}

body[data-page="home"] .hero-inner {
  grid-column: 1;
  max-width: none;
  padding: 72px clamp(28px, 3.5vw, 64px) 72px clamp(48px, 8vw, 120px);
}

body[dir="rtl"] .hero-inner {
  margin-inline-end: auto;
}

body[data-page="home"][dir="rtl"] .hero-inner {
  direction: rtl;
  grid-column: 2;
  margin-inline-end: 0;
  margin-inline-start: auto;
  padding: 72px clamp(48px, 8vw, 120px) 72px clamp(28px, 3.5vw, 64px);
  text-align: right;
}

body[data-page="home"][dir="rtl"] .hero-copy {
  margin-inline-start: 0;
  margin-inline-end: 0;
  max-width: 460px;
}

body[data-page="home"][dir="rtl"] .hero .eyebrow {
  justify-content: flex-start;
}

body[data-page="home"][dir="rtl"] .hero-actions {
  justify-content: flex-start;
}

.eyebrow {
  color: var(--gold-strong);
  font-size: 12px;
  font-weight: 700;
  margin: 0 0 18px;
  text-transform: uppercase;
}

body[data-page="home"] .hero .eyebrow {
  align-items: center;
  animation: kavdenFadeUp 600ms cubic-bezier(0.16, 1, 0.3, 1) both;
  color: var(--gold);
  display: flex;
  font-size: 11px;
  font-weight: 500;
  gap: 12px;
  letter-spacing: 0.3em;
  margin-bottom: 24px;
}

body[data-page="home"] .hero .eyebrow::before {
  background: var(--gold);
  content: "";
  flex: 0 0 28px;
  height: 1px;
}

body[dir="rtl"] .eyebrow {
  text-transform: none;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: 0.004em;
  line-height: 1.06;
}

body[dir="rtl"] h1,
body[dir="rtl"] h2 {
  font-family: var(--arabic-display);
  line-height: 1.25;
}

h1 {
  font-size: clamp(44px, 4.9vw, 70px);
  margin-bottom: 24px;
}

body[data-page="home"] .hero-title {
  color: #f6f1e7;
  font-family: var(--display);
  font-size: clamp(38px, 4.4vw, 62px);
  font-weight: 600;
  letter-spacing: 0.005em;
  line-height: 1.1;
  margin-bottom: 30px;
}

body[data-page="home"]:not([dir="rtl"]) .hero-title > span > span {
  white-space: nowrap;
}

body[data-page="home"] .hero-title > span {
  animation: kavdenFadeUp 600ms cubic-bezier(0.16, 1, 0.3, 1) both;
  display: block;
}

body[data-page="home"] .hero-title > span:nth-child(1) {
  animation-delay: 150ms;
}

body[data-page="home"] .hero-title > span:nth-child(2) {
  animation-delay: 300ms;
}

body[data-page="home"] .hero-title > span:nth-child(3) {
  animation-delay: 450ms;
}

body[data-page="home"] .hero-title .dot {
  color: var(--gold);
}

h2 {
  font-size: clamp(34px, 4.2vw, 56px);
  margin-bottom: 18px;
}

h3 {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.4;
  margin-bottom: 12px;
  text-transform: uppercase;
}

body[dir="rtl"] h3 {
  font-family: var(--arabic-display);
  font-size: 19px;
  letter-spacing: 0;
  text-transform: none;
}

.article-card h3,
.insights-preview h3 {
  font-family: var(--display);
  font-size: 23px;
  font-weight: 600;
  letter-spacing: 0.004em;
  text-transform: none;
}

body[dir="rtl"] .article-card h3 {
  font-family: var(--arabic-display);
  font-size: 21px;
}

.hero-copy {
  color: #d7d0c6;
  font-size: 17px;
  max-width: 620px;
}

body[data-page="home"] .hero-copy {
  animation: kavdenFadeUp 500ms 550ms cubic-bezier(0.16, 1, 0.3, 1) both;
  color: #b7b7b7;
  font-size: 16px;
  line-height: 1.7;
  max-width: 420px;
}

.hero-actions,
.panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 26px;
}

body[data-page="home"] .hero-actions {
  animation: kavdenFadeUp 500ms 650ms cubic-bezier(0.16, 1, 0.3, 1) both;
  margin-top: 40px;
}

.hero-cta {
  align-items: center;
  background: transparent;
  border: 1px solid #f1f1f1;
  border-radius: 0;
  color: #f1f1f1;
  cursor: pointer;
  display: inline-flex;
  font-size: 13px;
  font-weight: 600;
  gap: 8px;
  justify-content: center;
  letter-spacing: 0.15em;
  min-height: 48px;
  padding: 14px 32px;
  text-transform: uppercase;
  transition: border-color 250ms ease, color 250ms ease, background 250ms ease;
  width: fit-content;
}

.hero-cta:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.practice-strip {
  background: #0d1117;
  border-bottom: 1px solid rgba(200, 164, 90, 0.16);
  border-top: 1px solid rgba(200, 164, 90, 0.2);
  display: block;
  padding: 56px clamp(24px, 5vw, 80px);
}

.practice-strip-title {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: center;
  margin: 0 auto 40px;
  max-width: var(--max);
}

.practice-strip-title span {
  background: var(--gold);
  flex: 0 0 40px;
  height: 1px;
}

.practice-strip-title strong {
  color: var(--gold);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
}

.practice-grid {
  border-inline-start: 1px solid rgba(200, 164, 90, 0.15);
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1440px;
}

.practice-grid a {
  align-items: center;
  background: transparent;
  border-inline-end: 1px solid rgba(200, 164, 90, 0.15);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  min-height: 238px;
  opacity: 0;
  overflow: visible;
  padding: 32px 16px;
  text-align: center;
  transform: translateY(24px);
  transition: background 200ms cubic-bezier(0.16, 1, 0.3, 1), opacity 400ms ease-out, transform 400ms ease-out;
}

.practice-grid a.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.practice-grid a:hover {
  background: rgba(200, 164, 90, 0.06);
}

.practice-grid strong {
  color: #b7b7b7;
  display: block;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.5;
  margin-bottom: 12px;
  max-width: 136px;
  text-transform: uppercase;
}

.practice-grid a::after {
  background: var(--gold);
  content: "";
  height: 1px;
  transition: width 200ms ease;
  width: 28px;
}

.practice-grid a:hover::after {
  width: 40px;
}

body[data-page="home"] .practice-grid .icon-shell {
  filter: drop-shadow(0 14px 24px rgba(13, 17, 23, 0.12));
  height: 116px;
  margin-bottom: 18px;
  transform-origin: center;
  transition: filter 320ms ease, transform 320ms cubic-bezier(0.16, 1, 0.3, 1);
  width: 116px;
  will-change: transform, filter;
}

body[data-page="home"] .practice-grid .service-icon {
  border-radius: 6px;
  height: 116px;
  width: 116px;
}

body[data-page="home"] .practice-grid a:hover .icon-shell {
  filter: drop-shadow(0 24px 24px rgba(13, 17, 23, 0.24)) drop-shadow(0 8px 10px rgba(200, 164, 90, 0.18));
  transform: translateY(-10px) scale(1.05);
}

.icon-shell {
  color: var(--gold);
  display: inline-grid;
  height: 48px;
  margin-bottom: 20px;
  place-items: center;
  width: 48px;
}

.mono-divider {
  align-items: center;
  display: flex;
  gap: 32px;
  justify-content: center;
  margin: 48px auto 10px;
  max-width: 760px;
  overflow: visible;
  padding: 12px 24px;
}

.mono-divider .mono-rule {
  background: linear-gradient(90deg, transparent, var(--gold) 70%);
  flex: 1 1 auto;
  height: 1px;
  max-width: 260px;
  opacity: 0.55;
}

.mono-divider .mono-rule:last-child {
  background: linear-gradient(270deg, transparent, var(--gold) 70%);
}

.mono-divider .mono-mark {
  display: block;
  flex: 0 0 auto;
  height: 58px;
  object-fit: contain;
  opacity: 0.96;
  width: auto;
}

.service-icon {
  display: block;
  height: 48px;
  object-fit: contain;
  width: 48px;
}

.practice-area-icon {
  max-height: 100%;
  max-width: 100%;
}

.split-section,
.editorial-section,
.band-section,
.insights-preview,
.practice-list,
.article-list,
.notice-section,
.cta-section,
.contact-layout,
.capabilities-callout {
  margin: 0 auto;
  max-width: var(--max);
  padding: 84px 24px;
}

.split-section {
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(240px, 0.8fr) minmax(280px, 1fr) minmax(240px, 0.76fr);
}

.image-panel {
  box-shadow: var(--shadow);
  min-height: 420px;
  overflow: hidden;
}

.image-panel img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.content-panel,
.metrics-panel,
.feature-grid article,
.article-card,
.practice-list article,
.article-list article,
.contact-form,
.notice-section,
.capabilities-callout {
  background: var(--surface);
  border: 1px solid var(--hairline);
  box-shadow: var(--shadow);
}

.content-panel,
.metrics-panel {
  padding: 38px;
}

.content-panel p,
.metrics-panel span,
.feature-grid p,
.article-card p,
.practice-list p,
.article-list p,
.editorial-copy,
.contact-intro p,
.form-note,
.notice-section p,
.capabilities-callout p,
.site-footer p,
.site-footer span,
.site-footer a {
  color: var(--muted);
}

.metrics-panel {
  display: grid;
  gap: 24px;
}

.metrics-panel strong {
  color: var(--gold-strong);
  display: block;
  font-family: var(--display);
  font-size: 44px;
  line-height: 1;
}

body[dir="rtl"] .metrics-panel strong {
  font-family: var(--arabic);
}

.section-heading {
  max-width: 760px;
}

.feature-grid,
.article-row {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 36px;
}

.feature-grid article,
.article-card {
  min-height: 250px;
  padding: 30px;
}

.feature-number {
  color: var(--gold);
  display: block;
  font-family: var(--display);
  font-size: 26px;
  margin-bottom: 18px;
}

.editorial-section,
.capabilities-callout {
  display: grid;
  gap: 46px;
  grid-template-columns: 0.85fr 1fr;
}

.practice-list,
.article-list {
  display: grid;
  gap: 18px;
}

.practice-list article,
.article-list article {
  scroll-margin-top: 112px;
}

.practice-list article {
  align-items: start;
  display: grid;
  column-gap: clamp(34px, 5vw, 72px);
  grid-template-areas:
    "title copy"
    "icon details";
  grid-template-columns: minmax(240px, 0.62fr) minmax(0, 1.38fr);
  min-height: 360px;
  overflow: visible;
  padding: clamp(32px, 4.5vw, 54px);
  row-gap: 26px;
}

.practice-list .icon-shell {
  align-self: start;
  filter: drop-shadow(0 14px 24px rgba(13, 17, 23, 0.1));
  grid-area: icon;
  height: clamp(210px, 18vw, 270px);
  justify-self: center;
  margin-bottom: 0;
  transform-origin: center;
  transition: filter 320ms ease, transform 320ms cubic-bezier(0.16, 1, 0.3, 1);
  width: clamp(210px, 18vw, 270px);
  will-change: transform, filter;
}

.practice-list .service-icon {
  border-radius: 6px;
  height: 100%;
  width: 100%;
}

.practice-list article:hover .icon-shell {
  filter: drop-shadow(0 28px 28px rgba(13, 17, 23, 0.24)) drop-shadow(0 10px 12px rgba(200, 164, 90, 0.2));
  transform: translateY(-12px) scale(1.06);
}

.practice-list article h2 {
  font-size: clamp(24px, 3vw, 38px);
  grid-area: title;
  justify-self: center;
  line-height: 1.12;
  margin-bottom: 0;
  text-align: center;
}

.practice-list article p {
  grid-area: copy;
  margin-bottom: 0;
}

.practice-detail-list {
  display: grid;
  gap: 12px;
  grid-area: details;
  max-width: 760px;
}

.practice-detail {
  border-top: 1px solid var(--hairline);
  display: grid;
  gap: 4px;
  padding-top: 12px;
}

.practice-detail strong {
  color: var(--gold-strong);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

body[dir="rtl"] .practice-detail strong {
  font-family: var(--arabic-display);
  text-transform: none;
}

body[data-page="practice"][dir="rtl"] .practice-list article p {
  font-size: 17px;
  line-height: 1.9;
}

body[data-page="practice"][dir="rtl"] .practice-detail span {
  font-size: 16px;
  line-height: 1.9;
}

.practice-detail span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.article-list article {
  display: grid;
  gap: 16px;
  padding: clamp(28px, 5vw, 56px);
}

.article-list h2 {
  max-width: 820px;
}

.article-summary {
  color: var(--gold-strong);
  font-weight: 600;
  max-width: 760px;
}

.article-body {
  display: grid;
  gap: 14px;
  max-width: 860px;
}

.article-body p {
  margin-bottom: 0;
}

.article-card span {
  color: var(--gold);
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 22px;
  text-transform: uppercase;
}

body[dir="rtl"] .article-card span {
  text-transform: none;
}

body[dir="rtl"] .site-nav a,
body[dir="rtl"] .practice-strip-title strong,
body[dir="rtl"] .practice-grid strong,
body[dir="rtl"] .hero-cta,
body[dir="rtl"] .site-header .outline-button {
  letter-spacing: 0;
  text-transform: none;
}

body[data-page="home"][dir="rtl"] .practice-strip-title strong {
  font-size: 15px;
}

body[data-page="home"][dir="rtl"] .practice-grid strong {
  font-size: 15px;
  line-height: 1.65;
  max-width: 150px;
}

body[data-page="home"][dir="rtl"] .content-panel h2[data-i18n="home.aboutTitle"] {
  font-size: clamp(32px, 2.9vw, 42px);
  max-width: none;
  text-align: center;
  text-wrap: balance;
}

body[data-page="home"][dir="rtl"] .content-panel p[data-i18n="home.aboutCopy"] {
  text-align: right;
}

body[data-page="home"][dir="rtl"] .hero-title {
  font-family: var(--arabic-display);
  font-size: clamp(34px, 3.6vw, 52px);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.4;
}

body[data-page="home"][dir="rtl"] .hero-title > span > span {
  white-space: normal;
}

body[dir="rtl"] .hero-title .dot {
  margin-inline-start: 2px;
}

@keyframes kavdenFadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .practice-grid a {
    opacity: 1;
    transform: none;
  }
}

.notice-section {
  padding: 24px 28px;
}

.cta-section {
  border-top: 1px solid var(--line);
  text-align: center;
}

.cta-section h2 {
  margin-left: auto;
  margin-right: auto;
  max-width: 760px;
}

.contact-layout {
  align-items: start;
  display: grid;
  gap: 48px;
  grid-template-columns: 0.9fr 1fr;
  padding-top: 170px;
}

.contact-details {
  border-inline-start: 2px solid var(--gold);
  display: grid;
  gap: 14px;
  margin-top: 34px;
  padding-inline-start: 24px;
}

.contact-details a {
  color: var(--gold-strong);
}

.whatsapp-link {
  align-items: center;
  border: 1px solid rgba(200, 164, 90, 0.7);
  color: var(--gold-strong);
  display: inline-flex;
  font-size: 13px;
  font-weight: 700;
  justify-content: center;
  padding: 10px 16px;
  text-transform: uppercase;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
  width: fit-content;
}

.whatsapp-link:hover {
  background: rgba(200, 164, 90, 0.12);
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-1px);
}

body[dir="rtl"] .whatsapp-link {
  font-size: 14px;
  text-transform: none;
}

.floating-whatsapp {
  align-items: center;
  background: var(--gold);
  border: 1px solid var(--gold-strong);
  box-shadow: 0 18px 34px rgba(13, 17, 23, 0.28), 0 8px 16px rgba(200, 164, 90, 0.18);
  color: var(--on-gold);
  display: inline-flex;
  font-size: 13px;
  font-weight: 800;
  inset-block-end: 24px;
  inset-inline-end: 24px;
  justify-content: center;
  min-height: 48px;
  min-width: 112px;
  padding: 13px 18px;
  position: fixed;
  text-transform: uppercase;
  transition: background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
  z-index: 80;
}

.floating-whatsapp:hover {
  background: var(--gold-strong);
  box-shadow: 0 22px 38px rgba(13, 17, 23, 0.34), 0 10px 18px rgba(200, 164, 90, 0.22);
  color: var(--on-gold);
  transform: translateY(-2px);
}

body[dir="rtl"] .floating-whatsapp {
  font-size: 14px;
  text-transform: none;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 34px;
}

.contact-form label {
  color: var(--text);
  display: grid;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  background: var(--bg-deep);
  border: 1px solid var(--hairline);
  color: var(--text);
  min-height: 48px;
  padding: 12px 14px;
  width: 100%;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form option {
  background: var(--surface);
}

.site-footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--hairline);
  display: grid;
  gap: 34px;
  grid-template-columns: 1.35fr 0.95fr 0.95fr 1fr;
  padding: 56px clamp(24px, 6vw, 92px);
}

.site-footer a:hover {
  color: var(--gold-strong);
}

.site-footer h3 {
  color: var(--text);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  margin-bottom: 16px;
  text-transform: uppercase;
}

body[dir="rtl"] .site-footer h3 {
  font-family: var(--arabic-display);
  font-size: 16px;
  letter-spacing: 0;
  text-transform: none;
}

.site-footer > div {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.site-footer > div > a,
.site-footer > div > span {
  display: block;
}

.site-footer a[href^="mailto"],
.site-footer a[href^="tel"] {
  color: var(--gold-strong);
  width: fit-content;
}

.footer-brand {
  margin-bottom: 18px;
  min-width: 0;
}

.footer-brand .brand-logo {
  max-height: 62px;
  width: min(240px, 100%);
}

.legal-note p {
  font-size: 13px;
}

@media (max-width: 1180px) {
  .site-header {
    height: auto;
    gap: 16px;
    grid-template-columns: auto auto;
    justify-content: space-between;
    min-height: var(--header-height);
  }

  .brand {
    min-width: 0;
  }

  .brand-logo {
    max-height: 48px;
    width: 176px;
  }

  .nav-toggle {
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold-strong);
    display: inline-flex;
    font-size: 0;
    height: 40px;
    padding: 0;
    width: 46px;
  }

  .nav-toggle::before {
    background:
      linear-gradient(var(--gold), var(--gold)) 0 0 / 22px 1px no-repeat,
      linear-gradient(var(--gold), var(--gold)) 0 7px / 22px 1px no-repeat,
      linear-gradient(var(--gold), var(--gold)) 0 14px / 22px 1px no-repeat;
    content: "";
    height: 16px;
    width: 22px;
  }

  .site-nav,
  .header-actions {
    background: #0d1117;
    display: none;
    grid-column: 1 / -1;
    width: 100%;
  }

  .site-nav {
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding-top: 8px;
  }

  .site-nav a {
    border-top: 1px solid var(--hairline);
    padding: 14px 0;
  }

  .site-nav a::after {
    display: none;
  }

  .header-actions {
    flex-wrap: wrap;
    padding: 0 0 18px;
  }

  .site-header.nav-open .site-nav,
  .site-header.nav-open .header-actions {
    display: flex;
  }

  .practice-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .practice-grid a {
    min-height: 214px;
  }

  body[data-page="home"] .practice-grid .icon-shell,
  body[data-page="home"] .practice-grid .service-icon {
    height: 104px;
    width: 104px;
  }

  .practice-grid strong {
    font-size: 12px;
    max-width: 126px;
  }

  body[data-page="home"][dir="rtl"] .practice-strip-title strong {
    font-size: 14px;
  }

  body[data-page="home"][dir="rtl"] .practice-grid strong {
    font-size: 14px;
    max-width: 144px;
  }

  body[data-page="home"] .hero {
    display: grid;
    grid-template-columns: 1fr;
    min-height: 760px;
  }

  body[data-page="home"] .hero-bg,
  body[data-page="home"][dir="rtl"] .hero-bg {
    height: calc(100% - var(--header-height));
    inset: var(--header-height) 0 auto 0;
    opacity: 0.48;
    width: 100%;
  }

  body[data-page="home"] .hero-shade {
    background:
      linear-gradient(90deg, rgba(13, 17, 23, 0.98) 0%, rgba(13, 17, 23, 0.86) 48%, rgba(13, 17, 23, 0.52) 100%),
      linear-gradient(180deg, rgba(13, 17, 23, 0.76), rgba(13, 17, 23, 0.96));
  }

  body[data-page="home"][dir="rtl"] .hero-shade {
    background:
      linear-gradient(270deg, rgba(13, 17, 23, 0.92) 0%, rgba(13, 17, 23, 0.76) 48%, rgba(13, 17, 23, 0.42) 100%),
      linear-gradient(180deg, rgba(13, 17, 23, 0.62), rgba(13, 17, 23, 0.9));
  }

  body[data-page="home"] .hero-inner,
  body[data-page="home"][dir="rtl"] .hero-inner {
    grid-column: 1;
    margin: 0 auto;
    max-width: 760px;
    padding: 96px 32px 72px;
    text-align: start;
  }

  body[data-page="home"] .hero .eyebrow {
    justify-content: flex-start;
  }

  body[data-page="home"] .hero-copy {
    margin-inline-start: 0;
  }

  body[data-page="home"] .hero-actions {
    justify-content: flex-start;
  }

  .split-section,
  .feature-grid,
  .article-row,
  .editorial-section,
  .capabilities-callout,
  .contact-layout,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .practice-list article {
    grid-template-areas:
      "title copy"
      "icon details";
    grid-template-columns: minmax(190px, 0.52fr) minmax(0, 1fr);
    min-height: 320px;
  }

  .practice-list .icon-shell,
  .practice-list .service-icon {
    height: clamp(170px, 25vw, 220px);
    width: clamp(170px, 25vw, 220px);
  }
}

@media (max-width: 640px) {
  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 32px;
  }

  .site-header {
    padding: 0 18px;
  }

  .hero,
  .page-hero {
    min-height: 620px;
    padding: 118px 20px 64px;
  }

  body[data-page="home"] .hero {
    min-height: 680px;
    padding: var(--header-height) 0 0;
  }

  body[data-page="home"] .hero-inner,
  body[data-page="home"][dir="rtl"] .hero-inner {
    padding: 54px 24px 48px;
    text-align: start;
  }

  body[data-page="home"] .hero .eyebrow {
    justify-content: flex-start;
  }

  body[data-page="home"] .hero-title {
    font-size: 32px;
    line-height: 1.18;
  }

  body[data-page="home"][dir="rtl"] .hero-title {
    line-height: 1.38;
  }

  .compact-hero {
    min-height: 560px;
  }

  .hero-copy {
    font-size: 15.5px;
  }

  .practice-grid {
    grid-template-columns: 1fr 1fr;
  }

  .practice-strip {
    padding: 42px 0;
  }

  .practice-strip-title {
    padding: 0 20px;
  }

  .practice-grid {
    border-inline-start: 0;
  }

  .practice-grid a {
    border-top: 1px solid rgba(200, 164, 90, 0.15);
    min-height: 184px;
    padding: 26px 12px;
  }

  body[data-page="home"] .practice-grid .icon-shell,
  body[data-page="home"] .practice-grid .service-icon {
    height: 86px;
    width: 86px;
  }

  .practice-grid strong {
    font-size: 11.5px;
    max-width: 132px;
  }

  body[data-page="home"][dir="rtl"] .content-panel h2[data-i18n="home.aboutTitle"] {
    font-size: 31px;
  }

  body[data-page="home"][dir="rtl"] .practice-strip-title strong {
    font-size: 13.5px;
  }

  body[data-page="home"][dir="rtl"] .practice-grid strong {
    font-size: 13.5px;
    max-width: 142px;
  }

  .split-section,
  .editorial-section,
  .band-section,
  .insights-preview,
  .practice-list,
  .article-list,
  .notice-section,
  .cta-section,
  .contact-layout,
  .capabilities-callout {
    padding: 58px 20px;
  }

  .contact-layout {
    padding-top: 132px;
  }

  .content-panel,
  .metrics-panel,
  .feature-grid article,
  .article-card,
  .practice-list article,
  .article-list article,
  .contact-form {
    padding: 24px;
  }

  .hero-actions,
  .panel-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .gold-button,
  .outline-button,
  .ghost-button,
  .hero-cta {
    width: 100%;
  }

  .floating-whatsapp {
    inset-block-end: 18px;
    inset-inline: 20px;
    min-height: 46px;
    width: auto;
  }

  .practice-list article {
    grid-template-areas:
      "title"
      "icon"
      "copy"
      "details";
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .practice-list .icon-shell {
    justify-self: center;
  }

  .practice-list .icon-shell,
  .practice-list .service-icon {
    height: min(68vw, 260px);
    width: min(68vw, 260px);
  }
}
