@import url("colors.css?v=20261115b");

/* ═══════════════════════════════════════════════════════════════════
   CRISIS INTEL — REDESIGN (2026-11) "Situation room"
   Loaded after styles.css on every page. Banner navy throughout, with open editorial sections,
   one amber accent for links and active things, red only for warnings, and a colour code
   per practice area (like incident command). Inter for text, IBM Plex Mono for labels and data.
   The first block re-points styles.css's own colour and font settings, so every existing page
   takes the new look; the rest styles the new header, practice-area bar, footer and home page
   (markup written by _scripts/apply_redesign.py).
═══════════════════════════════════════════════════════════════════ */

:root {
  --serif: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --cond:  'IBM Plex Mono', ui-monospace, Menlo, Consolas, monospace;
  --mono:  'IBM Plex Mono', ui-monospace, Menlo, Consolas, monospace;
}

body { background: var(--paper); }
::selection { background: var(--ci-amber); color: var(--ci-navy); }
:focus-visible { outline: 2px solid var(--ci-amber); outline-offset: 2px; }

/* Monospace labels read larger than the old condensed font, so the small uppercase labels are
   set a touch smaller and less spaced. */
.section-label, .section-eyebrow, .intro-eyebrow, .article-eyebrow, .tag, .read-more, .section-link,
.article-card-meta, .crumb, .article-meta, .lead-meta, .pager-label {
  letter-spacing: 0.06em !important;
}

