/* PHAROS — institutional advisory landing
   Visual posture: counsel-firm masthead, ledger rules, deal-tombstones,
   high-density typesetting, single accent (claret) reserved for index marks.
*/

:root {
  --ink: #0B0B0C;            /* near-black, slightly warm */
  --ink-2: #1B1C1E;
  --paper: #F2EEE6;          /* warm off-white, lower chroma than ivory */
  --paper-2: #E8E3D7;        /* secondary panel */
  --rule: rgba(11, 11, 12, 0.22);
  --rule-soft: rgba(11, 11, 12, 0.10);
  --rule-dark: rgba(242, 238, 230, 0.22);
  --rule-dark-soft: rgba(242, 238, 230, 0.10);
  --muted: #4A4842;          /* darkened from #5C5A55 — ≥7:1 on --paper for AAA on small mono */
  --muted-dark: rgba(242, 238, 230, 0.78);
  --accent: #6B1F2A;         /* claret — used sparingly */
  --accent-2: #8C2A36;
  --accent-on-dark: #F0BCAE;  /* readable claret tint for use on --ink backgrounds (≥9:1 vs ink) */

  --serif: "Tinos", "GT Sectra", "Tiempos Headline", "Times New Roman", Georgia, serif;
  --sans: "Inter Tight", "Söhne", "Inter", system-ui, -apple-system, sans-serif;
  --mono: "Inter Tight", "Söhne", "Inter", system-ui, -apple-system, sans-serif;

  --container: 1320px;
  --gutter: clamp(20px, 4vw, 56px);
}

/* alt palette: graphite / parchment (deeper) */
.palette-oxford {
  --ink: #08080A;
  --paper: #ECE6D7;
  --paper-2: #DED7C4;
  --rule: rgba(8, 8, 10, 0.26);
  --rule-soft: rgba(8, 8, 10, 0.12);
  --accent: #4A1A22;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

/* ---------- Skip-to-content link ---------- */
.skip-link {
  position: absolute;
  left: 12px; top: 12px;
  z-index: 1000;
  padding: 12px 18px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-150%);
  transition: transform 200ms ease;
}
.skip-link:focus {
  transform: translateY(0);
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ---------- Universal focus-visible ---------- */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 1px;
}
.sec--ink :focus-visible,
.utility :focus-visible,
.footer :focus-visible {
  outline-color: var(--paper);
}
.field-input:focus-visible {
  outline: none;
}
button:focus-visible,
a:focus-visible {
  outline-offset: 4px;
}

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 15.5px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv11", "tnum";
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { background: none; border: none; color: inherit; font: inherit; cursor: pointer; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ------------ atomic type ------------ */

.mono {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  font-feature-settings: "tnum", "zero";
}
.mono--dim { color: var(--muted); }
.sec--ink .mono--dim { color: var(--muted-dark); }

/* SR-only utility */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap; border: 0;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

.reveal {
  opacity: 0; transform: translateY(10px);
  transition: opacity 800ms cubic-bezier(.2,.7,.2,1), transform 800ms cubic-bezier(.2,.7,.2,1);
}
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

.display {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.018em;
  font-size: clamp(48px, 7vw, 96px);
  color: var(--ink);
  text-wrap: balance;
}
.display-line { display: block; }
.display-line--muted { color: var(--muted); font-style: italic; font-weight: 400; }

.display-num {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.01em;
  font-size: clamp(32px, 3.6vw, 52px);
  line-height: 1;
  font-feature-settings: "tnum", "lnum";
}
.display-num--ghost { color: var(--muted); opacity: 0.5; }

/* ------------ Top utility strip + Nav ------------ */

.utility {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  border-bottom: 1px solid var(--rule-dark-soft);
  position: sticky; top: 0; z-index: 51;
}
/* must equal the sticky .utility strip's rendered height, or they overlap/gap on scroll */
.nav { top: 48px; }
@media (max-width: 940px) {
  .utility { position: relative; }
  .nav { top: 0; }
}
.utility-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 9px var(--gutter);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  flex-wrap: wrap;
}
.utility-row { display: inline-flex; gap: 22px; align-items: center; color: rgba(242,238,230,0.82); }
.utility-row > span:not(:last-child)::after {
  content: "·"; margin-left: 22px; opacity: 0.5;
}
.utility-row span { display: inline-flex; align-items: center; }
/* city + time on top, country in small type underneath */
.utility-row .utility-office { flex-direction: column; align-items: flex-start; gap: 2px; }
.utility-country {
  font-size: 9px; line-height: 1.2; letter-spacing: 0.1em; font-weight: 400;
  opacity: 0.55;
}

