/* Petrović Capital — "Steel blueprint at midnight"
   Type: Archivo Expanded (display) · Archivo (body/UI) · Space Mono (labels) — same family as the reference.
   Dark-dominant, full-bleed industrial photography, blueprint grids, rationed Signal Red,
   4px radius, 1px hairline borders, no shadows. Logical props throughout for RTL (Arabic). */

:root {
  --color-signal-red: #e32735;
  --color-signal-red-d: #c81f2d;
  --color-carbon: #0b0405;
  --color-graphite: #150e0f;
  --color-steel: #382e30;
  --color-slate: #858182;
  --color-chalk: #ffffff;

  --font-display: 'Archivo Expanded', 'Archivo', ui-sans-serif, system-ui, sans-serif;
  --font-archivo: 'Archivo', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'Space Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  --text-caption: 12px;
  --text-body-sm: 14px;
  --text-body: 16px;
  --text-subheading: 24px;
  --text-heading: 40px;
  --text-display: 56px;

  --s8: 8px; --s16: 16px; --s24: 24px; --s32: 32px; --s40: 40px; --s48: 48px; --s64: 64px; --s80: 80px;

  --max: 1200px;
  --radius: 4px;
  --nav-h: 80px;

  --blueprint: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32'%3E%3Cpath d='M16 13.5v5M13.5 16h5' stroke='%23ffffff' stroke-opacity='0.16' stroke-width='1'/%3E%3C/svg%3E"),
               repeating-linear-gradient(0deg, rgba(255,255,255,0.045) 0 1px, transparent 1px 32px),
               repeating-linear-gradient(90deg, rgba(255,255,255,0.045) 0 1px, transparent 1px 32px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--color-carbon);
  color: var(--color-chalk);
  font-family: var(--font-archivo);
  font-weight: 400;
  font-size: var(--text-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--color-signal-red); color: #fff; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--s24); }
.center { text-align: center; }
.center .section-head { margin-inline: auto; }

/* ── Type ───────────────────────────────────────────────── */
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; margin: 0; }
.h-display { font-size: var(--text-display); line-height: 1.06; letter-spacing: -0.04em; }
.h-heading { font-size: var(--text-heading); line-height: 1.12; letter-spacing: -0.035em; }
.h-sub { font-size: var(--text-subheading); line-height: 1.2; letter-spacing: -0.03em; }
.muted { color: var(--color-slate); }
.body-lg { font-size: var(--text-body); color: var(--color-slate); }

.eyebrow {
  display: inline-block; font-family: var(--font-mono); font-size: var(--text-caption);
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-slate);
}
.eyebrow.badge { border: 1px solid var(--color-steel); border-radius: var(--radius); padding: var(--s8) var(--s16); }
.eyebrow .r { color: var(--color-signal-red); }

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: var(--s8);
  font-family: var(--font-archivo); font-weight: 500; font-size: var(--text-body);
  padding: 14px 28px; border-radius: var(--radius); border: 1px solid transparent; cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
.btn-primary { background: var(--color-signal-red); color: #fff; }
.btn-primary:hover { background: var(--color-signal-red-d); }
.btn-ghost { background: transparent; color: var(--color-chalk); border-color: var(--color-steel); }
.btn-ghost:hover { border-color: var(--color-slate); }

/* ── Navigation: transparent over hero → solid on scroll ── */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--nav-h);
  display: flex; align-items: center;
  background: transparent; border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease, height .25s ease;
}
.nav.solid { background: rgba(11,4,5,0.92); backdrop-filter: blur(8px); border-bottom-color: var(--color-steel); height: 68px; }
.nav-inner { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--s24); display: flex; align-items: center; justify-content: space-between; gap: var(--s24); }
.nav-brand { display: inline-block; border-bottom: 2px solid var(--color-signal-red); padding-bottom: 5px; }
.nav-logo { height: 30px; width: auto; filter: invert(1) brightness(2); transition: height .25s ease; }
.nav.solid .nav-logo { height: 26px; }
.nav-links { display: flex; align-items: center; gap: var(--s32); }
.nav-links a { font-family: var(--font-archivo); font-size: var(--text-body); color: var(--color-chalk); transition: color .15s ease; }
.nav-links a:hover { color: var(--color-signal-red); }
.nav-actions { display: flex; align-items: center; gap: var(--s16); }
/* generous buttons inside the bar (matches reference scale) */
.nav .btn { padding: 12px 24px; font-size: var(--text-body); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--color-chalk); margin: 4px 0; }