/* ─── Ticker ─── */
.ticker { background: var(--ci-night); border-bottom: 1px solid var(--ci-line); }
.ticker-prefix { background: var(--ci-red); }
.ticker-label { font-family: var(--mono); letter-spacing: 0.08em; color: #fff; }
.ticker-dot { background: #fff; }
.ticker-marquee span { font-family: var(--mono); font-weight: 500; letter-spacing: 0.02em; }
.ticker-time { font-family: var(--mono); color: rgba(255, 255, 255, 0.55); }

/* ─── Header ─── */
.ci-header { position: sticky; top: 0; z-index: 60; background: var(--ci-navy); color: #fff; }
.ci-header-inner {
  max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter);
  display: flex; align-items: center; gap: 28px; height: 68px;
}
.ci-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; flex-shrink: 0; }
/* The logo file is dark on grey, so it sits on a light tile to stay visible on the navy header. */
.ci-brand img { width: 40px; height: 40px; border-radius: 4px; display: block; background: var(--body-text); padding: 2px; }
.ci-wordmark { font-family: 'Inter', sans-serif; font-size: 19px; font-weight: 800; letter-spacing: -0.02em; line-height: 1; }
.ci-wordmark b { color: var(--ci-amber); font-weight: 800; }
.ci-wordmark small {
  display: block; margin-top: 4px; font-family: var(--mono); font-size: 9.5px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255, 255, 255, 0.55);
}
.ci-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.ci-nav a {
  color: rgba(255, 255, 255, 0.82); text-decoration: none; font-size: 14.5px; font-weight: 500;
  padding: 8px 12px; border-radius: 4px; transition: background 0.15s, color 0.15s;
}
.ci-nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }
.ci-nav a.is-current { color: #fff; box-shadow: inset 0 -2px 0 var(--ci-amber); border-radius: 0; }
.ci-live-dot {
  display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--ci-red);
  margin-right: 7px; vertical-align: 1px; box-shadow: 0 0 0 0 rgba(214, 40, 40, 0.6); animation: ci-pulse 2s infinite;
}
@keyframes ci-pulse { 70% { box-shadow: 0 0 0 7px rgba(214, 40, 40, 0); } 100% { box-shadow: 0 0 0 0 rgba(214, 40, 40, 0); } }
.ci-cta {
  flex-shrink: 0; background: var(--ci-amber); color: var(--ci-navy); text-decoration: none; font-weight: 700;
  font-size: 14px; padding: 9px 16px; border-radius: 4px;
}
.ci-cta:hover { background: #ffbf1f; }
.ci-menu-btn {
  display: none; margin-left: auto; background: none; border: 1px solid var(--ci-line); color: #fff;
  font: 600 13px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; padding: 10px 12px; border-radius: 4px; cursor: pointer;
}

/* Practice-area bar: the five areas, always one click away, each with its colour code. */
.ci-areas { background: var(--ci-navy-2); border-top: 1px solid var(--ci-line); }
.ci-areas-inner {
  max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter);
  display: flex; gap: 0; overflow-x: auto; scrollbar-width: none;
}
.ci-areas-inner::-webkit-scrollbar { display: none; }
.ci-areas-label {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45); padding: 13px 18px 13px 0; white-space: nowrap; align-self: center;
}
.ci-areas a {
  display: flex; align-items: center; gap: 9px; white-space: nowrap; text-decoration: none;
  color: rgba(255, 255, 255, 0.85); font-size: 13.5px; font-weight: 600; padding: 13px 16px;
  border-bottom: 3px solid transparent; transition: background 0.15s, color 0.15s;
}
.ci-areas a::before { content: ''; width: 9px; height: 9px; border-radius: 2px; background: var(--pa); flex-shrink: 0; }
.ci-areas a:hover { background: rgba(255, 255, 255, 0.05); color: #fff; }
.ci-areas a.is-current { color: #fff; border-bottom-color: var(--pa); background: rgba(255, 255, 255, 0.06); }

/* Each practice area's colour, wherever .pa-* is used. */
.pa-emergency { --pa: var(--pa-emergency); }
.pa-homeland  { --pa: var(--pa-homeland); }
.pa-bcp       { --pa: var(--pa-bcp); }
.pa-road      { --pa: var(--pa-road); }
.pa-gov       { --pa: var(--pa-gov); }

/* Phone and tablet menu */
.ci-menu { background: var(--ci-navy); border-top: 1px solid var(--ci-line); padding: 8px var(--gutter) 24px; }
.ci-menu[hidden] { display: none; }
.ci-menu p {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45); margin: 18px 0 6px;
}
.ci-menu a {
  display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-size: 17px;
  font-weight: 600; padding: 11px 0; border-bottom: 1px solid var(--ci-line);
}
.ci-menu a[class^="pa-"]::before { content: ''; width: 10px; height: 10px; border-radius: 2px; background: var(--pa); }
.ci-menu .ci-cta { display: inline-block; margin-top: 18px; border: 0; color: var(--ci-navy); font-size: 15px; padding: 11px 18px; }

@media (max-width: 1100px) {
  .ci-nav, .ci-header-inner > .ci-cta { display: none; }
  .ci-menu-btn { display: block; }
}
@media (max-width: 600px) {
  .ci-header-inner { height: 60px; gap: 12px; }
  .ci-wordmark small { display: none; }
  .ci-areas-label { display: none; }
  .ci-areas a { padding: 11px 12px; font-size: 13px; }
}

/* ─── Shared page pieces on the new look ─── */
.page-hero { background: var(--paper-2); border-bottom: 1px solid var(--rule); }
.page-hero-title { letter-spacing: -0.025em; }
.tag, .tag.red { background: var(--ci-navy); color: #fff; border-color: var(--ci-navy); font-family: var(--mono); }
.article-card { border-radius: 4px; }
.article-card:hover { border-color: var(--ci-navy); box-shadow: 0 6px 20px rgba(11, 26, 44, 0.08); }
.article-prose a { color: var(--ci-blue); }
.article-prose blockquote { border-left-color: var(--ci-amber); font-style: normal; }
.btn-subscribe, .intro-cta-secondary, button.primary { border-radius: 4px; }

/* ─── Footer ─── */
.ci-footer { background: var(--ci-navy); color: rgba(255, 255, 255, 0.72); padding: 64px 0 0; margin-top: 0; }
.ci-footer-inner { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.ci-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.ci-footer .ci-brand { margin-bottom: 16px; }
.ci-footer-tag { font-size: 15px; line-height: 1.6; max-width: 340px; margin: 0 0 20px; }
.ci-footer h4 {
  font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ci-amber); margin: 6px 0 16px;
}
.ci-footer ul { list-style: none; margin: 0; padding: 0; }
.ci-footer li { margin-bottom: 10px; }
.ci-footer a { color: rgba(255, 255, 255, 0.82); text-decoration: none; font-size: 14.5px; }
.ci-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.ci-footer li a[class^="pa-"]::before {
  content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 2px; background: var(--pa); margin-right: 9px;
}
.ci-social { display: flex; gap: 10px; }
.ci-social a {
  width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--ci-line); border-radius: 4px;
}
.ci-social a:hover { border-color: var(--ci-amber); color: var(--ci-amber); }
.ci-footer-bottom {
  border-top: 1px solid var(--ci-line); padding: 20px 0 28px; display: flex; justify-content: space-between; gap: 16px;
  flex-wrap: wrap; font-family: var(--mono); font-size: 12px; color: rgba(255, 255, 255, 0.5);
}
.ci-footer-bottom a { font-size: 12px; margin-left: 16px; color: rgba(255, 255, 255, 0.6); }
@media (max-width: 900px) { .ci-footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ci-footer-grid { grid-template-columns: 1fr; } }

/* ─── Home page (front page) ─── */
.ci-front { padding: 40px 0 8px; }
.ci-wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.ci-kicker {
  font-family: var(--mono); font-size: 11.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--quiet); display: flex; align-items: center; gap: 10px; margin: 0 0 14px;
}
.ci-kicker::before { content: ''; width: 18px; height: 3px; background: var(--ci-amber); }
.ci-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; border-top: 3px solid var(--ink); padding-top: 14px; margin-bottom: 24px; }
.ci-section-head h2 { font-size: 26px; font-weight: 800; letter-spacing: -0.025em; color: var(--ink); margin: 0; }
.ci-more { font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ci-blue); text-decoration: none; white-space: nowrap; }
.ci-more:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Top row: the lead story (Dr. Ogutu's latest perspective) beside the live situation panel. */
.ci-top { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; align-items: stretch; }
.ci-lead { background: var(--surface); border: 1px solid var(--rule-soft); border-top: 4px solid var(--pa, var(--ci-amber)); padding: 36px 40px; border-radius: 4px; }
.ci-lead-title { font-size: clamp(30px, 3.4vw, 46px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.06; margin: 0 0 18px; color: var(--ink); text-wrap: balance; }
.ci-lead-title a { color: inherit; text-decoration: none; }
.ci-lead-title a:hover { color: var(--ci-blue); }
.ci-lead-summary { font-size: 18.5px; line-height: 1.6; color: var(--body-text); margin: 0 0 24px; max-width: 680px; }
.ci-byline { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.ci-byline img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.ci-byline strong { display: block; color: var(--ink); font-size: 15px; }
.ci-byline span { font-family: var(--mono); font-size: 12px; color: var(--quiet); letter-spacing: 0.04em; }
.ci-btn {
  display: inline-flex; align-items: center; gap: 8px; background: var(--ci-navy); color: #fff; text-decoration: none;
  font-weight: 700; font-size: 15px; padding: 12px 20px; border-radius: 4px;
}
.ci-btn:hover { background: var(--ci-blue); }
.ci-btn.ghost { background: transparent; color: var(--ci-navy); box-shadow: inset 0 0 0 1.5px var(--ci-navy); }
.ci-btn.ghost:hover { background: var(--ci-navy); color: #fff; }
.ci-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.ci-situation { background: var(--ci-navy); color: #fff; border-radius: 4px; padding: 24px 24px 20px; display: flex; flex-direction: column; }
.ci-situation-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.ci-situation-head h2 { font-family: var(--mono); font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: #fff; margin: 0; }
.ci-situation-time { font-family: var(--mono); font-size: 11px; color: rgba(255, 255, 255, 0.5); }
.ci-situation ol { list-style: none; margin: 8px 0 16px; padding: 0; flex: 1; }
.ci-situation li { display: grid; grid-template-columns: 12px 1fr; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--ci-line); font-size: 14px; line-height: 1.4; color: rgba(255, 255, 255, 0.9); }
.ci-situation li::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--ci-amber); margin-top: 5px; }
.ci-situation li.is-loading::before { background: rgba(255, 255, 255, 0.3); }
.ci-situation .ci-more { color: var(--ci-amber); }

/* Practice-area desks: every area with its newest articles, so nothing hides in a menu. */
.ci-desks { padding: 56px 0 8px; }
.ci-desk-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.ci-desk { background: var(--surface); border: 1px solid var(--rule-soft); border-top: 4px solid var(--pa); border-radius: 4px; padding: 20px 20px 18px; display: flex; flex-direction: column; }
.ci-desk-code { font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: 0.1em; color: var(--pa); margin: 0 0 8px; }
.ci-desk h3 { font-size: 19px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; margin: 0 0 8px; }
.ci-desk h3 a { color: var(--ink); text-decoration: none; }
.ci-desk h3 a:hover { color: var(--pa); }
.ci-desk-desc { font-size: 13.5px; line-height: 1.55; color: var(--quiet); margin: 0 0 14px; }
.ci-desk ul { list-style: none; margin: 0 0 16px; padding: 0; flex: 1; }
.ci-desk li { border-top: 1px solid var(--rule-soft); }
.ci-desk li a { display: block; padding: 10px 0; color: var(--ink); text-decoration: none; font-size: 14.5px; font-weight: 600; line-height: 1.35; }
.ci-desk li a:hover { color: var(--pa); }
.ci-desk .ci-more { color: var(--pa); }

/* Field reports: the case studies that have photographs. */
.ci-reports { padding: 56px 0 8px; }
.ci-report-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 24px; }
.ci-report { position: relative; display: block; border-radius: 4px; overflow: hidden; background: var(--ci-navy); color: #fff; text-decoration: none; min-height: 300px; }
.ci-report img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.55; transition: opacity 0.3s, transform 0.6s; }
.ci-report:hover img { opacity: 0.4; transform: scale(1.03); }
.ci-report-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px; background: linear-gradient(transparent, rgba(7, 17, 29, 0.92)); }
.ci-report-body span { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ci-amber); }
.ci-report-body h3 { font-size: 21px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; margin: 8px 0 0; color: #fff; }

/* Founder band */
.ci-founder { margin: 64px 0 0; background: var(--paper-2); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 56px 0; }
.ci-founder-grid { display: grid; grid-template-columns: 200px minmax(0, 1fr) auto; gap: 40px; align-items: center; }
.ci-founder img { width: 200px; height: 200px; object-fit: cover; border-radius: 4px; display: block; }
.ci-founder h2 { font-size: clamp(26px, 2.6vw, 34px); font-weight: 800; letter-spacing: -0.025em; line-height: 1.12; margin: 0 0 12px; color: var(--ink); text-wrap: balance; }
.ci-founder p { font-size: 16.5px; line-height: 1.65; color: var(--body-text); margin: 0; max-width: 640px; }
.ci-founder p.ci-kicker { font-size: 11.5px; margin-bottom: 14px; }
.ci-stats { display: grid; grid-template-columns: repeat(3, auto); gap: 28px; }
.ci-stats div { border-left: 3px solid var(--ci-amber); padding-left: 14px; }
.ci-stats b { display: block; font-size: 30px; font-weight: 800; letter-spacing: -0.03em; color: var(--ink); line-height: 1; }
.ci-stats span { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--quiet); }