.nav {
  position: sticky;
  z-index: 50;
  padding: 0;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  transition: padding 240ms ease;
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px var(--gutter);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
}
.brand {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--serif); font-weight: 400;
  letter-spacing: 0.14em;
  font-size: 14px;
  text-transform: uppercase;
}
.brand-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px;
  border: 1px solid var(--ink);
  font-family: var(--serif);
  font-size: 14px; line-height: 1;
  font-weight: 400;
  letter-spacing: 0;
}
.brand-word { font-feature-settings: "ss01"; }
.nav-links {
  display: flex; justify-self: center; gap: clamp(18px, 2.4vw, 36px);
  font-family: var(--sans);
  font-size: 13px; font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.nav-links a {
  color: var(--ink);
  position: relative; padding: 6px 0;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform 280ms ease;
}
.nav-links a:hover::after { transform: scaleX(1); }
.lang-switch {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em;
  font-weight: 500;
}
.lang-switch button {
  padding: 4px 2px; color: var(--muted); transition: color 200ms;
}
.lang-switch button.is-on { color: var(--ink); }
.lang-switch--footer button { color: rgba(242,238,230,0.55); }
.lang-switch--footer button.is-on { color: var(--paper); }

.nav-burger {
  display: none;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  border: 1px solid var(--rule);
  background: transparent;
  cursor: pointer;
  position: relative;
}
.nav-burger-bars { display: block; width: 18px; height: 12px; position: relative; }
.nav-burger-bars::before, .nav-burger-bars::after, .nav-burger-bars span {
  content: ""; position: absolute; left: 0; right: 0; height: 1.5px;
  background: var(--ink); transition: transform 240ms ease, top 240ms ease, opacity 200ms;
}
.nav-burger-bars::before { top: 0; }
.nav-burger-bars span { top: 5px; }
.nav-burger-bars::after { top: 10px; }
.nav-burger[aria-expanded="true"] .nav-burger-bars::before { top: 5px; transform: rotate(45deg); }
.nav-burger[aria-expanded="true"] .nav-burger-bars span { opacity: 0; }
.nav-burger[aria-expanded="true"] .nav-burger-bars::after { top: 5px; transform: rotate(-45deg); }

.nav-mobile {
  position: fixed;
  top: 67px; left: 0; right: 0; bottom: 0;
  background: var(--paper);
  z-index: 49;
  padding: clamp(28px, 4vh, 48px) var(--gutter);
  display: none;
  flex-direction: column;
  gap: 4px;
  border-top: 1px solid var(--rule);
  overflow-y: auto;
}
.nav-mobile.is-open { display: flex; }
.nav-mobile a {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 5vw, 40px);
  letter-spacing: -0.01em;
  line-height: 1.1;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule-soft);
  color: var(--ink);
  display: flex; justify-content: space-between; align-items: center;
}
.nav-mobile a .arrow {
  font-family: var(--mono); font-size: 16px;
  color: var(--accent);
}

@media (max-width: 940px) {
  .nav-links { display: none; }
  .nav-inner { grid-template-columns: 1fr auto auto; gap: 16px; }
  .nav-burger { display: inline-flex; }
  .utility-inner { font-size: 9.5px; }
}

/* ------------ Hero / Masthead ------------ */

.hero {
  background: var(--paper);
  color: var(--ink);
  border-bottom: 1px solid var(--rule);
  padding: clamp(40px, 6vh, 64px) 0 0;
  position: relative;
  overflow: hidden;
}
.hero-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Hero grid: large display, photo always below */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  row-gap: clamp(32px, 4vh, 52px);
}
.hero-body { grid-column: 1; padding-bottom: 0; max-width: 1100px; }
.hero-side {
  grid-column: 1;
  min-height: clamp(320px, 46vh, 480px);
  display: flex;
  width: 100%;
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  margin-bottom: clamp(20px, 2.5vh, 28px);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.hero-eyebrow::before {
  content: ""; width: 32px; height: 1px; background: var(--accent);
}

.hero-sub {
  margin-top: clamp(24px, 3vh, 36px);
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(18px, 1.45vw, 21px);
  line-height: 1.45;
  color: var(--ink);
  max-width: 30em;
  text-wrap: pretty;
}

.hero-cta-row {
  margin-top: clamp(24px, 3vh, 36px);
  display: flex; align-items: center; gap: clamp(20px, 3vw, 36px);
  flex-wrap: wrap;
}

.btn-link {
  display: inline-flex; align-items: center; gap: 16px;
  padding: 14px 22px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  transition: background 220ms ease, gap 220ms ease;
}
.btn-link .arrow { transition: transform 220ms ease; }
.btn-link:hover { background: var(--accent); gap: 22px; }
.btn-link:hover .arrow { transform: translateX(4px); }

.btn-link--ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
}
.btn-link--ghost:hover { background: var(--ink); color: var(--paper); }

/* Photo figure */
.hero-figure {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: inherit;
  overflow: hidden;
  background: color-mix(in oklab, var(--ink), transparent 88%);
  border: 1px solid var(--ink);
}
.hero-figure-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  filter: saturate(0.85) contrast(1.04) brightness(0.93);
  display: block;
}
.hero-figure::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 0%, transparent 55%, color-mix(in oklab, var(--ink), transparent 60%) 100%);
  pointer-events: none;
}
.hero-figure-cap {
  position: absolute; left: 16px; right: 16px; bottom: 14px;
  display: flex; justify-content: space-between; gap: 16px;
  color: var(--paper);
  font-family: var(--mono);
  font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500;
  z-index: 1;
}

/* Trust strip under hero */
.hero-trust {
  margin-top: clamp(40px, 6vh, 64px);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--rule);
}
.hero-trust-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}
.hero-trust-cell {
  padding: clamp(22px, 3.2vh, 32px) clamp(16px, 2vw, 28px);
  border-right: 1px solid var(--rule);
  display: flex; flex-direction: column; gap: 8px;
}
.hero-trust-cell:last-child { border-right: none; }
.hero-trust-val {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 2.6vw, 38px);
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--ink);
  font-feature-settings: "tnum", "lnum";
}
.hero-trust-key {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  line-height: 1.4;
}

