/* =====================================================================
   G.O.A.T Protective — Guardians Of All Territories
   Shared stylesheet. No external fonts. System stack only.
   Palette: white / pale grey surfaces, ink black text, old-gold accent.
   Typography benchmark: Apple.com — one system typeface, tight display
   leading, generous body leading, restrained tracking.
   ===================================================================== */

:root {
  /* Palette */
  --white:        #FFFFFF;
  --pale:         #F6F6F7;
  --pale-deep:    #ECECEE;
  --ink:          #111112;
  --ink-soft:     #48484C;
  --stone:        #6E6E73;
  --stone-soft:   #9A9AA0;
  --gold:         #A9812E;   /* decorative old gold — icons, thin rules, numerals */
  --gold-deep:    #8A6A24;   /* hover / stronger accent */
  --gold-text:    #7A5A1E;   /* AA-compliant old gold for text on white/pale (6.3:1) */
  --line:         rgba(17, 17, 18, 0.10);
  --line-soft:    rgba(17, 17, 18, 0.06);

  /* Type — single system-sans family throughout, Apple.com as the benchmark */
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Rhythm */
  --maxw: 1140px;
  --gut: clamp(1.25rem, 4vw, 3rem);
  --section-y: clamp(4.75rem, 8vw, 7.25rem);
  --radius: 4px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-panel: cubic-bezier(0.16, 1, 0.3, 1);
  --header-h: 68px;
  --panel-shadow: 0 24px 60px -12px rgba(17, 17, 18, 0.22), 0 6px 18px -6px rgba(17, 17, 18, 0.10);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--white);
  line-height: 1.62;
  font-size: clamp(16px, 0.22vw + 15.25px, 17px);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut); }
section { padding-block: var(--section-y); }
.section-line { border-top: 1px solid var(--line-soft); }

/* Two-column editorial module: label/heading left, copy right */
.split { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } }

/* ---------- Type ---------- */
h1, h2, h3, h4 { font-family: var(--sans); font-weight: 600; color: var(--ink); letter-spacing: -0.01em; margin: 0; }
h1 { font-size: clamp(2.35rem, 4.8vw, 3.9rem); line-height: 1.04; letter-spacing: -0.032em; }
h2 { font-size: clamp(1.78rem, 2.9vw, 2.5rem); line-height: 1.12; letter-spacing: -0.024em; }
h3 { font-size: clamp(1.12rem, 1.55vw, 1.34rem); line-height: 1.32; letter-spacing: -0.01em; }
h4 { font-size: 0.95rem; line-height: 1.35; }
p { margin: 0 0 1.1rem; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-text);
  font-weight: 600;
  margin: 0 0 1.1rem;
}
.lede, .hero-copy { font-size: clamp(1.05rem, 1.25vw, 1.22rem); line-height: 1.58; color: var(--ink-soft); max-width: 58ch; }
.muted { color: var(--stone); }

/* ---------- Header / Nav ---------- */
.site-head {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 1rem; }
.brand { display: flex; align-items: center; gap: 0.75rem; }
.brand svg { width: 30px; height: 30px; }
.brand-name { font-family: var(--sans); font-weight: 600; color: var(--ink); font-size: 1.16rem; letter-spacing: -0.01em; }
.brand-tag { font-size: 0.68rem; letter-spacing: 0.11em; text-transform: uppercase; color: var(--stone); display: block; margin-top: 1px; }

/* Menu trigger — a single, quiet control at every breakpoint */
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  position: relative; z-index: 210;
  width: 44px; height: 44px; padding: 0; margin-inline-end: -10px;
  background: transparent; border: 0; border-radius: 50%; color: var(--ink);
  cursor: pointer; transition: background 0.2s var(--ease);
}
.nav-toggle:hover, .nav-toggle:focus-visible { background: var(--pale-deep); }
.nav-toggle svg { width: 19px; height: 19px; overflow: visible; }
.nav-toggle svg line { transform-box: fill-box; transform-origin: center; transition: transform 0.32s var(--ease-panel), opacity 0.18s var(--ease); }
.nav-toggle[aria-expanded="true"] svg line:nth-of-type(1) { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] svg line:nth-of-type(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] svg line:nth-of-type(3) { transform: translateY(-5px) rotate(-45deg); }

