/*
Theme Name: HOC
Theme URI: https://hoc.ae
Author: HOC
Author URI: https://hoc.ae
Description: Custom institutional theme for HOC — a GCC-native, Arabic-first strategic communications institution. Built around an editorial typography system (Fraunces + Inter), restrained visual language, full bilingual support (English / Arabic RTL), and schema.org-ready semantic structure. Designed for performance, GEO/AI visibility, and long-horizon institutional publishing.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 8.0
License: Proprietary
License URI: https://hoc.ae
Text Domain: hoc
Tags: editorial, institutional, bilingual, rtl-language-support
*/

/* ============================================================================
   HOC DESIGN SYSTEM — preserved verbatim from the approved HTML prototypes.
   Visual language: editorial, calm, institutional. No agency tropes.
   ============================================================================ */

:root {
  /* Ink scale */
  --ink: #0E0E10;
  --ink-2: #1F1F22;
  --ink-3: #414042;
  --grey-1: #6D6E71;
  --grey-2: #A6A8AB;
  --grey-3: #D0D2D3;

  /* Paper scale */
  --paper: #FAFAF7;
  --paper-2: #F2F2EE;

  /* Brand red — sparingly */
  --red: #B11226;
  --red-deep: #7A0D1A;

  /* Typography */
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;

  /* Layout */
  --maxw: 1280px;
  --pad: clamp(20px, 4vw, 64px);
}

* , *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
::selection { background: var(--red); color: var(--paper); }
img { max-width: 100%; height: auto; display: block; }

/* DOT DISCIPLINE — preserved.
   .dot     — inline punctuation only, inside the wordmark
   .dot-sm  — system motif, 5–6 px, only as eyebrow bullet / hover indicator
   No standalone large dots. The dot is punctuation, not iconography. */
.dot {
  display: inline-block;
  width: .40em; height: .40em;
  border-radius: 50%;
  background: var(--red);
  vertical-align: .05em;
}
.dot-sm {
  display: inline-block;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--red);
  vertical-align: middle;
}

/* ============================================================================
   HEADER · SITE NAV
   ============================================================================ */
header.site {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 250, 247, .94);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid rgba(14, 14, 16, .06);
}
header.site .row {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 18px var(--pad);
  display: flex; align-items: center; gap: 32px;
}
.brand {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 26px;
  letter-spacing: -.01em;
  color: var(--ink);
  display: flex; align-items: baseline; gap: 1px;
}
.nav {
  display: flex; gap: 24px;
  margin-inline-start: auto;
  align-items: center;
  list-style: none;
  padding: 0;
  margin-block: 0;
}
.nav li {
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav a {
  font-size: 14.5px;
  color: var(--ink-2);
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: border-color .18s, color .18s;
}
.nav a:hover,
.nav a.active,
.nav .current-menu-item > a,
.nav .current_page_item > a {
  border-bottom-color: var(--red);
  color: var(--ink);
}
.lang {
  display: flex; gap: 8px; align-items: center;
  padding-inline-start: 24px;
  border-inline-start: 1px solid rgba(14, 14, 16, .1);
  font-size: 13px; letter-spacing: .04em;
}
.lang a, .lang button {
  background: none; border: 0;
  font: inherit;
  color: var(--grey-1);
  cursor: pointer;
  padding: 4px 6px;
  letter-spacing: .06em;
}
.lang a.active, .lang button.active { color: var(--ink); font-weight: 600; }
.lang .sep { color: var(--grey-2); }

/* ============================================================================
   BREADCRUMB
   ============================================================================ */
.breadcrumb {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 18px var(--pad) 0;
  font-size: 13px;
  color: var(--grey-1);
  display: flex; gap: 8px; align-items: center;
}
.breadcrumb a { color: var(--grey-1); }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb .here { color: var(--ink); font-weight: 500; }
.breadcrumb .sep { color: var(--grey-2); }

/* ============================================================================
   EYEBROW / SECTION LABEL
   ============================================================================ */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--red); font-weight: 600;
  margin-bottom: 18px;
}
.section-label {
  font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--grey-1); font-weight: 600;
  margin-bottom: 24px;
  display: inline-flex; align-items: center; gap: 10px;
}
.section-label .dot-sm { width: 5px; height: 5px; }

/* ============================================================================
   TYPOGRAPHY — display + body
   ============================================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -.02em;
  color: var(--ink);
  margin: 0 0 .6em;
}
h1 { font-size: clamp(40px, 5.4vw, 68px); line-height: 1.06; font-weight: 300; }
h2 { font-size: clamp(26px, 3vw, 36px); line-height: 1.18; }
h3 { font-size: clamp(22px, 2.4vw, 28px); line-height: 1.2; font-weight: 500; }
h4 { font-size: 20px; line-height: 1.3; font-weight: 500; }
p  { margin: 0 0 1.2em; max-width: 64ch; }
.strap, .lede {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(19px, 1.8vw, 24px);
  line-height: 1.5;
  color: var(--ink-3);
  max-width: 62ch;
}

/* ============================================================================
   SECTIONS / CONTAINERS
   ============================================================================ */
section { padding: clamp(72px, 11vh, 128px) 0; }
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.section-alt {
  background: var(--paper-2);
  border-top: 1px solid rgba(14, 14, 16, .06);
  border-bottom: 1px solid rgba(14, 14, 16, .06);
}

/* ============================================================================
   BUTTONS
   ============================================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 26px;
  font-size: 14.5px; font-weight: 500;
  background: var(--ink); color: var(--paper);
  border: 0; cursor: pointer;
  transition: background .24s;
}
.btn:hover { background: var(--red); }
.btn .arrow { transition: transform .18s; }
.btn:hover .arrow { transform: translateX(4px); }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 26px;
  font-size: 14.5px; font-weight: 500;
  background: transparent; color: var(--ink);
  border: 1px solid var(--ink);
  transition: background .24s, color .24s;
}
.btn-secondary:hover { background: var(--ink); color: var(--paper); }
.quiet {
  font-size: 14.5px;
  color: var(--ink-2);
  border-bottom: 1px solid var(--red);
  padding-bottom: 2px;
}
.link-quiet {
  font-size: 15px;
  color: rgba(250, 250, 247, .72);
  border-bottom: 1px solid rgba(250, 250, 247, .22);
  padding-bottom: 2px;
}

/* ============================================================================
   PAGE-SPECIFIC COMPONENTS — service / industry / system detail pages
   Ported verbatim from the approved HTML prototypes.
   ============================================================================ */

/* --- Service / Industry hero block --- */
.svc-hero {
  background: var(--paper);
  padding: 56px 0 72px;
  border-bottom: 1px solid rgba(14, 14, 16, .08);
}
.svc-hero .container { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }
.svc-hero h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(40px, 5.4vw, 68px);
  line-height: 1.06;
  letter-spacing: -.025em;
  margin: 0 0 22px;
  max-width: 22ch;
  color: var(--ink);
}
.svc-hero .strap {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(19px, 1.8vw, 24px);
  line-height: 1.5;
  color: var(--ink-3);
  max-width: 62ch;
  margin: 0 0 36px;
}
.svc-hero .actions {
  display: flex; gap: 24px;
  align-items: center; flex-wrap: wrap;
}

/* --- Editorial body: two-column with sticky H2 in the left rail --- */
.editorial-block {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  align-items: start;
  margin-bottom: 80px;
}
.editorial-block:last-child { margin-bottom: 0; }
.editorial-block .left { position: sticky; top: 96px; }
.editorial-block h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.18;
  letter-spacing: -.02em;
  margin: 0;
  max-width: 18ch;
  color: var(--ink);
}
.editorial-block .right p {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink-2);
  max-width: 64ch;
  margin: 0 0 20px;
}
.editorial-block .right p:last-child { margin-bottom: 0; }
.editorial-block .right > :last-child { margin-bottom: 0; }

/* --- Inline content links within editorial body prose ---
   Service / System / Approach body sections may contain author-inserted links
   to other services (e.g. cross-links between Media Relations and Digital PR).
   Without this rule they'd inherit the global `a { color: inherit; text-decoration: none }`
   and be visually indistinguishable from body text. */
.editorial-block .right p a,
.sys-prose p a,
.approach-section .ap-prose p a {
  color: var(--ink);
  border-bottom: 1px solid var(--red);
  padding-bottom: 1px;
  transition: color .18s, border-bottom-color .18s;
}
.editorial-block .right p a:hover,
.sys-prose p a:hover,
.approach-section .ap-prose p a:hover {
  color: var(--red);
  border-bottom-color: var(--red-deep);
}