@media (max-width: 1000px) {
  .hero-side { min-height: 320px; }
  .hero-trust-row { grid-template-columns: 1fr 1fr; }
  .hero-trust-cell { border-right: none; border-bottom: 1px solid var(--rule); }
  .hero-trust-cell:nth-child(odd) { border-right: 1px solid var(--rule); }
}
@media (max-width: 560px) {
  .hero-trust-row { grid-template-columns: 1fr; }
  .hero-trust-cell { border-right: none !important; padding-left: 0 !important; padding-right: 0 !important; }
}

/* ------------ Sections ------------ */
.sec { padding: clamp(80px, 12vh, 140px) 0; position: relative; }
.sec--paper { background: var(--paper); color: var(--ink); }
.sec--ink {
  background: var(--ink);
  color: var(--paper);
  --accent: var(--accent-on-dark);
}
.sec--ink .sec-h2, .sec--ink .reality-title { color: var(--paper); }
.sec--ink .eyebrow { color: rgba(242,238,230,0.6); }
/* Keep button hover backgrounds in original deep claret for contrast on dark */
.sec--ink .btn-link:hover,
.sec--ink .contact-submit:hover { background: #6B1F2A; color: var(--paper); }

.sec-head {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(0, 2.6fr);
  gap: clamp(24px, 4vw, 80px);
  margin-bottom: clamp(56px, 8vh, 96px);
  align-items: start;
  padding-top: 18px;
  border-top: 1px solid var(--rule);
}
.sec--ink .sec-head { border-top-color: var(--rule-dark); }
.sec-head-meta {
  display: flex; flex-direction: column; gap: 6px;
}
.sec-h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(34px, 4.4vw, 60px);
  line-height: 1.04;
  letter-spacing: -0.018em;
  text-wrap: balance;
  color: var(--ink);
}
.sec-h2 em {
  font-style: italic;
  color: var(--muted);
}
.sec-lede {
  margin-top: clamp(20px, 3vh, 28px);
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.5;
  font-weight: 400;
  max-width: 70ch;
  color: var(--ink-2);
  text-wrap: pretty;
}
.sec--ink .sec-lede { color: rgba(242,238,230,0.86); }
@media (max-width: 760px) {
  .sec-head { grid-template-columns: 1fr; gap: 20px; }
}

/* ------------ Context / Stats ------------ */

.ctx-body {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(0, 2.6fr);
  gap: clamp(24px, 4vw, 80px);
  margin-bottom: clamp(56px, 8vh, 88px);
}
.ctx-body .lede {
  font-size: clamp(16px, 1.25vw, 19px);
  font-weight: 400; line-height: 1.55;
  max-width: 70ch;
  text-wrap: pretty;
  margin-bottom: 22px;
  color: var(--ink-2);
}
.ctx-body > *:first-child { grid-column: 1; font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); padding-top: 6px; }
.ctx-body > *:nth-child(2) { grid-column: 2; }
@media (max-width: 760px) {
  .ctx-body { grid-template-columns: 1fr; }
  .ctx-body > * { grid-column: 1 !important; }
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.stat {
  padding: clamp(28px, 4vh, 44px) clamp(20px, 2.4vw, 32px);
  border-right: 1px solid var(--rule);
  display: flex; flex-direction: column; gap: 12px;
  position: relative;
}
.stat:last-child { border-right: none; }
.stat-tag {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--accent); font-weight: 600;
}
.stat-num {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 4vw, 56px);
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--ink);
  font-feature-settings: "tnum", "lnum";
}
.stat-label {
  font-family: var(--sans); font-size: 13px; font-weight: 600;
  letter-spacing: 0.01em; color: var(--ink);
}
.stat-caption {
  font-size: 13.5px; color: var(--muted); line-height: 1.5;
  max-width: 32ch;
}
@media (max-width: 760px) {
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: none; border-bottom: 1px solid var(--rule); padding-left: 0; padding-right: 0; }
  .stat:last-child { border-bottom: none; }
}

/* ------------ Reality / Operating environment ------------ */

.reality-list { list-style: none; }
.reality-row {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: clamp(20px, 3vw, 56px);
  padding: clamp(24px, 3vh, 36px) 0;
  border-top: 1px solid var(--rule-dark);
}
.reality-list .reality-row:last-child { border-bottom: 1px solid var(--rule-dark); }
.reality-no {
  color: var(--accent);
  padding-top: 6px;
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  font-weight: 600;
}
.reality-text {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: clamp(16px, 3vw, 48px);
  align-items: start;
}
.reality-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(20px, 1.85vw, 28px);
  letter-spacing: -0.005em;
  line-height: 1.15;
  color: var(--paper);
}
.reality-body {
  font-size: clamp(14.5px, 1.05vw, 16.5px);
  line-height: 1.6;
  color: rgba(242,238,230,0.88);
  max-width: 64ch;
  font-weight: 400;
}
@media (max-width: 760px) {
  .reality-row { grid-template-columns: 1fr; gap: 12px; }
  .reality-text { grid-template-columns: 1fr; gap: 8px; }
}

/* ------------ Approach / Workstreams ------------ */

