/* ==========================================================================
   OM Baloyi Inc — ombaloyi.co.za
   Editorial magazine system on the brand's navy / mid-blue / steel-gray palette.
   Anchor: style-recipes/monocle-magazine (Editorial / Minimalist), brand-recoloured.
   Radius 0 · no shadow · hairline rules · serif voice.
   One exception: staff portraits are rounded (--radius-portrait).
   ========================================================================== */

/* --- Tokens -------------------------------------------------------------- */
:root {
  --ink:          #12224E;
  --ink-deep:     #0A1430;
  --accent:       #2E7EB8;
  --accent-deep:  #1F5E8C;
  --accent-tint:  #D9E8F3;
  --muted:        #6A7280;
  --ground:       #FBFAF7;
  --surface:      #F1F0EA;
  --white:        #FFFFFF;
  --hairline:     #D9D6CC;
  --hairline-ink: #B9B4A6;

  --serif: "Source Serif 4", "Source Serif Pro", Georgia, "Times New Roman", serif;
  --sans:  "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --s1: 4px;  --s2: 8px;  --s3: 16px; --s4: 24px; --s5: 32px; --s6: 48px; --s7: 96px;

  --measure: 68ch;
  --page: 1240px;
  --gutter: 24px;
  --ease: cubic-bezier(.22,.61,.36,1);

  /* The system is square-cornered everywhere. Portraits are the one exception:
     they are rounded so that five photographs of people read as portraits
     rather than as cropped rectangles. Set to 50% for circles. */
  --radius-portrait: 14px;

  --rule: 1px solid var(--hairline);
  --rule-ink: 1px solid var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.0625rem;          /* 17px */
  line-height: 1.62;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-deep); text-decoration: none; }
a:hover { color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--accent-deep);
  outline-offset: 3px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--serif);
  color: var(--ink-deep);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.012em;
  margin: 0 0 var(--s3);
  text-wrap: balance;
}
p { margin: 0 0 var(--s3); text-wrap: pretty; }
ul, ol { margin: 0 0 var(--s3); padding-left: 1.35em; }
li { margin-bottom: var(--s1); }
hr { border: 0; border-top: var(--rule); margin: var(--s5) 0; }
strong { font-weight: 700; }
em { font-style: italic; }

/* --- Layout ------------------------------------------------------------- */
.wrap { max-width: var(--page); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: 880px; margin: 0 auto; padding: 0 var(--gutter); }
.band { padding: var(--s7) 0; }
.band-tight { padding: var(--s6) 0; }
.band-surface { background: var(--surface); }
.band-ink { background: var(--ink-deep); color: #E6E9F2; }
.band-ink h2, .band-ink h3 { color: var(--white); }
.band-white { background: var(--white); }
.rule-top { border-top: var(--rule); }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--white);
  padding: var(--s2) var(--s3); z-index: 100; font-family: var(--sans); font-size: .8rem;
}
.skip:focus { left: var(--s3); top: var(--s2); }

/* --- Micro-typography --------------------------------------------------- */
.kicker {
  font-family: var(--sans);
  font-size: .6875rem;            /* 11px */
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin: 0 0 var(--s2);
  display: block;
}
.kicker-muted { color: var(--muted); }
.kicker-white { color: var(--accent-tint); }
.dek {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.125rem, 1.6vw, 1.375rem);
  line-height: 1.5;
  color: var(--muted);
  max-width: 60ch;
  margin: 0 0 var(--s4);
}
.lede {
  font-size: clamp(1.125rem, 1.7vw, 1.3125rem);
  line-height: 1.6;
  color: var(--ink);
}
.meta {
  font-family: var(--sans);
  font-size: .75rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}
.num { font-variant-numeric: tabular-nums; }