/* --- Operational scope block --- */
.scope-block {
  background: var(--paper);
  border: 1px solid rgba(14, 14, 16, .1);
  padding: 48px;
  margin-top: 24px;
}
.scope-block h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -.01em;
  margin: 0 0 28px;
  color: var(--ink);
}
.scope-block ul {
  list-style: none;
  padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 32px;
}
.scope-block li {
  padding-inline-start: 20px;
  position: relative;
  font-size: 15.5px;
  color: var(--ink-2);
  line-height: 1.5;
}
.scope-block li::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--red);
  position: absolute;
  left: 0; top: 9px;
}

/* --- FAQ accordion --- */
.faq-block {
  margin-top: 24px;
  background: var(--paper);
  border-top: 1px solid rgba(14, 14, 16, .12);
}
.faq-block details {
  border-bottom: 1px solid rgba(14, 14, 16, .12);
  padding: 26px 0;
}
.faq-block summary {
  cursor: pointer;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 20px;
  line-height: 1.3;
  color: var(--ink);
  letter-spacing: -.005em;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
}
.faq-block summary::-webkit-details-marker { display: none; }
.faq-block summary::after {
  content: "+";
  font-family: var(--serif);
  font-weight: 300;
  color: var(--red);
  font-size: 26px;
  flex: none;
  line-height: 1;
  transition: transform .24s;
}
.faq-block details[open] summary::after { content: "−"; }
.faq-block summary:hover { color: var(--red); }
.faq-block .a {
  padding-top: 16px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-2);
  max-width: 64ch;
}
.faq-block .a p { margin: 0 0 12px; }
.faq-block .a p:last-child { margin-bottom: 0; }

/* --- Related items grid (Systems, Adjacent services, etc.) --- */
.related {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}
.rel {
  background: var(--paper);
  padding: 24px;
  border: 1px solid rgba(14, 14, 16, .08);
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 170px;
  transition: border-color .24s;
}
.rel:hover { border-color: var(--ink); }
.rel .k {
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 600;
}
.rel h5 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 18px;
  line-height: 1.3;
  margin: 0;
  letter-spacing: -.005em;
  color: var(--ink);
}
.rel p {
  font-size: 13.5px;
  color: var(--grey-1);
  line-height: 1.55;
  margin: 0 0 auto;
}
.rel .o {
  margin-top: auto;
  font-size: 12.5px;
  color: var(--ink-3);
  border-bottom: 1px solid var(--red);
  padding-bottom: 1px;
  align-self: start;
}

/* --- GCC regions grid (Industry detail pages) --- */
.regions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(14, 14, 16, .12);
  border: 1px solid rgba(14, 14, 16, .12);
  margin-top: 24px;
}
.region {
  background: var(--paper);
  padding: 32px;
}
.region .flag {
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 600;
  margin-bottom: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.region h4 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 18px;
  line-height: 1.3;
  margin: 0 0 12px;
  letter-spacing: -.005em;
}
.region p {
  font-size: 14px;
  color: var(--ink-3);
  margin: 0;
  line-height: 1.65;
}
@media (max-width: 1000px) { .regions-grid { grid-template-columns: 1fr; } }

/* --- Industries strip (horizontal typographic list) --- */
.ind-strip {
  padding: 48px 0;
  background: var(--paper-2);
  border-top: 1px solid rgba(14, 14, 16, .08);
  border-bottom: 1px solid rgba(14, 14, 16, .08);
}
.ind-strip .container {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
  font-family: var(--serif);
  font-size: 18px;
}
.ind-strip .label {
  font-family: var(--sans);
  font-size: 11.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--grey-1);
  font-weight: 600;
  margin-inline-end: 12px;
}
.ind-strip a {
  color: var(--ink);
  border-bottom: 1px solid transparent;
  padding: 2px 0;
  transition: border-color .18s;
}
.ind-strip a:hover { border-bottom-color: var(--red); }
.ind-strip .bullet {
  display: inline-block;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--red);
  opacity: .7;
}

/* ============================================================================
   SYSTEM DETAIL — v2 (editorial structure)
   Single-column flowing prose with one embedded capabilities list.
   ============================================================================ */

/* Hero */
.sys-hero {
  background: var(--paper);
  padding: 56px 0 64px;
  border-bottom: 1px solid rgba(14, 14, 16, .08);
}
.sys-hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  margin: 0 0 24px;
  max-width: 22ch;
}
.sys-subtitle {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.4;
  color: var(--red-deep);
  max-width: 56ch;
  margin: 0;
  letter-spacing: -.005em;
}

/* Body wrapper */
.sys-body-section { padding: clamp(64px, 10vh, 112px) 0; }
.sys-body {
  max-width: 760px;
  margin: 0 auto;
}

/* Prose blocks */
.sys-prose p {
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.8;
  color: var(--ink-2);
  margin: 0 0 24px;
}
.sys-prose p:last-child { margin-bottom: 0; }
.sys-prose strong { color: var(--ink); font-weight: 600; }

/* Capabilities (embedded list) */
.sys-capabilities {
  background: var(--paper-2);
  border-inline-start: 3px solid var(--red);
  padding: 36px 40px;
  margin: 40px 0;
}
.sys-capabilities .caps-intro {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  font-weight: 500;
  margin: 0 0 20px;
  max-width: 60ch;
}
.sys-capabilities .caps-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 32px;
}
.sys-capabilities .caps-list li {
  padding-inline-start: 22px;
  position: relative;
  font-size: 15.5px;
  color: var(--ink-2);
  line-height: 1.5;
}
.sys-capabilities .caps-list li::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--red);
  position: absolute;
  left: 0; top: 9px;
}

/* Closing paragraph — emphasized outcome line */
.sys-closing-para {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(20px, 2vw, 24px);
  line-height: 1.5;
  color: var(--ink);
  letter-spacing: -.005em;
  margin: 40px 0 0;
  padding: 32px 0 0;
  border-top: 1px solid rgba(14, 14, 16, .12);
}

/* Systems archive — card grid */
.systems-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 24px;
}
.sys-card-v2 {
  background: var(--paper);
  border: 1px solid rgba(14, 14, 16, .08);
  padding: 32px 36px;
  display: grid;
  grid-template-columns: 60px 1fr;
  column-gap: 24px;
  align-items: start;
  transition: border-color .24s;
  min-height: 200px;
}
.sys-card-v2:hover { border-color: var(--ink); }
.sys-num {
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 300;
  color: var(--red);
  font-style: italic;
  line-height: 1;
  letter-spacing: -.02em;
}
.sys-card-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sys-card-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(20px, 2vw, 24px);
  line-height: 1.2;
  letter-spacing: -.015em;
  margin: 0;
  color: var(--ink);
}
.sys-card-subtitle {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: 15px;
  color: var(--ink-3);
  line-height: 1.5;
  margin: 0;
  max-width: 50ch;
}
.sys-card-open {
  margin-top: auto;
  padding-top: 12px;
  font-family: var(--sans);
  font-size: 12.5px;
  color: var(--red);
  font-weight: 500;
  border-bottom: 1px solid var(--red);
  padding-bottom: 1px;
  align-self: flex-start;
}

@media (max-width: 1000px) {
  .sys-capabilities { padding: 28px; }
  .sys-capabilities .caps-list { grid-template-columns: 1fr; }
  .systems-grid { grid-template-columns: 1fr; }
}

/* --- Dark closing block (with CTA) --- */
.closing {
  background: var(--ink);
  color: var(--paper);
  text-align: center;
  padding: clamp(80px, 12vh, 140px) 0;
}
.closing h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(28px, 3.6vw, 46px);
  line-height: 1.2;
  letter-spacing: -.02em;
  margin: 0 auto 36px;
  max-width: 32ch;
  color: var(--paper);
}
.closing .btn { background: var(--red); color: var(--paper); }
.closing .btn:hover { background: var(--paper); color: var(--ink); }

/* --- Responsive overrides for these components --- */
@media (max-width: 1000px) {
  .editorial-block { grid-template-columns: 1fr; gap: 18px; }
  .editorial-block .left { position: static; }
  .scope-block { padding: 32px; }
  .scope-block ul { grid-template-columns: 1fr; }
  .related { grid-template-columns: 1fr; }
}

/* ============================================================================
   FOOTER · INSTITUTIONAL MAP
   ============================================================================ */
