/* Concatenated for a single render-blocking download. Edit 01_–07_ as usual. */
@font-face {
  font-family: "EB Garamond";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/eb-garamond-wght.woff2") format("woff2");
}
@font-face {
  font-family: "EB Garamond";
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/eb-garamond-italic-wght.woff2") format("woff2");
}
@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/hanken-grotesk-wght.woff2") format("woff2");
}

:root {
  /* Warm neutrals */
  --cream:        #F7F2E9;
  --cream-deep:   #F0E9DB;
  --cream-card:   #FBF8F1;
  --sand:         #E5DAC6;
  --line:         rgba(43, 39, 34, 0.12);
  --line-soft:    rgba(43, 39, 34, 0.07);

  /* Ink */
  --ink:          #2B2722;
  --ink-soft:     #56504594;
  --ink-muted:    #6A6256;
  --ink-faint:    #968D7D;

  /* Accent — muted terracotta */
  --terra:        #A85C3C;
  --terra-deep:   #8C4A2F;

  /* Type */
  --serif: "EB Garamond", "Iowan Old Style", Georgia, serif;
  --sans:  "Hanken Grotesk", system-ui, -apple-system, sans-serif;

  /* Rhythm */
  --maxw: 1180px;
  --gut: 48px;
  --nav-h: 78px;
  --sec: 104px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

@font-face {
  font-family: "Noto Naskh Arabic";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/noto-naskh-arabic.woff2") format("woff2");
}
@font-face {
  font-family: "Noto Sans Arabic";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/noto-sans-arabic.woff2") format("woff2");
}

[dir="rtl"] {
  --serif: "Noto Naskh Arabic", "EB Garamond", "Iowan Old Style", Georgia, serif;
  --sans:  "Noto Sans Arabic", "Hanken Grotesk", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html {
  overflow-anchor: none;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: rgba(168, 92, 60, 0.18); }

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

p { margin: 0 0 1.1em; text-wrap: pretty; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  margin: 0;
  letter-spacing: -0.005em;
  text-wrap: balance;
}

.eyebrow {
  font-family: var(--sans);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terra);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--terra);
  display: inline-block;
}
.eyebrow.no-tick::before { display: none; }

.display {
  font-size: clamp(40px, 5.4vw, 68px);
  line-height: 1.04;
  font-weight: 500;
}
.lede {
  font-size: 20px;
  line-height: 1.6;
  color: var(--ink-muted);
  font-weight: 400;
  max-width: 56ch;
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gut);
}
.section { padding-block: var(--sec); }
.section-sm { padding-block: calc(var(--sec) * 0.7); }

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

.btn {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--sans);
  font-size: 14px; font-weight: 600; letter-spacing: 0.03em;
  padding: 15px 28px;
  border: 1px solid var(--ink);
  background: var(--ink); color: var(--cream);
  cursor: pointer;
  transition: all 0.35s var(--ease);
}
.btn:hover { background: transparent; color: var(--ink); }
.btn .arr { transition: transform 0.35s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }

.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--cream); }

.text-link {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 600; letter-spacing: 0.04em;
  color: var(--ink); cursor: pointer;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--line);
  transition: border-color 0.3s var(--ease), gap 0.3s var(--ease);
}
.text-link:hover { border-color: var(--terra); gap: 14px; }
.text-link .arr { color: var(--terra); transition: transform 0.3s var(--ease); }
.text-link:hover .arr { transform: translateX(3px); }