@media (max-width: 1180px) {
  .ci-desk-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ci-founder-grid { grid-template-columns: 160px minmax(0, 1fr); }
  .ci-founder img { width: 160px; height: 160px; }
  .ci-stats { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .ci-top { grid-template-columns: 1fr; }
  .ci-desk-grid { grid-template-columns: 1fr 1fr; }
  .ci-report-grid { grid-template-columns: 1fr; }
  .ci-lead { padding: 26px 22px; }
}
@media (max-width: 560px) {
  :root { --gutter: 16px; }
  .ci-desk-grid { grid-template-columns: 1fr; }
  .ci-founder-grid { grid-template-columns: 1fr; }
  .ci-stats { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .ci-stats b { font-size: 24px; }
}

/* Open editorial layout: headings and rules establish hierarchy, not card shells. */
.ci-lead, .ci-desk, .ci-situation, .article-card, .expert-card,
.book-card, .book-spine, .cm-box, .brief-list, .sidebar-block,
.pricing-card, .stream-card, .alert-plan-card, .region-card, .incident-card {
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--rule);
}
.ci-lead { padding: 24px 0; border-top: 3px solid var(--ci-amber); }
.ci-desk { padding: 18px 0 0; border-top: 2px solid var(--rule); }
.ci-desk-code, .ci-desk .ci-more { color: var(--ci-amber); }
.ci-desk-grid { column-gap: 28px; row-gap: 36px; }
.ci-situation { padding: 24px 0 20px 24px; border-left: 1px solid var(--rule); }
.ci-section-head { border-top: 1px solid var(--rule); }
.ci-section-head h2 { color: var(--ink); }
.ci-kicker::before { background: var(--ci-amber); }
.ci-founder { background: transparent; }
.ci-stats div { border-left: 1px solid var(--rule); }
.ci-report, .ci-founder img, .ci-brand img { border-radius: 0; }
.ci-report, .ci-report:hover { box-shadow: none; }
.ci-report:hover img { transform: none; }
.article-card:hover, .expert-card:hover, .book-card:hover, .book-spine:hover,
.pricing-card:hover, .stream-card:hover, .alert-plan-card:hover, .region-card:hover {
  background: transparent; box-shadow: none; transform: none; border-color: var(--ci-amber);
}
.article-card .article-card-body { padding-left: 0 !important; padding-right: 0 !important; }
.cm-box, .sidebar-block { padding-left: 0; padding-right: 0; }
.cm-box-title { border-bottom: 1px solid var(--rule); }
.page-hero { background: var(--ci-navy); }
.crumb .crumb-sep { color: var(--quiet); }
.founder-portrait { background: var(--paper-2); }
.ci-footer { border-top: 1px solid var(--rule); }
.ci-brand:hover { color: var(--ink); }
.ci-wordmark small, .ci-areas-label, .ci-menu p, .ci-situation-time,
.ci-footer-bottom, .ci-footer-bottom a, .ticker-time { color: var(--quiet); }
.ticker, .ticker-time { background: var(--ci-night); }
.ticker-marquee span { color: var(--body-text); }
.ticker-prefix::after { background: linear-gradient(to right, var(--ci-night), transparent); }

/* Amber actions with navy lettering; light text on all unfilled actions. */
.ci-btn, .ci-cta, .btn-red, .btn-large.red, .qs-btn, .zip-btn,
.pricing-cta.red-cta, .newsletter-form button, .toggle-btn.active,
.hazard-tab.active, .cat-pill.active, .article-eyebrow, .plan-badge {
  background: var(--ci-amber); border-color: var(--ci-amber); color: var(--ci-navy); border-radius: 0;
}
.ci-btn:hover, .ci-cta:hover, .btn-red:hover, .qs-btn:hover,
.pricing-cta.red-cta:hover, .newsletter-form button:hover { background: var(--navy-dark); color: var(--ci-navy); }
.ci-btn.ghost { background: transparent; color: var(--ci-amber); box-shadow: inset 0 0 0 1px var(--rule); }
.ci-btn.ghost:hover { background: var(--navy-soft); color: var(--navy-dark); }
.tag, .tag.red { background: transparent; border-color: var(--rule); color: var(--quiet); border-radius: 0; }
.article-prose a:hover { color: var(--navy-dark); }
.alert-card { border-radius: 0; background: transparent; border: 0; border-top: 1px solid var(--rule); border-left: 3px solid var(--sev-moderate); }
.alerts-summary { background: transparent; border-left: 0; border-right: 0; }
input, select, textarea { color-scheme: dark; }
input::placeholder, textarea::placeholder { color: var(--quiet); opacity: 1; }

/* Page-local rules load after this file; body scope keeps these theme rules authoritative. */
body .contact-form, body .gt-stat, body .gt-challenge, body .gt-domain,
body .gt-how, body .gt-creds, body .gt-cta {
  background: transparent; border: 0; border-top: 1px solid var(--rule);
  border-radius: 0; box-shadow: none;
}
body .gt-stat, body .gt-challenge, body .gt-domain { padding-left: 0; padding-right: 0; }
body .gt-domain:hover { transform: none; border-color: var(--ci-amber); }
body .gt-domain-num { color: var(--quiet); }
body .gt-how, body .gt-creds, body .gt-cta { color: var(--body-text); }
body .gt-how .gt-section-title, body .gt-step h4, body .gt-creds h3,
body .gt-cred-row strong, body .gt-cta h2 { color: var(--ink); }
body .gt-step p, body .gt-cred-row, body .gt-cta p { color: var(--body-text); }
body .gt-how .gt-section-label, body .gt-step-num { color: var(--ci-amber); border-color: var(--rule); }
body .gt-table thead { background: var(--paper-2); color: var(--ink); }
body .gt-btn-primary, body .gt-btn-light, body .contact-submit {
  background: var(--ci-amber); color: var(--ci-navy); border-radius: 0;
}
body .gt-btn-primary:hover, body .gt-btn-light:hover, body .contact-submit:hover:not(:disabled) {
  background: var(--navy-dark); color: var(--ci-navy);
}
body .gt-btn-light-outline { color: var(--ci-amber); border-color: var(--rule); border-radius: 0; }
body .gt-btn-light-outline:hover { color: var(--navy-dark); border-color: var(--ci-amber); }
body .contact-status.ok { color: var(--sev-moderate); }
body .contact-field :is(input, select, textarea):focus-visible {
  outline: 2px solid var(--ci-amber); outline-offset: 2px;
}
/* Older inline inverse panels must not turn into white cards in the dark palette. */
body main [style*="background:var(--ink)"] { background: transparent !important; border-color: var(--rule) !important; }
body main [style*="color:var(--surface)"] { color: var(--ink) !important; }
body main [style*="color:var(--paper-2)"], body main [style*="color:var(--rule)"] { color: var(--quiet) !important; }
@media (max-width: 900px) { .ci-situation { border-left: 0; padding-left: 0; } }

/* Compact article openings keep the actual story visible above the fold. */
.article-page { padding: 20px 0 36px; }
.article-title {
  font-size: clamp(25px, 2.5vw, 32px);
  font-weight: 650;
  line-height: 1.18;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
}
.article-eyebrow {
  background: transparent;
  color: var(--ci-amber);
  font-size: 11px;
  padding: 0;
  margin-bottom: 12px;
}
.article-meta { gap: 10px 16px; padding-bottom: 14px; margin-bottom: 18px; font-size: 11px; }
.article-hero { margin-bottom: 20px; }

/* Newsroom typography and density, with the original section/dropdown navigation. */
:root {
  --max: 1440px;
  --gutter: 24px;
  --mono: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --cond: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.ci-header { top: 36px; }
.ci-header-inner { height: 62px; gap: 20px; }
.ci-wordmark { font-size: 24px; letter-spacing: -0.06em; }
.ci-wordmark small { font-size: 9px; letter-spacing: 0.06em; }
.ci-header-tagline { margin: 0 auto 0 8px; color: var(--quiet); font-size: 14px; }
.ci-header .nav-primary { position: static; background: var(--ci-navy); border-top: 1px solid var(--rule); }
.ci-header .nav-primary-inner { gap: 0; justify-content: space-between; overflow: visible; }
.ci-header .nav-primary a { color: var(--body-text); font-family: var(--sans); font-size: 12px; font-weight: 600; text-transform: none; letter-spacing: 0; padding: 12px 7px; text-decoration: none; }
.ci-header .nav-primary a.current { color: var(--ci-amber); background: transparent; }
.ci-header .nav-primary a:hover { color: var(--ci-amber); }
.ci-header .nav-menu { background: var(--ci-navy-2); border: 1px solid var(--rule); border-top: 2px solid var(--ci-amber); width: 288px; max-width: calc(100vw - 32px); max-height: min(420px, calc(100dvh - 160px)); padding: 3px 0; box-shadow: 0 5px 14px rgba(0,0,0,.18); }
.ci-header .nav-menu a { color: var(--body-text) !important; white-space: normal; font-size: 12px; font-weight: 500; line-height: 1.3; padding: 6px 10px; }
.ci-header .nav-menu a:hover, .ci-header .nav-menu a:focus { color: var(--ci-navy) !important; background: var(--ci-amber) !important; }
.ci-header .nav-item:nth-last-child(-n+3) .nav-menu { left: auto; right: 0; }
.ci-front { padding: 22px 0 0; }
.ci-top { grid-template-columns: minmax(0, 1.8fr) minmax(300px, 1fr); gap: 28px; align-items: start; }
.ci-lead { padding: 18px 0 0; border-top-width: 2px; }
.ci-kicker { margin-bottom: 10px; font-size: 11px; letter-spacing: .06em; }
.ci-lead-title { font-size: clamp(28px, 3vw, 42px); font-weight: 700; line-height: 1.08; letter-spacing: -.035em; text-wrap: pretty; margin-bottom: 14px; }
.ci-lead-summary { font-size: 17px; line-height: 1.5; max-width: none; margin-bottom: 16px; }
.ci-byline { margin-bottom: 16px; gap: 10px; }
.ci-byline img { width: 36px; height: 36px; }
.ci-byline strong { font-size: 13px; }
.ci-btn { padding: 10px 16px; font-size: 14px; }
.ci-situation { padding-top: 18px; padding-bottom: 0; }
.ci-situation ol { flex: none; margin-bottom: 12px; }
.ci-situation li { padding: 8px 0; font-size: 13px; }
.ci-situation .ci-more { align-self: start; }
.ci-desks, .ci-reports { padding: 28px 0 0; }
.ci-section-head { margin-bottom: 16px; padding-top: 12px; }
.ci-section-head h2 { font-size: 23px; font-weight: 700; }
.ci-more { font-size: 11px; letter-spacing: .035em; }
.ci-desk-grid { gap: 22px; align-items: start; }
.ci-desk { display: block; padding-top: 12px; }
.ci-desk h3 { font-size: 18px; font-weight: 700; }
.ci-desk-desc { font-size: 13px; margin-bottom: 10px; line-height: 1.45; }
.ci-desk ul { margin-bottom: 12px; }
.ci-desk li a { font-size: 14px; padding: 8px 0; line-height: 1.35; }
.ci-report-grid { gap: 22px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ci-report { min-height: 0; aspect-ratio: 1.8; }
.ci-report-body { padding: 16px; }
.ci-report-body h3 { font-size: 20px; font-weight: 700; }
.ci-founder { margin-top: 28px; padding: 28px 0; }
.ci-founder-grid { grid-template-columns: 140px minmax(0,1fr) auto; gap: 24px; }
.ci-founder img { width: 140px; height: 160px; }
.ci-founder h2 { font-size: 26px; }
.ci-founder p { font-size: 15px; line-height: 1.5; }
.ci-footer { padding-top: 28px; }
.ci-footer-grid { gap: 24px; padding-bottom: 22px; }
.ci-footer li { margin-bottom: 7px; }
.ci-footer-bottom { padding: 16px 0; }
.section { padding: 28px 0; }
.page-hero { padding: 18px 0; }
.cm-layout { gap: 28px; }
.cm-row { padding: 18px 0; gap: 20px; }
.article-card.article-card-text { min-height: 0; }
.ci-social a, .ci-menu-btn, .ci-nav a { border-radius: 0; }
body .contact-grid { grid-template-columns: minmax(240px,1fr) minmax(0,2fr); gap: 32px; }
body .contact-form { padding: 18px 0 0; }
body .contact-field { margin-bottom: 14px; }
body .gt-actions, body .gt-stats, body .gt-section, body .gt-how,
body .gt-why-grid, body .gt-cta { margin-bottom: 28px; }
body .gt-how, body .gt-creds, body .gt-cta { padding: 24px 0; }
body .gt-stats, body .gt-domains, body .gt-challenge-grid { gap: 20px; }
body .founder-grid[style] { gap: 28px !important; padding-top: 28px !important; margin-bottom: 28px !important; }
body main [style*="margin-bottom:64px"], body main [style*="margin-bottom: 64px"] { margin-bottom: 28px !important; }
body main [style*="padding-top:56px"], body main [style*="padding-top: 56px"] { padding-top: 28px !important; }
body .expert-card[style] { background: transparent !important; border: 0 !important; border-top: 1px solid var(--rule) !important; padding: 18px 0 !important; }
@media (max-width: 1100px) {
  .ci-header-tagline { display: none; }
  .ci-header-inner { height: 58px; }
  .ci-header .nav-primary-inner { justify-content: flex-start; gap: 12px; overflow-x: auto; overflow-y: hidden; mask-image: none; }
  .ci-header .nav-primary a { white-space: nowrap; padding: 12px 2px; }
  .ci-header .nav-menu, .ci-header .nav-caret { display: none !important; }
  .ci-founder-grid { grid-template-columns: 140px 1fr; }
  .ci-stats { grid-column: 1/-1; }
}
@media (max-width: 900px) {
  .ci-header { position: relative; top: auto; }
  .ci-top { grid-template-columns: 1fr; gap: 22px; }
  .ci-lead-title { font-size: 32px; }
  .ci-desk-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .ci-report-grid { grid-template-columns: 1fr; }
  body .contact-grid { grid-template-columns: 1fr; gap: 22px; }
}
@media (max-width: 560px) {
  :root { --gutter: 16px; }
  .ci-front { padding-top: 16px; }
  .ci-lead-title { font-size: 29px; }
  .ci-desk-grid { grid-template-columns: 1fr; gap: 20px; }
  .ci-desk { padding-top: 10px; }
  .ci-founder-grid { display: block; }
  .ci-founder img { float: left; width: 90px; height: 110px; margin: 0 16px 10px 0; }
  .ci-founder h2 { font-size: 22px; }
  .ci-founder .ci-actions { clear: both; }
  .ci-founder .ci-stats { clear: both; padding-top: 20px; }
  .section { padding: 20px 0; }
  .ci-footer-grid { grid-template-columns: 1fr 1fr; gap: 24px 16px; }
  .ci-footer-grid > :first-child { grid-column: 1/-1; }
  .ci-footer-grid > :last-child { grid-column: 1/-1; }
  .ci-footer-grid > :last-child ul { columns: 2; }
}

/* Image sizing follows the content: photographs fill previews, documents remain complete. */
img { max-width: 100%; }
.article-card-img, .article-card-img-placeholder,
.article-card-img-placeholder img {
  width: 100%; height: auto !important; aspect-ratio: 3 / 2;
  object-fit: cover; object-position: center; display: block;
}
/* These field/archive previews already opt into containment in their markup. */
.article-card-img[style*="object-fit:contain"] {
  aspect-ratio: auto; height: auto !important; object-fit: contain;
  padding: 0 !important; background: transparent !important;
}
.article-card-img-placeholder:has(img) { aspect-ratio: auto; }
.article-hero {
  width: auto; height: auto; max-width: 100%; max-height: 520px;
  object-fit: contain; margin-left: auto; margin-right: auto;
}
.article-prose img { max-width: 100%; height: auto; }
/* Original scans and gallery photos link directly to the full-size asset. */
main a:is([href$=".png"], [href$=".jpg"], [href$=".jpeg"], [href$=".webp"]) > img {
  display: block; width: 100% !important; height: auto !important;
  aspect-ratio: auto !important; object-fit: contain !important;
}
.ci-report { aspect-ratio: auto; overflow: visible; background: transparent; }
.ci-report img {
  position: static; width: 100%; height: auto; aspect-ratio: 16 / 10;
  object-fit: contain; opacity: 1; transform: none; background: var(--ci-night);
}
.ci-report:hover img { opacity: 1; transform: none; }
.ci-report-body { position: static; padding: 10px 0 0; background: none; }
.ci-report-body h3 { margin-top: 5px; font-size: 18px; line-height: 1.3; }
.ci-founder img { height: auto; aspect-ratio: auto; object-fit: contain; }
.ci-byline img, .cm-author-photo { object-position: center 25%; }
.ci-brand img { object-fit: contain; }
body .founder-portrait[style] {
  height: auto !important; aspect-ratio: 321 / 341;
  background-size: contain !important; background-repeat: no-repeat;
}
/* Cover artwork must retain its printed proportions even on narrow cards. */
img[alt^="Cover of"] {
  width: auto !important; height: auto !important; max-width: 100%; max-height: 300px;
  object-fit: contain; display: block; margin: 0 auto; box-shadow: none !important;
}
@media (max-width: 560px) {
  .article-hero { max-height: none; width: 100%; }
  .ci-report img { aspect-ratio: auto; max-height: 280px; object-fit: contain; }
}

/* ---- Dead-space pass (2026-11-15) ----
   styles.css gives every plain <section> 80px above and below, and the article footer pieces
   (share row, previous/next, related reading) 56-64px margins on top of that, which left
   100-160px empty bands between blocks. These bring the gaps down to 24-48px. */
section { padding: 40px 0; }
.article-page { padding: 36px 0 40px; }
.article-share { margin-top: 32px; padding-top: 18px; }
.article-pager { margin-top: 20px; padding-top: 20px; }
.article-related { margin-top: 36px; padding: 28px 0 0; }
.pager { margin-top: 28px; padding-top: 20px; }
.alerts-section { padding-bottom: 12px; }
.cm-list { padding-bottom: 0; }
/* Practice-area commentary: the cards share the row instead of one card sitting alone in the
   middle column (styles.css centres a lone last card). */
.ci-topic-commentary { padding-bottom: 8px; }
.ci-topic-commentary .articles-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.ci-topic-commentary .articles-grid > .article-card { grid-column: auto !important; margin: 0 !important; max-width: none !important; }
/* Experts has two blocks in a three-column grid; give them the full width. */
@media (min-width: 901px) {
  .articles-grid:has(> .expert-card) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* Contact was capped at 760px by an inline style, leaving wide empty margins. */
.container:has(> .contact-grid) { max-width: 1100px !important; }

/* Exact duplicate width gives the live banner a steady 80px/second loop. */
.ticker-marquee { gap: 0; padding-left: 0; animation-name: ci-ticker-scroll; }
.ticker-group { display: flex; align-items: center; gap: 56px; padding-right: 56px; flex: none; }
.ticker-static { animation: none; }
.ticker[data-feed-status="offline"] .ticker-prefix { background: var(--ci-line); }
.ticker[data-feed-status="partial"] .ticker-prefix { background: #865e00; }
@keyframes ci-ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(var(--ticker-distance, -50%)); }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-marquee { animation: none; }
  .ticker-track { overflow-x: auto; }
}

/* ---- Softer image edges (2026-11-16) ----
   Photos and scans had square corners and hard 1px frames (or sat in a darker letterbox box),
   so they looked pasted onto the page. They now get rounded corners and a soft shadow. */
main img, .founder-portrait, .ci-founder img {
  border-radius: 10px;
  box-shadow: 0 12px 28px -14px rgba(0, 0, 0, 0.7);
}
/* Book covers: a small, book-like corner. */
main img[alt^="Cover of"] { border-radius: 4px; }
/* The linked article photos lose their frame; the corner is clipped on the link so it matches the photo. */
main a:is([href$=".png"], [href$=".jpg"], [href$=".jpeg"], [href$=".webp"]):has(> img) {
  border: 0 !important; background: transparent !important; border-radius: 10px; overflow: hidden;
}
/* Field reports on the home page: each scan keeps its own shape instead of a letterboxed box,
   so the rounded corners sit on the picture itself. The scans differ in width, so each picture
   and its caption are centred in their column to keep the three cards balanced. */
.ci-report { text-align: center; }
.ci-report img {
  display: block; width: auto; height: auto; max-width: 100%; max-height: 280px;
  aspect-ratio: auto; background: none; margin: 0 auto;
}
/* Each field report scan in the same frame as the press cuttings gallery: a navy mat with the light-blue
   rim and a soft shadow, the scan lifted a little in contrast, brightness and colour, and a glow on hover. */
.ci-report-frame {
  display: inline-block; max-width: 100%; padding: 8px; border-radius: 14px;
  background: linear-gradient(180deg, #17324f 0%, #0f2238 100%);
  box-shadow: inset 0 0 0 1px var(--glass-rim), 0 12px 26px -14px rgba(0, 0, 0, 0.85), 0 0 18px -8px var(--glass-halo);
  transition: transform 0.2s ease, box-shadow 0.25s ease;
}
body .ci-report-frame img {
  max-height: 264px; border-radius: 8px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06);
  filter: contrast(1.08) brightness(1.04) saturate(1.08); transition: filter 0.25s ease;
}
.ci-report:hover .ci-report-frame {
  transform: translateY(-2px);
  box-shadow: inset 0 0 0 1px rgba(170, 220, 255, 0.85), 0 16px 30px -12px rgba(0, 0, 0, 0.9), 0 0 26px -6px rgba(110, 180, 255, 0.45);
}
body .ci-report:hover .ci-report-frame img { filter: contrast(1.12) brightness(1.07) saturate(1.12); }
@media (prefers-reduced-motion: reduce) {
  .ci-report-frame { transition: none; }
  .ci-report:hover .ci-report-frame { transform: none; }
}
/* Many article photos are scans of prints with a thin white border baked in; a 5% zoom inside the
   clipped link trims that edge so the photo meets the rounded corner cleanly. Only for a photo alone
   in its link: in the galleries the caption shares the link, and the zoom would spill onto it. */
main a:is([href$=".png"], [href$=".jpg"], [href$=".jpeg"], [href$=".webp"]) > img:only-child:not([alt^="Cover of"]) { transform: scale(1.05); }

/* Photo galleries (letters of recommendation, press cuttings): a masonry layout. The cuttings and letters
   are all different heights, so in rows each short one left an empty block under it; in columns each
   picture sits straight under the one above, with no gaps. Three columns, two on tablets, one on phones.
   Each caption stays centred under its picture. */
main div[style*="repeat(auto-fill,minmax(300px,1fr))"] {
  display: block !important; column-count: 3; column-gap: 16px;
}
main div[style*="repeat(auto-fill,minmax(300px,1fr))"] > a {
  display: block; width: 100%; break-inside: avoid; margin: 0 0 16px;
}
main div[style*="repeat(auto-fill,minmax(300px,1fr))"] > a > div { text-align: center; }
@media (max-width: 1000px) {
  main div[style*="repeat(auto-fill,minmax(300px,1fr))"] { column-count: 2; }
}
@media (max-width: 640px) {
  main div[style*="repeat(auto-fill,minmax(300px,1fr))"] { column-count: 1; }
}
/* Each cutting or letter sits in a frame: a thin navy mat with the buttons' light-blue rim and a soft
   shadow, like a mounted print. The scans get a light lift in contrast, brightness and colour so faded
   newsprint reads more crisply. The 5% edge-trim zoom is off here, since the mat now gives the clean edge.
   On hover the frame lifts and glows and the scan brightens a touch. */
body main div[style*="repeat(auto-fill,minmax(300px,1fr))"] > a {
  padding: 8px; border-radius: 14px !important;
  background: linear-gradient(180deg, #17324f 0%, #0f2238 100%) !important;
  box-shadow: inset 0 0 0 1px var(--glass-rim), 0 12px 26px -14px rgba(0, 0, 0, 0.85), 0 0 18px -8px var(--glass-halo);
  transition: transform 0.2s ease, box-shadow 0.25s ease;
}
body main div[style*="repeat(auto-fill,minmax(300px,1fr))"] > a > img {
  border-radius: 8px; transform: none !important; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06);
  filter: contrast(1.08) brightness(1.04) saturate(1.08); transition: filter 0.25s ease;
}
body main div[style*="repeat(auto-fill,minmax(300px,1fr))"] > a:hover {
  transform: translateY(-2px);
  box-shadow: inset 0 0 0 1px rgba(170, 220, 255, 0.85), 0 16px 30px -12px rgba(0, 0, 0, 0.9), 0 0 26px -6px rgba(110, 180, 255, 0.45);
}
body main div[style*="repeat(auto-fill,minmax(300px,1fr))"] > a:hover > img { filter: contrast(1.12) brightness(1.07) saturate(1.12); }
@media (prefers-reduced-motion: reduce) {
  body main div[style*="repeat(auto-fill,minmax(300px,1fr))"] > a { transition: none; transform: none !important; }
}

/* The logo is now a white-and-amber drawing (assets/brand/crisis-mark.svg) made for the navy header,
   so it no longer needs the light tile the old grey logo sat on. */
.ci-brand img { background: none; padding: 0; border-radius: 0; box-shadow: none; }

/* Sections Dr. Ogutu adds from edit mode (functions/_shared/site-edits.js renders them). */
/* Inside a grid or a row of columns, an added section takes the full width instead of one narrow column. */
.ci-added { margin: 28px 0; grid-column: 1 / -1; flex-basis: 100%; }
main > .ci-added { max-width: var(--max); margin: 32px auto; padding: 0 var(--gutter); }
.ci-added-img { display: block; max-width: 100%; height: auto; margin: 0 0 16px; }
.ci-added-title { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.2; color: var(--ink); margin: 0 0 12px; }
.ci-added h2:not(.ci-added-title), .ci-added h3 { color: var(--ink); margin: 20px 0 10px; }
.ci-added p, .ci-added li { font-size: 17px; line-height: 1.65; color: var(--body-text); margin: 0 0 14px; }
.ci-added ul, .ci-added ol { margin: 0 0 14px; padding-left: 22px; }

/* Today's date in the header (filled in by js/scripts.js); phones get the short form. It sits small at the
   right end of the header row, above the Contact button in the menu bar. */
.ci-header-tagline { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
                     margin: 0 0 0 auto; text-align: right; font-size: 12px; }
/* Contact: an amber glass pill at the end of the menu bar, sized to the bar. */
body .ci-header .nav-primary a.ci-nav-cta { padding: 7px 16px; margin-left: 6px; font-size: 12px; align-self: center; }
@media (max-width: 1100px) {
  body .ci-header-inner .ci-menu-btn { margin-left: 0; }
}
.ci-today { color: var(--quiet); white-space: nowrap; }
.ci-today-short { display: none; }
@media (max-width: 1100px) {
  .ci-header-tagline { display: block; font-size: 13px; }
}
@media (max-width: 600px) {
  .ci-today-long { display: none; }
  .ci-today-short { display: inline; }
  /* Phones: tighter gaps, and the date gives way first, so the Menu button always stays on screen. */
  .ci-header-inner { gap: 12px; }
  .ci-header-tagline { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; font-size: 12px; margin-left: 0; }
}

/* ---- Glass buttons (2026-11-16) ----
   Every clickable button is a rounded pill of tinted glass: a glossy gradient, a thin light-blue inner rim,
   a concave inner shading (darker at the top inside edge, lighter at the bottom), and a soft glow around it.
   On hover a band of light sweeps across and the button lifts and glows a little more; pressed, it sinks in.
   Amber glass for the main actions, clear smoked glass for the others, round glass for icon buttons. */
:root {
  --glass-rim: rgba(150, 205, 255, 0.55);          /* the light-blue inner border */
  --glass-halo: rgba(110, 180, 255, 0.28);         /* the soft blue glow around it */
  --glass-sheen: rgba(255, 255, 255, 0.55);        /* the moving band of light */
}
body :is(.ci-cta, .ci-btn, .gt-btn-primary, .gt-btn-light, .gt-btn-outline, .gt-btn-light-outline, .contact-submit,
         .member-cta, .ci-menu-btn, .intro-cta-primary, .pager a, .pager span:not(.pager-gap), .social-btn, .ci-social a,
         .cover-toolbar button) {
  position: relative; isolation: isolate; overflow: hidden;
  border: 0 !important; border-radius: 999px !important; text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.25s ease, filter 0.25s ease, color 0.2s ease;
}
/* Gloss: a soft reflection across the top half of the glass. */
body :is(.ci-cta, .ci-btn, .gt-btn-primary, .gt-btn-light, .gt-btn-outline, .gt-btn-light-outline, .contact-submit,
         .member-cta, .ci-menu-btn, .intro-cta-primary, .pager a, .pager span:not(.pager-gap), .social-btn, .ci-social a,
         .cover-toolbar button)::before {
  content: ""; position: absolute; inset: 1px 1px 50% 1px; border-radius: 999px 999px 40% 40% / 999px 999px 18px 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.04));
  pointer-events: none; z-index: -1;
}
/* Glare: a band of light that sweeps across on hover. */
body :is(.ci-cta, .ci-btn, .gt-btn-primary, .gt-btn-light, .gt-btn-outline, .gt-btn-light-outline, .contact-submit,
         .member-cta, .ci-menu-btn, .intro-cta-primary, .pager a, .social-btn, .ci-social a, .cover-toolbar button)::after {
  content: ""; position: absolute; top: -20%; bottom: -20%; left: -60%; width: 45%;
  background: linear-gradient(105deg, transparent, var(--glass-sheen), transparent);
  transform: translateX(-120%) skewX(-18deg); transition: transform 0.75s ease; pointer-events: none;
}
body :is(.ci-cta, .ci-btn, .gt-btn-primary, .gt-btn-light, .gt-btn-outline, .gt-btn-light-outline, .contact-submit,
         .member-cta, .ci-menu-btn, .intro-cta-primary, .pager a, .social-btn, .ci-social a, .cover-toolbar button):hover::after {
  transform: translateX(420%) skewX(-18deg);
}

/* Amber glass: the main actions. */
body :is(.ci-cta, .ci-btn:not(.ghost), .gt-btn-primary, .gt-btn-light, .contact-submit, .member-cta, .pager .pager-current) {
  background: linear-gradient(180deg, #ffd66b 0%, #f5b31a 45%, #dc9600 100%) !important;
  color: #0b1a2c !important; font-weight: 700;
  box-shadow:
    inset 0 0 0 1px var(--glass-rim),
    inset 0 3px 6px rgba(120, 70, 0, 0.35),
    inset 0 -3px 6px rgba(255, 240, 200, 0.45),
    0 6px 18px -6px rgba(242, 169, 0, 0.7),
    0 0 22px -6px var(--glass-halo);
}
body :is(.ci-cta, .ci-btn:not(.ghost), .gt-btn-primary, .gt-btn-light, .contact-submit, .member-cta):hover {
  transform: translateY(-1px); filter: brightness(1.05);
  box-shadow:
    inset 0 0 0 1px var(--glass-rim),
    inset 0 3px 6px rgba(120, 70, 0, 0.3),
    inset 0 -3px 6px rgba(255, 240, 200, 0.5),
    0 10px 26px -8px rgba(242, 169, 0, 0.85),
    0 0 30px -4px var(--glass-halo);
}

/* Smoked glass: the other buttons, on the navy page. */
body :is(.ci-btn.ghost, .gt-btn-outline, .gt-btn-light-outline, .ci-menu-btn, .intro-cta-primary, .pager a,
         .pager span:not(.pager-gap):not(.pager-current), .social-btn, .ci-social a, .cover-toolbar button) {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.10) 0%, rgba(255, 255, 255, 0.03) 50%, rgba(0, 0, 0, 0.18) 100%) !important;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  color: var(--ink);
  box-shadow:
    inset 0 0 0 1px var(--glass-rim),
    inset 0 3px 7px rgba(0, 0, 0, 0.45),
    inset 0 -2px 4px rgba(170, 215, 255, 0.18),
    0 0 18px -6px var(--glass-halo);
}
body :is(.ci-btn.ghost, .gt-btn-outline, .gt-btn-light-outline, .intro-cta-primary) { color: var(--ci-amber) !important; }
body :is(.ci-btn.ghost, .gt-btn-outline, .gt-btn-light-outline, .ci-menu-btn, .intro-cta-primary, .pager a, .social-btn, .ci-social a,
         .cover-toolbar button):hover {
  transform: translateY(-1px); color: #fff !important;
  box-shadow:
    inset 0 0 0 1px rgba(170, 220, 255, 0.8),
    inset 0 3px 7px rgba(0, 0, 0, 0.4),
    inset 0 -2px 5px rgba(170, 215, 255, 0.25),
    0 0 26px -4px rgba(110, 180, 255, 0.45);
}
body .pager .pager-disabled { opacity: 0.45; }