.site-footer {
  background: var(--ink);
  color: rgba(250, 250, 247, .7);
  padding: 80px 0 36px;
  border-top: 1px solid rgba(250, 250, 247, .08);
}
.site-footer .container {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 40px;
}
.site-footer .brand-block .brand {
  color: var(--paper);
  font-size: 32px;
  margin-bottom: 18px;
}
.site-footer .brand-block p {
  font-size: 13.5px;
  line-height: 1.65;
  max-width: 32ch;
}
.site-footer h5 {
  font-family: var(--sans);
  font-size: 11.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--grey-2);
  margin: 0 0 16px;
  font-weight: 600;
}
.site-footer ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.site-footer ul a { font-size: 13.5px; color: rgba(250, 250, 247, .7); }
.site-footer ul a:hover { color: var(--paper); border-bottom: 1px solid var(--red); }
.footer-base {
  max-width: var(--maxw);
  margin: 64px auto 0;
  padding: 24px var(--pad) 0;
  border-top: 1px solid rgba(250, 250, 247, .08);
  display: flex; justify-content: space-between;
  font-size: 12.5px; color: var(--grey-2);
}
.footer-base-links {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.footer-base-links a {
  color: var(--grey-2);
  border-bottom: 1px solid transparent;
  transition: color .18s, border-bottom-color .18s;
}
.footer-base-links a:hover {
  color: var(--paper);
  border-bottom-color: var(--red);
}
.footer-base-links .sep { color: var(--grey-2); opacity: .5; }

/* ============================================================================
   ADMIN BAR ADJUSTMENT (so sticky header doesn't go under admin bar)
   ============================================================================ */
.admin-bar header.site { top: 32px; }
@media screen and (max-width: 782px) {
  .admin-bar header.site { top: 46px; }
}

/* ============================================================================
   RTL — bilingual support, prepared for Polylang
   ============================================================================ */
html[dir="rtl"] body { font-family: 'Tajawal', 'IBM Plex Sans Arabic', 'Cairo', sans-serif; }
html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] h4,
html[dir="rtl"] h5,
html[dir="rtl"] h6 { font-family: 'Amiri', 'IBM Plex Sans Arabic', serif; letter-spacing: 0; line-height: 1.4; }

/* ============================================================================
   FRONT PAGE (HOME) — seven-module lobby
   All rules scoped under body.home so they cannot leak to other pages.
   ============================================================================ */

/* ----- 01 · HERO ----- */
body.home .home-hero {
  background: var(--ink);
  color: var(--paper);
}
body.home .home-hero .inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(96px, 16vh, 200px) var(--pad) clamp(96px, 14vh, 180px);
}
body.home .home-hero .eyebrow { color: rgba(250, 250, 247, .55); }
body.home .home-hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1.05;
  letter-spacing: -.025em;
  margin: 0 0 24px;
  max-width: 20ch;
  color: var(--paper);
}
body.home .home-hero .sub {
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.55;
  color: rgba(250, 250, 247, .72);
  max-width: 56ch;
  margin: 0 0 48px;
  font-weight: 300;
}
body.home .home-hero .ctas {
  display: flex; gap: 24px;
  align-items: center; flex-wrap: wrap;
}
body.home .home-hero .btn {
  padding: 18px 28px;
  font-size: 15px;
  background: var(--red);
  color: var(--paper);
}
body.home .home-hero .btn:hover { background: var(--red-deep); }

/* ----- 02 · POSITIONING ----- */
body.home .home-position {
  background: var(--paper);
  text-align: center;
}
body.home .home-position p {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.45;
  letter-spacing: -.005em;
  max-width: 40ch;
  margin: 0 auto 28px;
  color: var(--ink);
}
body.home .home-position .signpost {
  font-size: 14px;
  color: var(--ink-3);
  border-bottom: 1px solid var(--red);
  padding-bottom: 3px;
  display: inline-block;
  letter-spacing: .02em;
}

/* ----- 03 · PRACTICE DIRECTORY ----- */
body.home .home-practice {
  background: var(--paper-2);
  padding: clamp(80px, 12vh, 140px) 0;
}
body.home .home-practice .eyebrow { color: var(--grey-1); }
body.home .home-practice h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.15;
  letter-spacing: -.02em;
  margin: 0 0 56px;
  max-width: 26ch;
}
body.home .directory { border-top: 1px solid rgba(14, 14, 16, .12); }
body.home .directory a {
  display: grid;
  grid-template-columns: 60px 1fr 1.4fr 32px;
  align-items: baseline;
  padding: 24px 0;
  border-bottom: 1px solid rgba(14, 14, 16, .12);
  transition: padding .24s;
  column-gap: 32px;
  position: relative;
}
body.home .directory a:hover { padding-inline-start: 12px; }
body.home .directory .num {
  font-family: var(--serif);
  font-size: 14px;
  color: var(--grey-1);
  font-weight: 400;
}
body.home .directory .name {
  font-family: var(--serif);
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 500;
  letter-spacing: -.015em;
  color: var(--ink);
  position: relative;
  display: inline-block;
}
body.home .directory a.foundation .name::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 24px; height: 1.5px;
  background: var(--red);
}
body.home .directory .atelier-tag {
  font-size: 14px;
  color: var(--grey-1);
  font-family: var(--sans);
  font-weight: 400;
  margin-inline-start: 10px;
}
body.home .directory .caption {
  font-size: 15px;
  color: var(--grey-1);
  line-height: 1.5;
}
body.home .directory .arrow {
  font-size: 18px;
  color: var(--ink-3);
  text-align: end;
  transition: color .18s, transform .18s;
}
body.home .directory a:hover .arrow {
  color: var(--red);
  transform: translateX(4px);
}
body.home .directory .tier-sep {
  display: grid;
  grid-template-columns: 60px 1fr;
  column-gap: 32px;
  padding: 36px 0 12px;
  border-bottom: 0;
}
body.home .directory .tier-sep .t-eyebrow {
  font-size: 10.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 600;
  grid-column: 2;
}
body.home .home-practice .full-link {
  margin-top: 36px;
  text-align: end;
}
body.home .home-practice .full-link a {
  font-size: 14px;
  color: var(--ink-2);
  border-bottom: 1px solid var(--red);
  padding-bottom: 2px;
  letter-spacing: .01em;
}
body.home .home-practice .full-link a:hover { color: var(--ink); }

/* ----- 04 · OPERATIONS ----- */
body.home .home-operational {
  background: var(--paper);
  padding: clamp(80px, 12vh, 140px) 0;
  border-top: 1px solid rgba(14, 14, 16, .08);
  border-bottom: 1px solid rgba(14, 14, 16, .08);
}
body.home .home-operational .eyebrow { color: var(--grey-1); }
body.home .home-operational h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.18;
  letter-spacing: -.02em;
  margin: 0 0 48px;
  max-width: 30ch;
}
body.home .op-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(14, 14, 16, .12);
  border: 1px solid rgba(14, 14, 16, .12);
}
body.home .op-cell {
  background: var(--paper);
  padding: 36px 32px;
  display: flex; flex-direction: column;
  gap: 14px;
  min-height: 230px;
}
body.home .op-cell .k {
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 600;
  display: inline-flex; align-items: center; gap: 8px;
}
body.home .op-cell h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -.01em;
  margin: 0;
  color: var(--ink);
}
body.home .op-cell p {
  font-size: 14.5px;
  color: var(--ink-3);
  line-height: 1.65;
  margin: 0 0 auto;
  max-width: 44ch;
}
body.home .op-cell .more {
  font-size: 13px;
  color: var(--ink-2);
  border-bottom: 1px solid var(--red);
  padding-bottom: 1px;
  align-self: start;
  margin-top: 4px;
  letter-spacing: .01em;
}

/* ----- 05 · INSTITUTIONAL PROOF ----- */
body.home .home-proof {
  background: var(--paper-2);
  padding: clamp(72px, 11vh, 128px) 0;
}
body.home .home-proof .eyebrow { color: var(--grey-1); }
body.home .proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(14, 14, 16, .12);
  border-inline-start: 1px solid rgba(14, 14, 16, .12);
}
body.home .proof-grid .fact {
  padding: 36px 28px;
  border-bottom: 1px solid rgba(14, 14, 16, .12);
  border-inline-end: 1px solid rgba(14, 14, 16, .12);
  background: var(--paper);
  display: flex; flex-direction: column; gap: 14px;
  min-height: 170px;
}
body.home .proof-grid .fact .n {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 4.2vw, 54px);
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--ink);
}
body.home .proof-grid .fact .n .unit {
  font-size: .5em;
  color: var(--ink-3);
  font-weight: 400;
  margin-inline-start: 4px;
  letter-spacing: 0;
}
body.home .proof-grid .fact .n .red {
  color: var(--red);
  font-style: italic;
  font-weight: 300;
}
body.home .proof-grid .fact .cap {
  font-size: 14px;
  color: var(--ink-3);
  line-height: 1.55;
  max-width: 34ch;
}
body.home .proof-grid .fact .cap strong {
  color: var(--ink);
  font-weight: 600;
}
body.home .proof-grid .fact .cap-link {
  color: var(--red);
  border-bottom: 1px solid var(--red);
  padding-bottom: 1px;
}