/* ── Language switcher ──────────────────────────────────── */
.lang { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: var(--s8);
  background: transparent; border: 1px solid var(--color-steel); border-radius: 999px;
  padding: 6px 12px 6px 6px; color: var(--color-chalk); cursor: pointer;
  font-family: var(--font-archivo); font-size: 15px; font-weight: 500; letter-spacing: 0.02em;
  transition: border-color .15s ease;
}
.lang-btn:hover { border-color: var(--color-slate); }
.flag { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; display: block; flex: 0 0 auto; box-shadow: 0 0 0 1px var(--color-steel); }
.lang-caret { width: 8px; height: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); margin-inline-start: 2px; opacity: .7; }
.lang-menu {
  position: absolute; inset-inline-end: 0; top: calc(100% + 8px); min-width: 180px;
  background: rgba(11,4,5,0.97); border: 1px solid var(--color-steel); border-radius: var(--radius);
  padding: 6px; display: none; z-index: 120;
}
.lang.open .lang-menu { display: block; }
.lang-menu a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: var(--radius); font-size: var(--text-body-sm); color: var(--color-chalk); }
.lang-menu a:hover { background: var(--color-graphite); }
.lang-menu a.active { color: var(--color-signal-red); }
.lang-menu a .code { margin-inline-start: auto; font-family: var(--font-mono); font-size: 11px; color: var(--color-slate); }

/* ── Sections ───────────────────────────────────────────── */
.section { padding: var(--s80) 0; }
.section + .section { border-top: 1px solid var(--color-steel); }
.section-head { max-width: 740px; margin-bottom: var(--s48); }
.section-head .eyebrow { margin-bottom: var(--s24); }
.section-head .h-heading { margin-bottom: var(--s16); }

/* ── Hero ───────────────────────────────────────────────── */
.hero { position: relative; min-height: 100vh; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(180deg, rgba(11,4,5,0.35) 0%, rgba(11,4,5,0.25) 30%, rgba(11,4,5,0.80) 100%), var(--hero-image, none) center/cover no-repeat, var(--color-carbon);
  will-change: transform;
}
/* Video hero (andercore-style full-bleed muted loop) */
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; background: var(--color-carbon); }
.hero-scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(11,4,5,0.45) 0%, rgba(11,4,5,0.30) 32%, rgba(11,4,5,0.88) 100%); }
.hero-content { position: relative; z-index: 2; padding: 0 0 var(--s64); }
.hero h1 { max-width: 20ch; margin: var(--s24) 0; }
.hero p { max-width: 62ch; margin: 0 0 var(--s32); }
.hero-cta { display: flex; gap: var(--s16); flex-wrap: wrap; }

.ticker { position: relative; z-index: 2; border-top: 1px solid var(--color-steel); background: rgba(11,4,5,0.55); overflow: hidden; white-space: nowrap; }
.ticker-track { display: inline-flex; padding: var(--s16) 0; font-family: var(--font-mono); font-size: var(--text-caption); letter-spacing: 0.1em; color: var(--color-slate); animation: ticker 30s linear infinite; }
.ticker-track span { padding-inline-end: var(--s40); }
.ticker-track .r { color: var(--color-signal-red); padding: 0 var(--s24); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ── Grids & Network cards ──────────────────────────────── */
.grid { display: grid; gap: var(--s24); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.ncard { text-align: center; }
.instrument {
  border: 1px solid var(--color-steel); border-radius: var(--radius); background: var(--color-graphite);
  padding: var(--s16); margin-bottom: var(--s24); display: flex; align-items: center; gap: var(--s8);
  font-family: var(--font-mono); font-size: var(--text-caption); color: var(--color-slate); text-align: start;
}
.instrument .dot { width: 7px; height: 7px; background: var(--color-signal-red); flex: 0 0 auto; }
.instrument .num { margin-inline-start: auto; }
.ncard h3 { font-size: var(--text-subheading); margin-bottom: var(--s8); }
.ncard p { font-size: var(--text-body-sm); color: var(--color-slate); margin: 0 auto; max-width: 34ch; }

/* ── Focus photo grid ───────────────────────────────────── */
.focus-card { position: relative; border: 1px solid var(--color-steel); border-radius: var(--radius); overflow: hidden; background: var(--color-graphite); display: flex; flex-direction: column; text-align: start; }
.focus-img { position: relative; aspect-ratio: 3/4; overflow: hidden; }
.focus-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.focus-card:hover .focus-img img { transform: scale(1.05); }
.focus-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,4,5,0) 35%, rgba(11,4,5,0.85) 100%); }
.focus-kicker { position: absolute; z-index: 2; top: var(--s16); inset-inline-start: var(--s16); font-family: var(--font-mono); font-size: var(--text-caption); color: var(--color-signal-red); letter-spacing: 0.1em; }
.focus-title { position: absolute; z-index: 2; bottom: var(--s16); inset-inline: var(--s16); font-family: var(--font-display); font-size: var(--text-subheading); font-weight: 500; letter-spacing: -0.03em; }
.focus-body { padding: var(--s24); font-size: var(--text-body-sm); color: var(--color-slate); }