/* Pressed: the glass sinks in. Keyboard focus: a clear light-blue ring. */
body :is(.ci-cta, .ci-btn, .gt-btn-primary, .gt-btn-light, .gt-btn-outline, .gt-btn-light-outline, .contact-submit, .member-cta,
         .ci-menu-btn, .intro-cta-primary, .pager a, .social-btn, .ci-social a, .cover-toolbar button):active {
  transform: translateY(1px) scale(0.98); filter: brightness(0.97);
}
body :is(.ci-cta, .ci-btn, .gt-btn-primary, .gt-btn-light, .gt-btn-outline, .gt-btn-light-outline, .contact-submit, .member-cta,
         .ci-menu-btn, .intro-cta-primary, .pager a, .social-btn, .ci-social a, .cover-toolbar button):focus-visible {
  outline: 2px solid rgba(150, 205, 255, 0.9); outline-offset: 3px;
}

/* Sizes: comfortable pills; the links that were underlined become pills too. */
body .ci-cta { padding: 10px 22px; }
body .ci-btn { padding: 11px 22px; }
body .intro-cta-primary { padding: 11px 22px; border-bottom: 0 !important; }
body .ci-menu-btn { padding: 10px 18px; }
body :is(.pager a, .pager span:not(.pager-gap)) { min-width: 44px; padding: 10px 16px; }
body :is(.social-btn, .ci-social a) { width: 38px; height: 38px; padding: 0; border-radius: 50% !important; }
body .contact-submit:disabled { filter: grayscale(0.4) brightness(0.85); transform: none; cursor: wait; }
/* Links that were plain inline text become pill shapes; the header buttons keep their own show/hide rules. */
body :is(.intro-cta-primary, .gt-btn-primary, .gt-btn-light, .gt-btn-outline, .gt-btn-light-outline, .member-cta,
         .pager a, .pager span:not(.pager-gap)) {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
}