/* --- Masthead ----------------------------------------------------------- */
.util {
  background: var(--ink-deep);
  color: #C6CEE0;
  font-family: var(--sans);
  font-size: .75rem;
  letter-spacing: .04em;
}
.util .wrap {
  display: flex; flex-wrap: wrap; gap: var(--s3);
  align-items: center; justify-content: space-between;
  min-height: 38px; padding-top: var(--s1); padding-bottom: var(--s1);
}
.util a { color: #C6CEE0; }
.util a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.util-list { display: flex; flex-wrap: wrap; gap: var(--s3); align-items: center; margin: 0; padding: 0; list-style: none; }
.util-list li { margin: 0; }
.util-strong { color: var(--white); font-weight: 600; }

.masthead { background: var(--ground); border-bottom: var(--rule); position: relative; z-index: 30; }
.masthead .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s4); min-height: 84px;
}
.brand { display: flex; align-items: center; gap: var(--s3); color: inherit; min-width: 0; }
.brand > span { min-width: 0; }
.brand:hover { color: inherit; }
.brand img { width: 52px; height: 52px; object-fit: contain; flex: none; }
.brand-name {
  font-family: var(--serif); font-weight: 700; font-size: 1.25rem;
  line-height: 1.05; letter-spacing: -.01em; color: var(--ink-deep); display: block;
}
.brand-desc {
  font-family: var(--sans); font-size: .625rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted); display: block; margin-top: 3px;
}

.nav { display: flex; align-items: center; gap: var(--s1); }
.nav a {
  font-family: var(--sans); font-size: .75rem; font-weight: 500;
  letter-spacing: .07em; text-transform: uppercase; color: var(--ink);
  padding: var(--s2) var(--s2); position: relative; white-space: nowrap;
}
.nav a::after {
  content: ""; position: absolute; left: var(--s2); right: var(--s2); bottom: 4px;
  height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform .18s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--accent-deep); }

.nav-item { position: relative; }
.nav-drop {
  display: none; position: absolute; top: 100%; left: 0; min-width: 310px;
  background: var(--ground); border: 1px solid var(--hairline);
  border-top: 2px solid var(--accent); padding: var(--s2) 0;
  list-style: none; margin: 0; z-index: 50;
}
.nav-item:hover .nav-drop,
.nav-item:focus-within .nav-drop { display: block; }
.nav-drop li { margin: 0; }
.nav-drop a {
  display: block; padding: 9px var(--s4); font-size: .8125rem;
  letter-spacing: .05em; text-transform: none;
}
.nav-drop a::after { display: none; }
.nav-drop a:hover { background: var(--surface); color: var(--accent-deep); }

.cta-btn {
  font-family: var(--sans); font-size: .75rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  background: var(--ink); color: var(--white); padding: 12px 20px;
  border: 1px solid var(--ink); transition: background .18s var(--ease), color .18s var(--ease);
  white-space: nowrap;
}
.cta-btn:hover { background: var(--accent-deep); border-color: var(--accent-deep); color: var(--white); }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--hairline-ink);
  font-family: var(--sans); font-size: .6875rem; letter-spacing: .1em;
  text-transform: uppercase; padding: 10px 14px; color: var(--ink); cursor: pointer;
}

/* --- Breadcrumbs -------------------------------------------------------- */
.crumbs {
  font-family: var(--sans); font-size: .6875rem; letter-spacing: .07em;
  text-transform: uppercase; color: var(--muted);
  padding: var(--s4) 0 0;
}
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s2); margin: 0; padding: 0; }
.crumbs li { margin: 0; }
.crumbs li + li::before { content: "/"; margin-right: var(--s2); color: var(--hairline-ink); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--accent-deep); }
.crumbs [aria-current] { color: var(--ink); }

/* --- Page header -------------------------------------------------------- */
.page-head { padding: var(--s6) 0 var(--s5); }
.page-head h1 {
  font-size: clamp(2rem, 4.6vw, 3.25rem);
  max-width: 22ch;
}
.page-head .dek { margin-top: var(--s3); }
.head-rule { border-top: var(--rule-ink); margin-top: var(--s5); }

/* --- Hero --------------------------------------------------------------- */
.hero { border-bottom: var(--rule); padding: var(--s5) 0 var(--s6); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: var(--s6); }
.hero h1 {
  font-size: clamp(1.9rem, 3.9vw, 3rem);
  line-height: 1.06; letter-spacing: -.022em;
  max-width: 21ch; margin-bottom: var(--s4);
}
.hero h1 em { font-style: normal; color: var(--accent-deep); }
.hero .dek { font-style: normal; font-size: clamp(1rem, 1.45vw, 1.1875rem); max-width: 52ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s3); align-items: center; margin-top: var(--s5); }