.timeline { list-style: none; }
.timeline-row {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 160px;
  gap: clamp(20px, 3vw, 56px);
  padding: clamp(28px, 4vh, 44px) 0;
  border-top: 1px solid var(--rule);
  align-items: start;
}
.timeline-row:last-child { border-bottom: 1px solid var(--rule); }
.timeline-no {
  padding-top: 8px;
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.16em;
  font-weight: 600; color: var(--accent);
}
.timeline-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(22px, 2.1vw, 30px);
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin-bottom: 10px;
}
.timeline-text {
  font-size: clamp(14.5px, 1.05vw, 16.5px);
  font-weight: 400;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 70ch;
  text-wrap: pretty;
}
.timeline-when {
  padding-top: 12px;
  color: var(--muted);
  text-align: right;
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  font-weight: 500;
}
.timeline-artifact {
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid var(--rule-soft);
  display: flex; flex-wrap: wrap; gap: 12px; align-items: baseline;
  font-size: 13.5px; line-height: 1.5;
}
.timeline-artifact-label {
  font-family: var(--mono);
  font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase;
  font-weight: 600; color: var(--accent); white-space: nowrap;
}
.timeline-artifact-text { color: var(--ink); font-weight: 500; }
@media (max-width: 760px) {
  .timeline-row { grid-template-columns: 1fr; gap: 8px; }
  .timeline-when { text-align: left; padding-top: 4px; }
}

/* Approach (grid) */
.approach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--rule);
}
.ag-card {
  padding: clamp(24px, 3.5vh, 36px);
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  display: flex; flex-direction: column; gap: 12px;
  min-height: clamp(260px, 30vh, 340px);
  background: var(--paper);
}
.ag-num {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em;
  font-weight: 600; color: var(--accent);
  margin-bottom: 6px;
}
.ag-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(19px, 1.5vw, 24px);
  letter-spacing: -0.01em;
  line-height: 1.15;
}
.ag-body { font-size: 14.5px; line-height: 1.6; color: var(--ink-2); font-weight: 400; }
.ag-when {
  color: var(--muted); margin-top: auto;
  font-family: var(--mono); font-size: 10.5px;
  letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500;
}
.ag-artifact {
  margin-top: 4px;
  padding-top: 10px;
  border-top: 1px solid var(--rule-soft);
  display: flex; flex-direction: column; gap: 4px;
  font-size: 13px; line-height: 1.45;
}
.ag-artifact-label {
  font-family: var(--mono);
  font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  font-weight: 600; color: var(--accent);
}
.ag-artifact-text { color: var(--ink); font-weight: 500; }
@media (max-width: 900px) { .approach-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .approach-grid { grid-template-columns: 1fr; } }

/* ------------ Industries / Sectors ------------ */

.ind-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--ink);
}
.ind-card {
  padding: clamp(28px, 4vh, 44px) clamp(20px, 2.4vw, 36px) clamp(28px, 4vh, 44px) 0;
  border-bottom: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: clamp(16px, 2vw, 32px);
  align-items: start;
}
.ind-card:nth-child(odd) { padding-right: clamp(28px, 3vw, 56px); border-right: 1px solid var(--rule); }
.ind-card:nth-child(even) { padding-left: clamp(20px, 2.4vw, 40px); }
.ind-num {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent); font-weight: 600;
  padding-top: 6px;
}
.ind-title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(20px, 1.8vw, 26px);
  letter-spacing: -0.005em;
  line-height: 1.15;
  margin-bottom: 10px;
}
.ind-body {
  font-size: clamp(14.5px, 1.05vw, 16px);
  line-height: 1.6; font-weight: 400;
  max-width: 50ch;
  color: var(--ink-2);
}
.ind-foot {
  margin-top: clamp(20px, 3vh, 32px);
  color: var(--muted);
}
@media (max-width: 760px) {
  .ind-grid { grid-template-columns: 1fr; }
  .ind-card { padding-left: 0 !important; padding-right: 0 !important; border-right: none !important; }
}

/* ------------ Team / Partners ------------ */

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 3.5vw, 56px);
}
.team-card {
  display: flex; flex-direction: column; gap: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--ink);
}
.team-portrait {
  background: var(--paper-2);
  aspect-ratio: 4 / 5;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--rule);
}
.team-portrait::after {
  content: attr(data-label);
  position: absolute; left: 12px; bottom: 10px;
  font-family: var(--mono); font-size: 9.5px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted);
}
.team-portrait::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent 0 5px, rgba(11,11,12,0.08) 5px 6px);
}
.team-meta { display: flex; flex-direction: column; gap: 6px; }
.team-name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(20px, 1.6vw, 25px);
  letter-spacing: -0.005em;
}
.team-role {
  color: var(--muted);
}
.team-bio {
  font-size: 14.5px; line-height: 1.6;
  color: var(--ink-2); font-weight: 400;
  max-width: 38ch;
}
.team-langs {
  color: var(--accent);
  margin-top: 4px;
  font-weight: 600;
}
@media (max-width: 900px) { .team-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .team-grid { grid-template-columns: 1fr; } }

/* ------------ Cases / Selected mandates (tombstone style) ------------ */