/* The previous / next boxes under articles: rounded glass panels instead of square boxes. */
body .article-pager a {
  position: relative; overflow: hidden; border: 0 !important; border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02) 55%, rgba(0, 0, 0, 0.15)) !important;
  box-shadow: inset 0 0 0 1px var(--glass-rim), inset 0 3px 8px rgba(0, 0, 0, 0.35), 0 0 18px -8px var(--glass-halo);
  transition: transform 0.18s ease, box-shadow 0.25s ease;
}
body .article-pager a:hover {
  transform: translateY(-1px);
  box-shadow: inset 0 0 0 1px rgba(170, 220, 255, 0.8), inset 0 3px 8px rgba(0, 0, 0, 0.3), 0 0 26px -6px rgba(110, 180, 255, 0.45);
}

/* Visitors who ask their device for less motion get the look without the movement. */
@media (prefers-reduced-motion: reduce) {
  body :is(.ci-cta, .ci-btn, .gt-btn-primary, .gt-btn-light, .gt-btn-outline, .gt-btn-light-outline, .contact-submit, .member-cta,
           .ci-menu-btn, .intro-cta-primary, .pager a, .social-btn, .ci-social a, .cover-toolbar button, .article-pager a) {
    transition: none; transform: none !important;
  }
  body :is(.ci-cta, .ci-btn, .gt-btn-primary, .gt-btn-light, .gt-btn-outline, .gt-btn-light-outline, .contact-submit, .member-cta,
           .ci-menu-btn, .intro-cta-primary, .pager a, .social-btn, .ci-social a, .cover-toolbar button)::after { display: none; }
}