/* Dimmed backdrop behind the open panel */
.nav-scrim {
  position: fixed; inset: 0; z-index: 190;
  background: rgba(17, 17, 18, 0.26);
  backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s var(--ease);
}
.nav-scrim.open { opacity: 1; pointer-events: auto; }

/* The menu itself — a floating panel anchored under the trigger, at every screen size */
.nav {
  position: fixed; z-index: 200;
  top: calc(var(--header-h) + 0.6rem);
  inset-inline-end: max(1.1rem, calc((100vw - var(--maxw)) / 2 + var(--gut) - 0.15rem));
  width: min(320px, calc(100vw - 2.2rem));
  max-height: calc(100vh - var(--header-h) - 1.6rem);
  display: flex; flex-direction: column;
  overflow-y: auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--panel-shadow);
  padding: 0.6rem;
  transform-origin: top right;
  transform: scale(0.95) translateY(-6px);
  opacity: 0; pointer-events: none;
  transition: transform 0.3s var(--ease-panel), opacity 0.22s var(--ease);
}
.nav.open { transform: scale(1) translateY(0); opacity: 1; pointer-events: auto; }
[dir="rtl"] .nav { transform-origin: top left; }

.nav-links { display: flex; flex-direction: column; gap: 0.1rem; list-style: none; margin: 0; padding: 0; }
.nav-links li {
  opacity: 0; transform: translateY(4px);
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease);
  transition-delay: 0s;
}
.nav.open .nav-links li { opacity: 1; transform: translateY(0); }
.nav.open .nav-links li:nth-child(1) { transition-delay: 0.02s; }
.nav.open .nav-links li:nth-child(2) { transition-delay: 0.05s; }
.nav.open .nav-links li:nth-child(3) { transition-delay: 0.08s; }
.nav.open .nav-links li:nth-child(4) { transition-delay: 0.11s; }
.nav.open .nav-links li:nth-child(5) { transition-delay: 0.14s; }
.nav.open .nav-links li:nth-child(6) { transition-delay: 0.17s; }
.nav.open .nav-links li:nth-child(7) { transition-delay: 0.2s; }
.nav.open .nav-links li:nth-child(8) { transition-delay: 0.23s; }
.nav-links a {
  display: block; padding: 0.8rem 0.95rem; border-radius: 9px;
  font-size: 0.98rem; line-height: 1.4; letter-spacing: 0; color: var(--ink);
  transition: background 0.16s var(--ease), color 0.16s var(--ease);
}
.nav-links a:hover, .nav-links a:focus-visible { background: var(--pale); color: var(--gold-text); }

.lang {
  display: flex; align-items: center; justify-content: center; gap: 0.6rem;
  margin-top: 0.35rem; padding: 0.85rem 0.5rem 0.5rem;
  border-top: 1px solid var(--line-soft); font-size: 0.82rem;
}
.lang a { color: var(--stone); padding: 4px 3px; }
.lang a.is-active { color: var(--ink); font-weight: 600; }
.lang a:hover { color: var(--gold-text); }
.lang .sep { color: var(--line); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--sans); font-size: 0.92rem; font-weight: 500;
  letter-spacing: 0; padding: 0.85rem 1.6rem; border-radius: var(--radius);
  cursor: pointer; transition: all 0.22s var(--ease); border: 1px solid transparent;
}
.btn.primary, .btn-primary { background: var(--ink); color: var(--white); }
.btn.primary:hover, .btn-primary:hover, .btn.primary:focus-visible, .btn-primary:focus-visible { background: #000000; transform: translateY(-1px); }
.btn.ghost, .btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.ghost:hover, .btn-ghost:hover, .btn.ghost:focus-visible, .btn-ghost:focus-visible { border-color: var(--gold); color: var(--gold-text); }
.btn-row, .hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 2rem; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(5rem, 11vw, 9rem); background: var(--white); }
.hero .wrap { position: relative; z-index: 1; }
.hero-grid { max-width: 46rem; }
.hero h1 { max-width: 20ch; }
[lang="de"] .hero h1 { max-width: 23ch; }
[lang="ar"] .hero h1 { max-width: 22ch; }
.hero .lede, .hero .hero-copy { margin-top: 1.4rem; }
.trust-strip {
  display: flex; flex-wrap: wrap; gap: clamp(1rem, 3vw, 2.4rem);
  margin-top: 3rem; padding-top: 1.8rem; border-top: 1px solid var(--line);
}
.trust-strip span {
  font-size: 0.78rem; letter-spacing: 0.04em; color: var(--stone);
  display: inline-flex; align-items: center; gap: 0.5rem;
}
.trust-strip span::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold); flex: none;
}