.photo {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center;
  border: 1px solid var(--line);
  background: var(--cream-deep);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal { animation: fadeUp 0.45s var(--ease) both; }
.reveal.d1 { animation-delay: 0.06s; }
.reveal.d2 { animation-delay: 0.12s; }
.reveal.d3 { animation-delay: 0.18s; }
.reveal.d4 { animation-delay: 0.24s; }
.reveal.d5 { animation-delay: 0.30s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .page, .reveal { animation: none !important; }
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  overflow: visible;
  border-bottom: 1px solid var(--line-soft);
}
.nav::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(247, 242, 233, 0.86);
  backdrop-filter: saturate(140%) blur(14px);
}
.nav-inner {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gut);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wordmark { display: flex; align-items: center; gap: 14px; }
.logo-mark { height: 42px; width: auto; display: block; flex-shrink: 0; }
.logo-full { height: 92px; width: auto; display: block; }
.wordmark-footer { gap: 0; }
.wordmark-text { display: flex; flex-direction: column; line-height: 1; }
.wordmark-name {
  font-size: 13.5px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: #44586b; white-space: nowrap;
}
.wordmark-sub {
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: #b0a392; margin-top: 5px; font-weight: 500; font-style: italic;
}

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link {
  position: relative;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  font-synthesis: none;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
  padding: 10px 13px;
  white-space: nowrap;
  transition: color 0.3s var(--ease);
}
.nav-link:link,
.nav-link:visited,
.nav-link:hover,
.nav-link:active {
  font-weight: 500;
}
.nav-link:hover { color: var(--ink); }
body.page-home .nav-link[href="/"],
body.page-home .nav-link[href="/fr/"],
body.page-home .nav-link[href="/ar/"],
body.page-services .nav-link[href$="/services/"],
body.page-clients .nav-link[href$="/clients/"],
body.page-team .nav-link[href$="/team/"],
body.page-philosophy .nav-link[href$="/philosophy/"] {
  color: var(--ink);
  font-weight: 500;
}
body.page-home .nav-link[href="/"]::after,
body.page-home .nav-link[href="/fr/"]::after,
body.page-home .nav-link[href="/ar/"]::after,
body.page-services .nav-link[href$="/services/"]::after,
body.page-clients .nav-link[href$="/clients/"]::after,
body.page-team .nav-link[href$="/team/"]::after,
body.page-philosophy .nav-link[href$="/philosophy/"]::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 2px;
  height: 1.5px;
  background: var(--terra);
}
.nav-cta {
  margin-left: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink);
  padding: 10px 20px;
  border: 1px solid var(--ink);
  transition: all 0.35s var(--ease);
}
.nav-cta:hover,
body.page-contact .nav-cta { background: var(--ink); color: var(--cream); }

.nav-menu { display: none; }
.nav-menu summary {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  list-style: none;
  -webkit-appearance: none;
  appearance: none;
}
.nav-menu summary::-webkit-details-marker,
.nav-menu summary::marker {
  display: none;
  content: none;
}
.nav-burger,
.nav-burger::before,
.nav-burger::after {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
}
.nav-burger {
  position: relative;
}
.nav-burger::before,
.nav-burger::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-burger::before { top: -6px; }
.nav-burger::after { top: 6px; }
.nav-menu[open] .nav-burger { background: transparent; }
.nav-menu[open] .nav-burger::before {
  top: 0;
  transform: rotate(45deg);
}
.nav-menu[open] .nav-burger::after {
  top: 0;
  transform: rotate(-45deg);
}

/* fixed: sticky + backdrop-filter clips absolute children */
.nav-menu-panel {
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  z-index: 60;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  padding: 12px var(--gut) 24px;
}
.nav-menu-panel .nav-link,
.nav-menu-panel .nav-cta {
  margin: 0;
  padding: 14px 0;
  border: 0;
  border-bottom: 1px solid var(--line-soft);
  font-weight: 500;
}
.nav-menu-panel .nav-link::after { display: none; }
.nav-menu-panel .nav-link:link,
.nav-menu-panel .nav-link:visited,
.nav-menu-panel .nav-link:hover,
.nav-menu-panel .nav-link:active,
body.page-home .nav-menu-panel .nav-link[href="/"],
body.page-home .nav-menu-panel .nav-link[href="/fr/"],
body.page-home .nav-menu-panel .nav-link[href="/ar/"],
body.page-services .nav-menu-panel .nav-link[href$="/services/"],
body.page-clients .nav-menu-panel .nav-link[href$="/clients/"],
body.page-team .nav-menu-panel .nav-link[href$="/team/"],
body.page-philosophy .nav-menu-panel .nav-link[href$="/philosophy/"] {
  font-weight: 500;
}
.nav-menu-panel .nav-cta {
  margin-top: 12px;
  padding: 12px 16px;
  border: 1px solid var(--ink);
  text-align: center;
}