/* ── Editorial statement + connector ────────────────────── */
.statement { text-align: center; }
.connector { display: flex; flex-direction: column; align-items: center; margin-bottom: var(--s40); }
.connector .line { width: 1px; height: 64px; background: var(--color-steel); }
.connector .node { width: 8px; height: 8px; background: var(--color-chalk); }
.connector .mark { width: 56px; height: 56px; background: var(--color-signal-red); display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; font-size: 28px; color: #fff; margin-top: var(--s16); }
.statement .big { font-family: var(--font-display); font-weight: 500; font-size: clamp(24px, 3vw, 38px); line-height: 1.3; letter-spacing: -0.03em; max-width: 22ch; margin: 0 auto; color: var(--color-slate); }
.statement .big b { color: var(--color-chalk); font-weight: 500; }
.statement .big em { color: var(--color-signal-red); font-style: normal; }

/* ── Spotlight manifesto (cursor-tracked gradient) ──────── */
@property --mx { syntax: '<percentage>'; inherits: true; initial-value: 50%; }
@property --my { syntax: '<percentage>'; inherits: true; initial-value: 38%; }
.manifesto { position: relative; overflow: hidden; }
.manifesto::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background-image: var(--blueprint); background-position: center;
  opacity: 0.5; pointer-events: none;
  -webkit-mask-image: radial-gradient(60% 60% at 50% 50%, #000 0%, transparent 80%);
          mask-image: radial-gradient(60% 60% at 50% 50%, #000 0%, transparent 80%);
}
.manifesto .container { position: relative; z-index: 1; }
.manifesto .spotlight {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(30px, 5.2vw, 72px); line-height: 1.1;
  letter-spacing: -0.045em; max-width: 18ch; margin: 0 auto;
  text-wrap: balance;
  background-image: radial-gradient(
    34em 34em at var(--mx) var(--my),
    var(--color-signal-red) 0%,
    #ff5d6a 9%,
    var(--color-chalk) 26%,
    #b9b3b4 52%,
    var(--color-steel) 100%
  );
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: drift 16s ease-in-out infinite alternate;
}
.manifesto.tracking .spotlight { animation: none; }
.manifesto .spotlight .accent { /* keeps a couple words permanently lit */ }
.manifesto-note { margin-top: var(--s32); font-family: var(--font-mono); font-size: var(--text-caption); letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-slate); }
.manifesto-note .r { color: var(--color-signal-red); }
@keyframes drift {
  0%   { --mx: 22%; --my: 28%; }
  50%  { --mx: 78%; --my: 62%; }
  100% { --mx: 40%; --my: 80%; }
}

/* ── Process ────────────────────────────────────────────── */
.process { position: relative; margin-bottom: var(--s48); }
.process-line { position: absolute; inset-inline: 0; top: 4px; height: 1px; background: var(--color-steel); }
.process-line .fill { position: absolute; inset-inline-start: 0; top: 0; height: 100%; width: 0; background: var(--color-signal-red); transition: width 1.2s cubic-bezier(.4,0,.2,1); }
.process-grid { grid-template-columns: repeat(4, 1fr); }
.step .num { font-family: var(--font-mono); font-size: var(--text-caption); color: var(--color-slate); display: flex; align-items: center; gap: var(--s16); margin: 0 0 var(--s24); padding-top: var(--s24); }
.step .node { width: 9px; height: 9px; background: var(--color-chalk); flex: 0 0 auto; }
.step.is-active .node { background: var(--color-signal-red); }
.step h3 { font-size: var(--text-subheading); margin-bottom: var(--s8); }
.step p { font-size: var(--text-body-sm); color: var(--color-slate); margin: 0; }

.process-visual { position: relative; border: 1px solid var(--color-steel); border-radius: var(--radius); overflow: hidden; }
.process-visual img { width: 100%; height: 360px; object-fit: cover; }
.process-visual .tagcard { position: absolute; inset-inline-start: var(--s24); bottom: var(--s24); background: var(--color-carbon); border: 1px solid var(--color-steel); border-radius: var(--radius); padding: var(--s16) var(--s24); font-family: var(--font-mono); font-size: var(--text-caption); color: var(--color-chalk); }
.process-visual .tagcard .dot { color: var(--color-signal-red); }

/* ── Global reach + world map ───────────────────────────── */
.reach-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: var(--s64); align-items: center; }
.reach-legend { list-style: none; margin: var(--s32) 0 0; padding: 0; display: grid; gap: var(--s16); }
.reach-legend li { display: flex; align-items: center; gap: var(--s16); font-size: var(--text-body); }
.reach-legend .sq { width: 10px; height: 10px; background: var(--color-signal-red); flex: 0 0 auto; }
.reach-legend .reg { margin-inline-start: auto; font-family: var(--font-mono); font-size: var(--text-caption); color: var(--color-slate); }