/* ----- 06 · INSIGHTS SPOTLIGHT ----- */
body.home .home-insights { background: var(--paper); }
body.home .home-insights .eyebrow { color: var(--grey-1); }
body.home .home-insights h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.15;
  letter-spacing: -.02em;
  margin: 0 0 56px;
  max-width: 26ch;
}
body.home .insight-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
}
body.home .insight {
  background: var(--paper-2);
  padding: 40px;
  display: flex; flex-direction: column;
  border: 1px solid rgba(14, 14, 16, .08);
}
body.home .insight.flagship {
  padding: 56px;
  min-height: 520px;
  background: linear-gradient(180deg, var(--paper-2), var(--paper));
}
body.home .insight .meta {
  display: flex; align-items: center; gap: 12px;
  font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--grey-1);
  margin-bottom: 24px;
  font-weight: 500;
}
body.home .insight .meta .dot-sm { flex: none; }
body.home .insight .cat { color: var(--red); font-weight: 600; }
body.home .insight h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -.015em;
  margin: 0 0 16px;
}
body.home .insight.flagship h3 {
  font-size: clamp(28px, 3.2vw, 40px);
  max-width: 18ch;
}
body.home .insight.flagship h3 em {
  font-style: italic;
  font-weight: 400;
  color: var(--red-deep);
}
body.home .insight:not(.flagship) h3 { font-size: 22px; }
body.home .insight p {
  color: var(--grey-1);
  font-size: 15px;
  margin: 0 0 auto;
  line-height: 1.55;
}
body.home .insight .by {
  font-size: 13px;
  color: var(--ink-3);
  margin-top: 32px;
  border-top: 1px solid rgba(14, 14, 16, .08);
  padding-top: 16px;
}
body.home .right-col {
  display: flex; flex-direction: column;
  gap: 32px;
}
body.home .right-col .insight {
  padding: 32px;
  min-height: 244px;
}

/* ----- 07 · CLOSING (light variant for home) ----- */
body.home .home-closing {
  background: var(--paper-2);
  text-align: center;
  padding: clamp(80px, 12vh, 140px) 0;
}
body.home .home-closing h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.15;
  letter-spacing: -.025em;
  margin: 0 auto 48px;
  max-width: 24ch;
  color: var(--ink);
}
body.home .home-closing .ctas {
  display: flex; gap: 24px;
  justify-content: center; align-items: center; flex-wrap: wrap;
}
body.home .home-closing .btn {
  background: var(--red);
  color: var(--paper);
}
body.home .home-closing .btn:hover { background: var(--red-deep); }
body.home .home-closing .btn-secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}
body.home .home-closing .btn-secondary:hover {
  background: var(--ink);
  color: var(--paper);
}

/* Enter animation */
body.home .enter {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .42s ease, transform .42s ease;
}
body.home .enter.in {
  opacity: 1;
  transform: none;
}

/* Home — responsive */
@media (max-width: 900px) {
  body.home .directory a {
    grid-template-columns: 40px 1fr 24px;
    gap: 16px;
  }
  body.home .directory .caption { display: none; }
  body.home .op-grid { grid-template-columns: 1fr; }
  body.home .proof-grid { grid-template-columns: repeat(2, 1fr); }
  body.home .insight-grid { grid-template-columns: 1fr; }
  body.home .insight.flagship { padding: 40px; min-height: auto; }
}
@media (max-width: 560px) {
  body.home .proof-grid { grid-template-columns: 1fr; }
}

/* ============================================================================
   APPROACH PAGE — long-form editorial reading surface
   All rules scoped under .approach-page to prevent leakage.
   ============================================================================ */

.approach-page { display: block; }

/* ----- Hero ----- */
.approach-hero {
  background: var(--paper);
  padding: 64px 0 80px;
  border-bottom: 1px solid rgba(14, 14, 16, .08);
}
.approach-hero h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(40px, 5.4vw, 72px);
  line-height: 1.05;
  letter-spacing: -.025em;
  margin: 0 0 28px;
  max-width: 22ch;
  color: var(--ink);
}
.approach-hero .strap {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.45;
  color: var(--red-deep);
  max-width: 56ch;
  margin: 0 0 36px;
  letter-spacing: -.005em;
}
.approach-hero .lede-narrative {
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(16.5px, 1.4vw, 18.5px);
  line-height: 1.7;
  color: var(--ink-2);
  max-width: 60ch;
  margin: 0;
}

/* ----- Sections (alternating paper / paper-2) ----- */
.approach-section {
  padding: clamp(72px, 11vh, 120px) 0;
}
.approach-section .container { max-width: 880px; margin: 0 auto; padding: 0 var(--pad); }
.approach-section .ap-num {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(32px, 3.6vw, 44px);
  color: var(--red);
  line-height: 1;
  margin: 0 0 24px;
  letter-spacing: -.02em;
}
.approach-section h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.18;
  letter-spacing: -.02em;
  margin: 0 0 24px;
  max-width: 28ch;
  color: var(--ink);
}
.approach-section .ap-lede {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(19px, 1.8vw, 23px);
  line-height: 1.5;
  color: var(--ink-3);
  max-width: 50ch;
  margin: 0 0 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(14, 14, 16, .12);
  letter-spacing: -.005em;
}
.approach-section .ap-prose p {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.8;
  color: var(--ink-2);
  margin: 0 0 24px;
  max-width: 68ch;
}
.approach-section .ap-prose p:last-child { margin-bottom: 0; }
.approach-section .ap-prose strong { color: var(--ink); font-weight: 600; }

/* Embedded list block (red-bar accented, like sys-capabilities) */
.approach-section .ap-list {
  background: var(--paper);
  border-inline-start: 3px solid var(--red);
  padding: 28px 32px;
  margin: 36px 0 0;
}
.approach-section.section-alt .ap-list {
  background: var(--paper-2);
}
.approach-section .ap-list-intro {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.5;
  margin: 0 0 18px;
  max-width: 60ch;
}
.approach-section .ap-list ul {
  list-style: none;
  padding: 0; margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 32px;
}
.approach-section .ap-list li {
  position: relative;
  padding-inline-start: 20px;
  font-size: 15.5px;
  color: var(--ink-2);
  line-height: 1.5;
}
.approach-section .ap-list li::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--red);
  position: absolute;
  left: 0; top: 9px;
}

/* Cross-link to a service / system / industries */
.approach-section .ap-link {
  margin: 36px 0 0;
  max-width: 68ch;
}
.approach-section .ap-link a {
  font-size: 14.5px;
  color: var(--ink-2);
  border-bottom: 1px solid var(--red);
  padding-bottom: 2px;
  letter-spacing: .01em;
  transition: color .18s;
}
.approach-section .ap-link a:hover { color: var(--ink); }

/* ----- Closing philosophy statement ----- */
.approach-philosophy {
  background: var(--paper);
  padding: clamp(96px, 14vh, 160px) 0;
  text-align: center;
  border-top: 1px solid rgba(14, 14, 16, .08);
}
.approach-philosophy blockquote {
  margin: 0 auto;
  max-width: min(880px, 100%);
  padding: 0;
  border: 0;
}
.approach-philosophy blockquote p {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.3;
  letter-spacing: -.015em;
  color: var(--ink);
  margin: 0;
  max-width: none;
}
.approach-philosophy blockquote p::before {
  content: "“";
  display: block;
  font-family: var(--serif);
  font-style: normal;
  font-weight: 300;
  color: var(--red);
  font-size: 80px;
  line-height: .6;
  margin-bottom: 12px;
}

/* ----- Responsive ----- */
@media (max-width: 900px) {
  .approach-hero { padding: 48px 0 56px; }
  .approach-section .container { max-width: 100%; }
  .approach-section .ap-list { padding: 22px 24px; }
  .approach-section .ap-list ul { grid-template-columns: 1fr; }
}

/* ============================================================================
   ENGAGEMENT MODELS PAGE — eight (nine, incl. 07-A) institutional engagement shapes
   All rules scoped under .em-page to prevent leakage.
   ============================================================================ */

.em-page { display: block; }

/* ----- Hero ----- */
.em-hero {
  background: var(--paper);
  padding: 48px 0 64px;
  border-bottom: 1px solid rgba(14, 14, 16, .08);
}
.em-hero h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(40px, 5.6vw, 68px);
  line-height: 1.06;
  letter-spacing: -.025em;
  margin: 0 0 20px;
  max-width: 20ch;
  color: var(--ink);
}
.em-hero .lede {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1.5;
  color: var(--ink-3);
  max-width: 62ch;
  margin: 0;
}

/* ----- Models list ----- */
.em-models {
  background: var(--paper-2);
  padding: 64px 0 96px;
  border-top: 1px solid rgba(14, 14, 16, .08);
}
.em-models-label { color: var(--grey-1); margin-bottom: 36px; }