.lang {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  inset-inline-end: calc(var(--gut) + 16px);
  z-index: 70;
}
.lang summary {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1;
  color: var(--ink);
  background: var(--cream-deep);
  padding: 6px 9px 6px 10px;
  border-radius: 999px;
  cursor: pointer;
  list-style: none;
  -webkit-appearance: none;
  appearance: none;
}
.lang summary::-webkit-details-marker,
.lang summary::marker {
  display: none;
  content: none;
}
.lang summary::after {
  content: "";
  width: 0;
  height: 0;
  border-inline-start: 3.5px solid transparent;
  border-inline-end: 3.5px solid transparent;
  border-top: 4px solid var(--ink-muted);
}
.lang[open] summary { color: var(--terra); }
.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  inset-inline-end: 0;
  min-width: 56px;
  padding: 4px;
  background: var(--cream);
  border: 1px solid var(--line);
  box-shadow: 0 8px 20px rgba(43, 39, 34, 0.08);
  display: flex;
  flex-direction: column;
}
.lang-menu a,
.lang-panel a {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1;
  color: var(--ink-muted);
  padding: 8px 10px;
  border-radius: 4px;
}
.lang-menu a:hover,
.lang-panel a:hover { color: var(--ink); background: var(--cream-deep); }
.lang-menu a[aria-current="page"],
.lang-panel a[aria-current="page"] {
  background: var(--terra);
  color: var(--cream);
}
.lang-panel {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin: 16px 0 0;
  padding: 3px;
  background: var(--cream-deep);
  border-radius: 999px;
  align-self: flex-start;
}
.lang-panel a { border-radius: 999px; padding: 5px 8px; }

/* Footer */
.footer { background: var(--cream-deep); border-top: 1px solid var(--line); padding: 72px 0 36px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; }
.footer-brand .wordmark-name { font-size: 15px; }
.footer-tag { color: var(--ink-muted); font-size: 15px; margin-top: 20px; max-width: 34ch; }
.footer-col h4 {
  font-family: var(--sans); font-size: 11px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-faint); margin-bottom: 18px;
}
.footer-col a, .footer-col p {
  display: block; font-size: 15px; font-weight: 400; color: var(--ink-muted);
  margin-bottom: 11px; transition: color 0.3s var(--ease);
}
.footer-col a:hover { color: var(--ink); }
.footer-bottom {
  margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: flex-end; gap: 24px;
}
.footer-reg { font-size: 12.5px; color: var(--ink-faint); max-width: 60ch; line-height: 1.6; margin: 0; padding: 0; }
.footer-copy { font-size: 12.5px; color: var(--ink-faint); white-space: nowrap; }
.footer-credit {
  display: flex;
  flex-wrap: nowrap;
  align-items: baseline;
  justify-content: flex-end;
  gap: 0.45em;
  margin-top: 28px;
  width: 100%;
}
.footer-credit a {
  color: var(--ink-muted);
  font-size: 15px;
  line-height: 1;
  letter-spacing: 0.02em;
  transition: color 0.3s var(--ease);
}
.footer-credit a:hover { color: var(--terra); }
.footer-credit-izba { font-family: var(--sans); font-weight: 600; }
.footer-credit-mcmedia { font-family: var(--serif); font-weight: 400; }
.footer-credit-sep {
  color: var(--ink-muted);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1;
  user-select: none;
}

/* Home — services / contact bands */
.home-services-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 24px;
}
.home-services-title {
  font-size: clamp(30px, 3.4vw, 44px);
  margin-top: 20px;
  line-height: 1.08;
}
.home-contact-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.home-contact-lede {
  margin: 20px 0 0;
  max-width: 42ch;
}
.home-contact-btn { margin-top: 36px; }

.page-head { padding-block: 84px 0; }
.page-head .display { margin-top: 22px; }
.page-head .lede { margin-top: 26px; }

/* Home — hero */
.hero {
  padding-top: 72px;
  padding-bottom: 72px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}
.hero-copy .display { margin-top: 26px; }
.hero-copy .lede { margin-top: 28px; }
.hero-actions { margin-top: 40px; display: flex; gap: 16px; align-items: center; }
.hero-img { aspect-ratio: 4 / 5; }

