@font-face {
  font-family: "IBM Plex Sans Arabic";
  src: url("fonts/IBM-Plex-Sans-Arabic-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans Arabic";
  src: url("fonts/IBM-Plex-Sans-Arabic-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans Arabic";
  src: url("fonts/IBM-Plex-Sans-Arabic-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("fonts/Inter-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("fonts/Inter-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@layer reset, base, layout, components, pages, responsive;

@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body { margin: 0; min-height: 100vh; overflow-x: clip; }
  img, svg { display: block; max-width: 100%; }
  a { color: inherit; text-decoration: none; }
  button, input, textarea, select { font: inherit; }
}

@layer base {
  :root {
    --color-navy: #071426;
    --color-gold: #c9a45c;
    --color-paper: #f7f3ea;
    --color-ink: #171717;
    --state-error: #9b5b43;
    --container: min(1180px, calc(100% - 64px));
    --grid-columns: 12;
    --gap: 24px;
    --section-pad-y: clamp(96px, 11vw, 128px);
    --font-ar: "IBM Plex Sans Arabic", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-latin: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  }

  body {
    direction: rtl;
    text-align: right;
    font-family: var(--font-ar);
    background: var(--color-paper);
    color: var(--color-ink);
    line-height: 1.85;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
  }

  ::selection { background: rgba(201,164,92,.28); }
  h1, h2, h3, p { margin: 0; }
  h1, h2, h3 { font-weight: 700; line-height: 1.26; letter-spacing: 0; text-wrap: balance; }

  .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--color-gold);
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0;
  }
  .eyebrow::before { content: ""; width: 36px; height: 1px; background: currentColor; }

  .display { font-size: clamp(48px, 6.8vw, 88px); line-height: 1.18; max-width: 980px; }
  .page-title { font-size: clamp(44px, 5.6vw, 74px); line-height: 1.18; max-width: 860px; }
  .section-title { font-size: clamp(34px, 3.6vw, 52px); line-height: 1.26; max-width: 780px; }
  .lead { font-size: clamp(20px, 2.1vw, 27px); color: rgba(255,255,255,.84); max-width: 780px; font-weight: 500; line-height: 1.9; }
  .body-lg { font-size: clamp(18px, 1.45vw, 22px); color: rgba(23,23,23,.76); max-width: 72ch; line-height: 1.95; }
  .intro-line { font-size: clamp(22px, 2.6vw, 34px); line-height: 1.9; color: var(--color-navy); font-weight: 600; max-width: 70ch; }
  .muted { color: rgba(23,23,23,.6); }
}

@layer layout {
  .site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    height: 82px;
    border-bottom: 1px solid rgba(7,20,38,.10);
    background: rgba(247,243,234,.92);
    backdrop-filter: blur(18px);
  }
  .site-header.is-scrolled {
    background: rgba(247,243,234,.99);
    border-bottom-color: rgba(7,20,38,.16);
    box-shadow: 0 10px 28px rgba(7,20,38,.05);
  }
  .header-inner {
    width: var(--container);
    height: 100%;
    margin-inline: auto;
    display: grid;
    grid-template-columns: minmax(190px, 240px) minmax(0, 1fr) auto;
    align-items: center;
    column-gap: clamp(28px, 4vw, 72px);
  }
  .brand { display: inline-grid; gap: 2px; min-width: 170px; justify-self: start; }
  .brand strong { font-family: var(--font-latin); }
  .brand strong { font-size: 24px; font-weight: 700; color: var(--color-navy); line-height: 1.1; }
  .brand span { color: rgba(23,23,23,.58); font-size: 13px; line-height: 1.3; }
  .nav-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(22px, 2.4vw, 38px);
    color: rgba(23,23,23,.72);
    font-weight: 600;
    font-size: 15px;
    white-space: nowrap;
  }
  .mobile-nav-cta { display: none !important; }
  .header-actions { display: flex; align-items: center; justify-self: end; gap: 14px; }
  .menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid rgba(7,20,38,.16); background: transparent; color: var(--color-navy); cursor: pointer; border-radius: 0; }
  .menu-toggle span, .menu-toggle::before, .menu-toggle::after { content: ""; display: block; width: 20px; height: 1px; background: currentColor; margin: 5px auto; }

  .container { width: var(--container); margin-inline: auto; }
  .narrow { max-width: 880px; }
  .section { padding-block: var(--section-pad-y); }
  .alt-section { background: rgba(255,255,255,.28); border-block: 1px solid rgba(7,20,38,.08); }
  .intro-section { padding-block: 64px 48px; }
  .page-header { padding-block: 120px 76px; background: var(--color-paper); border-bottom: 1px solid rgba(7,20,38,.1); }
  .page-header .container { display: grid; gap: 22px; }

  .section-head {
    display: grid;
    grid-template-columns: repeat(var(--grid-columns), minmax(0, 1fr));
    gap: var(--gap);
    align-items: end;
    margin-bottom: clamp(56px, 6vw, 80px);
  }
  .section-head > div { grid-column: span 7; }
  .section-head > .body-lg { grid-column: span 5; justify-self: end; }
}