/* ---------- Grids ---------- */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 820px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

/* ---------- Cards ---------- */
.card {
  background: var(--white); border: 1px solid var(--line-soft);
  border-radius: var(--radius); padding: clamp(1.5rem, 2.4vw, 2.1rem);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -28px rgba(17, 17, 18, 0.3); border-color: var(--line); }
.card .num { font-family: var(--sans); font-weight: 700; font-size: 0.95rem; color: var(--gold-text); display: block; margin-bottom: 0.8rem; }
.card h3 { margin-bottom: 0.6rem; }
.card p { font-size: 0.95rem; color: var(--stone); }

/* Services grid */
.service-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.5rem; margin-top: 2.5rem; }

/* Evidence / proof grid */
.proof-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin-top: 2.5rem; }
@media (max-width: 700px) { .proof-grid { grid-template-columns: 1fr; } }
.proof { padding: 1.6rem; background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius); }
.proof > span { display: block; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-text); font-weight: 600; margin-bottom: 0.6rem; }
.proof h3 { margin-bottom: 0.5rem; }
.proof p { color: var(--stone); font-size: 0.95rem; margin: 0; }

/* Training-record cards on the founder profile */
.credential-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin-top: 2rem; }
@media (max-width: 700px) { .credential-grid { grid-template-columns: 1fr; } }
.credential { padding: 1.6rem; background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius); }
.credential h3 { margin-bottom: 0.5rem; }
.credential p { color: var(--stone); font-size: 0.95rem; margin: 0; }

/* Minimal marker list ("who we serve") */
.clean-list { list-style: none; margin: 1.4rem 0 0; padding: 0; }
.clean-list li { position: relative; padding: 0.75rem 0 0.75rem 1.4rem; border-bottom: 1px solid var(--line-soft); font-size: 0.98rem; color: var(--ink-soft); }
.clean-list li:last-child { border-bottom: 0; }
.clean-list li::before { content: ""; position: absolute; inset-inline-start: 0; top: 1.15rem; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
[dir="rtl"] .clean-list li { padding: 0.75rem 1.4rem 0.75rem 0; }

/* List of serve / protect items */
.taglist { list-style: none; margin: 1.6rem 0 0; padding: 0; columns: 2; column-gap: 2.4rem; }
.taglist li { padding: 0.55rem 0; border-bottom: 1px solid var(--line-soft); break-inside: avoid; font-size: 0.96rem; }
@media (max-width: 620px) { .taglist { columns: 1; } }

/* ---------- Principles ---------- */
.principle { padding: 1.3rem 0; border-bottom: 1px solid var(--line-soft); }
.principle:last-child { border-bottom: 0; }
.principle h3 { font-size: 1.08rem; margin-bottom: 0.3rem; }
.principle p { font-size: 0.95rem; color: var(--stone); margin: 0; }

/* ---------- Feature band (quiet pale tone-shift, not a dark section) ---------- */
.band { background: var(--pale); }
.band .card { background: var(--white); border-color: var(--line); }
.band .card:hover { box-shadow: 0 18px 40px -28px rgba(17, 17, 18, 0.28); border-color: var(--gold); }

/* ---------- Process steps ---------- */
.steps { counter-reset: step; margin-top: 2rem; }
.step { display: flex; gap: 1.3rem; padding: 1.3rem 0; border-bottom: 1px solid var(--line-soft); }
.step:last-child { border-bottom: 0; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--sans); font-weight: 700; color: var(--gold-text); font-size: 1rem;
  flex: none; width: 2.4rem; padding-top: 0.1rem;
}
.step h3 { font-size: 1.05rem; margin-bottom: 0.25rem; }
.step p { font-size: 0.94rem; color: var(--stone); margin: 0; }
.note {
  margin-top: 1.8rem; padding: 1.1rem 1.3rem; background: var(--pale);
  border-inline-start: 3px solid var(--gold); border-radius: var(--radius);
  font-size: 0.9rem; color: var(--ink);
}