.hero-meta {
  margin-top: 72px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.hero-meta-item { padding: 26px 30px 26px 0; }
.hero-meta-item + .hero-meta-item { padding-left: 36px; border-left: 1px solid var(--line); }
.hero-meta-label {
  font-size: 12px; line-height: 1.45; color: var(--ink-muted);
  letter-spacing: 0.02em; margin-bottom: 16px; min-height: 35px;
}
.hero-meta-k { font-family: var(--serif); font-size: 34px; line-height: 1; color: var(--ink); }

.statement { background: var(--cream-deep); }
.statement-text {
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.32;
  font-weight: 500;
  max-width: 22ch;
  color: var(--ink);
}
.statement-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.statement-body { color: var(--ink-muted); font-size: 18px; }
.statement-body p { margin-bottom: 1.3em; }
.statement-feature {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 72px;
  align-items: center;
}
.statement-img { aspect-ratio: 4 / 5; }
.statement-feature-text { display: flex; flex-direction: column; gap: 32px; }

/* Services */
.svc-list { border-top: 1px solid var(--line); margin-top: 56px; }
.svc-row {
  display: grid;
  grid-template-columns: 64px 1fr 1.2fr 28px;
  gap: 32px;
  padding: 34px 20px;
  border-bottom: 1px solid var(--line);
  align-items: start;
  color: inherit;
  transition: background 0.4s var(--ease), transform 0.4s var(--ease);
}
.svc-row:hover { transform: translateX(12px); }
.svc-row:hover:not(.is-focus) { background: var(--cream-card); }
.svc-num {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--terra);
  padding-top: 3px;
}
.svc-name { font-family: var(--serif); font-size: 25px; font-weight: 500; line-height: 1.2; }
.svc-desc { color: var(--ink-muted); font-size: 16px; line-height: 1.6; }
.svc-list--titles .svc-row {
  grid-template-columns: 64px 1fr 28px;
  align-items: center;
}
.svc-go {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  align-self: center;
  color: var(--terra);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
  pointer-events: none;
}
.svc-row:hover .svc-go {
  opacity: 1;
  transform: translateX(0);
}
.svc-row.is-focus {
  background:
    linear-gradient(105deg, rgba(168, 92, 60, 0.18) 0%, rgba(168, 92, 60, 0.07) 46%, rgba(251, 248, 241, 0.92) 100%);
  box-shadow: inset 3px 0 0 var(--terra);
}
.svc-list + .scope-note { margin-top: 48px; }
.scope-note {
  margin: 0;
  padding: 36px 40px;
  background: var(--cream-deep);
  border-left: 2px solid var(--terra);
}
.scope-note p { margin: 0; color: var(--ink-muted); font-size: 15.5px; line-height: 1.7; }
.scope-note .eyebrow { margin-bottom: 16px; }

.editorial { display: grid; grid-template-columns: 0.42fr 0.58fr; gap: 72px; align-items: start; }
.editorial-sticky { position: sticky; top: 120px; }
.editorial h2 { font-size: clamp(30px, 3.4vw, 42px); line-height: 1.1; }
.editorial-body p { font-size: 18px; color: var(--ink-muted); margin-bottom: 1.4em; }
.editorial-body p strong { color: var(--ink); font-weight: 600; }

.clients-approach-img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  object-position: center 86%;
  background: var(--cream-deep);
}

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; }

.principles { margin-top: 64px; border-top: 1px solid var(--line); }
.principle {
  display: grid; grid-template-columns: 80px 1fr; gap: 32px;
  padding: 48px 0; border-bottom: 1px solid var(--line);
}
.principle-n {
  font-family: var(--serif); font-size: 16px; color: var(--terra);
  letter-spacing: 0.1em;
}
.principle p {
  font-family: var(--serif);
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.38;
  color: var(--ink);
  margin: 0;
  max-width: 24ch;
}

.quote-band { background: var(--ink); color: var(--cream); }
.quote-band .eyebrow { color: #C98E6F; }
.quote-band .eyebrow::before { background: #C98E6F; }
.quote-text {
  font-family: var(--serif);
  font-size: clamp(28px, 3.6vw, 46px);
  line-height: 1.3;
  font-weight: 500;
  max-width: 20ch;
  margin: 28px 0 0;
}
.quote-text--lines {
  max-width: none;
  overflow: visible;
}
.quote-attr { margin-top: 40px; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: #C9C0B2; }
.quote-band-grid {
  display: grid;
  grid-template-columns: minmax(min-content, 0.95fr) minmax(0, 1.35fr);
  gap: 64px;
  align-items: center;
}
.quote-band-grid > div:first-child {
  overflow: visible;
  min-width: min-content;
}
.quote-team {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}
.quote-team > * { min-width: 0; }
.quote-team-img {
  width: 100%;
  aspect-ratio: 2 / 3;
  height: auto;
  object-fit: cover;
}
.quote-team-name {
  margin: 14px 0 0;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--cream);
}
.quote-team-role {
  margin: 4px 0 0;
  font-size: 13px;
  font-weight: 400;
  color: #C9C0B2;
}

.leader-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: start; }
.leader-grid.reverse { grid-template-columns: 1.2fr 0.8fr; }
.leader-grid.reverse > .leader-img { order: 2; }
.leader-grid.reverse > div:last-child { order: 1; }
.leader-img { width: 100%; min-width: 0; aspect-ratio: 3 / 4; object-fit: cover; }
.leader-name { font-size: clamp(34px, 4vw, 48px); line-height: 1.05; }
.leader-role { font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--terra); margin-top: 16px; font-weight: 600; }
.leader-body { margin-top: 32px; }
.leader-body p { font-size: 18px; color: var(--ink-muted); }