.map-wrap { position: relative; border: 1px solid var(--color-steel); border-radius: var(--radius); background-color: var(--color-graphite); background-image: var(--blueprint); overflow: hidden; }
.map-wrap .world { width: 100%; display: block; }
.map-pin { position: absolute; z-index: 2; transform: translate(-50%, -50%); }
.map-pin .ping { display: block; width: 9px; height: 9px; border-radius: 50%; background: var(--color-signal-red); box-shadow: 0 0 0 4px rgba(227,39,53,0.22); }
.map-label { position: absolute; z-index: 3; white-space: nowrap; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.04em; color: var(--color-chalk); background: rgba(11,4,5,0.82); border: 1px solid var(--color-steel); border-radius: 3px; padding: 3px 7px; }

/* ── Themes ─────────────────────────────────────────────── */
.themes { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--color-steel); }
.theme { display: flex; align-items: center; gap: var(--s16); padding: var(--s24) var(--s16); border-bottom: 1px solid var(--color-steel); font-family: var(--font-display); font-size: var(--text-subheading); font-weight: 500; letter-spacing: -0.03em; transition: color .15s ease; }
.theme:hover { color: var(--color-signal-red); }
.theme:nth-child(odd) { border-inline-end: 1px solid var(--color-steel); padding-inline-end: var(--s32); }
.theme:nth-child(even) { padding-inline-start: var(--s32); }
.theme .idx { font-family: var(--font-mono); font-size: var(--text-caption); color: var(--color-signal-red); flex: 0 0 auto; }

/* ── Final CTA ──────────────────────────────────────────── */
.final-cta { text-align: center; }
.final-cta .h-heading { max-width: 18ch; margin: 0 auto var(--s24); }
.final-cta p { max-width: 60ch; margin: 0 auto var(--s32); }

/* ── Footer ─────────────────────────────────────────────── */
.footer { border-top: 1px solid var(--color-steel); padding: var(--s64) 0 var(--s32); }
.footer-top { display: flex; justify-content: space-between; gap: var(--s48); flex-wrap: wrap; padding-bottom: var(--s40); }
.footer-logo { height: 26px; width: auto; filter: invert(1) brightness(2); }
.footer-cols { display: flex; gap: var(--s64); flex-wrap: wrap; }
.footer-cols h4 { font-family: var(--font-mono); font-size: var(--text-caption); color: var(--color-slate); text-transform: uppercase; margin: 0 0 var(--s16); font-weight: 400; letter-spacing: 0.1em; }
.footer-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s8); }
.footer-cols a { font-size: var(--text-body-sm); color: var(--color-chalk); }
.footer-cols a:hover { color: var(--color-signal-red); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--s16); padding-top: var(--s32); border-top: 1px solid var(--color-steel); font-size: var(--text-caption); color: var(--color-slate); }
.footer-disclaimer { font-size: var(--text-caption); color: var(--color-slate); max-width: 90ch; margin-top: var(--s16); line-height: 1.5; }

