:root {
  --navy-950: #2a0711;
  --navy-900: #470b1c;
  --navy-800: #650f28;
  --navy-700: #7d1f3b;
  --blue-500: #b88a38;
  --gold-ink: #875f1d;
  --blue-300: #d9b86b;
  --blue-100: #f1e2bd;
  --blue-050: #faf5e9;
  --ink: #261b1e;
  --muted: #6f6062;
  --line: #e5d8cf;
  --white: #ffffff;
  --cream: #fffaf0;
  --success: #456c58;
  --shadow-sm: 0 14px 38px rgba(58, 12, 27, 0.10);
  --shadow-lg: 0 30px 90px rgba(58, 12, 27, 0.17);
  --radius-sm: 0.4rem;
  --radius-md: 0.8rem;
  --radius-lg: 1.35rem;
  --max: 1240px;
  --font-sans: "Avenir Next", Avenir, Inter, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-display: Iowan Old Style, Baskerville, Georgia, serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  color-scheme: light;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open { overflow: hidden; }

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

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.65rem 1rem;
  color: var(--white);
  background: var(--navy-950);
  border-radius: 999px;
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

.skip-link:focus { transform: translateY(0); }

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

.narrow { width: min(calc(100% - 2.5rem), 820px); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 252, 246, 0.96);
  border-bottom: 1px solid rgba(184, 138, 56, 0.22);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  color: var(--navy-900);
  font-weight: 750;
  letter-spacing: 0.075em;
  line-height: 1;
  white-space: nowrap;
}

.brand-logo {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  object-fit: contain;
  border-radius: 0;
  background: transparent;
  mix-blend-mode: normal;
}

.brand-text small {
  display: block;
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.57rem;
  font-weight: 650;
  letter-spacing: 0.15em;
}

.main-nav { display: flex; align-items: center; gap: 1.55rem; }
.main-nav a {
  position: relative;
  color: #4d3b3f;
  font-size: 0.9rem;
  font-weight: 610;
  transition: color 180ms ease;
}

.main-nav a:not(.button)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -0.45rem;
  height: 1px;
  background: var(--navy-700);
  transition: right 180ms ease;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] { color: var(--navy-900); }
.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after { right: 0; }