.svc-article { max-width: 68ch; }
.svc-article p { font-size: 18px; color: var(--ink-muted); }
.crumbs {
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--ink-faint);
  margin-bottom: 18px;
}
.crumbs a { color: var(--ink-muted); }
.crumbs a:hover { color: var(--ink); }
.crumbs-sep { margin: 0 8px; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.contact-details { display: flex; flex-direction: column; gap: 0; }
.contact-item { padding: 26px 0; border-bottom: 1px solid var(--line); }
.contact-item:first-child { border-top: 1px solid var(--line); }
.contact-k { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-faint); font-weight: 600; }
.contact-v { font-family: var(--serif); font-size: 21px; margin-top: 8px; color: var(--ink); }
.contact-v.small { font-size: 18px; line-height: 1.5; }
.contact-v a:not(.contact-ico) { border-bottom: 1px solid transparent; transition: border-color 0.3s var(--ease); }
.contact-v a:not(.contact-ico):hover { border-bottom-color: var(--terra); }
.contact-v-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  line-height: 1;
  overflow: visible;
}
.contact-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: var(--terra);
  border: 1px solid var(--line);
  border-radius: 50%;
  flex-shrink: 0;
  line-height: 0;
  overflow: visible;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease), background 0.3s var(--ease);
}
.contact-ico:hover {
  border-color: var(--terra);
  background: var(--cream-card);
}
.contact-ico svg { display: block; width: 18px; height: 18px; }