/* ---------- FAQ ---------- */
.faq { margin-top: 2rem; border-top: 1px solid var(--line-soft); }
.faq details { border-bottom: 1px solid var(--line-soft); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.25rem 0;
  font-family: var(--sans); font-weight: 600; font-size: 1.05rem; color: var(--ink);
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold-text); font-size: 1.4rem; line-height: 1; flex: none; transition: transform 0.25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq-a { padding: 0 0 1.4rem; color: var(--stone); font-size: 0.96rem; max-width: 68ch; }

/* ---------- Geography ---------- */
.geo-list { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.8rem; }
.geo-list span {
  font-size: 0.84rem; padding: 0.45rem 1rem; border: 1px solid var(--line);
  border-radius: 999px; color: var(--ink); background: var(--white);
}

/* ---------- Contact ---------- */
.contact-card {
  background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: clamp(1.8rem, 3vw, 2.6rem); margin-top: 2rem;
}
.mail-link { display: inline-block; margin-top: 1.4rem; font-weight: 600; font-size: clamp(1.15rem, 2.2vw, 1.5rem); color: var(--ink); letter-spacing: -0.01em; }
.mail-link:hover { color: var(--gold-text); }
.contact-email { font-family: var(--sans); font-weight: 600; font-size: clamp(1.2rem, 2.4vw, 1.6rem); color: var(--ink); word-break: break-word; }
.contact-email:hover { color: var(--gold-text); }

/* ---------- Footer ---------- */
.site-foot { background: var(--pale); color: var(--ink-soft); border-top: 1px solid var(--line-soft); padding-block: clamp(3rem, 6vw, 4.5rem); font-size: 0.88rem; }
.site-foot a { color: var(--ink-soft); transition: color 0.2s var(--ease); }
.site-foot a:hover { color: var(--gold-text); }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2rem; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-grid h4 { color: var(--ink); font-family: var(--sans); font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; margin-bottom: 1rem; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; }
.foot-grid li { margin-bottom: 0.6rem; }
.foot-brand .brand-name { color: var(--ink); }
.foot-brand p { max-width: 34ch; margin-top: 1rem; font-size: 0.85rem; color: var(--stone); }
.foot-bottom {
  margin-top: 2.8rem; padding-top: 1.6rem; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center;
  font-size: 0.78rem; color: var(--stone);
}
.foot-lang a { margin-inline-end: 0.8rem; }


/* ---------- Premium logo integration ---------- */
.brand img.brand-mark { width: 34px; height: 34px; object-fit: contain; flex: none; }
.gateway-logo { width: min(300px, 72vw); height: auto; margin: 0 auto 1.4rem; filter: drop-shadow(0 18px 36px rgba(17,17,18,0.08)); }
.foot-logo { width: 56px; height: 56px; object-fit: contain; margin-bottom: 0.85rem; }
.hero-grid { max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, 360px); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.hero-brand-panel { margin: 0; justify-self: end; width: min(360px, 100%); padding: clamp(1.2rem, 2.2vw, 1.8rem); background: linear-gradient(180deg, rgba(255,255,255,0.94), rgba(246,246,247,0.82)); border: 1px solid var(--line-soft); border-radius: 18px; box-shadow: 0 30px 70px -52px rgba(17,17,18,0.36); }
.hero-brand-panel img { width: 100%; height: auto; object-fit: contain; }
.hero-brand-panel figcaption { margin-top: 0.7rem; text-align: center; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-text); font-weight: 600; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } .hero-brand-panel { justify-self: start; width: min(260px, 68vw); margin-top: 0.5rem; padding: 1rem; } }
@media (max-width: 460px) { .brand img.brand-mark { width: 30px; height: 30px; } .gateway-logo { width: min(240px, 76vw); } .hero-brand-panel { width: min(220px, 76vw); } }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ---------- Skip link (functional a11y control — intentionally high-contrast) ---------- */
.skip, .skip-link { position: fixed; inset-inline-start: 0.8rem; top: 0; transform: translateY(-150%); background: var(--ink); color: var(--white); padding: 0.7rem 1.1rem; z-index: 220; border-radius: var(--radius); transition: transform 0.18s var(--ease); }
.skip:focus, .skip-link:focus { transform: translateY(0.8rem); }