.em-card {
  background: var(--paper);
  border: 1px solid rgba(14, 14, 16, .08);
  margin-bottom: 16px;
  display: grid;
  grid-template-columns: 80px 1fr 260px;
  align-items: stretch;
  transition: border-color .24s;
}
.em-card:hover { border-color: var(--ink); }

.em-card-specialist {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.em-num {
  font-family: var(--serif);
  font-size: 48px;
  font-weight: 300;
  color: var(--red);
  font-style: italic;
  padding: 36px 0 0 28px;
  line-height: 1;
  letter-spacing: -.02em;
}

.em-body {
  padding: 32px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}
.em-body h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(22px, 2.2vw, 26px);
  line-height: 1.2;
  letter-spacing: -.015em;
  margin: 0;
  color: var(--ink);
}
.em-body p {
  font-size: 14.5px;
  color: var(--ink-3);
  margin: 0;
  line-height: 1.65;
  max-width: 60ch;
}
.em-card-specialist .em-body h3 { color: var(--paper); }
.em-card-specialist .em-body p  { color: rgba(250, 250, 247, .7); }

.em-atelier-tag {
  font-size: 14px;
  font-weight: 400;
  color: var(--red);
  margin-inline-start: 8px;
}

.em-inline-link {
  display: inline-block;
  margin-top: 6px;
  color: var(--ink);
  border-bottom: 1px solid var(--red);
  padding-bottom: 1px;
  font-size: 13.5px;
  letter-spacing: .01em;
  transition: color .18s, border-bottom-color .18s;
}
.em-inline-link:hover { color: var(--red); }
.em-inline-link-light {
  color: rgba(250, 250, 247, .85);
  border-bottom-color: var(--red);
}
.em-inline-link-light:hover { color: var(--paper); border-bottom-color: var(--paper); }

.em-meta {
  background: var(--paper-2);
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 12.5px;
  border-inline-start: 1px solid rgba(14, 14, 16, .08);
}
.em-card-specialist .em-meta {
  background: rgba(250, 250, 247, .05);
  border-inline-start: 1px solid rgba(250, 250, 247, .15);
}
.em-meta-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.em-k {
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--grey-1);
  font-weight: 600;
}
.em-card-specialist .em-k { color: rgba(250, 250, 247, .5); }
.em-v {
  font-family: var(--serif);
  font-size: 14px;
  color: var(--ink);
  font-weight: 500;
}
.em-card-specialist .em-v { color: var(--paper); }
.em-card-specialist .em-v.em-v-soft {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 13px;
  color: rgba(250, 250, 247, .7);
}

/* ----- Governance recap ----- */
.em-gov {
  background: var(--paper);
  padding: 80px 0;
  border-top: 1px solid rgba(14, 14, 16, .08);
}
.em-gov .container {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 64px;
  align-items: start;
}
.em-gov h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: -.02em;
  margin: 0;
  max-width: 14ch;
  color: var(--ink);
}
.em-gov ul {
  list-style: none;
  padding: 0; margin: 0;
  display: flex; flex-direction: column;
  gap: 18px;
}
.em-gov li {
  padding-inline-start: 24px;
  position: relative;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--ink-2);
  max-width: 60ch;
}
.em-gov li::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--red);
  position: absolute;
  left: 0; top: 9px;
}
.em-gov li strong {
  color: var(--ink);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
}

/* ----- Responsive ----- */
@media (max-width: 1000px) {
  .em-card { grid-template-columns: 1fr; }
  .em-card .em-meta {
    border-inline-start: 0;
    border-top: 1px solid rgba(14, 14, 16, .08);
    padding: 20px 24px;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 18px;
  }
  .em-card-specialist .em-meta {
    border-top: 1px solid rgba(250, 250, 247, .15);
  }
  .em-num { padding: 24px 0 0 24px; font-size: 36px; }
  .em-gov .container { grid-template-columns: 1fr; gap: 24px; }
}

/* ============================================================================
   CONTACT PAGE — institutional contact surface with brief form
   All rules scoped under .contact-page to prevent leakage.
   ============================================================================ */

.contact-page { display: block; }

/* ----- Hero ----- */
.contact-hero {
  background: var(--paper);
  padding: 48px 0 64px;
  border-bottom: 1px solid rgba(14, 14, 16, .08);
}
.contact-hero h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(40px, 5.4vw, 64px);
  line-height: 1.06;
  letter-spacing: -.025em;
  margin: 0 0 20px;
  max-width: 22ch;
  color: var(--ink);
}
.contact-hero .lede {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1.5;
  color: var(--ink-3);
  max-width: 62ch;
  margin: 0;
}

/* ----- Direct contact methods ----- */
.contact-methods {
  background: var(--paper);
  padding: 64px 0;
}
.contact-methods .cm-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 24px;
  border-top: 1px solid rgba(14, 14, 16, .12);
  border-inline-start: 1px solid rgba(14, 14, 16, .12);
}
.cm-card {
  padding: 32px 28px;
  background: var(--paper);
  border-bottom: 1px solid rgba(14, 14, 16, .12);
  border-inline-end: 1px solid rgba(14, 14, 16, .12);
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 180px;
}
.cm-k {
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 600;
}
.cm-v {
  font-family: var(--serif);
  font-size: clamp(22px, 2vw, 26px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -.01em;
  color: var(--ink);
}
.cm-link {
  border-bottom: 1px solid var(--red);
  padding-bottom: 1px;
  transition: color .18s;
  align-self: flex-start;
}
.cm-link:hover { color: var(--red); }
.cm-note {
  font-size: 14px;
  color: var(--ink-3);
  line-height: 1.6;
  margin: auto 0 0;
  max-width: 32ch;
}

/* ----- Framing block: how to start ----- */
.contact-framing {
  padding: 80px 0;
}
.contact-framing .cf-block {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 64px;
  align-items: start;
}
.contact-framing .cf-block-head h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: -.02em;
  margin: 0;
  max-width: 14ch;
  color: var(--ink);
}
.contact-framing .cf-block-body p {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink-2);
  margin: 0 0 20px;
  max-width: 64ch;
}
.contact-framing .cf-block-body p:last-child { margin-bottom: 0; }

/* ----- Form section ----- */
.contact-form-section {
  background: var(--paper);
  padding: 80px 0;
  border-top: 1px solid rgba(14, 14, 16, .08);
}
.contact-form-section .cf-h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.2;
  letter-spacing: -.02em;
  margin: 0 0 16px;
  max-width: 30ch;
}
.contact-form-section .cf-intro {
  font-size: 16px;
  color: var(--ink-3);
  line-height: 1.7;
  max-width: 60ch;
  margin: 0 0 36px;
}

/* Feedback messages */
.cf-msg {
  padding: 18px 22px;
  margin: 0 0 28px;
  font-size: 15px;
  line-height: 1.55;
  border-inline-start: 3px solid var(--red);
  background: var(--paper-2);
  max-width: 68ch;
}
.cf-msg strong {
  display: block;
  margin-bottom: 4px;
  font-family: var(--serif);
  font-weight: 500;
  color: var(--ink);
}
.cf-msg-success { border-inline-start-color: #2d6a4f; }
.cf-msg-success strong { color: #2d6a4f; }
.cf-msg-error { border-inline-start-color: var(--red); }

/* Honeypot — hide but keep submittable */
.cf-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Form grid */
.contact-form { max-width: 820px; }
.cf-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 32px;
}
.cf-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cf-field-full { grid-column: 1 / -1; }
.cf-field label {
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-2);
  font-weight: 600;
}
.cf-req { color: var(--red); margin-inline-start: 4px; }
.cf-field input,
.cf-field textarea {
  font-family: var(--sans);
  font-size: 16px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid rgba(14, 14, 16, .18);
  padding: 14px 16px;
  line-height: 1.5;
  transition: border-color .18s, box-shadow .18s;
  width: 100%;
}
.cf-field textarea {
  resize: vertical;
  min-height: 140px;
}
.cf-field input:focus,
.cf-field textarea:focus {
  outline: 0;
  border-color: var(--ink);
  box-shadow: 0 0 0 1px var(--ink);
}

.cf-turnstile-wrap {
  margin-top: 28px;
  margin-bottom: 4px;
}
/* Turnstile's iframe is 300×65px by default; we just give it breathing room */
.cf-turnstile-wrap .cf-turnstile { display: inline-block; }

.cf-actions {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}
.cf-fineprint {
  font-size: 13px;
  color: var(--grey-1);
  margin: 0;
  line-height: 1.6;
  max-width: 60ch;
}

/* ----- Responsive ----- */
@media (max-width: 900px) {
  .contact-methods .cm-grid { grid-template-columns: 1fr; }
  .contact-framing .cf-block { grid-template-columns: 1fr; gap: 24px; }
  .cf-grid { grid-template-columns: 1fr; gap: 22px; }
}