/* Banner and Situation items link to the source of each alert (js/scripts.js). They look like the plain
   items, with the same diamond, and turn amber and underlined on hover; the banner pauses while hovered. */
.ticker-marquee a {
  color: var(--body-text); font-family: var(--mono); font-weight: 500; letter-spacing: 0.02em;
  text-decoration: none; flex-shrink: 0; position: relative;
}
.ticker-marquee a::before { content: "\25c6"; color: var(--sev-critical); font-size: 8px; margin-right: 14px; vertical-align: middle; }
.ticker-marquee a:hover, .ticker-marquee a:focus-visible { color: var(--ci-amber); text-decoration: underline; text-underline-offset: 3px; }
.ci-situation li a { color: inherit; text-decoration: none; }
.ci-situation li a:hover { color: var(--ci-amber); text-decoration: underline; text-underline-offset: 3px; }

/* Search: a small glass circle in the menu bar, just before Contact (the page is search.html). */
body .ci-header .nav-primary a.ci-nav-search {
  width: 32px; height: 32px; padding: 0; margin-left: 8px; display: inline-grid; place-items: center; align-self: center;
  border-radius: 50%; color: var(--ink);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.10) 0%, rgba(255, 255, 255, 0.03) 50%, rgba(0, 0, 0, 0.18) 100%);
  box-shadow: inset 0 0 0 1px var(--glass-rim), inset 0 3px 7px rgba(0, 0, 0, 0.45), 0 0 18px -6px var(--glass-halo);
  transition: transform 0.18s ease, box-shadow 0.25s ease, color 0.2s ease;
}
body .ci-header .nav-primary a.ci-nav-search:hover { color: var(--ci-amber); transform: translateY(-1px); }
body .ci-header .nav-primary a.ci-nav-search.current { color: var(--ci-amber); }