/* ---------- Language gateway ---------- */
.gateway { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 2rem; }
.gateway .mark { width: 64px; height: 64px; margin: 0 auto 2rem; }
.gateway h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); margin-bottom: 0.6rem; }
.gateway .sub { color: var(--stone); margin-bottom: 2.4rem; letter-spacing: 0.02em; }
.gateway-langs { display: flex; flex-wrap: wrap; gap: 0.9rem; justify-content: center; }
.gateway-langs a { padding: 0.9rem 1.8rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--pale); transition: all 0.22s var(--ease); min-width: 140px; }
.gateway-langs a:hover { border-color: var(--gold); transform: translateY(-2px); }
.gateway-langs .l-name { display: block; font-family: var(--sans); font-weight: 600; color: var(--ink); font-size: 1.1rem; }
.gateway-langs .l-meta { display: block; font-size: 0.72rem; color: var(--stone); letter-spacing: 0.1em; text-transform: uppercase; margin-top: 0.2rem; }
.gateway-foot { margin-top: 2.4rem; font-size: 0.78rem; color: var(--stone); }
.gateway-foot a { color: var(--stone); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Legal / privacy article ---------- */
.doc { max-width: 760px; }
.doc h2 { font-size: 1.5rem; margin-top: 2.6rem; margin-bottom: 0.8rem; }
.doc h2:first-of-type { margin-top: 0; }
.doc p, .doc li { color: var(--ink-soft); font-size: 0.98rem; }
.doc ul { padding-inline-start: 1.2rem; }
.doc li { margin-bottom: 0.5rem; }
.doc .placeholder { background: var(--pale-deep); padding: 0.1rem 0.4rem; border-radius: 3px; font-family: var(--sans); color: var(--gold-text); font-size: 0.92em; }
.back-link { font-size: 0.84rem; color: var(--stone); display: inline-flex; gap: 0.4rem; margin-bottom: 2rem; }
.back-link:hover { color: var(--gold-text); }
.doc h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 0.2rem 0 1.6rem; }
.doc .eyebrow { margin-bottom: 0.6rem; }
.doc strong { color: var(--ink); }
.doc-note { margin-top: 2.6rem; padding-top: 1.4rem; border-top: 1px solid var(--line-soft); color: var(--stone); font-size: 0.88rem; }
.doc-back { margin-top: 2rem; }
.doc-back a { color: var(--stone); text-decoration: underline; text-underline-offset: 3px; }
.doc-back a:hover { color: var(--gold-text); }
.nav .nav-links a[aria-current="page"] { color: var(--gold-text); background: var(--pale); }

/* =====================================================================
   RTL — Arabic
   ===================================================================== */
[dir="rtl"] body, [dir="rtl"] { direction: rtl; }
[dir="rtl"] .nav-links, [dir="rtl"] .trust-strip, [dir="rtl"] .btn-row, [dir="rtl"] .geo-list, [dir="rtl"] .lang { direction: rtl; }
[dir="rtl"] .lede, [dir="rtl"] .hero h1 { margin-left: auto; }
[dir="rtl"] .step::before { text-align: right; }
[dir="rtl"] .note { border-inline-start: 3px solid var(--gold); }
[dir="rtl"] .faq summary { text-align: right; }

/* ---------------------------------------------------------------------
   Arabic typography — treated as its own system, not a translated
   afterthought. Arabic has no case, so uppercase is meaningless, and
   letter-spacing actively breaks cursive glyph joining — both Latin
   conventions used elsewhere for "eyebrow" kickers are removed wholesale
   for [lang="ar"]. Headings use the platform's native Arabic companion
   face (SF Arabic on Apple, the Arabic-complement of Segoe UI on Windows,
   Dubai where installed) rather than naming legacy, discontinued faces —
   the same system-font philosophy already used for Latin type, just
   correctly extended to Arabic script.
   --------------------------------------------------------------------- */
[lang="ar"] {
  font-size: 17.5px;
  line-height: 1.85;
  letter-spacing: 0 !important;
}
[lang="ar"] h1, [lang="ar"] h2, [lang="ar"] h3, [lang="ar"] h4 {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Dubai, Tahoma, Arial, sans-serif;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0;
}
[lang="ar"] .brand-name, [lang="ar"] .contact-email, [lang="ar"] .mail-link, [lang="ar"] .gateway .l-name {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Dubai, Tahoma, Arial, sans-serif;
  font-weight: 600;
}
/* Every Latin "tracked small caps" utility label loses tracking and
   forced case for Arabic; weight and color carry the emphasis instead. */