.tombstones {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--rule);
}
.tombstone {
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: clamp(28px, 4vh, 40px);
  display: flex; flex-direction: column; gap: 16px;
  background: var(--paper);
  min-height: clamp(360px, 44vh, 460px);
}
.tomb-head {
  display: flex; justify-content: space-between; align-items: baseline;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 14px;
}
.tomb-tag {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.16em; text-transform: uppercase;
  font-weight: 600;
  color: var(--accent);
}
.tomb-year {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.14em; color: var(--muted);
}
.tomb-value {
  font-family: var(--serif);
  font-size: clamp(36px, 3.4vw, 48px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--ink);
  font-feature-settings: "tnum", "lnum";
}
.tomb-value-cap {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); margin-top: 6px;
}
.tomb-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(17px, 1.35vw, 21px);
  line-height: 1.25;
  color: var(--ink);
  text-wrap: balance;
}
.tomb-meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: auto;
  border-top: 1px solid var(--rule);
}
.tomb-meta-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 14px;
  padding: 9px 0;
  border-bottom: 1px dotted var(--rule);
  font-size: 13.5px;
}
.tomb-meta-row:last-child { border-bottom: none; }
.tomb-meta-row dt {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); font-weight: 500;
  padding-top: 2px;
}
.tomb-meta-row dd {
  color: var(--ink); font-weight: 500;
}
.tomb-result {
  font-size: 13.5px; line-height: 1.55;
  color: var(--ink-2);
}
.tomb-result strong { color: var(--accent); font-weight: 600; }
.tomb-apps {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 6px;
  font-size: 13px; line-height: 1.45; color: var(--ink-2);
}
.tomb-apps li { position: relative; padding-left: 16px; }
.tomb-apps li::before {
  content: "—"; position: absolute; left: 0;
  color: var(--accent); font-weight: 600;
}

@media (max-width: 1000px) { .tombstones { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .tombstones { grid-template-columns: 1fr; } }

/* Footnote / Selected disclosure under tombstones */
.cases-foot {
  margin-top: clamp(20px, 3vh, 32px);
  font-family: var(--mono); font-size: 10.5px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted);
  display: flex; gap: 18px; flex-wrap: wrap;
  align-items: center;
}
.cases-foot::before {
  content: ""; width: 32px; height: 1px; background: var(--rule);
}

/* ------------ FAQ ------------ */
.faq-list { list-style: none; border-top: 1px solid var(--ink); }
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-q {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 32px;
  gap: clamp(16px, 2.5vw, 32px);
  align-items: baseline;
  width: 100%;
  padding: clamp(20px, 3vh, 28px) 0;
  text-align: left;
  cursor: pointer;
  transition: padding 200ms ease;
}
.faq-q-no {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent); font-weight: 600;
  padding-top: 6px;
}
.faq-q-text {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(17px, 1.4vw, 22px);
  letter-spacing: -0.005em;
  line-height: 1.3;
  text-wrap: balance;
}
.faq-q-icon {
  font-family: var(--serif); font-weight: 300;
  font-size: 22px;
  color: var(--ink);
  justify-self: end;
  transition: transform 280ms ease;
  line-height: 1;
}
.faq-item.is-open .faq-q-icon { transform: rotate(180deg); }
.faq-a-wrap {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows 380ms cubic-bezier(.2,.7,.2,1);
}
.faq-a-inner { overflow: hidden; }
.faq-a {
  padding: 0 0 clamp(20px, 3vh, 28px) calc(56px + clamp(16px, 2.5vw, 32px));
  font-size: clamp(14.5px, 1.05vw, 16px);
  line-height: 1.65;
  color: var(--ink-2);
  font-weight: 400;
  max-width: 70ch;
  text-wrap: pretty;
}
@media (max-width: 600px) {
  .faq-q { grid-template-columns: 36px minmax(0, 1fr) 24px; }
  .faq-a { padding-left: calc(36px + clamp(16px, 2.5vw, 32px)); }
}

/* ------------ Contact ------------ */
.sec--contact { padding-top: clamp(96px, 14vh, 160px); padding-bottom: clamp(96px, 14vh, 160px); }
.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 5vw, 88px);
  align-items: start;
  border-top: 1px solid var(--rule-dark);
  padding-top: clamp(40px, 5vh, 64px);
}
.contact-h1 {
  margin-top: 22px;
  font-size: clamp(44px, 5.6vw, 80px);
  color: var(--paper);
}
.contact-h2 {
  margin-top: 22px;
  font-family: var(--serif);
  font-weight: 400; font-style: italic;
  font-size: clamp(18px, 1.5vw, 22px);
  color: rgba(242,238,230,0.78);
  line-height: 1.4;
  text-wrap: balance;
  max-width: 30ch;
}
.contact-lede {
  margin-top: 22px;
  font-size: clamp(14.5px, 1.1vw, 16px);
  line-height: 1.6;
  color: rgba(242,238,230,0.7);
  max-width: 50ch;
  font-weight: 400;
}
.contact-direct {
  margin-top: 36px;
  font-family: var(--mono); font-size: 10.5px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(242,238,230,0.55);
}
.contact-direct a { color: var(--paper); border-bottom: 1px solid var(--accent); padding-bottom: 1px; }
.contact-form { display: flex; flex-direction: column; gap: 0; position: relative; }