.btn {
  font-family: var(--sans); font-size: .8125rem; font-weight: 600;
  letter-spacing: .07em; text-transform: uppercase; padding: 15px 26px;
  border: 1px solid var(--ink); background: var(--ink); color: var(--white);
  display: inline-block; transition: background .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease);
}
.btn:hover { background: var(--accent-deep); border-color: var(--accent-deep); color: var(--white); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }

.hero-rail { border-left: var(--rule); padding-left: var(--s5); }
.rail-title {
  font-family: var(--sans); font-size: .6875rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted);
  padding-bottom: var(--s2); border-bottom: var(--rule-ink); margin-bottom: 0;
}
.rail-list { list-style: none; margin: 0; padding: 0; }
.rail-list li { border-bottom: var(--rule); margin: 0; }
.rail-list a {
  display: flex; align-items: baseline; gap: var(--s3);
  padding: 11px 0; color: var(--ink); font-size: .9375rem;
  transition: color .16s var(--ease), padding-left .2s var(--ease);
}
.rail-list a:hover { color: var(--accent-deep); padding-left: 6px; }
.rail-num {
  font-family: var(--sans); font-size: .6875rem; color: var(--muted);
  font-variant-numeric: tabular-nums; min-width: 1.6em;
}

/* --- Stats / spec table ------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: var(--rule-ink); border-bottom: var(--rule); }
.stat { padding: var(--s4) var(--s4) var(--s4) 0; border-right: var(--rule); }
.stat:last-child { border-right: 0; }
.stat-val {
  font-family: var(--serif); font-weight: 700; font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  color: var(--ink-deep); line-height: 1; display: block; font-variant-numeric: tabular-nums;
}
.stat-lbl {
  font-family: var(--sans); font-size: .6875rem; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted); display: block; margin-top: var(--s2);
}

/* --- Section headings --------------------------------------------------- */
.sec-head { border-top: var(--rule-ink); padding-top: var(--s3); margin-bottom: var(--s5); }
.sec-head h2 { font-size: clamp(1.5rem, 3vw, 2.125rem); max-width: 26ch; margin-bottom: var(--s2); }
.sec-head-tight { max-width: 34ch; }
.sec-head .dek { margin-bottom: 0; }

/* --- Numbered feature index -------------------------------------------- */
.feature-index { list-style: none; margin: 0; padding: 0; border-top: var(--rule); }
.feature { border-bottom: var(--rule); margin: 0; }
.feature > a {
  display: grid; grid-template-columns: 5.5rem minmax(0, 1fr) minmax(0, 1.25fr) auto;
  gap: var(--s4); align-items: start; padding: var(--s5) var(--s2) var(--s5) 0;
  color: inherit; transition: background .18s var(--ease), padding-left .22s var(--ease);
}
.feature > a:hover { background: var(--surface); padding-left: var(--s3); color: inherit; }
.feature-num {
  font-family: var(--sans); font-size: .8125rem; letter-spacing: .08em; color: var(--accent-deep);
  font-variant-numeric: tabular-nums; padding-top: .35em;
}
.feature-title { font-family: var(--serif); font-weight: 700; font-size: clamp(1.25rem, 2.2vw, 1.625rem); color: var(--ink-deep); line-height: 1.15; }
.feature-sum { color: var(--muted); font-size: 1rem; line-height: 1.55; margin: 0; }
.feature-go {
  font-family: var(--sans); font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent-deep); white-space: nowrap; padding-top: .5em;
}
.feature-go::after { content: " \2192"; }