/* ═══════════════════════════════════════════════════════════
   EXPANSION COMPONENTS (Strategy, Track Record, Team, News,
   Submit, Governance) — one coherent system, existing tokens only.
   ═══════════════════════════════════════════════════════════ */

/* ── Shared: sub-page hero + reading measures ───────────── */
.page-hero { padding-top: calc(var(--nav-h) + var(--s64)); }
.page-hero .eyebrow { margin-bottom: var(--s24); }
.page-hero .h-display { max-width: 18ch; margin-bottom: var(--s24); }
.page-hero .body-lg { max-width: 60ch; }
.article-narrow { max-width: 760px; }
.legal-narrow { max-width: 800px; }
.form-narrow { max-width: 640px; }
.backlink { font-family: var(--font-mono); font-size: var(--text-caption); letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-slate); transition: color .15s ease; }
.backlink:hover { color: var(--color-signal-red); }
.backlink .r { color: var(--color-signal-red); }

/* ── Strategy / Investment Thesis ───────────────────────── */
.thesis-flow { margin: 0 0 var(--s48); }
.thesis-connector { width: 100%; max-width: 720px; height: auto; display: block; overflow: visible; }
.thesis-connector .seg { fill: none; stroke: var(--color-steel); stroke-width: 1.5; }
.thesis-connector .seg-red { stroke: var(--color-signal-red); stroke-dasharray: var(--len, 1000); stroke-dashoffset: var(--len, 1000); }
.thesis-connector.drawn .seg-red, .no-gsap .thesis-connector .seg-red { stroke-dashoffset: 0; }
.thesis-connector .node { fill: var(--color-carbon); stroke: var(--color-steel); stroke-width: 1.5; }
.thesis-connector .node.lit { stroke: var(--color-signal-red); fill: var(--color-signal-red); }
.thesis-flow-labels { display: flex; justify-content: space-between; max-width: 720px; margin-top: var(--s8); font-family: var(--font-mono); font-size: var(--text-caption); letter-spacing: 0.1em; color: var(--color-slate); }
.thesis-flow-labels span:nth-child(2) { color: var(--color-chalk); }
[dir="rtl"] .thesis-connector { transform: scaleX(-1); }

.pillar { border: 1px solid var(--color-steel); border-radius: var(--radius); background: var(--color-graphite); padding: var(--s32); text-align: start; border-top: 2px solid var(--color-steel); }
.pillar .instrument { margin-bottom: var(--s24); }
.pillar h3 { font-size: var(--text-subheading); margin-bottom: var(--s16); }
.pillar p { font-size: var(--text-body-sm); color: var(--color-slate); margin: 0; }
.pillar-accent { border-top-color: var(--color-signal-red); }
.pillar-accent .instrument .dot { background: var(--color-signal-red); }
.pillar-accent .instrument .num { color: var(--color-signal-red); }
.pillar-accent .instrument { border-color: var(--color-signal-red); }

/* ── Track Record ───────────────────────────────────────── */
.stat-tile { border: 1px solid var(--color-steel); border-radius: var(--radius); background: var(--color-graphite); padding: var(--s32); text-align: start; }
.stat-num { font-family: var(--font-display); font-weight: 500; font-size: clamp(34px, 4vw, 52px); line-height: 1; letter-spacing: -0.04em; color: var(--color-chalk); font-variant-numeric: tabular-nums; white-space: nowrap; direction: ltr; unicode-bidi: isolate; }
.stat-num .u { color: var(--color-slate); font-size: 0.6em; letter-spacing: 0; margin-inline-start: 2px; }
.stat-tile--qual .stat-num { font-family: var(--font-display); font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -0.03em; }
.stat-label { display: block; margin-top: var(--s16); font-family: var(--font-mono); font-size: var(--text-caption); letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-slate); }
.stat-cap { display: block; margin-top: var(--s8); font-size: var(--text-body-sm); color: var(--color-slate); }