/* Privacy consent checkbox */
.consent {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 14px;
  align-items: start;
  margin-top: 28px;
  cursor: pointer;
  user-select: none;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(242,238,230,0.7);
  font-weight: 400;
}
.consent-input {
  position: absolute;
  width: 1px; height: 1px;
  opacity: 0;
  pointer-events: none;
}
.consent-box {
  width: 16px; height: 16px;
  border: 1px solid rgba(242,238,230,0.4);
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 3px;
  position: relative;
  transition: border-color 200ms ease, background 200ms ease;
}
.consent-box::after {
  content: "";
  width: 8px; height: 4px;
  border-left: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  transform: translateY(-1px) rotate(-45deg) scale(0);
  transition: transform 180ms cubic-bezier(.2,.7,.2,1);
}
.consent-input:checked + .consent-box {
  background: var(--paper);
  border-color: var(--paper);
}
.consent-input:checked + .consent-box::after { transform: translateY(-1px) rotate(-45deg) scale(1); }
.consent-input:focus-visible + .consent-box {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.consent.is-error .consent-box { border-color: #C26B5C; }
.consent-link {
  color: var(--paper);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 1px;
}
.consent-link:hover { border-bottom-color: var(--paper); }

.contact-err {
  margin-top: 16px;
  padding: 12px 14px;
  border: 1px solid #C26B5C;
  border-left-width: 2px;
  color: #E89C8E;
  background: rgba(194,107,92,0.06);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  line-height: 1.5;
}

.contact-submit:disabled {
  opacity: 0.6;
  cursor: progress;
}
.contact-submit:disabled:hover {
  gap: 14px;
  background: var(--paper);
  color: var(--ink);
}

.field {
  display: flex; flex-direction: column;
  position: relative;
  padding: 22px 0 14px;
  border-bottom: 1px solid var(--rule-dark);
  transition: border-color 220ms ease;
}
.field-label {
  color: rgba(242,238,230,0.55);
  margin-bottom: 8px;
  transition: color 220ms ease;
  font-family: var(--mono);
  font-size: 10.5px; letter-spacing: 0.16em;
  text-transform: uppercase; font-weight: 500;
}
.field-input {
  background: transparent; border: none; color: var(--paper);
  font-family: var(--sans);
  font-size: 16px; font-weight: 400; line-height: 1.5;
  padding: 0;
  outline: none;
  resize: none;
  width: 100%;
}
.field-input::placeholder { color: rgba(242,238,230,0.35); }
.field.is-focus { border-bottom-color: var(--accent); }
.field.is-focus .field-label { color: var(--accent); }
.field.is-error { border-bottom-color: #C26B5C; }
.field.is-error .field-label { color: #C26B5C; }

.contact-submit {
  margin-top: 32px;
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 14px;
  padding: 14px 22px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 12.5px; letter-spacing: 0.16em; text-transform: uppercase;
  font-weight: 600;
  transition: gap 220ms ease, background 220ms ease, color 220ms ease;
}
.contact-submit:hover { gap: 22px; background: var(--accent); color: var(--paper); }

.contact-sent {
  display: flex; flex-direction: column; gap: 16px;
  padding: 48px 0;
  border-top: 1px solid var(--rule-dark);
  border-bottom: 1px solid var(--rule-dark);
}
.contact-sent-mark {
  color: var(--accent); font-size: 12px;
  font-family: var(--mono); letter-spacing: 0.16em;
}
.contact-sent-h {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(26px, 2.6vw, 36px);
  color: var(--paper);
  letter-spacing: -0.01em;
}
.contact-sent-p { color: rgba(242,238,230,0.7); max-width: 40ch; font-weight: 400; }

@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }

/* ------------ Footer ------------ */
.footer {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(48px, 7vh, 72px) 0 clamp(20px, 3vh, 32px);
  border-top: 1px solid var(--rule-dark);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.4fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
  padding-bottom: clamp(36px, 5vh, 56px);
  border-bottom: 1px solid var(--rule-dark);
}
.footer-tag {
  color: rgba(242,238,230,0.5);
  margin-top: 14px;
  max-width: 32ch;
  line-height: 1.5;
}
.footer-addrs {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
  font-size: 13px;
}
.footer-addr {
  display: flex; flex-direction: column; gap: 4px;
  line-height: 1.45;
  color: rgba(242,238,230,0.85);
  padding-top: 12px;
  border-top: 1px solid var(--rule-dark-soft);
}
.footer-addr-name {
  font-family: var(--serif);
  font-size: 14px;
  font-style: italic;
  color: var(--paper);
}
.footer-addr-country {
  font-size: 11px;
  line-height: 1.3;
  color: rgba(242,238,230,0.5);
}
.footer-links {
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
  font-size: 13px;
}
.footer-links a {
  color: rgba(242,238,230,0.85);
  border-bottom: 1px solid transparent;
  transition: border-color 220ms;
}
.footer-links a:hover { border-bottom-color: currentColor; }

.footer-disclosure {
  margin-top: clamp(28px, 4vh, 40px);
  padding-top: 18px;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: clamp(16px, 3vw, 40px);
  font-family: var(--mono);
  font-size: 10px; letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(242,238,230,0.45);
  line-height: 1.7;
}
.footer-disclosure p { max-width: 90ch; }
.footer-legal {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  align-items: center;
  margin-top: 18px;
}
.footer-legal-links { display: inline-flex; gap: 22px; }

@media (max-width: 880px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-addrs { grid-template-columns: 1fr; }
  .footer-disclosure { grid-template-columns: 1fr; }
}

/* ------------ Tweaks panel polish ------------ */
.tweaks-panel { font-family: var(--sans) !important; }

/* ============================================================
   RTL (Arabic) — scoped override layer. Only matches when the
   document is <html dir="rtl"> (i.e. /ar/). UA/EN never match.
   First pass; refine against the live preview in Task 7.
   Values are hand-mirrored from the originals above — keep in sync if those change.
   ============================================================ */
:root { --font-ar: "IBM Plex Sans Arabic"; }

[dir="rtl"] body,
[dir="rtl"] .sec-h2,
[dir="rtl"] .sec-lede,
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3,
[dir="rtl"] p, [dir="rtl"] a, [dir="rtl"] button, [dir="rtl"] input, [dir="rtl"] textarea, [dir="rtl"] li, [dir="rtl"] span, [dir="rtl"] div {
  font-family: var(--font-ar), var(--sans), system-ui, sans-serif;
}
/* Keep the brand monogram/wordmark and mono tickers in the Latin faces */
[dir="rtl"] .brand-mark,
[dir="rtl"] .brand-word,
[dir="rtl"] .mono,
[dir="rtl"] [class*="mono"] {
  font-family: var(--mono), ui-monospace, monospace;
}

/* Skip-link: top-left -> top-right */
[dir="rtl"] .skip-link { left: auto; right: 12px; }

/* Utility strip separator: margin-left -> margin-right */
[dir="rtl"] .utility-row > span:not(:last-child)::after { margin-left: 0; margin-right: 22px; }
/* Arabic joins letters — tracking would pull them apart */
[dir="rtl"] .utility-country { letter-spacing: 0; }

/* Arrow glyphs (→) mirror to point with reading direction */
[dir="rtl"] .arrow { display: inline-block; transform: scaleX(-1); }
[dir="rtl"] .btn-link:hover .arrow { transform: scaleX(-1) translateX(4px); }
[dir="rtl"] .tomb-result strong { display: inline-block; transform: scaleX(-1); }

/* Nav-link hover underline grows from the reading-start (right) edge */
[dir="rtl"] .nav-links a::after { transform-origin: right; }

/* Hero trust cells: divider border-right -> border-left */
[dir="rtl"] .hero-trust-cell { border-right: none; border-left: 1px solid var(--rule); }
[dir="rtl"] .hero-trust-cell:last-child { border-left: none; }

/* Context stats: divider border-right -> border-left */
[dir="rtl"] .stat { border-right: none; border-left: 1px solid var(--rule); }
[dir="rtl"] .stat:last-child { border-left: none; }

/* Industries cards: padding/border side swap */
[dir="rtl"] .ind-card:nth-child(odd) { padding-right: 0; border-right: none; padding-left: clamp(28px, 3vw, 56px); border-left: 1px solid var(--rule); }
[dir="rtl"] .ind-card:nth-child(even) { padding-left: 0; padding-right: clamp(20px, 2.4vw, 40px); }

/* Cases / tombstone grid: container + cell border side swap */
[dir="rtl"] .tombstones { border-left: none; border-right: 1px solid var(--rule); }
[dir="rtl"] .tombstone { border-right: none; border-left: 1px solid var(--rule); }
[dir="rtl"] .tomb-apps li { padding-left: 0; padding-right: 16px; }
[dir="rtl"] .tomb-apps li::before { left: auto; right: 0; }

/* FAQ question button: left-aligned -> right-aligned */
[dir="rtl"] .faq-q { text-align: right; }

/* FAQ answer indent: left column offset -> right (≤600px override below wins for mobile) */
[dir="rtl"] .faq-a { padding-left: 0; padding-right: calc(56px + clamp(16px, 2.5vw, 32px)); }

/* Contact error accent bar: left edge -> right edge */
[dir="rtl"] .contact-err { border-left-width: 1px; border-right-width: 2px; }

/* Responsive divider swaps (match the existing @media breakpoints) */
@media (max-width: 760px) {
  [dir="rtl"] .hero-trust-cell { border-left: none; }
  [dir="rtl"] .hero-trust-cell:nth-child(odd) { border-left: 1px solid var(--rule); border-right: none; }
  [dir="rtl"] .stat { border-left: none; }
  [dir="rtl"] .ind-card { padding-left: 0 !important; padding-right: 0 !important; border-left: none !important; }
}
@media (max-width: 600px) {
  [dir="rtl"] .faq-a { padding-left: 0; padding-right: calc(36px + clamp(16px, 2.5vw, 32px)); }
}

/* ------------ Verax practice page ------------ */

/* Sub-brand mark in the Pharos masthead and footer. */
.brand-sub {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--accent);
  padding-left: 10px;
  margin-left: 10px;
  border-left: 1px solid var(--rule);
}
.footer .brand-sub { color: var(--accent-on-dark); border-left-color: var(--rule-dark); }
[dir="rtl"] .brand-sub {
  padding-left: 0; margin-left: 0;
  padding-right: 10px; margin-right: 10px;
  border-left: none; border-right: 1px solid var(--rule);
}
[dir="rtl"] .footer .brand-sub { border-right-color: var(--rule-dark); }

/* Hero: four ticker cells instead of the main page's five. */
.hero-trust-row--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 760px) {
  .hero-trust-row--4 { grid-template-columns: repeat(2, 1fr); }
}

.verax-wordmark {
  font-family: var(--serif);
  font-size: clamp(30px, 3.4vw, 46px);
  letter-spacing: 0.22em;
  line-height: 1;
  color: var(--ink);
  margin-bottom: clamp(18px, 2.4vh, 26px);
}

/* Service block: three parts under one section head. */
.svc-part { margin-top: clamp(40px, 6vh, 72px); }
.svc-part-label {
  color: var(--accent);
  padding-bottom: 10px;
  margin-bottom: clamp(20px, 3vh, 28px);
  border-bottom: 1px solid var(--rule);
}
.svc-highlight {
  margin-top: clamp(36px, 5vh, 56px);
  padding: clamp(22px, 3vh, 32px) 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 30px);
  line-height: 1.2;
  color: var(--ink);
}
.svc .stats { margin-top: clamp(28px, 4vh, 44px); }