/* --- Card-less service grid -------------------------------------------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--s6); }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 var(--s5); }

.entry { border-top: var(--rule); padding: var(--s5) 0; margin: 0; }
.entry h3 { font-size: 1.25rem; margin-bottom: var(--s2); }
.entry h3 a { color: var(--ink-deep); }
.entry h3 a:hover { color: var(--accent-deep); }
.entry p { color: var(--muted); margin-bottom: var(--s2); }
.entry-sub {
  font-family: var(--sans); font-size: .6875rem; letter-spacing: .09em;
  text-transform: uppercase; color: var(--accent-deep);
}

/* --- Prose (article / service body) ------------------------------------ */
.prose { max-width: var(--measure); }
.prose > * + * { margin-top: var(--s3); }
.prose h2 {
  font-size: clamp(1.375rem, 2.4vw, 1.75rem);
  margin-top: var(--s6); margin-bottom: var(--s2);
  padding-top: var(--s3); border-top: var(--rule);
}
.prose h3 { font-size: 1.1875rem; margin-top: var(--s5); margin-bottom: var(--s2); }
.prose h4 { font-size: 1.0625rem; margin-top: var(--s4); font-family: var(--sans); letter-spacing: .02em; }
.prose p { font-size: 1.125rem; line-height: 1.72; }
.prose ul, .prose ol { font-size: 1.125rem; line-height: 1.72; }
.prose > p:first-of-type { font-size: 1.25rem; line-height: 1.6; color: var(--ink); }
.prose > p:first-of-type::first-letter {
  float: left; font-size: 3.4em; line-height: .82; font-weight: 700;
  padding: .06em .12em 0 0; color: var(--accent-deep);
}
.prose blockquote {
  margin: var(--s5) 0; padding: var(--s4) 0; border-top: var(--rule-ink); border-bottom: var(--rule-ink);
  font-style: italic; font-size: 1.3125rem; line-height: 1.5; color: var(--ink-deep);
}
.prose blockquote p:last-child { margin-bottom: 0; }
.prose a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose a:hover { color: var(--ink); }
.prose img { margin: var(--s4) 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: 1rem; margin: var(--s4) 0; }
.prose th, .prose td { border-bottom: var(--rule); padding: var(--s2) var(--s3) var(--s2) 0; text-align: left; }
.prose th { font-family: var(--sans); font-size: .6875rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

/* --- Article layout with side rail ------------------------------------- */
.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 17rem; gap: var(--s6); align-items: start; }
.rail { position: sticky; top: var(--s4); border-top: var(--rule-ink); padding-top: var(--s3); }
.rail-list-plain { list-style: none; margin: 0; padding: 0; }
.rail-list-plain li { margin: 0; }
.rail-list-plain a {
  display: block; padding: 7px 0; font-family: var(--sans); font-size: .75rem;
  color: var(--muted); border-bottom: var(--rule); line-height: 1.4;
}
.rail-list-plain a:hover, .rail-list-plain a.is-active { color: var(--accent-deep); }
.rail-block + .rail-block { margin-top: var(--s5); }
.byline {
  border-top: var(--rule-ink); border-bottom: var(--rule);
  padding: var(--s3) 0; margin-bottom: var(--s5);
  display: flex; flex-wrap: wrap; gap: var(--s2) var(--s4);
  font-family: var(--sans); font-size: .75rem; letter-spacing: .05em;
  text-transform: uppercase; color: var(--muted);
}
.byline strong { color: var(--ink); font-weight: 600; }