@layer components {
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 30px;
    background: var(--color-gold);
    color: var(--color-navy);
    border: 1px solid var(--color-gold);
    border-radius: 0;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    cursor: pointer;
  }
  .btn:hover, .btn[aria-current="page"] { background: #d6b36d; }
  .nav-cta { min-width: 168px; }
  .btn:focus-visible, .nav-links a:focus-visible, .footer-links a:focus-visible, .brand:focus-visible, .menu-toggle:focus-visible, .text-link:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid var(--color-gold); outline-offset: 4px; }

  .nav-links a, .footer-links a, .text-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    inline-size: max-content;
    max-inline-size: 100%;
    padding-block: 4px;
    color: inherit;
  }
  .nav-links a::after, .footer-links a::after, .text-link::after {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    bottom: 0;
    inline-size: 0;
    height: 1px;
    background: var(--color-gold);
  }
  .nav-links a:hover, .nav-links a[aria-current="page"], .footer-links a:hover, .footer-links a[aria-current="page"], .text-link:hover { color: var(--color-navy); font-weight: 700; }
  .nav-links a:hover::after, .nav-links a[aria-current="page"]::after, .footer-links a:hover::after, .footer-links a[aria-current="page"]::after, .text-link:hover::after { inline-size: 100%; }
  .site-footer .footer-links a:hover, .site-footer .footer-links a[aria-current="page"] { color: #fff; }

  .hero {
    min-height: clamp(720px, 92vh, 980px);
    display: grid;
    align-items: center;
    background: var(--color-navy);
    color: #fff;
    position: relative;
    overflow: hidden;
  }
  .hero::after { content: ""; position: absolute; inset: auto 0 0 auto; width: 42vw; height: 42vw; border: 1px solid rgba(201,164,92,.22); transform: translate(20%, 40%); pointer-events: none; }
  .hero-grid { display: grid; grid-template-columns: repeat(var(--grid-columns), minmax(0, 1fr)); gap: var(--gap); align-items: end; position: relative; z-index: 1; }
  .hero-copy { grid-column: span 8; display: grid; gap: 30px; justify-items: start; }
  .hero-panel { grid-column: span 4; border-inline-start: 1px solid rgba(201,164,92,.45); padding: 34px 38px; background: rgba(255,255,255,.04); }
  .hero-panel strong { display: block; color: var(--color-gold); font-size: 20px; margin-bottom: 16px; }
  .hero-panel p { color: rgba(255,255,255,.76); font-size: 18px; line-height: 2; }

  .cards-3, .cards-4, .cards-5, .pillars-grid, .extended-grid, .business-register { display: grid; grid-template-columns: repeat(var(--grid-columns), minmax(0, 1fr)); gap: var(--gap); }
  .cards-3 > * { grid-column: span 4; }
  .cards-4 > * { grid-column: span 6; }
  .cards-5 > * { grid-column: span 4; }
  .cards-5 > :nth-last-child(-n+2) { grid-column: span 6; }
  .pillars-grid > * { grid-column: span 4; }
  .pillars-grid > :nth-last-child(-n+2) { grid-column: span 6; }
  .extended-grid > * { grid-column: span 4; }

  .editorial-card, .sector-item {
    min-height: 0;
    min-inline-size: 0;
    padding: clamp(30px, 3.6vw, 48px);
    background: rgba(255,255,255,.36);
    border: 1px solid rgba(7,20,38,.10);
    border-inline-start: 2px solid rgba(201,164,92,.62);
  }
  .editorial-card strong { color: var(--color-gold); font-size: 18px; }
  .editorial-card h3, .sector-item h3 { font-size: clamp(25px, 2.1vw, 34px); line-height: 1.36; margin-top: 16px; color: var(--color-navy); max-width: 18ch; overflow-wrap: anywhere; }
  .editorial-card p, .sector-item p { margin-top: 16px; color: rgba(23,23,23,.68); font-size: 17px; line-height: 1.95; max-width: 40ch; }
  .sector-item small, .row-content small { color: var(--color-gold); font-size: 14px; font-weight: 700; }
  .sector-rule { height: 1px; inline-size: 56px; background: var(--color-gold); margin-block: 16px 0; opacity: .55; }
  .sector-item:hover .sector-rule { opacity: 1; }

  .pillars-grid > .sector-item.strategic:first-child {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(var(--grid-columns), minmax(0, 1fr));
    gap: var(--gap);
    align-items: center;
    padding: clamp(42px, 4.5vw, 64px);
  }
  .pillars-grid > .sector-item.strategic:first-child small,
  .pillars-grid > .sector-item.strategic:first-child h3,
  .pillars-grid > .sector-item.strategic:first-child .sector-rule { grid-column: span 5; }
  .pillars-grid > .sector-item.strategic:first-child p { grid-column: span 7; grid-row: 1 / span 3; align-self: center; max-width: 54ch; font-size: clamp(19px, 1.45vw, 22px); }
  .pillars-grid > .sector-item.strategic:not(:first-child) { grid-column: span 6; }
  .sector-item.strategic { border-inline-start-width: 3px; background: rgba(255,255,255,.50); }
  .sector-item.strategic h3 { font-size: clamp(32px, 3.1vw, 50px); line-height: 1.26; max-width: 14ch; }
  .sector-item.strategic p { font-size: clamp(18px, 1.3vw, 20px); max-width: 42ch; }

  .extended { padding: clamp(26px, 3vw, 38px); }
  .extended h3 { font-size: clamp(22px, 1.9vw, 29px); line-height: 1.35; max-width: 18ch; }

  .business-register {
    gap: 0 var(--gap);
    border-top: 1px solid rgba(7,20,38,.16);
    border-bottom: 1px solid rgba(7,20,38,.16);
  }
  .business-register > .editorial-card {
    grid-column: span 6;
    display: grid;
    grid-template-columns: minmax(56px, 80px) minmax(0, 1fr);
    gap: 8px 24px;
    padding: 30px 0;
    background: transparent;
    border: 0;
    border-bottom: 1px solid rgba(7,20,38,.12);
  }
  .business-register > .editorial-card strong { grid-row: span 2; font-size: 24px; line-height: 1.3; }
  .business-register > .editorial-card h3 { margin: 0; font-size: clamp(24px, 2vw, 31px); max-width: none; }
  .business-register > .editorial-card p { margin: 0; max-width: 48ch; }
  .business-register > .editorial-card:nth-last-child(-n+2) { border-bottom: 0; }

  .text-link-wrap { margin-top: 34px; }
  .text-link { color: var(--color-navy); font-weight: 700; font-size: 18px; }

  .service-list { border-top: 1px solid rgba(7,20,38,.12); }
  .service-row, .market-row, .step-row { display: grid; grid-template-columns: repeat(var(--grid-columns), minmax(0, 1fr)); gap: var(--gap); padding-block: clamp(52px, 6vw, 80px); border-bottom: 1px solid rgba(7,20,38,.12); }
  .row-number { grid-column: span 2; color: var(--color-gold); font-size: clamp(58px, 7vw, 92px); line-height: 1; font-weight: 700; }
  .row-content { grid-column: span 10; }
  .row-content h2 { color: var(--color-navy); font-size: clamp(30px, 3.6vw, 52px); line-height: 1.28; }
  .row-content p { color: rgba(23,23,23,.72); font-size: clamp(18px, 1.5vw, 22px); line-height: 2.05; max-width: 76ch; }
  .gold-rule { width: 76px; height: 2px; background: var(--color-gold); margin-block: 24px; }

  .activity-types { margin-top: 16px; color: rgba(23,23,23,.62) !important; font-size: clamp(16px, 1.25vw, 19px) !important; }
  .approach-block { border-inline-start: 3px solid var(--color-gold); padding: clamp(34px, 5vw, 58px); background: rgba(255,255,255,.42); }
  .approach-block p { margin-top: 18px; }
  .alt-contact { margin-top: 34px; padding-top: 28px; border-top: 1px solid rgba(7,20,38,.14); display: grid; gap: 12px; }
  .alt-contact h3 { color: var(--color-navy); font-size: 24px; }
  .alt-contact p { color: rgba(23,23,23,.66); font-size: 17px; line-height: 1.85; }

  .dark-callout { background: var(--color-navy); color: #fff; padding: clamp(40px, 6vw, 72px); border-inline-start: 4px solid var(--color-gold); }
  .dark-callout h2 { font-size: clamp(34px, 4vw, 58px); margin-top: 16px; }
  .dark-callout p, .dark-callout li { color: rgba(255,255,255,.78); font-size: 19px; line-height: 2; }
  .light-callout { background: rgba(7,20,38,.92); }
  .rule-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
  .rule-list li { padding-inline-start: 22px; border-inline-start: 2px solid var(--color-gold); }

  .closing { padding-block: clamp(88px, 10vw, 128px); background: var(--color-navy); color: #fff; }
  .closing-grid { display: grid; grid-template-columns: repeat(var(--grid-columns), minmax(0, 1fr)); gap: var(--gap); align-items: center; }
  .closing-grid > div { grid-column: span 9; }
  .closing-grid > .btn { grid-column: span 3; justify-self: end; }
  .closing h2, .manifesto-lines p { font-size: clamp(34px, 4.6vw, 66px); line-height: 1.45; font-weight: 700; }
  .closing p:not(.manifesto-lines p) { color: rgba(255,255,255,.74); font-size: 20px; line-height: 2; margin-top: 18px; }
  .compact-closing { padding-block: 88px; }

  .form-shell { display: grid; grid-template-columns: repeat(var(--grid-columns), minmax(0, 1fr)); gap: var(--gap); align-items: start; }
  .form-shell > aside { grid-column: span 4; }
  .formal-form { grid-column: span 8; display: grid; gap: 34px; position: relative; }
  .field { display: grid; gap: 10px; }
  .formal-form:focus-within .field:not(:focus-within) { opacity: .72; }
  .field label { color: var(--color-navy); font-weight: 700; font-size: 17px; }
  .required::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-inline-start: 7px; border-radius: 50%; background: var(--color-gold); vertical-align: middle; }
  .field input, .field textarea { width: 100%; border: 0; border-bottom: 1px solid rgba(7,20,38,.28); background: transparent; border-radius: 0; padding: 9px 0 13px; color: var(--color-ink); font-size: 18px; outline: none; }
  .field textarea { min-height: 132px; resize: vertical; }
  .field:focus-within input, .field:focus-within textarea { border-bottom-width: 2px; border-bottom-color: var(--color-gold); }
  .field.has-error input, .field.has-error textarea { border-bottom-width: 2px; border-bottom-color: var(--state-error); }
  .field-error { min-height: 22px; color: var(--state-error); font-size: 14px; line-height: 1.6; }
  .form-note { color: rgba(23,23,23,.58); font-size: 15px; }
  .confirmation { display: none; color: var(--color-navy); font-size: 22px; line-height: 2; opacity: 0; }
  .formal-form.is-submitted .field, .formal-form.is-submitted .form-note, .formal-form.is-submitted button { animation: formFadeOut 300ms ease-out forwards; pointer-events: none; }
  .formal-form.is-submitted .confirmation { display: block; animation: formConfirm 300ms ease-out 300ms forwards; }
  .formal-form.is-confirmed .field, .formal-form.is-confirmed .form-note, .formal-form.is-confirmed button { display: none; }
  @keyframes formFadeOut { from { opacity: 1; } to { opacity: 0; } }
  @keyframes formConfirm { from { opacity: 0; } to { opacity: 1; } }

  .site-footer { padding: 76px 0 34px; background: var(--color-navy); color: #fff; }
  .footer-grid { display: grid; grid-template-columns: repeat(var(--grid-columns), minmax(0, 1fr)); gap: var(--gap); align-items: start; }
  .footer-brand { grid-column: span 4; }
  .footer-col:nth-child(2) { grid-column: span 5; }
  .footer-col:nth-child(3) { grid-column: span 3; }
  .footer-brand h2 { color: var(--color-gold); font-size: 34px; }
  .footer-brand p, .footer-col p { color: rgba(255,255,255,.72); font-size: 17px; line-height: 2; }
  .footer-col h3 { color: #fff; font-size: 20px; margin-bottom: 18px; }
  .footer-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 22px; color: rgba(255,255,255,.76); }
  .footer-bottom { margin-top: 58px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.14); display: flex; justify-content: space-between; gap: 24px; color: rgba(255,255,255,.56); font-size: 14px; }
}

@layer pages {
  .editorial-document .container { display: grid; gap: 32px; }
}

@layer responsive {
  @media (min-width: 768px) and (max-width: 1023px) {
    :root { --container: min(100% - 48px, 920px); --grid-columns: 8; --section-pad-y: 88px; --gap: 22px; }
    .header-inner { grid-template-columns: minmax(150px, 210px) auto; }
    .header-actions { justify-self: end; }
    .header-actions > .nav-cta { display: none; }
    .menu-toggle { display: block; }
    .nav-links { display: none; }
    .nav-links.is-open { display: grid; position: fixed; inset: 82px 0 0 0; z-index: 45; min-height: calc(100dvh - 82px); overflow-y: auto; background: var(--color-navy); color: #fff; padding: 56px 48px; align-content: start; justify-content: stretch; justify-items: start; gap: 24px; font-size: 27px; white-space: normal; }
    .nav-links.is-open a { color: rgba(255,255,255,.86); }
    .nav-links.is-open a:hover, .nav-links.is-open a[aria-current="page"] { color: #fff; }
    .nav-links.is-open .mobile-nav-cta { display: inline-flex !important; margin-top: 22px; min-height: 54px; padding: 0 28px; background: var(--color-gold); color: var(--color-navy); font-size: 18px; font-weight: 700; }
    .nav-links.is-open .mobile-nav-cta::after { display: none; }
    body.menu-open { overflow: hidden; }

    .hero { min-height: clamp(700px, 86vh, 860px); }
    .hero-copy { grid-column: span 5; }
    .hero-panel { grid-column: span 3; }
    .section-head > div, .section-head > .body-lg { grid-column: 1 / -1; justify-self: stretch; }
    .cards-3 > *, .cards-4 > *, .cards-5 > *, .cards-5 > :nth-last-child(-n+2), .pillars-grid > *, .pillars-grid > :nth-last-child(-n+2), .extended-grid > * { grid-column: span 4; }
    .pillars-grid > .sector-item.strategic:first-child { grid-column: 1 / -1; grid-template-columns: 1fr; }
    .pillars-grid > .sector-item.strategic:first-child small, .pillars-grid > .sector-item.strategic:first-child h3, .pillars-grid > .sector-item.strategic:first-child .sector-rule, .pillars-grid > .sector-item.strategic:first-child p { grid-column: auto; grid-row: auto; }
    .pillars-grid > .sector-item.strategic:not(:first-child) { grid-column: span 4; }
    .business-register > .editorial-card { grid-column: span 4; }
    .business-register > .editorial-card:nth-last-child(-n+2) { border-bottom: 1px solid rgba(7,20,38,.12); }
    .row-number { grid-column: span 1; }
    .row-content { grid-column: span 7; }
    .form-shell > aside { grid-column: span 3; }
    .formal-form { grid-column: span 5; }
    .closing-grid > div { grid-column: 1 / -1; }
    .closing-grid > .btn { grid-column: 1 / -1; justify-self: start; }
    .footer-brand, .footer-col:nth-child(2), .footer-col:nth-child(3) { grid-column: 1 / -1; }
  }

  @media (max-width: 767px) {
    :root { --container: min(100% - 32px, 620px); --grid-columns: 4; --section-pad-y: 72px; --gap: 18px; }
    body { font-size: 16px; }
    .site-header { height: 74px; }
    .header-inner { grid-template-columns: minmax(0, 1fr) auto; gap: 14px; }
    .brand { min-width: 0; }
    .brand strong { font-size: 21px; }
    .brand span { font-size: 12px; }
    .header-actions > .nav-cta { display: none; }
    .menu-toggle { display: block; inline-size: 42px; block-size: 42px; }
    .nav-links { display: none; }
    .nav-links.is-open { display: grid; position: fixed; inset: 74px 0 0 0; z-index: 45; min-height: calc(100dvh - 74px); overflow-y: auto; background: var(--color-navy); color: #fff; padding: 40px 24px 52px; align-content: start; justify-content: stretch; justify-items: stretch; gap: 18px; font-size: 24px; white-space: normal; }
    .nav-links.is-open a { inline-size: 100%; color: rgba(255,255,255,.86); padding-block: 10px; }
    .nav-links.is-open a:hover, .nav-links.is-open a[aria-current="page"] { color: #fff; }
    .nav-links.is-open .mobile-nav-cta { display: inline-flex !important; align-items: center; justify-content: center; min-height: 54px; margin-top: 14px; padding: 0 18px; background: var(--color-gold); color: var(--color-navy); font-size: 17px; font-weight: 700; }
    .nav-links.is-open .mobile-nav-cta::after { display: none; }
    body.menu-open { overflow: hidden; }

    .page-header { padding-block: 92px 68px; }
    .intro-section { padding-block: 48px 26px; }
    .hero { min-height: auto; padding-block: 92px 76px; }
    .hero::after { display: none; }
    .hero-copy, .hero-panel, .section-head > div, .section-head > .body-lg, .cards-3 > *, .cards-4 > *, .cards-5 > *, .cards-5 > :nth-last-child(-n+2), .pillars-grid > *, .pillars-grid > :nth-last-child(-n+2), .extended-grid > *, .business-register > .editorial-card, .row-number, .row-content, .form-shell > aside, .formal-form, .closing-grid > div, .closing-grid > .btn, .footer-brand, .footer-col:nth-child(2), .footer-col:nth-child(3) { grid-column: 1 / -1; }
    .hero-grid { gap: 42px; }
    .hero-copy { gap: 22px; }
    .hero-panel { padding: 26px; }
    .display { font-size: clamp(40px, 12.5vw, 62px); line-height: 1.25; }
    .page-title { font-size: clamp(38px, 11vw, 58px); }
    .section-title { font-size: clamp(30px, 9vw, 44px); }
    .lead { font-size: 18px; line-height: 2; }
    .body-lg { font-size: 17px; line-height: 2; }
    .intro-line { font-size: 22px; line-height: 2; }
    .eyebrow { font-size: 14px; }
    .eyebrow::before { width: 28px; }
    .section-head { gap: 24px; margin-bottom: 46px; }
    .editorial-card, .sector-item, .sector-item.strategic { padding: 26px 22px; }
    .editorial-card h3, .sector-item h3, .sector-item.strategic h3 { font-size: clamp(25px, 7.6vw, 34px); max-width: 100%; }
    .editorial-card p, .sector-item p, .sector-item.strategic p { font-size: 16px; line-height: 1.95; max-width: 100%; }
    .pillars-grid > .sector-item.strategic:first-child { display: block; }
    .business-register > .editorial-card { grid-template-columns: 1fr; gap: 10px; }
    .business-register > .editorial-card:nth-last-child(-n+2) { border-bottom: 1px solid rgba(7,20,38,.12); }
    .service-row, .market-row, .step-row { padding-block: 52px; }
    .row-number { font-size: 56px; }
    .row-content h2 { font-size: clamp(28px, 8vw, 38px); }
    .row-content p { font-size: 17px; line-height: 2; }
    .gold-rule { width: 64px; margin-block: 20px; }
    .dark-callout { padding: 34px 24px; }
    .closing { padding-block: 76px; }
    .closing h2, .manifesto-lines p { font-size: clamp(34px, 10vw, 52px); }
    .closing p:not(.manifesto-lines p) { font-size: 18px; line-height: 2; }
    .closing-grid > .btn { justify-self: stretch; }
    .btn { width: 100%; min-height: 54px; padding-inline: 18px; }
    .formal-form { gap: 32px; }
    .field input, .field textarea { font-size: 16px; }
    .confirmation { font-size: 19px; line-height: 2; }
    .site-footer { padding: 62px 0 30px; }
    .footer-brand h2 { font-size: 30px; }
    .footer-brand p, .footer-col p { font-size: 16px; }
    .footer-links { grid-template-columns: 1fr; gap: 8px; }
    .footer-bottom { margin-top: 42px; display: grid; gap: 12px; justify-content: stretch; }
  }
}


/* V0.8.2 — Tablet & Mobile Responsive QA Fix
   هدف النسخة: تثبيت قراءة التابلت والموبايل طبقًا لإيقاع الـ Wireframes:
   Tablet uses the 8-column token but avoids narrow split layouts for long forms.
   Mobile keeps a calm single-column rhythm with stronger side breathing. */
@layer components {
  .contact-layout > .form-intro {
    grid-column: span 4;
    min-inline-size: 0;
  }
  .contact-layout .section-title {
    max-width: 13ch;
  }
  .contact-layout .body-lg {
    max-width: 40ch;
  }
  .contact-layout .formal-form {
    grid-column: span 8;
    min-inline-size: 0;
  }
  .contact-layout .alt-contact {
    max-width: 42ch;
  }
}

@layer responsive {
  @media (min-width: 768px) and (max-width: 1023px) {
    :root {
      --container: min(100% - 64px, 920px);
      --section-pad-y: 80px;
    }

    .page-header {
      padding-block: 104px 66px;
    }
    .intro-section {
      padding-block: 56px 36px;
    }

    /* Tablet forms should not behave like squeezed desktop columns. */
    .contact-layout {
      max-width: 820px;
      gap: 56px;
    }
    .contact-layout > .form-intro,
    .contact-layout .formal-form {
      grid-column: 1 / -1;
    }
    .contact-layout .section-title {
      max-width: 18ch;
      font-size: clamp(36px, 5vw, 48px);
    }
    .contact-layout .body-lg,
    .contact-layout .alt-contact {
      max-width: 64ch;
    }
    .formal-form {
      gap: 32px;
    }
    .field label {
      display: inline-flex;
      align-items: center;
      width: fit-content;
    }
    .field input,
    .field textarea {
      min-height: 48px;
    }

    /* Keep card grids readable on the narrow edge of tablet. */
    .editorial-card,
    .sector-item,
    .sector-item.strategic {
      padding: clamp(30px, 4.5vw, 44px);
    }
    .sector-item.strategic h3 {
      font-size: clamp(34px, 4.8vw, 48px);
      max-width: 18ch;
    }
    .editorial-card h3,
    .sector-item h3 {
      overflow-wrap: normal;
      word-break: normal;
    }
  }

  @media (max-width: 767px) {
    :root {
      --container: min(100% - 48px, 620px);
      --section-pad-y: 68px;
      --gap: 18px;
    }

    .page-header {
      padding-block: 80px 52px;
    }
    .intro-section {
      padding-block: 42px 26px;
    }
    .section {
      padding-block: 68px;
    }

    .nav-links.is-open {
      padding-inline: 24px;
      justify-items: stretch;
      text-align: right;
    }

    .contact-layout {
      gap: 44px;
    }
    .contact-layout > .form-intro,
    .contact-layout .formal-form {
      grid-column: 1 / -1;
    }
    .contact-layout .section-title,
    .contact-layout .body-lg,
    .contact-layout .alt-contact {
      max-width: 100%;
    }
    .contact-layout .gold-rule {
      margin-block: 18px 22px;
    }
    .alt-contact {
      margin-top: 26px;
      padding-top: 24px;
    }
    .formal-form {
      gap: 30px;
    }
    .field {
      gap: 8px;
    }
    .field label {
      display: inline-flex;
      align-items: center;
      width: fit-content;
      font-size: 16px;
    }
    .required::after {
      flex: 0 0 auto;
    }
    .field input,
    .field textarea {
      min-height: 46px;
      padding-block: 8px 12px;
    }
    .field textarea {
      min-height: 124px;
    }

    .editorial-card h3,
    .sector-item h3,
    .sector-item.strategic h3 {
      overflow-wrap: normal;
      word-break: normal;
      line-height: 1.34;
    }
    .cards-3,
    .cards-4,
    .cards-5,
    .pillars-grid,
    .extended-grid,
    .business-register,
    .service-list {
      row-gap: 18px;
    }
  }

  @media (max-width: 380px) {
    :root {
      --container: min(100% - 40px, 620px);
    }
    .display {
      font-size: clamp(36px, 11vw, 48px);
    }
    .page-title {
      font-size: clamp(34px, 10vw, 48px);
    }
    .section-title {
      font-size: clamp(28px, 8.4vw, 40px);
    }
    .nav-links.is-open {
      font-size: 22px;
    }
  }
}

@layer base {
  html[dir="ltr"] body {
    direction: ltr;
    text-align: left;
    font-family: var(--font-latin);
  }
}

@layer components {
  .language-switch {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-width: 64px;
    min-height: 34px;
    padding: 0 8px 0 10px;
    border: 1px solid rgba(205,168,90,.42);
    border-radius: 999px;
    color: #fff;
    background: var(--color-navy);
    font-family: var(--font-latin);
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: .06em;
    text-transform: uppercase;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.07);
  }

  .language-switch:hover {
    border-color: var(--color-gold);
    color: #fff;
    background: #0c1b2d;
  }

  .language-switch:focus-visible {
    outline: 2px solid var(--color-gold);
    outline-offset: 4px;
  }

  .language-switch__label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
  }

  .language-switch__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    color: var(--color-gold);
    background: rgba(205,168,90,.14);
  }

  .language-switch__icon svg {
    display: block;
    width: 12px;
    height: 12px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .mobile-language-switch {
    display: none;
  }
}

@layer responsive {
  @media (max-width: 920px) {
    .header-actions > .language-switch {
      display: inline-flex;
    }
    .nav-links.is-open .mobile-language-switch {
      display: inline-flex;
      margin-top: 10px;
      min-height: 44px;
      width: max-content;
    }
  }
}