[lang="ar"] .eyebrow, [lang="ar"] .brand-tag, [lang="ar"] .foot-grid h4,
[lang="ar"] .gateway-langs .l-meta, [lang="ar"] .portrait-slot .slot-label,
[lang="ar"] .cv-list time, [lang="ar"] .cv-list .cv-time,
[lang="ar"] .credential-table th, [lang="ar"] .credential-table td::before,
[lang="ar"] .trust-strip span, [lang="ar"] .nav-links a, [lang="ar"] .gateway .sub {
  letter-spacing: 0;
  text-transform: none;
}
/* Arabic eyebrow kicker: a hairline rule stands in for Latin tracked
   caps — a device with a real Arabic-typography precedent, rather than
   a weakened version of a Latin one. */
[lang="ar"] .eyebrow {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-size: 0.86rem; font-weight: 600;
}
[lang="ar"] .eyebrow::before {
  content: ""; width: 1.4rem; height: 1px; background: var(--gold); flex: none;
}
/* Arabic-Indic padded counter, so step numbering matches the
   Eastern Arabic numerals already used in the services cards. */
@counter-style arabic-indic-padded {
  system: numeric;
  symbols: "٠" "١" "٢" "٣" "٤" "٥" "٦" "٧" "٨" "٩";
  pad: 2 "٠";
}
[lang="ar"] .step::before { content: counter(step, arabic-indic-padded); }
[lang="ar"] .band .eyebrow::before, [lang="ar"] .site-foot .eyebrow::before { background: var(--gold); }


/* ---------- Founder profile / CV ---------- */
.profile-kicker { max-width: 64ch; }
.profile-hero { padding-block: clamp(4.5rem, 10vw, 7.5rem); }
.profile-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 900px) { .profile-grid { grid-template-columns: 1fr; } }

/* Portrait slots — the only imagery on the site lives here: two
   landscape frames (2:3 print ratio, shown horizontally) reserved for
   an approved formal portrait and an approved context image. Drop a
   real <img> inside a .portrait-slot and it will fill the frame
   (object-fit: cover); until then it shows a quiet placeholder. */
.portrait-stack { display: grid; gap: 1.25rem; }
.portrait-slot {
  position: relative; margin: 0; overflow: hidden;
  aspect-ratio: 3 / 2;
  border: 1px solid var(--line); border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(169, 129, 46, 0.10), rgba(255, 255, 255, 0.5)),
    var(--pale);
  display: flex; align-items: flex-end;
}
.portrait-slot::before {
  content: ""; position: absolute; inset: 0.9rem; border: 1px solid var(--line); border-radius: calc(var(--radius) + 2px);
}
.portrait-slot img { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; }
.portrait-slot figcaption { position: relative; z-index: 1; padding: clamp(1rem, 2vw, 1.25rem); margin: 0; }
.portrait-slot .slot-label { display: block; font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-text); font-weight: 600; margin-bottom: 0.25rem; }
.portrait-slot .slot-text { display: block; color: var(--stone); font-size: 0.84rem; line-height: 1.5; }