/* ============================================================================
   MOBILE NAVIGATION — hamburger button + full-screen drawer (≤1000px)
   Desktop view (≥1001px) is completely untouched: hamburger hidden,
   drawer hidden, body scroll lock never fires.
   ============================================================================ */

/* Hamburger button — hidden by default, shown on mobile */
.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 10px 6px;
  margin-inline-start: 8px;
  cursor: pointer;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  z-index: 60;
}
.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  transition: transform .24s ease, opacity .24s ease;
  transform-origin: center;
}
/* Open state: animate hamburger into an X */
body.mobile-nav-open .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.mobile-nav-open .nav-toggle-bar:nth-child(2) { opacity: 0; }
body.mobile-nav-open .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* The drawer itself — hidden by default */
.mobile-nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--paper);
  display: none;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
body.mobile-nav-open .mobile-nav-drawer {
  display: block;
}
body.mobile-nav-open {
  overflow: hidden; /* lock background scroll while drawer is open */
}

.mobile-nav-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px var(--pad) 48px;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.mobile-nav-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 48px;
}
.mobile-nav-top .brand {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 26px;
  color: var(--ink);
}
.mobile-nav-close {
  background: transparent;
  border: 0;
  font-size: 36px;
  line-height: 1;
  color: var(--ink);
  cursor: pointer;
  padding: 8px 14px;
  font-weight: 300;
  transition: color .18s;
}
.mobile-nav-close:hover { color: var(--red); }

.mobile-nav-menu {
  flex: 1 0 auto;
}
.mobile-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.mobile-nav-list li {
  border-bottom: 1px solid rgba(14, 14, 16, .1);
}
.mobile-nav-list li:first-child {
  border-top: 1px solid rgba(14, 14, 16, .1);
}
.mobile-nav-list a {
  display: block;
  padding: 22px 4px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(22px, 5vw, 28px);
  line-height: 1.2;
  letter-spacing: -.015em;
  color: var(--ink);
  transition: padding .24s ease, color .18s;
}
.mobile-nav-list a:hover,
.mobile-nav-list a:focus {
  padding-inline-start: 14px;
  color: var(--red);
  outline: 0;
}
.mobile-nav-list .current-menu-item > a,
.mobile-nav-list .current_page_item > a {
  color: var(--red);
}

.mobile-nav-lang {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(14, 14, 16, .1);
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 14px;
}
.mobile-nav-lang a,
.mobile-nav-lang button {
  background: none;
  border: 0;
  font: inherit;
  color: var(--grey-1);
  cursor: pointer;
  padding: 6px 10px;
  letter-spacing: .06em;
}
.mobile-nav-lang a.active,
.mobile-nav-lang button.active,
.mobile-nav-lang .lang-link.active {
  color: var(--ink);
  font-weight: 600;
}
.mobile-nav-lang .sep { color: var(--grey-2); }

/* Mobile breakpoint switch — hide desktop nav + lang, show hamburger */
@media (max-width: 1000px) {
  .nav-toggle { display: flex; }
  header.site .lang { display: none; }
}

/* RTL: ensure drawer animation directions feel right (no override needed for
   full-screen takeover; documenting intent for future side-drawer variants) */

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .nav-toggle-bar,
  .mobile-nav-list a {
    transition: none;
  }
}

/* ============================================================================
   MSA PAPER PAGE — institutional working-paper layout
   Hero + abstract + sticky TOC + article + citation block + cross-link.
   All rules scoped under .msa-paper to prevent leakage.
   ============================================================================ */

.msa-paper { display: block; }

/* ----- Hero ----- */
.msa-hero {
  background: var(--paper);
  padding: 56px 0 64px;
  border-bottom: 1px solid rgba(14, 14, 16, .08);
}
.msa-hero h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(40px, 5.6vw, 68px);
  line-height: 1.06;
  letter-spacing: -.025em;
  margin: 0 0 16px;
  max-width: 22ch;
  color: var(--ink);
}
.msa-subtitle {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.4;
  color: var(--red-deep);
  max-width: 56ch;
  margin: 0 0 36px;
  letter-spacing: -.005em;
}
.msa-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(14, 14, 16, .12);
}
.msa-meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.msa-meta-k {
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--grey-1);
  font-weight: 600;
}
.msa-meta-v {
  font-family: var(--serif);
  font-size: 15px;
  color: var(--ink);
  font-weight: 500;
}

/* ----- Abstract ----- */
.msa-abstract {
  background: var(--paper-2);
  padding: 64px 0;
  border-bottom: 1px solid rgba(14, 14, 16, .08);
}
.msa-abstract-inner {
  max-width: 780px;
  margin: 0 auto;
  background: var(--paper);
  border-inline-start: 3px solid var(--red);
  padding: 36px 40px;
}
.msa-abstract-label {
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 600;
  margin-bottom: 18px;
}
.msa-abstract-inner p {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink-2);
  margin: 0 0 18px;
  max-width: none;
}
.msa-abstract-inner p:last-child { margin-bottom: 0; }

/* ----- Layout: sticky TOC + article ----- */
.msa-layout { padding: 72px 0 96px; }
.msa-layout-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 64px;
  align-items: start;
}

/* TOC */
.msa-toc {
  position: sticky;
  top: 96px;
}
.msa-toc-toggle {
  display: none; /* mobile only */
  width: 100%;
  background: var(--paper);
  border: 1px solid rgba(14, 14, 16, .12);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 14px 18px;
  cursor: pointer;
  text-align: start;
}
.msa-toc-nav {
  padding-top: 4px;
}
.msa-toc-label {
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--grey-1);
  font-weight: 600;
  margin-bottom: 14px;
}
.msa-toc-nav ol {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: msa-toc;
}
.msa-toc-nav li {
  counter-increment: msa-toc;
  border-top: 1px solid rgba(14, 14, 16, .08);
}
.msa-toc-nav li:last-child {
  border-bottom: 1px solid rgba(14, 14, 16, .08);
}
.msa-toc-nav a {
  display: block;
  padding: 14px 0 14px 36px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.35;
  color: var(--ink-2);
  position: relative;
  transition: color .18s;
}
.msa-toc-nav a::before {
  content: counter( msa-toc, decimal-leading-zero );
  position: absolute;
  left: 0;
  top: 14px;
  font-family: var(--serif);
  font-size: 12px;
  color: var(--grey-2);
  font-weight: 400;
}
.msa-toc-nav a:hover { color: var(--red); }
.msa-toc-nav a.is-active {
  color: var(--red);
  font-weight: 500;
}
.msa-toc-nav a.is-active::before { color: var(--red); }

/* Article body */
.msa-body { max-width: 720px; }
.msa-intro p {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 19px;
  line-height: 1.65;
  color: var(--ink);
  margin: 0 0 22px;
  max-width: 64ch;
}
.msa-intro p:first-child {
  font-size: clamp(22px, 2.2vw, 26px);
  line-height: 1.45;
  letter-spacing: -.005em;
}
.msa-intro {
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(14, 14, 16, .12);
  margin-bottom: 56px;
}

/* Section */
.msa-section {
  scroll-margin-top: 88px; /* offset for sticky header when jumping via TOC */
  margin-bottom: 64px;
}
.msa-section-num {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 32px;
  color: var(--red);
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -.02em;
}
.msa-section h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.2;
  letter-spacing: -.02em;
  margin: 0 0 24px;
  max-width: 28ch;
  color: var(--ink);
}
.msa-section h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: -.01em;
  margin: 32px 0 12px;
  color: var(--ink);
}
.msa-section p {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.8;
  color: var(--ink-2);
  margin: 0 0 20px;
  max-width: 64ch;
}
.msa-section p:last-child { margin-bottom: 0; }

/* Pull quote */
.msa-pull {
  margin: 40px 0;
  padding: 24px 0 24px 32px;
  border-inline-start: 3px solid var(--red);
}
.msa-pull p {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.45;
  letter-spacing: -.005em;
  color: var(--ink);
  margin: 0;
  max-width: 50ch;
}

/* Pillars grid */
.msa-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 36px 0;
}
.msa-pillar {
  background: var(--paper-2);
  border: 1px solid rgba(14, 14, 16, .08);
  padding: 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.msa-pillar-num {
  font-size: 10.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 600;
}
.msa-pillar h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 19px;
  line-height: 1.25;
  letter-spacing: -.005em;
  margin: 0;
  color: var(--ink);
}
.msa-pillar p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink-3);
  margin: 0;
  max-width: none;
}