/* The search page: a large search box, then the matching articles. */
.ci-search-box { display: flex; gap: 10px; margin: 0 0 22px; }
.ci-search-box input {
  flex: 1; min-width: 0; font: 500 17px/1.3 var(--sans); color: var(--ink); padding: 14px 20px; border: 0; border-radius: 999px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.25), rgba(255, 255, 255, 0.04));
  box-shadow: inset 0 0 0 1px var(--glass-rim), inset 0 3px 8px rgba(0, 0, 0, 0.45);
}
.ci-search-box input:focus { outline: 2px solid rgba(150, 205, 255, 0.9); outline-offset: 3px; }
.ci-search-count { color: var(--quiet); font-size: 14px; margin: 0 0 8px; }
.ci-search-results { list-style: none; margin: 0; padding: 0; }
.ci-search-results li { padding: 18px 0; border-top: 1px solid var(--rule); }
.ci-search-results .meta { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ci-amber); margin: 0 0 6px; }
.ci-search-results h3 { margin: 0 0 6px; font-size: 19px; line-height: 1.3; }
.ci-search-results h3 a { color: var(--ink); text-decoration: none; }
.ci-search-results h3 a:hover { color: var(--ci-amber); }
.ci-search-results p { margin: 0; color: var(--body-text); font-size: 15px; line-height: 1.55; }
.ci-search-results mark { background: rgba(242, 169, 0, 0.25); color: inherit; border-radius: 3px; padding: 0 2px; }