.cv-list { list-style: none; margin: 2rem 0 0; padding: 0; border-top: 1px solid var(--line-soft); }
.cv-list li { display: grid; grid-template-columns: 150px 1fr; gap: 1.5rem; padding: 1.25rem 0; border-bottom: 1px solid var(--line-soft); }
.cv-list time, .cv-list .cv-time { color: var(--gold-text); font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600; }
.cv-list h3 { font-size: 1.1rem; margin-bottom: 0.25rem; }
.cv-list p { color: var(--stone); font-size: 0.95rem; margin: 0; }
@media (max-width: 620px) { .cv-list li { grid-template-columns: 1fr; gap: 0.4rem; } }
.credential-table { width: 100%; border-collapse: collapse; margin-top: 2rem; font-size: 0.94rem; }
.credential-table th, .credential-table td { padding: 1rem 0.8rem; border-bottom: 1px solid var(--line-soft); text-align: start; vertical-align: top; }
.credential-table th { color: var(--ink); font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; }
.credential-table td { color: var(--stone); }
@media (max-width: 760px) {
  .credential-table, .credential-table thead, .credential-table tbody, .credential-table th, .credential-table td, .credential-table tr { display: block; }
  .credential-table thead { display: none; }
  .credential-table tr { border-bottom: 1px solid var(--line-soft); padding: 0.9rem 0; }
  .credential-table td { border: 0; padding: 0.35rem 0; }
  .credential-table td::before { content: attr(data-label); display: block; color: var(--ink); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; margin-bottom: 0.15rem; }
}
.profile-note { margin-top: 2rem; padding: 1.2rem 1.4rem; border: 1px solid var(--line-soft); background: var(--pale); color: var(--stone); font-size: 0.94rem; }
.claim-boundaries { background: var(--pale); }
.audit-score { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; margin: 2rem 0; }
.audit-score .card { padding: 1.2rem; }
.audit-score strong { display: block; color: var(--ink); font-family: var(--sans); font-weight: 700; font-size: 1.6rem; line-height: 1; margin-bottom: 0.35rem; }
.audit-score span { color: var(--stone); font-size: 0.83rem; }
@media (max-width: 900px) { .audit-score { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .audit-score { grid-template-columns: 1fr; } }


/* diplomatic strong emphasis */
main strong { font-weight: 700; color: inherit; }
.section-line strong, .profile-hero strong { color: var(--ink); }
.band strong { color: var(--ink); }
.profile-note strong, .note strong { color: inherit; }


/* ---------- Team and own-photo gallery additions ---------- */
.team-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; margin-top: 2.5rem; }
@media (max-width: 760px) { .team-grid { grid-template-columns: 1fr; } }
.team-card { padding: clamp(1.5rem, 2.5vw, 2rem); background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius); }
.team-card .role { display: block; color: var(--gold-text); font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; margin-bottom: 0.65rem; }
.team-card h3 { margin-bottom: 0.55rem; }
.team-card p { color: var(--stone); font-size: 0.95rem; line-height: 1.58; }
.gallery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; margin-top: 2.5rem; }
@media (max-width: 760px) { .gallery-grid { grid-template-columns: 1fr; } }
.gallery-card { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--pale); box-shadow: 0 14px 34px -30px rgba(17,17,18,.42); }
.gallery-card img { width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; background: var(--pale); }
.gallery-card figcaption { padding: 0.92rem 1rem 1rem; border-top: 1px solid var(--line-soft); background: var(--white); color: var(--stone); font-size: 0.88rem; line-height: 1.46; }
.portrait-slot.has-image::before { display: none; }
.portrait-slot.has-image::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(17,17,18,0) 45%, rgba(17,17,18,0.72) 100%); pointer-events: none; }
.portrait-slot.has-image figcaption { z-index: 2; }
.portrait-slot.has-image .slot-label { color: #FFFFFF; text-shadow: 0 1px 2px rgba(0,0,0,0.45); }
.portrait-slot.has-image .slot-text { color: rgba(255,255,255,0.82); text-shadow: 0 1px 2px rgba(0,0,0,0.45); }
.portrait-slot.formal { aspect-ratio: 1 / 1; }
.portrait-slot.context { aspect-ratio: 3 / 2; }
.portrait-slot.context img { object-position: center center; }


/* ---------- Leadership duo and extended reference gallery ---------- */
.leadership-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; margin-top: 2.5rem; }
.leader-card { padding: clamp(1.6rem, 3vw, 2.2rem); background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius); box-shadow: 0 18px 40px -26px rgba(17,17,18,.32); }
.leader-portrait { margin: 0 0 1.1rem; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: var(--line-soft); }
.leader-portrait img { width: 100%; height: 100%; object-fit: cover; display: block; }
.leader-card h3 { margin: .45rem 0 .7rem; }
.leader-card p { color: var(--stone); font-size: .96rem; line-height: 1.58; }
@media (max-width: 980px) { .leadership-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .leadership-grid { grid-template-columns: 1fr; } }
.reference-gallery-grid { display: block; column-count: 3; column-gap: 1.25rem; margin-top: 2.35rem; }
.reference-gallery-grid .gallery-card { display: inline-block; width: 100%; margin: 0 0 1.25rem; break-inside: avoid; page-break-inside: avoid; }
.reference-gallery-grid .gallery-card img { width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; }
.reference-card figcaption { min-height: 0; }
@media (max-width: 980px) { .reference-gallery-grid { column-count: 2; } }
@media (max-width: 640px) { .reference-gallery-grid { column-count: 1; } }