/* --- Pull quote (testimonials) ----------------------------------------- */
.quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--s6); }
.quote { border-top: var(--rule); padding: var(--s5) 0; margin: 0; }
.quote blockquote {
  margin: 0 0 var(--s3); font-family: var(--serif); font-style: italic;
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem); line-height: 1.55; color: var(--ink-deep);
  border: 0; padding: 0;
}
.quote figcaption { font-family: var(--sans); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.quote figcaption strong { color: var(--ink); }
.quote-src { display: block; color: var(--hairline-ink); letter-spacing: .04em; margin-top: 3px; }

/* --- CTA panel --------------------------------------------------------- */
.cta-panel { background: var(--ink-deep); color: #DCE2EF; padding: var(--s6) var(--s5); }
.cta-panel h2 { color: var(--white); font-size: clamp(1.5rem, 3vw, 2rem); max-width: 24ch; }
.cta-panel p { color: #A9B4CC; max-width: 52ch; }
.cta-ways { list-style: none; margin: var(--s4) 0 0; padding: 0; display: grid; gap: var(--s2); }
.cta-ways li { font-family: var(--sans); font-size: .8125rem; letter-spacing: .03em; }
.cta-ways a { color: var(--white); border-bottom: 1px solid rgba(255,255,255,.3); }
.cta-ways a:hover { color: var(--accent-tint); border-color: var(--accent-tint); }

/* --- Forms ------------------------------------------------------------- */
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s4); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-full { grid-column: 1 / -1; }
.field label {
  font-family: var(--sans); font-size: .6875rem; letter-spacing: .09em;
  text-transform: uppercase; color: var(--muted);
}
.field input, .field textarea, .field select {
  font-family: var(--serif); font-size: 1rem; color: var(--ink);
  background: var(--white); border: 1px solid var(--hairline-ink);
  padding: 12px 14px; border-radius: 0; width: 100%;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--accent-deep); box-shadow: inset 0 0 0 1px var(--accent-deep);
}
.field input:disabled, .field textarea:disabled { background: var(--surface); color: var(--muted); }
.form-note { font-family: var(--sans); font-size: .75rem; color: var(--muted); max-width: 58ch; }

/* Turnstile renders its own iframe into this element, so the only thing to do
   here is space it and hold its height while it loads. */
.cf-turnstile { margin-bottom: var(--s1); min-height: 65px; }

/* Honeypot field: present in the DOM for a bot, gone for a person. */
.field-hp {
  position: absolute; 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;
}

/* Form status. Functional feedback is the second exception to the palette
   (after the portrait radius): a visitor has to be able to tell at a glance
   whether their enquiry sent, so success and failure get their own colour. */
.form-note.is-ok, .form-note.is-error {
  color: var(--ink); border-left: 3px solid currentColor; padding-left: var(--s3);
}
.form-note.is-ok { color: #1F6B3A; }
.form-note.is-error { color: #9A3324; }
.form-note.is-ok a, .form-note.is-error a { color: inherit; text-decoration: underline; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] {
  border-color: #9A3324; box-shadow: inset 0 0 0 1px #9A3324;
}
.btn[disabled] { opacity: .55; cursor: not-allowed; }

/* --- Office blocks ----------------------------------------------------- */
.office { border-top: var(--rule); padding: var(--s4) 0; }
.office h3 { font-size: 1.0625rem; margin-bottom: var(--s1); }
.office p { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.55; }
.office a { font-family: var(--sans); font-size: .8125rem; }

/* --- FAQ --------------------------------------------------------------- */
.faq { border-top: var(--rule-ink); }
.faq details { border-bottom: var(--rule); }
.faq summary {
  cursor: pointer; list-style: none; padding: var(--s3) 0;
  font-family: var(--serif); font-weight: 700; font-size: 1.0625rem; color: var(--ink-deep);
  display: flex; justify-content: space-between; gap: var(--s3); align-items: baseline;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans); color: var(--accent-deep); font-size: 1.125rem; }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { padding: 0 0 var(--s4); margin: 0; color: var(--muted); max-width: var(--measure); }

/* --- Team ------------------------------------------------------------- */
.person { border-top: var(--rule); padding: var(--s5) 0; display: grid; grid-template-columns: 9rem minmax(0,1fr); gap: var(--s4); }
/* initial mark, still used wherever a portrait is not available */
.person-mark {
  width: 9rem; height: 9rem; background: var(--accent-tint); color: var(--ink-deep);
  border-radius: var(--radius-portrait);
  display: grid; place-items: center; font-family: var(--serif); font-weight: 700; font-size: 1.75rem;
}
/* Real portraits, shown in the colour they were shot in. They came from five
   different settings, so they vary in lighting and background; that is the
   material the firm has. */
.person-photo { width: 9rem; height: 9rem; object-fit: cover; border-radius: var(--radius-portrait); }
.person h2 { font-size: 1.25rem; margin-bottom: var(--s1); }
.person-role { font-family: var(--sans); font-size: .6875rem; letter-spacing: .09em; text-transform: uppercase; color: var(--accent-deep); display: block; margin-bottom: var(--s2); }
.person ul { margin: 0; padding-left: 1.1em; color: var(--muted); font-size: 1rem; }

/* --- People strip (home) ---------------------------------------------- */
.people-grid { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: var(--s4); }
.people-card { display: block; border-top: var(--rule-ink); padding-top: var(--s3); color: inherit; }
.people-card img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover;
  border-radius: var(--radius-portrait);
  margin-bottom: var(--s3);
}
.people-card h3 { font-size: 1.0625rem; margin-bottom: var(--s1); color: var(--ink-deep); }
.people-card:hover h3 { color: var(--accent-deep); }
.people-card .person-role { margin-bottom: 0; }


/* --- Archive list ----------------------------------------------------- */
.archive { list-style: none; margin: 0; padding: 0; border-top: var(--rule-ink); }
.archive-item { border-bottom: var(--rule); margin: 0; padding: var(--s5) 0; display: grid; grid-template-columns: 8rem minmax(0,1fr); gap: var(--s4); }
.archive-item h2, .archive-item h3 { font-size: clamp(1.1875rem, 2.2vw, 1.5rem); margin-bottom: var(--s2); }
.archive-item h2 a, .archive-item h3 a { color: var(--ink-deep); }
.archive-item h2 a:hover, .archive-item h3 a:hover { color: var(--accent-deep); }
.archive-item p { color: var(--muted); margin-bottom: 0; }
.archive-date { font-family: var(--sans); font-size: .6875rem; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); padding-top: .3em; }