/* ── Leadership teaser + Team page ──────────────────────── */
.team-teaser-grid { grid-template-columns: 1fr 1.4fr; gap: var(--s64); align-items: center; }
.team-teaser-grid .btn { margin-top: var(--s32); }
.team-portraits { gap: var(--s16); }
.portrait, .member-photo { position: relative; aspect-ratio: 3/4; overflow: hidden; border: 1px solid var(--color-steel); border-radius: var(--radius); background: var(--color-graphite); }
.portrait img, .member-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.2) brightness(0.92); transition: transform .6s ease; }
.portrait:hover img { transform: scale(1.04); }
.portrait::after, .member-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,4,5,0) 45%, rgba(11,4,5,0.9) 100%); }
.portrait .p-name { position: absolute; z-index: 2; inset-inline: var(--s16); bottom: var(--s24); font-family: var(--font-display); font-weight: 500; font-size: var(--text-body); letter-spacing: -0.02em; }
.portrait .p-role { position: absolute; z-index: 2; inset-inline: var(--s16); bottom: var(--s8); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; color: var(--color-slate); }
.member-card { text-align: start; }
.member-card .member-name { font-family: var(--font-display); font-weight: 500; font-size: var(--text-subheading); letter-spacing: -0.03em; margin: var(--s24) 0 var(--s8); }
.member-role { display: block; font-family: var(--font-mono); font-size: var(--text-caption); letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-signal-red); margin-bottom: var(--s16); }
.member-bio { font-size: var(--text-body-sm); color: var(--color-slate); margin: 0; max-width: 42ch; }
.placeholder-note { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; color: var(--color-slate); opacity: .7; }
.careers-note { text-align: start; }

/* ── News / Insights ────────────────────────────────────── */
.news-card { display: flex; flex-direction: column; border: 1px solid var(--color-steel); border-radius: var(--radius); overflow: hidden; background: var(--color-graphite); transition: border-color .2s ease; }
.news-card:hover { border-color: var(--color-slate); }
.news-cover { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.news-cover img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.9); transition: transform .6s ease; }
.news-card:hover .news-cover img { transform: scale(1.04); }
.news-body { padding: var(--s24); display: flex; flex-direction: column; gap: var(--s16); flex: 1; }
.news-meta { display: flex; align-items: center; gap: var(--s16); }
.news-cat { font-family: var(--font-mono); font-size: var(--text-caption); letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-slate); border: 1px solid var(--color-steel); border-radius: var(--radius); padding: 3px var(--s8); }
.news-date { font-family: var(--font-mono); font-size: var(--text-caption); letter-spacing: 0.06em; color: var(--color-slate); }
.news-title { font-family: var(--font-display); font-weight: 500; font-size: var(--text-subheading); line-height: 1.18; letter-spacing: -0.03em; margin: 0; }
.news-card:hover .news-title { color: var(--color-chalk); }
.news-excerpt { font-size: var(--text-body-sm); color: var(--color-slate); margin: 0; }
.news-more { margin-top: auto; font-family: var(--font-mono); font-size: var(--text-caption); letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-signal-red); }