/* The process list reuses .timeline, which reserves a third column for the
   "when" value. Deck steps have no dates, so collapse to two columns. */
.timeline--compact .timeline-row { grid-template-columns: 56px minmax(0, 1fr); }
@media (max-width: 760px) {
  .timeline--compact .timeline-row { grid-template-columns: 1fr; }
}

/* .reality-* is written for the ink section. On paper, invert the palette. */
.reality-list--paper .reality-row { border-top-color: var(--rule); }
.reality-list--paper .reality-row:last-child { border-bottom-color: var(--rule); }
.reality-list--paper .reality-title { color: var(--ink); }
.reality-list--paper .reality-body { color: var(--ink-2); }

/* ------------ Verax cross-link on the main page ------------ */

/* Nav item that leaves the page. RTL mirroring comes from the shared
   [dir="rtl"] .arrow rule — deliberately not repeated here. */
/* margin-inline-start, not margin-left: in RTL the arrow paints to the left of
   the label, so a physical margin would open a gap on the wrong side and glue
   the glyph to the word. */
.nav-links a .nav-ext { margin-inline-start: 6px; font-size: 11px; }
.nav-mobile a .nav-ext { color: var(--accent); }

/* Section (EN / AR) — sits on the ink band between the capability
   catalogue and the project tombstones. */