.field { margin-bottom: 24px; }
.field label {
  display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink-muted); margin-bottom: 9px;
}
.field input, .field textarea, .field select {
  width: 100%;
  font-family: var(--sans);
  font-size: 16px;
  color: var(--ink);
  background: var(--cream-card);
  border: 1px solid var(--line);
  padding: 14px 16px;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--terra); background: #fff;
}
.field textarea { resize: vertical; min-height: 130px; }
.field-opt {
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--ink-faint);
  text-transform: none;
  margin-left: 6px;
}
.field.err input, .field.err textarea { border-color: #B0463A; background: #FCF3F1; }
.field-err { color: #B0463A; font-size: 12.5px; margin-top: 7px; letter-spacing: 0.01em; }
.form-note { font-size: 13px; color: var(--ink-faint); margin-top: 8px; }

.field-message-wrap { position: relative; }
.field-message-wrap.is-prompt .field-message {
  padding-bottom: 52px;
  border-color: rgba(168, 92, 60, 0.32);
}
.field-message-hint {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  font-size: 14.5px;
  line-height: 1.45;
  color: var(--terra);
  font-style: italic;
  pointer-events: none;
}
.field-caret {
  display: inline-block;
  width: 1.5px;
  height: 0.95em;
  margin-right: 8px;
  background: var(--terra);
  vertical-align: -2px;
  animation: caretBlink 1s steps(1) infinite;
}
@keyframes caretBlink {
  50% { opacity: 0; }
}

@media (max-width: 1360px) {
  .nav-inner { padding-inline-end: calc(var(--gut) + 80px); }
}
/* iPad / tablet: burger + language chip, wordmark stays */
@media (max-width: 1200px) {
  .nav-links { display: none; }
  .nav-menu { display: block; }
  .nav-inner { padding-inline-end: var(--gut); }
  .lang { inset-inline-end: calc(var(--gut) + 52px); }
}
@media (max-width: 1180px) {
  :root { --gut: 40px; }
  .nav-link { padding: 9px 11px; font-size: 12.5px; }
  .nav-cta { padding: 9px 16px; margin-left: 6px; }
}
@media (max-width: 860px) {
  :root { --gut: 28px; }
  .hero-grid, .statement-grid, .statement-feature, .editorial, .split, .leader-grid, .leader-grid.reverse, .contact-grid, .quote-band-grid { grid-template-columns: 1fr; gap: 44px; }
  .leader-grid.reverse > .leader-img { order: 0; }
  .leader-grid.reverse > div:last-child { order: 0; }
  .editorial-sticky { position: static; }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "brand nav"
      "office nav";
    gap: 24px 28px;
    align-items: start;
  }
  .footer-brand { grid-area: brand; }
  .footer-nav { grid-area: nav; align-self: start; }
  .footer-office { grid-area: office; }
  .svc-row { grid-template-columns: 48px 1fr 24px; }
  .svc-row .svc-desc { grid-column: 2; }
  .svc-go { grid-column: 3; grid-row: 1 / span 2; }
}
@media (max-width: 720px) {
  .nav .wordmark-text { display: none; }
  .nav .wordmark { gap: 0; }
  .footer-tag { display: none; }
  .footer-top { gap: 28px 24px; }
  .home-services-head {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
  }
  .home-contact-block { max-width: none; }
  .home-contact-btn {
    margin-top: 40px;
    width: 100%;
    justify-content: center;
  }
  .quote-band.section { text-align: center; }
  .quote-band.section .quote-text { margin-inline: auto; }
  .quote-band-grid { justify-items: center; }
  .quote-team { justify-items: center; text-align: center; }

  .section,
  .section-sm,
  .quote-band.section { padding-block: 40px; }
  .page-head { padding-block: 40px 0; }
  .hero { padding-top: 40px; padding-bottom: 40px; }
  .hero-meta { margin-top: 40px; }
  .hero-meta-item { padding: 20px 0; }
  .svc-list { margin-top: 40px; }
  .svc-list + .scope-note { margin-top: 40px; }
  .scope-note { padding: 28px 24px; }
  .principles { margin-top: 40px; }
  .principle { padding-block: 40px; }
  .quote-attr { margin-top: 40px; }
  .leader-body { margin-top: 24px; }
  .follow-gap { margin-top: 40px; }
  .footer { padding: 40px 0; }
  .footer-bottom {
    margin-top: 40px;
    padding-top: 24px;
    align-items: flex-end;
  }
  .footer-copy { align-self: flex-end; }
  .footer-credit { margin-top: 24px; }
  .hero-grid,
  .statement-grid,
  .statement-feature,
  .editorial,
  .split,
  .leader-grid,
  .leader-grid.reverse,
  .contact-grid,
  .quote-band-grid { gap: 40px; }

  .eyebrow {
    font-size: clamp(16px, 4.2vw, 18px);
    letter-spacing: 0.06em;
    white-space: nowrap;
    max-width: 100%;
    gap: 8px;
  }
  .eyebrow::before {
    width: 16px;
    flex-shrink: 0;
  }
  .contact-aside { order: 2; }
  .contact-form { order: 1; }
  .contact-form form {
    display: flex;
    flex-direction: column;
  }
  .contact-form .field-service { order: 1; }
  .contact-form .field-enquiry { order: 2; }
  .contact-form .field-name { order: 3; }
  .contact-form .field-email { order: 4; }
  .contact-form .contact-submit { order: 5; }
  .contact-form .form-note { order: 6; }
}
@media (max-width: 620px) {
  .hero-meta { grid-template-columns: 1fr; }
  .hero-meta-item + .hero-meta-item { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
}

/* Logical flips for Arabic (dir=rtl). LTR pages are unaffected. */
[dir="rtl"] .nav-cta { margin-left: 0; margin-inline-start: 10px; }

[dir="rtl"] .hero-meta-item { padding: 26px 0 26px 30px; }
[dir="rtl"] .hero-meta-item + .hero-meta-item {
  padding-left: 0;
  padding-right: 36px;
  border-left: 0;
  border-right: 1px solid var(--line);
}

[dir="rtl"] .svc-row.is-focus {
  box-shadow: inset -3px 0 0 var(--terra);
}

[dir="rtl"] .scope-note {
  border-left: 0;
  border-right: 2px solid var(--terra);
}

[dir="rtl"] .field-opt { margin-left: 0; margin-right: 6px; }
[dir="rtl"] .field-caret { margin-right: 0; margin-left: 8px; }

/* Keep reverse column tracks (0.8fr portrait). Overriding order here
   put the second leader photo into 1.2fr and made it larger than the first. */

[dir="rtl"] .nav-menu-panel { text-align: start; }
[dir="rtl"] .quote-band .quote-text { margin-inline: 0; }