/* Jony Ive typography pass — quieter scale, generous reading rhythm, no cropped gallery imagery. */
.card p, .note, .profile-note, .cv-list p, .credential-table td { line-height: 1.58; }
.nav-links a { line-height: 1.38; }
@media (min-width: 1180px) {
  .wrap { max-width: 1160px; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  section { padding-block: clamp(3.75rem, 15vw, 5.25rem); }
  .hero { padding-block: clamp(4.4rem, 17vw, 6rem); }
  .trust-strip { margin-top: 2.3rem; }
}


/* v12 — progressive enhancement, accessibility and responsive media */
.no-js .nav-toggle,
.no-js .nav-scrim { display: none; }
.no-js .nav {
  position: static;
  inset: auto;
  width: auto;
  max-height: none;
  transform: none;
  opacity: 1;
  pointer-events: auto;
  box-shadow: none;
  border-radius: 0;
  padding: 0.4rem 0;
  background: transparent;
  border: 0;
}
.no-js .nav-links {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.no-js .nav-links li { opacity: 1; transform: none; }
.no-js .lang { border-top: 0; margin-top: 0; padding-top: 0.35rem; }
.nav a:focus-visible,
.nav-toggle:focus-visible,
.btn:focus-visible,
a:focus-visible { outline: 2px solid var(--gold-text); outline-offset: 3px; }
.reference-gallery-grid picture,
.gallery-card picture,
.portrait-slot picture { display: block; width: 100%; }
.portrait-slot picture { position: absolute; inset: 0; z-index: 0; }
.portrait-slot picture img { width: 100%; height: 100%; object-fit: cover; }
.opsec-note { margin-top: 1rem; }


/* No-JS resilience: critical content remains visible when JavaScript is disabled or blocked. */
.no-js .reveal { opacity: 1; transform: none; transition: none; }
.gateway-hint { margin-top: 1.4rem; }

/* Casual copy/source deterrence. Does not affect indexing; it only blocks browser-level right-click and image dragging UX. */
.source-guard img,
.source-guard picture,
.source-guard svg {
  -webkit-user-drag: none;
  user-drag: none;
}
.source-guard { -webkit-touch-callout: none; }


/* Apple-style title-to-description rhythm pass. Headings keep tight display leading;
   descriptions get deliberate breathing room and consistent reading rhythm. */
h1 + .hero-copy,
h2 + .lede,
h2 + p,
.leader-title + .leader-name,
h3 + p {
  margin-top: clamp(0.75rem, 1.4vw, 1.05rem);
}
.hero-copy,
.lede,
.leader-card p,
.cv-list p,
.credential p,
.claim-boundaries .lede {
  line-height: 1.64;
}
.profile-intro { padding-block: clamp(4.5rem, 9vw, 7rem); }
.profile-intro-grid { max-width: 820px; }
.leader-card {
  display: flex;
  flex-direction: column;
}
.leader-card .leader-title {
  font-size: clamp(1.45rem, 2.25vw, 2.05rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin: 0;
}
.leader-card .leader-name {
  color: var(--stone);
  font-size: clamp(0.98rem, 1vw, 1.08rem);
  line-height: 1.45;
  font-weight: 500;
  margin-bottom: 1.05rem;
}
.leader-name + p { margin-top: 0; }
.leader-highlights {
  list-style: none;
  margin: 1.15rem 0 0;
  padding: 1.05rem 0 0;
  border-top: 1px solid var(--line-soft);
  display: grid;
  gap: 0.55rem;
}
.leader-highlights li {
  position: relative;
  color: var(--stone);
  font-size: 0.94rem;
  line-height: 1.58;
  padding-inline-start: 1.05rem;
}
.leader-highlights li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.72em;
  width: 0.32rem;
  height: 0.32rem;
  border-radius: 50%;
  background: var(--gold);
}
[dir="rtl"] .leader-highlights li { padding-inline-start: 0; padding-inline-end: 1.05rem; }
[dir="rtl"] .leader-highlights li::before { inset-inline-start: auto; inset-inline-end: 0; }