.main-nav .language-switch {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.85rem;
  border: 1px solid rgba(71, 11, 28, 0.28);
  border-radius: 999px;
  color: var(--navy-900);
  background: rgba(255, 255, 255, 0.5);
  font-weight: 720;
  line-height: 1;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.main-nav a.language-switch::after { display: none; }
.main-nav .language-switch:hover {
  color: var(--navy-950);
  background: var(--blue-050);
  border-color: rgba(71, 11, 28, 0.48);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.7rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--navy-900);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 680;
  line-height: 1;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover { transform: translateY(-2px); background: var(--navy-800); }
.main-nav a.button,
.main-nav a.button:hover,
.main-nav a.button[aria-current="page"] { color: var(--white); }
.button.secondary { background: transparent; color: var(--navy-900); border-color: #a9bdca; }
.button.secondary:hover { background: var(--blue-050); border-color: var(--navy-700); }
.button.light { background: var(--white); color: var(--navy-900); }
.button.light:hover { background: var(--blue-100); }
.home-page .button { border-radius: var(--radius-sm); }
.home-page .button:hover { transform: none; }

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--navy-900);
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  content: "";
  display: block;
  width: 18px;
  height: 1.5px;
  margin: 4px auto;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-open .menu-toggle span { opacity: 0; }
.menu-open .menu-toggle::before { transform: translateY(5.5px) rotate(45deg); }
.menu-open .menu-toggle::after { transform: translateY(-5.5px) rotate(-45deg); }

.hero {
  min-height: calc(100vh - 82px);
  display: grid;
  align-items: center;
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 82% 12%, rgba(219, 178, 91, 0.24), transparent 31%),
    linear-gradient(125deg, var(--navy-950) 0%, #4e0b1e 58%, #791b39 100%);
}

.hero::before {
  content: "";
  position: absolute;
  width: min(54vw, 780px);
  aspect-ratio: 1;
  right: -10vw;
  bottom: -38%;
  border: 1px solid rgba(255,255,255,0.19);
  border-radius: 50%;
  box-shadow: 0 0 0 88px rgba(255,255,255,0.035), 0 0 0 176px rgba(255,255,255,0.025);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.24;
  background-image: linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to right, transparent, #000);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(280px, 0.82fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: center;
  padding-block: clamp(5rem, 12vh, 9rem);
}

.eyebrow {
  margin: 0 0 1.35rem;
  color: var(--gold-ink);
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero .eyebrow { color: var(--blue-300); }

h1, h2, h3 { margin-top: 0; color: var(--navy-950); line-height: 1.08; }
h1, h2 { font-family: var(--font-display); font-weight: 500; letter-spacing: -0.025em; }
h1 { margin-bottom: 1.5rem; font-size: clamp(3.35rem, 7vw, 6.5rem); }
h2 { margin-bottom: 1.2rem; font-size: clamp(2.25rem, 4.5vw, 4.2rem); }
h3 { margin-bottom: 0.75rem; font-size: 1.2rem; font-weight: 720; }
.hero h1 { color: var(--white); max-width: 860px; }

.lead {
  margin: 0;
  color: #66575a;
  font-size: clamp(1.05rem, 1.65vw, 1.3rem);
  line-height: 1.7;
}

.hero .lead { max-width: 710px; color: #f2e7dc; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2.25rem; }

.hero-aside {
  align-self: end;
  padding: 2rem;
  border: 1px solid rgba(255,255,255,0.19);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.075);
  backdrop-filter: blur(12px);
}

.hero-aside .label { color: var(--blue-300); }
.hero-aside p { margin: 0.55rem 0 0; color: #f3e7dc; }
.hero-aside-list { display: grid; gap: 1.25rem; margin-top: 1.6rem; }
.hero-aside-item { padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,0.14); }
.hero-aside-item strong { display: block; color: var(--white); font-size: 1.05rem; }
.hero-aside-item span { color: #dfcfc5; font-size: 0.9rem; }

.institutional-hero {
  min-height: min(860px, calc(100vh - 82px));
  border-bottom: 1px solid rgba(217,184,107,0.45);
  background: linear-gradient(110deg, #25070f 0%, #430b1a 58%, #64142d 100%);
}
.institutional-hero::before,
.institutional-hero::after { display: none; }
.institutional-hero .hero-inner { grid-template-columns: minmax(0, 1.25fr) minmax(340px, 0.75fr); }
.institutional-hero h1 { max-width: 930px; font-size: clamp(3.7rem, 7.2vw, 7rem); }
.hero-statement .lead { max-width: 760px; }
.hero-mandate { align-self: end; padding-left: clamp(2rem, 4vw, 4rem); border-left: 1px solid rgba(217,184,107,0.55); }
.hero-mandate > .label { margin-bottom: 1rem; color: var(--blue-300); }
.mandate-row { display: grid; grid-template-columns: 2.5rem 1fr; gap: 1rem; padding: 1.35rem 0; border-top: 1px solid rgba(255,255,255,0.17); }
.mandate-no { padding-top: 0.15rem; color: var(--blue-300); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.14em; }
.mandate-row strong { display: block; color: var(--white); font-family: var(--font-display); font-size: 1.45rem; font-weight: 500; }
.mandate-row p { margin: 0.4rem 0 0; color: #dfcfc5; font-size: 0.92rem; }

.label {
  display: inline-block;
  color: var(--navy-700);
  font-size: 0.72rem;
  font-weight: 760;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(6rem, 11vw, 9rem) 0 clamp(4.5rem, 8vw, 7rem);
  background: linear-gradient(135deg, #fffaf0 0%, #f4e7ce 100%);
}

.page-hero::after {
  content: "";
  position: absolute;
  width: 560px;
  height: 560px;
  top: -340px;
  right: -140px;
  border: 1px solid var(--blue-300);
  border-radius: 50%;
  box-shadow: 0 0 0 80px rgba(169,200,221,0.14), 0 0 0 160px rgba(169,200,221,0.08);
}

.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { max-width: 950px; margin-bottom: 1.2rem; color: var(--navy-950); font-size: clamp(3rem, 6vw, 5.8rem); }
.page-hero .lead { max-width: 760px; }

.section { padding: clamp(5rem, 9vw, 8.5rem) 0; }
section[id] { scroll-margin-top: 82px; }
.section.soft { background: var(--blue-050); }
.section.cream { background: var(--cream); }
.section.dark { color: var(--white); background: var(--navy-950); }
.section.dark h2, .section.dark h3 { color: var(--white); }
.section.dark .lead, .section.dark p { color: #dfcfc5; }
.section.dark .eyebrow, .cta-band .eyebrow { color: var(--blue-300); }

.gratitude-section {
  position: relative;
  background: linear-gradient(135deg, #fffaf0 0%, #f5e7ca 100%);
}

.gratitude-section .narrow {
  padding-left: clamp(1.5rem, 4vw, 3rem);
  border-left: 2px solid var(--blue-500);
}

.uae-foundation-section { position: relative; padding-top: clamp(6rem, 10vw, 10rem); background: #fbf5e8; }
.uae-colour-rule { position: absolute; inset: 0 0 auto; height: 5px; border-block: 1px solid rgba(0,0,0,0.08); background: linear-gradient(90deg, #ce1126 0 25%, #00732f 25% 50%, #ffffff 50% 75%, #111111 75% 100%); }
.uae-foundation-grid { display: grid; grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr); gap: clamp(3.5rem, 8vw, 8rem); align-items: start; }
.uae-foundation-grid header { position: sticky; top: 130px; }
.uae-foundation-grid h2 { max-width: 10ch; font-size: clamp(3rem, 5.4vw, 5.3rem); }
.uae-foundation-section .uae-origin { display: inline-block; padding-top: 1.1rem; border-top: 1px solid rgba(71,11,28,0.24); color: var(--gold-ink); font-size: 0.75rem; font-weight: 760; letter-spacing: 0.13em; text-transform: uppercase; }
.uae-foundation-copy p { color: var(--muted); }
.uae-foundation-copy .lead { color: var(--ink); }
.uae-leadership-line { margin-block: 2.4rem; padding-block: 2rem; border-block: 1px solid rgba(71,11,28,0.18); color: var(--navy-950) !important; font-family: var(--font-display); font-size: clamp(1.35rem, 2.15vw, 1.85rem); line-height: 1.55; }
.uae-leadership-line strong { font-weight: 600; }

.institutional-layout { display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); gap: clamp(3.5rem, 8vw, 8rem); align-items: start; }
.institutional-intro { position: sticky; top: 130px; }
.institutional-intro h2 { max-width: 11ch; }
.institutional-list { margin: 0; padding: 0; list-style: none; border-bottom: 1px solid var(--line); }
.institutional-list li { display: grid; grid-template-columns: 3.2rem 1fr; gap: 1.3rem; padding: 1.8rem 0; border-top: 1px solid var(--line); }
.institutional-list li > span { padding-top: 0.2rem; color: var(--gold-ink); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.14em; }
.institutional-list h3 { margin-bottom: 0.35rem; font-family: var(--font-display); font-size: clamp(1.45rem, 2.2vw, 2rem); font-weight: 500; }
.institutional-list p { margin: 0; color: var(--muted); }

.capability-section { color: var(--white); background: #2a0711; }
.capability-layout { display: grid; grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr); gap: clamp(3.5rem, 8vw, 8rem); align-items: start; }
.capability-intro { position: sticky; top: 130px; }
.capability-intro .eyebrow { color: var(--blue-300); }
.capability-intro h2 { max-width: 10ch; color: var(--white); }
.capability-intro p { color: #d7c6bd; }
.capability-register { margin: 0; padding: 0; list-style: none; border-bottom: 1px solid rgba(255,255,255,0.16); }
.capability-register li { display: grid; grid-template-columns: 3rem minmax(190px, 0.85fr) minmax(220px, 1.15fr); gap: 1.4rem; align-items: baseline; padding: 1.7rem 0; border-top: 1px solid rgba(255,255,255,0.16); }
.capability-register li > span { color: var(--blue-300); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.14em; }
.capability-register h3 { margin: 0; color: var(--white); font-family: var(--font-display); font-size: clamp(1.4rem, 2vw, 1.8rem); font-weight: 500; }
.capability-register p { margin: 0; color: #d7c6bd; }
.text-action { display: inline-flex; gap: 0.55rem; align-items: center; margin-top: 1.7rem; padding-bottom: 0.25rem; border-bottom: 1px solid rgba(71,11,28,0.42); color: var(--navy-900); font-weight: 720; }
.text-action span { transition: transform 180ms ease; }
.text-action:hover span { transform: translateX(4px); }
.light-action { color: #f2d898; border-bottom-color: rgba(242,216,152,0.45); }

.group-position-section { background: var(--blue-050); }
.dual-editorial { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(3rem, 8vw, 8rem); }
.editorial-statement { padding-top: 2rem; border-top: 2px solid var(--blue-500); }
.editorial-statement h2 { max-width: 12ch; font-size: clamp(2.6rem, 4.6vw, 4.4rem); }
.editorial-statement > p:not(.eyebrow):not(.lead) { color: var(--muted); }
.statement-line { margin-top: 2rem; padding-top: 1.4rem; border-top: 1px solid var(--line); color: var(--navy-950) !important; font-family: var(--font-display); font-size: 1.25rem; }

.section-heading { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; margin-bottom: clamp(3rem, 6vw, 5rem); }
.section-heading h2 { margin-bottom: 0; }
.section-heading .lead { padding-top: 0.4rem; }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.35rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }

.card {
  padding: clamp(1.6rem, 3vw, 2.4rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.card:hover { transform: translateY(-5px); border-color: var(--blue-300); box-shadow: var(--shadow-sm); }
.card p { margin: 0; color: var(--muted); }
.card .number { margin-bottom: 1.5rem; color: var(--blue-500); font-family: var(--font-display); font-size: 2.1rem; }
.card .card-link { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 1.4rem; color: var(--navy-800); font-weight: 700; }
.card .card-link::after { content: "→"; transition: transform 180ms ease; }
.card:hover .card-link::after { transform: translateX(4px); }

.company-card {
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
  padding: clamp(2rem, 5vw, 3.5rem);
  border-radius: var(--radius-lg);
  color: var(--white);
  background: linear-gradient(155deg, #7a1733, var(--navy-950));
}

.company-card:nth-child(2) { background: linear-gradient(155deg, #5e2226, #2a0711); }
.company-card::before {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  top: -150px;
  right: -145px;
  border: 1px solid rgba(255,255,255,0.24);
  border-radius: 50%;
  box-shadow: 0 0 0 60px rgba(255,255,255,0.04), 0 0 0 120px rgba(255,255,255,0.025);
}

.company-card > * { position: relative; z-index: 1; }
.company-logo-tile {
  width: min(100%, 270px);
  height: 118px;
  display: grid;
  place-items: center;
  align-self: flex-start;
  margin-bottom: auto;
  padding: 1rem 1.25rem;
  border: 1px solid rgba(255,255,255,0.42);
  border-radius: 0.8rem;
  background: #fffaf0;
  box-shadow: 0 16px 38px rgba(18, 3, 8, 0.18);
}
.company-logo-tile img { width: 100%; max-height: 78px; object-fit: contain; }
.company-logo-tile-tall { width: 180px; }
.company-logo-tile-tall img { width: auto; max-height: 88px; }
.company-card h3 { max-width: 430px; color: var(--white); font-family: var(--font-display); font-size: clamp(2rem, 3.4vw, 3rem); font-weight: 500; }
.company-card p { max-width: 560px; margin: 0; color: #e4d5cc; }
.company-card .label { color: var(--blue-300); margin-bottom: 0.8rem; }
.company-card .card-link { display: inline-flex; align-items: center; gap: 0.45rem; margin-top: 1.5rem; color: #f2d898; font-weight: 700; }
.company-card .card-link::after { content: "→"; transition: transform 180ms ease; }
.company-card:hover .card-link::after { transform: translateX(4px); }

.split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(3rem, 8vw, 8rem); align-items: center; }
.split.reverse { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
.split-copy p { color: var(--muted); }

.principles-section { background: var(--cream); }
.principles-layout { display: grid; grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr); gap: clamp(3rem, 8vw, 8rem); align-items: start; }
.principles-intro { position: sticky; top: 130px; }
.principles-intro h2 { max-width: 10ch; }
.principles-intro .lead { max-width: 34rem; }
.editorial-links { display: flex; flex-wrap: wrap; gap: 1.5rem 2rem; margin-top: 2rem; }
.editorial-links a { padding-bottom: 0.25rem; border-bottom: 1px solid rgba(71,11,28,0.35); color: var(--navy-900); font-weight: 720; }
.editorial-links a span { display: inline-block; margin-left: 0.35rem; transition: transform 180ms ease; }
.editorial-links a:hover span { transform: translateX(4px); }
.principles-list { margin: 0; padding: 0; list-style: none; border-bottom: 1px solid var(--line); }
.principles-list li { display: grid; grid-template-columns: 3rem minmax(150px, 0.82fr) minmax(220px, 1.18fr); gap: 1.25rem; align-items: baseline; padding: 1.55rem 0; border-top: 1px solid var(--line); }
.principle-no { color: var(--gold-ink); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.14em; }
.principles-list h3 { margin: 0; font-family: var(--font-display); font-size: clamp(1.35rem, 2vw, 1.8rem); font-weight: 500; }
.principles-list p { margin: 0; color: var(--muted); }

.editorial-register {
  min-height: 500px;
  position: relative;
  overflow: hidden;
  padding: clamp(2.2rem, 5vw, 4rem);
  border-radius: var(--radius-lg);
  color: var(--white);
  background: linear-gradient(145deg, #721531, var(--navy-950));
  box-shadow: var(--shadow-sm);
}
.editorial-register > * { position: relative; z-index: 1; }
.editorial-register .eyebrow { color: var(--blue-300); }
.register-row { display: grid; grid-template-columns: 2.8rem 1fr; gap: 1.1rem; padding: 1.35rem 0; border-top: 1px solid rgba(255,255,255,0.16); }
.register-no { padding-top: 0.15rem; color: var(--blue-300); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.14em; }
.register-row h3 { margin: 0 0 0.35rem; color: var(--white); font-family: var(--font-display); font-size: clamp(1.35rem, 2vw, 1.75rem); font-weight: 500; }
.register-row p { margin: 0; color: #dfcfc5; font-size: 0.92rem; }
.growth-register { padding-block: clamp(2rem, 4vw, 3.2rem); }
.growth-register .register-row { padding-block: 0.95rem; }

.company-identity-panel {
  min-height: 500px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 1.4rem;
  position: relative;
  overflow: hidden;
  padding: clamp(2rem, 5vw, 4rem);
  border-radius: var(--radius-lg);
  color: #f0dca7;
  background: linear-gradient(145deg, #721531, #2a0711);
}
.company-identity-panel::before {
  content: "";
  position: absolute;
  width: 390px;
  height: 390px;
  top: -185px;
  right: -160px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  box-shadow: 0 0 0 62px rgba(255,255,255,0.035), 0 0 0 124px rgba(255,255,255,0.02);
}
.company-identity-panel > * { position: relative; z-index: 1; }
.company-identity-panel > span { font-size: 0.72rem; font-weight: 750; letter-spacing: 0.14em; text-transform: uppercase; }
.al-kanari-identity { background: linear-gradient(145deg, #5e2226, #21070f); }
.company-logo-large {
  width: min(100%, 390px);
  min-height: 190px;
  display: grid;
  place-items: center;
  padding: clamp(1.4rem, 4vw, 2.5rem);
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 1rem;
  background: #fffaf0;
  box-shadow: 0 28px 60px rgba(18,3,8,0.23);
}
.company-logo-large img { width: 100%; max-height: 125px; object-fit: contain; }
.company-logo-large-tall { width: min(100%, 260px); }
.company-logo-large-tall img { width: auto; max-height: 155px; }

.pill-list { display: flex; flex-wrap: wrap; gap: 0.65rem; margin-top: 2rem; }
.pill {
  padding: 0.65rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--navy-800);
  background: var(--white);
  font-size: 0.82rem;
  font-weight: 650;
}

.facts-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; border-top: 1px solid var(--line); }
.facts-grid > div { display: grid; grid-template-columns: minmax(125px, 0.55fr) minmax(0, 1.45fr); gap: 1.5rem; padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.facts-grid > div:nth-child(odd) { padding-right: 2.5rem; border-right: 1px solid var(--line); }
.facts-grid > div:nth-child(even) { padding-left: 2.5rem; }
.facts-grid dt { color: var(--gold-ink); font-size: 0.72rem; font-weight: 780; letter-spacing: 0.11em; text-transform: uppercase; }
.facts-grid dd { margin: 0; color: var(--navy-950); font-family: var(--font-display); font-size: 1.18rem; line-height: 1.4; }

.values-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.value-row { padding: 2rem 1.2rem 2rem 0; border-bottom: 1px solid var(--line); }
.value-row:nth-child(odd) { padding-right: 2.5rem; border-right: 1px solid var(--line); }
.value-row:nth-child(even) { padding-left: 2.5rem; }
.value-row h3 { font-size: 1.05rem; }
.value-row p { margin: 0; color: var(--muted); }

.timeline { position: relative; display: grid; gap: 0; }
.timeline::before { content: ""; position: absolute; left: 1.15rem; top: 1.5rem; bottom: 1.5rem; width: 1px; background: var(--line); }
.timeline-item { position: relative; display: grid; grid-template-columns: 3rem 1fr; gap: 1.25rem; padding: 0 0 2.4rem; }
.timeline-dot { width: 2.35rem; height: 2.35rem; display: grid; place-items: center; position: relative; z-index: 1; border: 1px solid var(--blue-300); border-radius: 50%; color: var(--navy-800); background: var(--white); font-size: 0.72rem; font-weight: 750; }
.timeline-copy p { margin: 0; color: var(--muted); }

.leadership-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.leader-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--white); }
.leader-portrait {
  min-height: 360px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  color: rgba(255,255,255,0.82);
  background: linear-gradient(145deg, #7a1733, var(--navy-950));
}
.leader-portrait::before { content: ""; width: 180px; height: 180px; border: 1px solid rgba(255,255,255,0.22); border-radius: 50%; box-shadow: 0 0 0 44px rgba(255,255,255,0.04), 0 0 0 88px rgba(255,255,255,0.025); }
.leader-portrait span { position: absolute; left: 1.4rem; bottom: 1.15rem; color: #dfcfc5; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; }
.leader-copy { padding: 2rem; }
.leader-copy .role { margin-bottom: 0.45rem; color: var(--gold-ink); font-size: 0.78rem; font-weight: 730; letter-spacing: 0.08em; text-transform: uppercase; }
.leader-copy p { margin: 0; color: var(--muted); }

.ceo-message-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.ceo-message-intro {
  position: relative;
  overflow: hidden;
  padding: clamp(2.5rem, 6vw, 5rem);
  color: var(--white);
  background: linear-gradient(145deg, #721531, var(--navy-950));
}
.ceo-message-intro::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  right: -145px;
  bottom: -150px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 50%;
  box-shadow: 0 0 0 48px rgba(255,255,255,0.03), 0 0 0 96px rgba(255,255,255,0.02);
}
.ceo-message-intro > * { position: relative; z-index: 1; }
.ceo-message-intro .eyebrow { color: var(--blue-300); }
.ceo-message-intro h2 { color: var(--white); font-size: clamp(2.5rem, 4.5vw, 4.3rem); }
.ceo-message-intro > p:last-child { max-width: 390px; color: #dfcfc5; }
.ceo-message-copy { padding: clamp(2.5rem, 6vw, 5rem); }
.ceo-message-copy blockquote { margin: 0; }
.ceo-message-copy blockquote p { color: var(--ink); font-family: var(--font-display); font-size: clamp(1.35rem, 2.2vw, 1.8rem); line-height: 1.55; }
.ceo-message-copy blockquote p:first-child { margin-top: 0; }
.ceo-signature { display: grid; gap: 0.15rem; margin-top: 2.5rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.ceo-signature strong { color: var(--navy-950); }
.ceo-signature span { color: var(--gold-ink); font-size: 0.78rem; font-weight: 750; letter-spacing: 0.12em; text-transform: uppercase; }
.ownership-panel { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(3rem, 8vw, 8rem); align-items: start; }
.ownership-panel h2 { margin-bottom: 0; }
.ownership-panel p:not(.eyebrow) { color: var(--muted); }
.leadership-structure { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; border-block: 1px solid var(--line); }
.leadership-structure li { min-height: 260px; padding: 2rem; border-right: 1px solid var(--line); }
.leadership-structure li:last-child { border-right: 0; }
.leadership-structure li > span { color: var(--gold-ink); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.14em; }
.leadership-structure h3 { margin-top: 2.8rem; font-family: var(--font-display); font-size: 1.55rem; font-weight: 500; }
.leadership-structure p { margin: 0; color: var(--muted); }
.leadership-commitments { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 2rem; color: var(--navy-900); font-size: 0.78rem; font-weight: 760; letter-spacing: 0.09em; text-transform: uppercase; }
.leadership-commitments span { padding: 0.8rem 1.2rem 0.8rem 0; }

.uae-home { padding-top: 0; }
.uae-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(3rem, 7vw, 7rem);
  position: relative;
  overflow: hidden;
  padding: clamp(3rem, 7vw, 6rem);
  border-radius: var(--radius-lg);
  color: var(--white);
  background: linear-gradient(125deg, var(--navy-950), #68132e);
}
.uae-panel::after {
  content: "";
  position: absolute;
  width: 430px;
  height: 430px;
  left: -270px;
  bottom: -285px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 50%;
  box-shadow: 0 0 0 68px rgba(255,255,255,0.03), 0 0 0 136px rgba(255,255,255,0.02);
}
.uae-panel > * { position: relative; z-index: 1; }
.uae-panel .eyebrow { color: var(--blue-300); }
.uae-panel h2 { color: var(--white); }
.uae-origin { display: inline-block; padding-top: 1.1rem; border-top: 1px solid rgba(255,255,255,0.2); color: #e6c77e; font-size: 0.75rem; font-weight: 720; letter-spacing: 0.12em; text-transform: uppercase; }
.uae-panel-copy .lead { color: #f3e8df; }
.uae-panel-copy p { color: #dfcfc5; }
.uae-panel-copy p:last-child { margin-bottom: 0; }

.stats { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1px; overflow: hidden; border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius-md); background: rgba(255,255,255,0.12); }
.stat { padding: 2rem; background: var(--navy-950); }
.stat strong { display: block; color: var(--white); font-family: var(--font-display); font-size: 2rem; font-weight: 500; }
.stat span { color: #d8c6bd; font-size: 0.88rem; }

.priority-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; border-block: 1px solid rgba(255,255,255,0.16); }
.priority-grid li { min-height: 245px; padding: 2rem; border-right: 1px solid rgba(255,255,255,0.16); }
.priority-grid li:last-child { border-right: 0; }
.priority-grid li > span { color: var(--blue-300); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.14em; }
.priority-grid h3 { margin-top: 2.8rem; font-family: var(--font-display); font-size: 1.6rem; font-weight: 500; }
.priority-grid p { margin: 0; color: #d7c6bd; }
.home-page .cta-band { border-radius: var(--radius-sm); background: #430b1a; }
.home-page .cta-band::after { display: none; }

.career-list { border-top: 1px solid var(--line); }
.career-row { display: grid; grid-template-columns: 1.2fr 0.7fr auto; gap: 1.5rem; align-items: center; padding: 1.6rem 0; border-bottom: 1px solid var(--line); }
.career-row h3 { margin: 0; }
.career-row span { color: var(--muted); font-size: 0.9rem; }
.application-process { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); margin: 0; padding: 0; list-style: none; border-block: 1px solid var(--line); }
.application-process li { padding: 2rem; border-right: 1px solid var(--line); }
.application-process li:last-child { border-right: 0; }
.application-process li > span { color: var(--gold-ink); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.14em; }
.application-process h3 { margin-top: 2rem; font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; }
.application-process p { margin: 0; color: var(--muted); }
.process-note { max-width: 760px; margin: 1.5rem 0 0; color: var(--muted); font-size: 0.84rem; }

.contact-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(3rem, 8vw, 8rem); align-items: start; }
.contact-list { display: grid; gap: 1.25rem; margin-top: 2.5rem; }
.contact-item { padding-top: 1.2rem; border-top: 1px solid var(--line); }
.contact-item strong { display: block; margin-bottom: 0.2rem; color: var(--navy-900); }
.contact-item span { color: var(--muted); }
.contact-route-panel { padding: clamp(2.4rem, 5vw, 4rem); color: var(--white); background: #2a0711; border-top: 4px solid var(--blue-500); }
.contact-route-panel .eyebrow { color: var(--blue-300); }
.contact-route-panel > h2 { max-width: 10ch; color: var(--white); }
.contact-route { display: grid; grid-template-columns: 2.8rem 1fr; gap: 1.1rem; padding: 1.3rem 0; border-top: 1px solid rgba(255,255,255,0.16); }
.contact-route > span { padding-top: 0.15rem; color: var(--blue-300); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.14em; }
.contact-route h3 { margin: 0 0 0.35rem; color: var(--white); font-family: var(--font-display); font-size: 1.45rem; font-weight: 500; }
.contact-route p { margin: 0 0 0.65rem; color: #d7c6bd; }
.contact-route a { color: #f2d898; font-weight: 720; text-decoration: underline; text-decoration-color: rgba(242,216,152,0.4); text-underline-offset: 0.22em; }

.form-card { padding: clamp(1.5rem, 4vw, 2.8rem); border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--blue-050); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: 0.45rem; }
.field.full { grid-column: 1 / -1; }
.field label { color: var(--navy-900); font-size: 0.82rem; font-weight: 700; }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid #cdbbb2;
  border-radius: 0.65rem;
  color: var(--ink);
  background: var(--white);
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--navy-700); box-shadow: 0 0 0 3px rgba(93,148,189,0.18); }
.form-note { margin: 1rem 0 0; color: var(--muted); font-size: 0.8rem; }
.form-status { min-height: 1.5em; margin: 0.7rem 0 0; color: var(--success); font-size: 0.88rem; font-weight: 650; }

.legal-copy h2 { margin-top: 3.2rem; font-family: var(--font-sans); font-size: 1.45rem; font-weight: 750; letter-spacing: -0.01em; }
.legal-copy h3 { margin-top: 2rem; }
.legal-copy p, .legal-copy li { color: var(--muted); }
.legal-copy ul { padding-left: 1.2rem; }

.cta-band {
  position: relative;
  overflow: hidden;
  padding: clamp(3.5rem, 7vw, 6.5rem);
  border-radius: var(--radius-lg);
  color: var(--white);
  background: linear-gradient(125deg, var(--navy-950), var(--navy-700));
}
.cta-band::after { content: ""; position: absolute; width: 330px; height: 330px; right: -100px; top: -120px; border: 1px solid rgba(255,255,255,0.18); border-radius: 50%; box-shadow: 0 0 0 50px rgba(255,255,255,0.035), 0 0 0 100px rgba(255,255,255,0.02); }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { max-width: 760px; color: var(--white); }
.cta-band p { max-width: 690px; color: #dfcfc5; }
.cta-band .hero-actions { margin-top: 1.8rem; }

.site-footer { padding: 4.2rem 0 1.6rem; color: #eadfd5; background: #21070f; }
.footer-top { display: grid; grid-template-columns: 1.3fr repeat(3, 0.7fr); gap: 3rem; padding-bottom: 3rem; }
.site-footer .brand { color: var(--white); }
.site-footer p { max-width: 390px; color: #c9b8b2; }
.address-line { white-space: nowrap; }
.footer-heading { margin: 0 0 1rem; color: var(--white); font-size: 0.8rem; font-weight: 750; letter-spacing: 0.1em; text-transform: uppercase; }
.footer-links { display: grid; gap: 0.65rem; }
.footer-links a { color: #d5c4bd; font-size: 0.9rem; }
.footer-links a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; gap: 2rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.12); color: #ad9891; font-size: 0.78rem; }
.site-footer .brand-logo { mix-blend-mode: normal; border-radius: 0; }

.text-link {
  color: var(--navy-700);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(184,138,56,0.55);
  text-underline-offset: 0.2em;
}

.site-footer .text-link { color: #f2d898; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 700ms ease, transform 700ms ease; }
.reveal.visible { opacity: 1; transform: none; }

/* Arabic edition: scoped RTL typography, alignment and mirrored details. */
html[dir="rtl"] {
  --font-sans: "Noto Sans Arabic", "Geeza Pro", Tahoma, Arial, sans-serif;
  --font-display: "Noto Naskh Arabic", "Geeza Pro", Tahoma, Arial, serif;
}

html[dir="rtl"] body {
  text-align: right;
  line-height: 1.8;
}

html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3 {
  letter-spacing: 0;
  line-height: 1.35;
}

html[dir="rtl"] .eyebrow,
html[dir="rtl"] .label,
html[dir="rtl"] .brand-text small,
html[dir="rtl"] .company-identity-panel > span,
html[dir="rtl"] .facts-grid dt,
html[dir="rtl"] .leader-portrait span,
html[dir="rtl"] .leader-copy .role,
html[dir="rtl"] .ceo-signature span,
html[dir="rtl"] .leadership-commitments,
html[dir="rtl"] .footer-heading,
html[dir="rtl"] .uae-origin,
html[dir="rtl"] .uae-foundation-section .uae-origin {
  letter-spacing: 0;
  text-transform: none;
}

html[dir="rtl"] .brand {
  direction: ltr;
  text-align: left;
}

html[dir="rtl"] a[href^="mailto:"],
html[dir="rtl"] a[href^="tel:"] {
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-block;
}

html[dir="rtl"] .skip-link { left: auto; right: 0.75rem; }
html[dir="rtl"] .main-nav a:not(.button):not(.language-switch)::after {
  left: 100%;
  right: 0;
  transition: left 180ms ease;
}
html[dir="rtl"] .main-nav a:not(.button):not(.language-switch):hover::after,
html[dir="rtl"] .main-nav a:not(.button):not(.language-switch)[aria-current="page"]::after { left: 0; }

html[dir="rtl"] .hero::before { left: -10vw; right: auto; }
html[dir="rtl"] .hero::after { mask-image: linear-gradient(to left, transparent, #000); }
html[dir="rtl"] .page-hero::after { left: -140px; right: auto; }
html[dir="rtl"] .hero-mandate {
  padding-left: 0;
  padding-right: clamp(2rem, 4vw, 4rem);
  border-left: 0;
  border-right: 1px solid rgba(217,184,107,0.55);
}
html[dir="rtl"] .gratitude-section .narrow {
  padding-left: 0;
  padding-right: clamp(1.5rem, 4vw, 3rem);
  border-left: 0;
  border-right: 2px solid var(--blue-500);
}

html[dir="rtl"] .company-card::before,
html[dir="rtl"] .company-identity-panel::before,
html[dir="rtl"] .ceo-message-intro::after,
html[dir="rtl"] .cta-band::after {
  left: -145px;
  right: auto;
}
html[dir="rtl"] .cta-band::after { left: -100px; }
html[dir="rtl"] .uae-panel::after { left: auto; right: -270px; }

html[dir="rtl"] .text-action span,
html[dir="rtl"] .editorial-links a span { transform: scaleX(-1); }
html[dir="rtl"] .text-action:hover span,
html[dir="rtl"] .editorial-links a:hover span { transform: translateX(-4px) scaleX(-1); }
html[dir="rtl"] .editorial-links a span { margin-left: 0; margin-right: 0.35rem; }
html[dir="rtl"] .card .card-link::after,
html[dir="rtl"] .company-card .card-link::after { content: "←"; }
html[dir="rtl"] .card:hover .card-link::after,
html[dir="rtl"] .company-card:hover .card-link::after { transform: translateX(-4px); }

html[dir="rtl"] .facts-grid > div:nth-child(odd),
html[dir="rtl"] .value-row:nth-child(odd) {
  padding-left: 2.5rem;
  padding-right: 0;
  border-left: 1px solid var(--line);
  border-right: 0;
}
html[dir="rtl"] .facts-grid > div:nth-child(even),
html[dir="rtl"] .value-row:nth-child(even) {
  padding-left: 0;
  padding-right: 2.5rem;
}

html[dir="rtl"] .timeline::before { left: auto; right: 1.15rem; }
html[dir="rtl"] .leader-portrait span { left: auto; right: 1.4rem; }
html[dir="rtl"] .legal-copy ul { padding-left: 0; padding-right: 1.2rem; }

html[dir="rtl"] .leadership-structure li,
html[dir="rtl"] .priority-grid li,
html[dir="rtl"] .application-process li {
  border-left: 1px solid var(--line);
  border-right: 0;
}
html[dir="rtl"] .priority-grid li { border-left-color: rgba(255,255,255,0.16); }
html[dir="rtl"] .leadership-structure li:last-child,
html[dir="rtl"] .priority-grid li:last-child,
html[dir="rtl"] .application-process li:last-child { border-left: 0; }

:focus-visible { outline: 3px solid rgba(184,138,56,0.68); outline-offset: 3px; }

@media (max-width: 1020px) {
  .main-nav { gap: 1rem; }
  .main-nav a { font-size: 0.82rem; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-aside { max-width: 600px; }
  .institutional-hero .hero-inner { grid-template-columns: 1fr; }
  .hero-mandate { max-width: 760px; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .priority-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .priority-grid li:nth-child(2) { border-right: 0; }
  html[dir="rtl"] .priority-grid li:nth-child(2) { border-left: 0; }
  .priority-grid li:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,0.16); }
  .leadership-structure { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .leadership-structure li:nth-child(2) { border-right: 0; }
  html[dir="rtl"] .leadership-structure li:nth-child(2) { border-left: 0; }
  .leadership-structure li:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .leadership-commitments { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .application-process { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .application-process li:nth-child(2) { border-right: 0; }
  html[dir="rtl"] .application-process li:nth-child(2) { border-left: 0; }
  .application-process li:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .footer-top { grid-template-columns: 1.25fr repeat(2, 0.75fr); }
  .footer-top > :last-child { grid-column: 2 / -1; }
}

@media (max-width: 940px) {
  .uae-foundation-grid,
  .institutional-layout,
  .capability-layout,
  .dual-editorial { grid-template-columns: 1fr; }
  .uae-foundation-grid header,
  .institutional-intro,
  .capability-intro { position: static; }
  .uae-foundation-grid h2,
  .institutional-intro h2,
  .capability-intro h2 { max-width: 14ch; }
  .principles-layout { grid-template-columns: 1fr; }
  .principles-intro { position: static; }
  .principles-list li { grid-template-columns: 2.5rem minmax(0, 0.82fr) minmax(220px, 1.18fr); }
}

@media (max-width: 840px) {
  .menu-toggle { display: block; }
  .main-nav {
    position: fixed;
    inset: 82px 0 auto;
    max-height: calc(100vh - 82px);
    overflow-y: auto;
    display: grid;
    gap: 0;
    padding: 1rem 1.25rem 2rem;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    transform: translateY(-130%);
    visibility: hidden;
    pointer-events: none;
    transition: transform 220ms ease, visibility 0s linear 220ms;
  }
  .menu-open .main-nav { transform: translateY(0); visibility: visible; pointer-events: auto; transition-delay: 0s; }
  .main-nav a { padding: 0.95rem 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .main-nav a::after { display: none; }
  .main-nav .language-switch {
    width: fit-content;
    min-height: 38px;
    justify-self: start;
    margin-block: 0.75rem;
    padding: 0.55rem 0.95rem;
    border: 1px solid rgba(71, 11, 28, 0.28);
  }
  html[dir="rtl"] .main-nav .language-switch { justify-self: end; }
  .main-nav .button { margin-top: 1rem; border-bottom: 0; }
  .section-heading, .split, .split.reverse, .contact-grid, .ceo-message-panel, .ownership-panel, .uae-panel, .principles-layout { grid-template-columns: 1fr; }
  .split.reverse .company-identity-panel { order: -1; }
  .principles-intro { position: static; }
  .principles-list li { grid-template-columns: 2.5rem minmax(0, 1fr); }
  .principles-list p { grid-column: 2; }
  .capability-register li { grid-template-columns: 2.5rem minmax(0, 1fr); }
  .capability-register li p { grid-column: 2; }
  .editorial-register { min-height: auto; }
  .company-identity-panel { min-height: 390px; }
  .stats { grid-template-columns: 1fr; }
  .career-row { grid-template-columns: 1fr auto; }
  .career-row > :nth-child(2) { grid-column: 1; }
  .career-row .button { grid-column: 2; grid-row: 1 / span 2; }
}

@media (max-width: 650px) {
  .container, .narrow { width: min(calc(100% - 1.5rem), var(--max)); }
  .nav-wrap { min-height: 72px; }
  .main-nav { inset: 72px 0 auto; }
  section[id] { scroll-margin-top: 72px; }
  .brand-text small { display: none; }
  .hero { min-height: auto; }
  .hero-inner { padding-block: 5.5rem; }
  .institutional-hero h1 { font-size: clamp(3.15rem, 15.5vw, 4.7rem); }
  .hero-mandate { padding-left: 1.25rem; }
  html[dir="rtl"] .hero-mandate { padding-left: 0; padding-right: 1.25rem; }
  h1 { font-size: clamp(3rem, 17vw, 4.5rem); }
  .page-hero h1 { font-size: clamp(2.8rem, 15vw, 4.2rem); }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .section { padding-block: 4.5rem; }
  .grid-2, .grid-3, .grid-4, .leadership-grid, .values-grid, .form-grid, .facts-grid { grid-template-columns: 1fr; }
  .facts-grid > div,
  .facts-grid > div:nth-child(odd),
  .facts-grid > div:nth-child(even) { grid-template-columns: 1fr; gap: 0.35rem; padding: 1.25rem 0; border-right: 0; }
  html[dir="rtl"] .facts-grid > div,
  html[dir="rtl"] .facts-grid > div:nth-child(odd),
  html[dir="rtl"] .facts-grid > div:nth-child(even) { border-left: 0; }
  .dual-editorial { gap: 4.5rem; }
  .priority-grid { grid-template-columns: 1fr; }
  .priority-grid li,
  .priority-grid li:nth-child(2) { min-height: auto; border-right: 0; border-bottom: 1px solid rgba(255,255,255,0.16); }
  html[dir="rtl"] .priority-grid li,
  html[dir="rtl"] .priority-grid li:nth-child(2) { border-left: 0; }
  .priority-grid li:last-child { border-bottom: 0; }
  .priority-grid h3 { margin-top: 1.8rem; }
  .leadership-structure { grid-template-columns: 1fr; }
  .leadership-structure li,
  .leadership-structure li:nth-child(2) { min-height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  html[dir="rtl"] .leadership-structure li,
  html[dir="rtl"] .leadership-structure li:nth-child(2) { border-left: 0; }
  .leadership-structure li:last-child { border-bottom: 0; }
  .leadership-structure h3 { margin-top: 1.8rem; }
  .leadership-commitments { grid-template-columns: 1fr 1fr; }
  .application-process { grid-template-columns: 1fr; }
  .application-process li,
  .application-process li:nth-child(2) { border-right: 0; border-bottom: 1px solid var(--line); }
  html[dir="rtl"] .application-process li,
  html[dir="rtl"] .application-process li:nth-child(2) { border-left: 0; }
  .application-process li:last-child { border-bottom: 0; }
  .value-row, .value-row:nth-child(odd), .value-row:nth-child(even) { padding: 1.5rem 0; border-right: 0; }
  html[dir="rtl"] .value-row,
  html[dir="rtl"] .value-row:nth-child(odd),
  html[dir="rtl"] .value-row:nth-child(even) { border-left: 0; }
  .company-card { min-height: 370px; }
  .company-logo-tile { margin-bottom: 3rem; }
  .leader-portrait { min-height: 300px; }
  .career-row { grid-template-columns: 1fr; }
  .career-row .button { grid-column: 1; grid-row: auto; width: fit-content; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2.5rem 1.5rem; }
  .footer-top > :first-child, .footer-top > :last-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