.article-head { padding-top: calc(var(--nav-h) + var(--s48)); }
.article-head .news-meta { margin: var(--s24) 0; }
.article-head .h-display { font-size: clamp(32px, 5vw, 52px); }
.article-cover { aspect-ratio: 16/9; border: 1px solid var(--color-steel); border-radius: var(--radius); overflow: hidden; margin: 0 auto; max-width: var(--max); }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-clip { clip-path: inset(0 0 100% 0); }
.article-clip.in { clip-path: inset(0 0 0 0); transition: clip-path .7s cubic-bezier(.22,1,.36,1); }
.article-body { text-align: start; }
.article-body p { color: #c9c5c6; margin: 0 0 var(--s24); line-height: 1.7; }
.article-body h2 { font-family: var(--font-display); font-weight: 500; font-size: var(--text-subheading); letter-spacing: -0.03em; margin: var(--s40) 0 var(--s16); }
.article-body blockquote { margin: var(--s32) 0; padding-inline-start: var(--s24); border-inline-start: 2px solid var(--color-signal-red); font-family: var(--font-display); font-weight: 500; font-size: var(--text-subheading); line-height: 1.3; letter-spacing: -0.02em; color: var(--color-chalk); }
.article-body ul { color: #c9c5c6; padding-inline-start: var(--s24); margin: 0 0 var(--s24); line-height: 1.7; }
.article-foot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: var(--s24); }

/* ── Submit CTA band + multi-step form ──────────────────── */
.submit-cta { text-align: center; }
.submit-cta .h-heading { max-width: 20ch; margin: 0 auto var(--s24); }
.submit-cta p { max-width: 56ch; margin: 0 auto var(--s32); color: var(--color-slate); }

.step-progress { list-style: none; display: flex; gap: 0; margin: 0 0 var(--s48); padding: 0; border-bottom: 1px solid var(--color-steel); }
.step-prog { flex: 1; padding: 0 0 var(--s16); display: flex; align-items: center; gap: var(--s8); font-family: var(--font-mono); font-size: var(--text-caption); letter-spacing: 0.08em; color: var(--color-slate); border-bottom: 2px solid transparent; margin-bottom: -1px; transition: color .2s ease, border-color .2s ease; }
.step-prog .pn { color: var(--color-slate); }
.step-prog.is-active { color: var(--color-chalk); border-bottom-color: var(--color-signal-red); }
.step-prog.is-active .pn { color: var(--color-signal-red); }
.step-prog.is-done { color: var(--color-slate); }
.step-mobile { display: none; font-family: var(--font-mono); font-size: var(--text-caption); letter-spacing: 0.08em; color: var(--color-slate); margin-bottom: var(--s32); }
.step-mobile .pn { color: var(--color-signal-red); }

.submit-form { position: relative; }
.submit-form fieldset { border: 0; margin: 0; padding: 0; min-inline-size: 0; }
.form-step { display: none; }
.form-step.is-current { display: block; animation: stepIn .35s cubic-bezier(.22,1,.36,1); }
@keyframes stepIn { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }
[dir="rtl"] .form-step.is-current { animation-name: stepInRtl; }
@keyframes stepInRtl { from { opacity: 0; transform: translateX(-16px); } to { opacity: 1; transform: none; } }
.form-field { margin-bottom: var(--s24); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s24); }
.form-label { display: block; font-family: var(--font-mono); font-size: var(--text-caption); letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-slate); margin-bottom: var(--s8); }
.form-label .opt { text-transform: none; letter-spacing: 0; }
.form-input, .form-select, .form-textarea { width: 100%; background: var(--color-carbon); border: 1px solid var(--color-steel); border-radius: var(--radius); color: var(--color-chalk); font-family: var(--font-archivo); font-size: var(--text-body); padding: 12px 14px; transition: border-color .18s ease; }
.form-input::placeholder, .form-textarea::placeholder { color: #5c5759; }
.form-input:focus, .form-select:focus, .form-textarea:focus { outline: none; border-color: var(--color-signal-red); }
.form-textarea { resize: vertical; min-height: 130px; line-height: 1.5; }
.form-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23858182' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-inline-end: 36px; }
[dir="rtl"] .form-select { background-position: left 14px center; }
.checkgrid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s8) var(--s24); }
.checkopt { display: flex; align-items: flex-start; gap: var(--s8); font-size: var(--text-body-sm); color: var(--color-chalk); cursor: pointer; padding: 6px 0; }
.checkopt input { accent-color: var(--color-signal-red); margin-top: 3px; flex: 0 0 auto; }
.consent { display: flex; align-items: flex-start; gap: var(--s8); font-size: var(--text-body-sm); color: var(--color-slate); cursor: pointer; }
.consent a { color: var(--color-chalk); text-decoration: underline; text-underline-offset: 2px; }
.form-error { display: none; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.04em; color: var(--color-signal-red); margin-top: var(--s8); }
.form-field.invalid .form-error { display: block; }
.form-field.invalid .form-input, .form-field.invalid .form-select, .form-field.invalid .form-textarea { border-color: var(--color-signal-red); }
.form-nav { display: flex; justify-content: space-between; gap: var(--s16); margin-top: var(--s40); }
.honeypot { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.form-confirm { text-align: start; border: 1px solid var(--color-steel); border-radius: var(--radius); background: var(--color-graphite); padding: var(--s48); }
.form-confirm .stamp { font-family: var(--font-mono); font-size: var(--text-caption); letter-spacing: 0.14em; color: var(--color-signal-red); }
.form-confirm h2 { font-size: var(--text-heading); margin: var(--s16) 0; }
.form-confirm p { color: var(--color-slate); margin: 0; max-width: 52ch; }

/* ── Governance / Trust strip ───────────────────────────── */
.trust-strip { border-top: 1px solid var(--color-steel); padding: var(--s24) 0; }
.trust-line { font-family: var(--font-mono); font-size: var(--text-caption); letter-spacing: 0.08em; color: var(--color-slate); margin: 0; }
.trust-line a { color: var(--color-chalk); }
.trust-line a:hover { color: var(--color-signal-red); }
.trust-line .sep { color: var(--color-steel); padding: 0 var(--s8); }
.legal-block { padding: var(--s32) 0; border-bottom: 1px solid var(--color-steel); text-align: start; }
.legal-block:last-child { border-bottom: 0; }
.legal-block h2 { font-size: var(--text-subheading); margin-bottom: var(--s16); }
.legal-block p { color: var(--color-slate); margin: 0 0 var(--s16); max-width: 80ch; }
.legal-ph { display: inline-block; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.04em; color: var(--color-signal-red); border: 1px solid var(--color-steel); border-radius: var(--radius); padding: 2px 8px; }

/* ── Nav: mobile-only CTA inside drawer ─────────────────── */
.mobile-only { display: none; }

/* ── Scroll reveal ──────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .ticker-track { animation: none; }
  .manifesto .spotlight { animation: none; }
  .portrait img, .member-photo img, .news-cover img, .focus-img img { transition: none; }
  .form-step.is-current { animation: none; }
  .thesis-connector .seg-red { stroke-dashoffset: 0; }
  .article-clip { clip-path: none; }
  html { scroll-behavior: auto; }
}

/* ── RTL (Arabic) ───────────────────────────────────────── */
[dir="rtl"] { --font-display: 'IBM Plex Sans Arabic','Archivo Expanded',sans-serif; --font-archivo: 'IBM Plex Sans Arabic','Archivo',sans-serif; --font-mono: 'IBM Plex Sans Arabic','Space Mono',monospace; }
[dir="rtl"] body { letter-spacing: normal; }
[dir="rtl"] .h-display, [dir="rtl"] .h-heading, [dir="rtl"] .h-sub, [dir="rtl"] .theme, [dir="rtl"] .statement .big, [dir="rtl"] .manifesto .spotlight, [dir="rtl"] .focus-title { letter-spacing: 0; }
[dir="rtl"] .manifesto .spotlight { max-width: 22ch; }
[dir="rtl"] .eyebrow { letter-spacing: 0.04em; }
[dir="rtl"] .lang-caret { transform: rotate(135deg); }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 980px) {
  :root { --text-display: 44px; --text-heading: 32px; --s80: 56px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-line { display: none; }
  .reach-grid { grid-template-columns: 1fr; gap: var(--s32); }
  .team-teaser-grid { grid-template-columns: 1fr; gap: var(--s40); }
  .form-row { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 680px) {
  :root { --text-display: 33px; --text-heading: 26px; --text-subheading: 20px; }
  /* Nav: declutter — inline CTA leaves the bar, lives in the drawer */
  .nav-links { display: none; }
  .nav-links.open { display: flex; flex-direction: column; align-items: stretch; gap: var(--s16); position: absolute; top: var(--nav-h); inset-inline: 0; background: rgba(11,4,5,0.98); padding: var(--s24); border-bottom: 1px solid var(--color-steel); }
  .nav.solid .nav-links.open { top: 68px; }
  .nav-links.open a:not(.btn) { font-size: var(--text-subheading); font-family: var(--font-display); letter-spacing: -0.02em; }
  .nav-actions .btn { display: none; }          /* hide inline primary CTA on mobile */
  .mobile-only { display: inline-flex; }          /* show CTA inside drawer */
  .nav-links.open .btn { justify-content: center; margin-top: var(--s8); }
  .nav-toggle { display: block; }
  .grid-2, .grid-3, .grid-4, .process-grid, .checkgrid { grid-template-columns: 1fr; }
  .themes { grid-template-columns: 1fr; }
  .theme:nth-child(odd) { border-inline-end: 0; padding-inline-end: var(--s16); }
  .theme:nth-child(even) { padding-inline-start: var(--s16); }
  .map-label { font-size: 9px; padding: 2px 4px; }
  .hero { min-height: 92vh; }
  .hero .eyebrow.badge { font-size: 10px; letter-spacing: 0.08em; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { justify-content: center; width: 100%; }
  .team-portraits { grid-template-columns: repeat(3, 1fr); }   /* keep 1/3 portrait row tidy */
  .stat-tile, .pillar { padding: var(--s24); }
  /* Step progress collapses to a compact single-line indicator */
  .step-progress { display: none; }
  .step-mobile { display: block; }
  .footer-cols { gap: var(--s32); }
  .form-nav .btn { flex: 1; justify-content: center; }
}