.vx-cross {
  display: grid;
  gap: clamp(20px, 3vh, 28px);
  justify-items: start;
  max-width: 68ch;
}
.vx-cross-body {
  font-size: clamp(15px, 1.15vw, 18px);
  line-height: 1.6;
  color: var(--muted-dark);
  text-wrap: pretty;
}

/* Compact note (UA) — a listing, not a pitch: rule above, no section number,
   no display type. */
.vx-note-sec { padding-top: 0; }
.vx-note {
  border-top: 1px solid var(--rule);
  padding-top: clamp(24px, 4vh, 40px);
  max-width: 72ch;
}
.vx-note-label { color: var(--accent); margin-bottom: 12px; }
.vx-note-h {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(20px, 1.9vw, 27px);
  letter-spacing: -0.005em;
  line-height: 1.15;
  margin-bottom: 10px;
}
.vx-note-body {
  font-size: clamp(14.5px, 1.05vw, 16.5px);
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 64ch;
  margin-bottom: 16px;
  text-wrap: pretty;
}
.vx-note-link {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  color: var(--accent);
  font-weight: 500;
}
.vx-note-link:hover { gap: 14px; }
/* ------------ Verax hero mark ------------ */

/* The Verax hero has no photograph, so the display type is given a second
   column and a small mark fills the margin beside it.
   96 + 24 is the largest that column can be without narrowing .hero-body
   below the width its display type needs: .container caps at 1320 and the
   body at 1100, so the free right margin is ~108px however wide the screen
   gets. Anything larger costs the masthead a line. */
.hero-grid--mark {
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 24px;
  align-items: start;
}
.verax-mark-col { margin-top: clamp(28px, 4vh, 56px); }

.verax-mark {
  display: block;
  width: 96px;
  height: auto;
  fill: none;
  stroke-linecap: butt;
}
.vm-frame { stroke: var(--ink); stroke-width: 1; }
.vm-fold  { stroke: var(--ink); stroke-width: 1; opacity: 0.4; }
.vm-rules { stroke: var(--ink); stroke-width: 1.5; opacity: 0.42; }
.vm-flag  { stroke: var(--accent); stroke-width: 3; }

/* Grid flips the mark into the left margin under RTL; mirror the glyph too so
   the folded corner keeps pointing away from the text rather than into it.
   The mark carries no text, so unlike a technical drawing it mirrors safely. */
[dir="rtl"] .verax-mark { transform: scaleX(-1); }

/* Below the two-column breakpoint the mark would be orphaned under the CTA
   row; the hero is dense enough on a phone to need no filler. */
@media (max-width: 900px) {
  .hero-grid--mark { grid-template-columns: 1fr; }
  .verax-mark-col { display: none; }
}

/* ------------ Coverage card icons ------------ */

/* Opt-in via the Industries `icons` prop — Verax only. .ind-mark keeps the
   number and the glyph together in the existing 64px first column. */
.ind-icon {
  display: block;
  margin-top: 14px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 1;
  stroke-linecap: square;
  opacity: 0.72;
}
.ind-icon-fill { fill: var(--ink); stroke: none; }