/* Citation block */
.msa-citation {
  margin-top: 80px;
  padding: 36px;
  background: var(--paper);
  border: 1px solid rgba(14, 14, 16, .12);
}
.msa-cite-label {
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 600;
  margin-bottom: 22px;
}
.msa-cite-formats {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.msa-cite-row {
  display: grid;
  grid-template-columns: 80px 1fr 80px;
  gap: 18px;
  align-items: start;
}
.msa-cite-style {
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 600;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: .12em;
  padding-top: 2px;
}
.msa-cite-text {
  font-family: var(--sans);
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--ink-2);
}
.msa-cite-text em { font-style: italic; }
.msa-cite-copy {
  font: inherit;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink);
  background: var(--paper-2);
  border: 1px solid rgba(14, 14, 16, .12);
  padding: 6px 12px;
  cursor: pointer;
  transition: background .18s, color .18s, border-color .18s;
  align-self: start;
}
.msa-cite-copy:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.msa-cite-copy.is-copied { background: var(--red); color: var(--paper); border-color: var(--red); }

/* Cross-link to Arabic edition */
.msa-cross-link {
  margin-top: 56px;
  padding: 48px 0;
  border-top: 1px solid rgba(14, 14, 16, .12);
}
.msa-cross-inner {
  text-align: center;
  max-width: 540px;
  margin: 0 auto;
}
.msa-cross-eyebrow {
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 600;
  margin-bottom: 16px;
}
.msa-cross-inner h2 {
  font-family: 'Amiri', 'IBM Plex Sans Arabic', serif;
  font-weight: 400;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.4;
  margin: 0 0 14px;
  color: var(--ink);
  direction: rtl;
}
.msa-cross-inner p {
  font-size: 15px;
  color: var(--ink-3);
  line-height: 1.65;
  margin: 0 0 28px;
}

/* Responsive */
@media (max-width: 1000px) {
  .msa-layout-grid { grid-template-columns: 1fr; gap: 24px; }
  .msa-toc { position: relative; top: auto; }
  .msa-toc-toggle { display: block; }
  .msa-toc-nav { display: none; margin-top: 8px; padding: 18px; background: var(--paper); border: 1px solid rgba(14, 14, 16, .08); }
  .msa-toc-nav.is-open { display: block; }
  .msa-body { max-width: 100%; }
  .msa-abstract-inner { padding: 28px 24px; }
  .msa-pillars { grid-template-columns: 1fr; }
  .msa-cite-row { grid-template-columns: 1fr; gap: 8px; }
  .msa-cite-copy { justify-self: start; }
  .msa-meta { gap: 18px 24px; }
}

/* ============================================================================
   INSIGHTS — single article + archive hub + category filter
   Scoped under .insight-article / .ins-* to prevent leakage.
   ============================================================================ */

/* ---------- Archive hub ---------- */
.ins-archive-hero {
  background: var(--paper);
  padding: 56px 0 48px;
  border-bottom: 1px solid rgba(14, 14, 16, .08);
}
.ins-archive-hero h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.06;
  letter-spacing: -.025em;
  margin: 0 0 20px;
  max-width: 22ch;
  color: var(--ink);
}
.ins-archive-hero .lede {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.5;
  color: var(--ink-3);
  max-width: 62ch;
  margin: 0;
}

/* Category filter strip */
.ins-cat-filter {
  background: var(--paper-2);
  border-bottom: 1px solid rgba(14, 14, 16, .08);
  padding: 18px 0;
  position: sticky;
  top: 0;
  z-index: 40;
}
.ins-cat-filter .container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ins-cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border: 1px solid rgba(14, 14, 16, .15);
  background: var(--paper);
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .01em;
  transition: background .18s, color .18s, border-color .18s;
  border-radius: 100px;
}
.ins-cat-pill:hover { border-color: var(--ink); }
.ins-cat-pill.is-active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.ins-cat-count { font-size: 11px; opacity: .7; }

/* Insights grid */
.ins-archive { padding: 56px 0 96px; }
.ins-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.ins-card {
  background: var(--paper);
  border: 1px solid rgba(14, 14, 16, .1);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color .24s, transform .24s;
  min-height: 340px;
}
.ins-card:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}
.ins-card-eyebrow {
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 600;
}
.ins-card-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(19px, 1.7vw, 22px);
  line-height: 1.25;
  letter-spacing: -.01em;
  margin: 0;
  color: var(--ink);
}
.ins-card-summary {
  font-size: 14.5px;
  color: var(--ink-3);
  line-height: 1.6;
  margin: 0;
}
.ins-card-meta {
  font-size: 12.5px;
  color: var(--grey-1);
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(14, 14, 16, .08);
}
.ins-card-by { font-weight: 500; color: var(--ink-2); }
.ins-card-dot { color: var(--grey-2); }
.ins-card-open {
  font-size: 13px;
  color: var(--red);
  border-bottom: 1px solid var(--red);
  padding-bottom: 1px;
  align-self: start;
  font-weight: 500;
}

/* ---------- Single insight ---------- */
.insight-article { display: block; }

.ins-hero {
  background: var(--paper);
  padding: 56px 0 64px;
  border-bottom: 1px solid rgba(14, 14, 16, .08);
}
.ins-hero h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(34px, 4.8vw, 56px);
  line-height: 1.1;
  letter-spacing: -.02em;
  margin: 0 0 24px;
  max-width: 24ch;
  color: var(--ink);
}
.ins-summary {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.5;
  color: var(--red-deep);
  max-width: 60ch;
  margin: 0 0 36px;
  letter-spacing: -.005em;
}

/* Hero meta strip */
.ins-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(14, 14, 16, .12);
}
.ins-meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ins-meta-k {
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--grey-1);
  font-weight: 600;
}
.ins-meta-v {
  font-family: var(--serif);
  font-size: 15px;
  color: var(--ink);
  font-weight: 500;
}
.ins-meta-v a {
  color: var(--ink);
  border-bottom: 1px solid var(--red);
  padding-bottom: 1px;
  transition: color .18s;
}
.ins-meta-v a:hover { color: var(--red); }
.ins-byline-role {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 13.5px;
  color: var(--ink-3);
}

/* Article body */
.ins-body-wrap { padding: clamp(64px, 10vh, 112px) 0; }
.ins-body {
  max-width: 720px;
  margin: 0 auto;
}
.ins-body p {
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.8;
  color: var(--ink-2);
  margin: 0 0 24px;
  max-width: 64ch;
}
.ins-body h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.25;
  letter-spacing: -.015em;
  margin: 48px 0 18px;
  max-width: 30ch;
  color: var(--ink);
}
.ins-body h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: -.01em;
  margin: 32px 0 12px;
  color: var(--ink);
}
.ins-body ol, .ins-body ul {
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink-2);
  margin: 0 0 24px;
  padding-inline-start: 28px;
}
.ins-body li { margin: 0 0 10px; max-width: 64ch; }
.ins-body strong { color: var(--ink); font-weight: 600; }
.ins-body a {
  color: var(--ink);
  border-bottom: 1px solid var(--red);
  padding-bottom: 1px;
  transition: color .18s;
}
.ins-body a:hover { color: var(--red); }

.ins-body blockquote {
  margin: 32px 0;
  padding: 0 0 0 28px;
  border-inline-start: 3px solid var(--red);
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(20px, 2vw, 24px);
  line-height: 1.45;
  color: var(--ink);
}

/* Article footer: related line + author card */
.ins-footer {
  padding: 56px 0 80px;
  background: var(--paper-2);
  border-top: 1px solid rgba(14, 14, 16, .08);
}
.ins-footer .container {
  max-width: 720px;
  margin: 0 auto;
}
.ins-related-line {
  margin-bottom: 36px;
  padding: 20px 24px;
  background: var(--paper);
  border: 1px solid rgba(14, 14, 16, .1);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ins-related-label {
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 600;
}
.ins-related-text {
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.7;
}
.ins-related-text a {
  color: var(--ink);
  border-bottom: 1px solid var(--red);
  padding-bottom: 1px;
  transition: color .18s;
}
.ins-related-text a:hover { color: var(--red); }
.ins-related-text .ins-related-unlinked {
  color: var(--ink-3);
}
.ins-related-text .ins-related-sep {
  color: var(--grey-2);
  margin: 0 4px;
}

.ins-byline-card {
  background: var(--paper);
  border-inline-start: 3px solid var(--red);
  padding: 28px 32px;
}
.ins-byline-card-label {
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 600;
  margin-bottom: 12px;
}
.ins-byline-card-name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -.01em;
  margin: 0 0 4px;
  color: var(--ink);
}
.ins-byline-card-name a {
  color: var(--ink);
  border-bottom: 1px solid var(--red);
  padding-bottom: 2px;
}
.ins-byline-card-name a:hover { color: var(--red); }
.ins-byline-card-role {
  font-size: 14px;
  color: var(--ink-3);
  line-height: 1.5;
  margin: 0 0 14px;
}
.ins-byline-card-link {
  font-size: 13px;
  margin: 0;
}
.ins-byline-card-link a {
  color: var(--red);
  border-bottom: 1px solid var(--red);
  padding-bottom: 1px;
}