/* --- Pills / tags ----------------------------------------------------- */
.tags { display: flex; flex-wrap: wrap; gap: var(--s2); list-style: none; margin: 0 0 var(--s4); padding: 0; }
.tags li { margin: 0; }
.tags a, .tag {
  font-family: var(--sans); font-size: .6875rem; letter-spacing: .08em; text-transform: uppercase;
  border: 1px solid var(--hairline-ink); padding: 5px 10px; color: var(--muted); display: inline-block;
}
.tags a:hover { border-color: var(--accent-deep); color: var(--accent-deep); }

/* --- Footer ----------------------------------------------------------- */
.foot { background: var(--ink-deep); color: #A9B4CC; padding: var(--s6) 0 calc(var(--s4) + 56px); font-size: .9375rem; }
.foot h2, .foot h3 { color: var(--white); font-size: .6875rem; font-family: var(--sans); letter-spacing: .12em; text-transform: uppercase; font-weight: 600; }
.foot a { color: #C6CEE0; }
.foot a:hover { color: var(--white); }
.foot-cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: var(--s5); padding-bottom: var(--s5); border-bottom: 1px solid rgba(255,255,255,.14); }
.foot-cols > div { min-width: 0; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin-bottom: 7px; }
.foot-brand { display: flex; gap: var(--s3); align-items: flex-start; }
.foot-brand img { width: 56px; height: 56px; object-fit: contain; background: rgba(255,255,255,.06); }
.foot-name { font-family: var(--serif); font-weight: 700; font-size: 1.125rem; color: var(--white); display: block; }
.foot-tag { font-family: var(--sans); font-size: .625rem; letter-spacing: .1em; text-transform: uppercase; color: #8A96B4; display: block; margin-top: 3px; }
.foot-base { padding-top: var(--s4); display: flex; flex-wrap: wrap; gap: var(--s3); justify-content: space-between; font-family: var(--sans); font-size: .75rem; color: #7C89A8; }
.foot-base ul { display: flex; flex-wrap: wrap; gap: var(--s3); }

/* --- Floating WhatsApp ------------------------------------------------- */
.wa {
  position: fixed; right: 18px; bottom: 18px; z-index: 40;
  display: inline-flex; align-items: center; gap: var(--s2);
  background: var(--ink); color: var(--white);
  border: 1px solid var(--ink);
  font-family: var(--sans); font-size: .75rem; font-weight: 600;
  letter-spacing: .07em; text-transform: uppercase; padding: 12px 16px;
  transition: background .18s var(--ease), border-color .18s var(--ease);
}
.wa:hover { background: var(--accent-deep); border-color: var(--accent-deep); color: var(--white); }
.wa svg { width: 18px; height: 18px; fill: currentColor; }

/* --- Pagination ------------------------------------------------------- */
.pager { display: flex; justify-content: space-between; gap: var(--s4); border-top: var(--rule-ink); padding-top: var(--s3); font-family: var(--sans); font-size: .8125rem; }
.pager a { color: var(--accent-deep); }
.pager span { color: var(--muted); }

/* --- Related --------------------------------------------------------- */
.related { border-top: var(--rule-ink); padding-top: var(--s4); }
.related ul { list-style: none; margin: 0; padding: 0; }
.related li { border-bottom: var(--rule); padding: var(--s2) 0; }
.related a { font-family: var(--serif); font-size: 1.0625rem; color: var(--ink-deep); }
.related a:hover { color: var(--accent-deep); }

/* --- Print ------------------------------------------------------------ */
@media print {
  .util, .masthead, .wa, .foot, .rail, .cta-panel { display: none; }
  body { font-size: 11pt; }
}

/* --- Responsive ------------------------------------------------------- */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: var(--s5); }
  .hero-rail { border-left: 0; padding-left: 0; border-top: var(--rule); padding-top: var(--s4); }
  .article-grid { grid-template-columns: 1fr; gap: var(--s5); }
  .rail { position: static; }
  .feature > a { grid-template-columns: 3.5rem minmax(0, 1fr); }
  .feature-sum, .feature-go { grid-column: 2; }
}

@media (max-width: 900px) {
  .nav { display: none; }
  .nav-toggle { display: inline-block; }
  .nav.is-open {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--ground); border-bottom: var(--rule-ink);
    padding: var(--s2) var(--gutter) var(--s3); z-index: 20;
  }
  .nav.is-open a { padding: var(--s3) 0; border-bottom: var(--rule); font-size: .875rem; }
  .nav.is-open a::after { display: none; }
  .nav.is-open .nav-item { position: static; }
  .nav.is-open .nav-drop {
    display: block; position: static; border: 0; border-top: var(--rule);
    padding: 0 0 var(--s2) var(--s3); min-width: 0; background: transparent;
  }
  .nav.is-open .nav-drop a { padding: var(--s2) 0; border-bottom: 0; font-size: .8125rem; color: var(--muted); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat { border-bottom: var(--rule); }
  .stat:nth-child(2n) { border-right: 0; }
  .grid-3, .quotes { grid-template-columns: 1fr; }
  .people-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .form-grid { grid-template-columns: 1fr; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .masthead .wrap { flex-wrap: wrap; }
  .masthead .cta-btn { display: none; }
  .archive-item { grid-template-columns: 1fr; gap: var(--s2); }
  .band { padding: var(--s6) 0; }
  .hero { padding: var(--s5) 0 var(--s6); }
}

@media (max-width: 560px) {
  :root { --gutter: 18px; }
  .grid-2 { grid-template-columns: 1fr; }
  .foot-cols { grid-template-columns: 1fr; }
  .person { grid-template-columns: 7rem minmax(0,1fr); gap: var(--s3); }
  .person-photo, .person-mark { width: 7rem; height: 7rem; }
  .people-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .wa span { display: none; }
  .wa { padding: 14px; }
}

/* Keep the masthead inside the viewport on small screens — the descriptor and
   the reg. number are the two elements that push the header wider than a phone. */
@media (max-width: 700px) {
  .masthead .wrap { row-gap: var(--s2); min-height: 72px; }
  .brand { flex: 1 1 auto; min-width: 0; }
  .brand img { width: 42px; height: 42px; }
  .brand-name { font-size: 1.0625rem; }
  .brand-desc { font-size: .5625rem; letter-spacing: .05em; line-height: 1.5; }
  .util-reg { display: none; }
  .nav-toggle { flex: none; }
}
@media (max-width: 560px) {
  .util-list { gap: var(--s2) var(--s3); }
}
@media (max-width: 480px) {
  /* the descriptor is repeated in the hero, the footer and the meta title;
     dropping it here keeps the masthead on a single row on a phone */
  .brand-desc { display: none; }
}