/* The date under each article's title (added by _scripts/page_meta.py). */
.article-date { color: var(--ci-amber); }

/* Phones draw their own square highlight over anything tapped, which showed as a square flash on top of
   the oval glass buttons. It is turned off; the buttons' own pressed effect (sinking in) follows their shape. */
a, button, [role="button"], summary { -webkit-tap-highlight-color: transparent; }

/* Home lead from the archive (functions/_shared/home-lead.js): the article's date, and a link to
   Dr. Ogutu's newest commentary so his work stays one tap away when an archive piece leads. */
.ci-lead-dated { font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; color: var(--quiet); margin: -10px 0 22px; }
.ci-lead-latest { margin: 22px 0 0; padding-top: 14px; border-top: 1px solid var(--rule-soft); font-size: 14.5px; color: var(--quiet); }
.ci-lead-latest a { color: var(--ci-amber); font-weight: 600; text-decoration: none; }
.ci-lead-latest a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Smooth page changes: moving to another page of the site fades the new page in over the old one
   (Chrome, Edge, Safari; other browsers change pages as before). Off for people who turn motion down. */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.28s; animation-timing-function: ease; }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }

/* The address follows the copyright after a dot; on phones (below) it moves to its own line instead. */
.ci-footer-addr::before { content: " · "; }
/* Footer on phones: a wrapped practice-area name stays beside its coloured dot, the address gets its own
   line under the copyright, and the bottom links sit in an even two-column grid. */
@media (max-width: 560px) {
  .ci-footer li a[class^="pa-"] { display: inline-flex; align-items: flex-start; }
  .ci-footer li a[class^="pa-"]::before { flex: none; margin-top: 6px; }
  .ci-footer-bottom { flex-direction: column; gap: 14px; }
  .ci-footer-bottom > span:first-child { line-height: 1.7; }
  .ci-footer-addr { display: block; }
  .ci-footer-addr::before { content: none; }
  .ci-footer-bottom > span:last-child { display: grid; grid-template-columns: repeat(2, max-content); gap: 10px 36px; }
  .ci-footer-bottom a { margin-left: 0; font-size: 13px; }
}

/* Dr. Ogutu's photo, wherever it appears (home "About Crisis Intel", the About page portrait, his Experts card
   and commentary bylines), gets the same frame as the press cuttings: a navy mat, the light-blue glass rim and
   a soft glow. The small byline photo gets a thinner mat. */
.ci-founder img, .founder-portrait, .expert-card div:has(> img[src*="charles.jpg"]), .ci-byline img[src*="charles.jpg"] {
  border: 6px solid #142b44 !important; background-clip: padding-box; box-sizing: border-box;
  box-shadow: 0 0 0 1px var(--glass-rim), 0 12px 26px -14px rgba(0, 0, 0, 0.85), 0 0 18px -8px var(--glass-halo);
}
.ci-founder img, .founder-portrait { border-radius: 14px !important; }
.ci-byline img[src*="charles.jpg"] { border-width: 3px !important; }

/* Every photo and press cutting on the site gets the same frame as the cuttings gallery: navy mat, light-blue
   glass rim, soft glow. That covers pictures inside articles, the big photo at the top of an article and the
   pictures on article cards. The cuttings gallery and the home page field reports already have their frame,
   so they are left out; the thin grey line around article pictures is dropped so there is one border only. */
.article img:not([src$=".svg"]):not(div[style*="minmax(300px"] img):not(.ci-report-frame img),
img.article-hero, img.article-card-img {
  border: 6px solid #142b44 !important; border-radius: 12px !important; background-clip: padding-box; box-sizing: border-box;
  box-shadow: 0 0 0 1px var(--glass-rim), 0 12px 26px -14px rgba(0, 0, 0, 0.85), 0 0 18px -8px var(--glass-halo);
}
img.article-card-img { border-width: 4px !important; }
.article a:has(> img):not(div[style*="minmax(300px"] > a) { border: 0 !important; overflow: visible !important; background: none !important; }

/* More space between the framed cuttings and letters so each one stands apart (was 16px). */
main div[style*="repeat(auto-fill,minmax(300px,1fr))"] { column-gap: 32px; }
main div[style*="repeat(auto-fill,minmax(300px,1fr))"] > a { margin-bottom: 32px; }
@media (max-width: 640px) {
  main div[style*="repeat(auto-fill,minmax(300px,1fr))"] > a { margin-bottom: 24px; }
}

/* Framed pictures are not zoomed. The 5% edge-trim zoom (above) pushed each framed picture out across the gap
   so neighbouring frames touched; the mat already gives a clean edge, as in the cuttings gallery. */
.article img:not([src$=".svg"]):not(div[style*="minmax(300px"] img):not(.ci-report-frame img),
img.article-hero, img.article-card-img { transform: none !important; }