/* Responsive */
@media (max-width: 1000px) {
  .ins-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .ins-grid { grid-template-columns: 1fr; }
  .ins-meta { gap: 18px 24px; }
  .ins-related-line { padding: 16px 18px; }
  .ins-byline-card { padding: 22px 22px; }
}

/* ============================================================================
   PRIVACY POLICY — long-form legal page, scoped under .privacy-page
   ============================================================================ */

.privacy-page { display: block; }

.pp-hero {
  background: var(--paper);
  padding: 48px 0 56px;
  border-bottom: 1px solid rgba(14, 14, 16, .08);
}
.pp-hero h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.06;
  letter-spacing: -.025em;
  margin: 0 0 18px;
  max-width: 22ch;
  color: var(--ink);
}
.pp-hero .strap {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.5;
  color: var(--red-deep);
  max-width: 60ch;
  margin: 0 0 18px;
}
.pp-updated {
  font-size: 13px;
  color: var(--grey-1);
  margin: 0;
  letter-spacing: .02em;
}

.pp-body-section { padding: clamp(64px, 10vh, 112px) 0; }
.pp-body {
  max-width: 760px;
  margin: 0 auto;
}
.pp-body .pp-lead {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 20px;
  line-height: 1.6;
  color: var(--ink);
  margin: 0 0 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(14, 14, 16, .12);
  max-width: none;
}
.pp-body h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(24px, 2.6vw, 30px);
  line-height: 1.25;
  letter-spacing: -.015em;
  margin: 48px 0 16px;
  max-width: 32ch;
  color: var(--ink);
}
.pp-body h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: -.005em;
  margin: 28px 0 10px;
  color: var(--ink);
}
.pp-body p {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-2);
  margin: 0 0 18px;
  max-width: 64ch;
}
.pp-body ul {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-2);
  margin: 0 0 24px;
  padding-inline-start: 24px;
}
.pp-body ul li { margin: 0 0 8px; max-width: 64ch; }
.pp-body a {
  color: var(--ink);
  border-bottom: 1px solid var(--red);
  padding-bottom: 1px;
  transition: color .18s;
}
.pp-body a:hover { color: var(--red); }
.pp-body strong { color: var(--ink); font-weight: 600; }
.pp-body code {
  font-family: 'JetBrains Mono', Menlo, monospace;
  font-size: 13.5px;
  background: var(--paper-2);
  padding: 2px 6px;
  border: 1px solid rgba(14, 14, 16, .08);
  color: var(--ink);
}

.pp-table-wrap {
  margin: 24px 0;
  overflow-x: auto;
}
.pp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  color: var(--ink-2);
}
.pp-table th {
  text-align: left;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 600;
  padding: 12px 14px;
  background: var(--paper-2);
  border: 1px solid rgba(14, 14, 16, .12);
}
.pp-table td {
  padding: 14px;
  border: 1px solid rgba(14, 14, 16, .12);
  vertical-align: top;
  line-height: 1.55;
}

@media (max-width: 900px) {
  .pp-body { max-width: 100%; }
  .pp-table { font-size: 13.5px; }
  .pp-table th, .pp-table td { padding: 10px; }
}

/* ============================================================================
   404 + SEARCH — error page recovery and search results
   ============================================================================ */

.error-404 { display: block; }

.err-hero {
  background: var(--paper);
  padding: 64px 0 56px;
  border-bottom: 1px solid rgba(14, 14, 16, .08);
}
.err-hero h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.06;
  letter-spacing: -.025em;
  margin: 0 0 20px;
  max-width: 22ch;
  color: var(--ink);
}
.err-hero .strap {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.5;
  color: var(--ink-3);
  max-width: 60ch;
  margin: 0;
}

.err-search { background: var(--paper); padding: 48px 0; }
.err-search-note {
  font-size: 13px;
  color: var(--grey-1);
  margin: 14px 0 0;
}

.err-links { padding: 48px 0 96px; }
.err-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}
.err-card {
  background: var(--paper);
  border: 1px solid rgba(14, 14, 16, .1);
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color .24s, transform .24s;
}
.err-card:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}
.err-card h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 19px;
  line-height: 1.3;
  letter-spacing: -.005em;
  margin: 0;
  color: var(--ink);
}
.err-card p {
  font-size: 14px;
  color: var(--ink-3);
  line-height: 1.55;
  margin: 0;
}
@media (max-width: 900px) {
  .err-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .err-grid { grid-template-columns: 1fr; }
}

/* ----- Search form (reusable, used by 404 + search results) ----- */
.hoc-search {
  display: flex;
  gap: 0;
  max-width: 560px;
  border: 1px solid rgba(14, 14, 16, .18);
  background: var(--paper);
  transition: border-color .18s, box-shadow .18s;
}
.hoc-search:focus-within {
  border-color: var(--ink);
  box-shadow: 0 0 0 1px var(--ink);
}
.hoc-search-input {
  flex: 1 1 auto;
  font-family: var(--sans);
  font-size: 16px;
  border: 0;
  padding: 14px 16px;
  color: var(--ink);
  background: transparent;
  outline: 0;
  min-width: 0;
}
.hoc-search-input::placeholder { color: var(--grey-1); }
.hoc-search-submit {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  background: var(--ink);
  color: var(--paper);
  border: 0;
  padding: 0 22px;
  cursor: pointer;
  transition: background .18s;
}
.hoc-search-submit:hover { background: var(--red); }
.hoc-search-submit .arrow { transition: transform .18s; }
.hoc-search-submit:hover .arrow { transform: translateX(3px); }
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  height: 1px;
  width: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
}

/* ----- Search results page ----- */
.search-results { display: block; }

.search-hero {
  background: var(--paper);
  padding: 56px 0 48px;
  border-bottom: 1px solid rgba(14, 14, 16, .08);
}
.search-hero h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(32px, 4.4vw, 48px);
  line-height: 1.1;
  letter-spacing: -.02em;
  margin: 0 0 24px;
  max-width: 26ch;
  color: var(--ink);
}

.search-body { padding: 48px 0 96px; background: var(--paper); }
.search-count {
  font-size: 13px;
  color: var(--grey-1);
  margin: 0 0 24px;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.search-list {
  border-top: 1px solid rgba(14, 14, 16, .12);
}
.search-row {
  display: grid;
  grid-template-columns: 110px 1fr 32px;
  align-items: baseline;
  column-gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(14, 14, 16, .12);
  transition: padding .24s;
}
.search-row:hover { padding-inline-start: 12px; }
.search-type {
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 600;
}
.search-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(20px, 2vw, 24px);
  line-height: 1.25;
  letter-spacing: -.01em;
  margin: 0;
  color: var(--ink);
  grid-column: 2;
}
.search-excerpt {
  font-size: 14.5px;
  color: var(--ink-3);
  line-height: 1.6;
  margin: 6px 0 0;
  grid-column: 2;
  max-width: 64ch;
}
.search-arrow {
  font-size: 18px;
  color: var(--ink-3);
  text-align: end;
  transition: color .18s, transform .18s;
  align-self: center;
}
.search-row:hover .search-arrow { color: var(--red); transform: translateX(4px); }

.search-pagination {
  margin-top: 32px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.search-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border: 1px solid rgba(14, 14, 16, .15);
  font-size: 14px;
  color: var(--ink-2);
  transition: background .18s, color .18s, border-color .18s;
}
.search-pagination .page-numbers:hover { border-color: var(--ink); }
.search-pagination .current {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.search-empty {
  padding: 48px 0;
  text-align: center;
}
.search-empty h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(24px, 3vw, 36px);
  margin: 0 0 16px;
}
.search-empty p {
  font-size: 16px;
  color: var(--ink-3);
  max-width: 50ch;
  margin: 0 auto 28px;
  line-height: 1.6;
}
.search-empty-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

@media (max-width: 700px) {
  .search-row { grid-template-columns: 1fr 22px; column-gap: 12px; }
  .search-type { grid-column: 1; }
  .search-title { grid-column: 1; }
  .search-excerpt { grid-column: 1; }
  .search-arrow { align-self: end; }
}

/* ============================================================================
   RESPONSIVE
   ============================================================================ */
@media (max-width: 1000px) {
  .nav { display: none; }
  .site-footer .container { grid-template-columns: 1fr 1fr; gap: 32px; }
  .site-footer .brand-block { grid-column: 1 / -1; }
  .footer-base { flex-direction: column; gap: 14px; }
}
