/* ==========================================================================
   Adkinsio — Bespoke Editorial Design System (Pass 2)
   Broadsheet typography, paper-first contrast, crisp 1px ink rules,
   and restrained deep-slate chapters.
   ========================================================================== */

:root {
  /* Paper & Ink */
  --paper: #f6f3ec;
  --paper-warm: #eee6dd; /* brand cream */
  --paper-card: #faf8f4;
  --ink: #15212b;
  --ink-secondary: #3b4c5a;
  --ink-muted: #56646f; /* AA on cream (brand book ch.02) */

  /* Deep Slate Chapter Surface */
  --slate: #283d4d; /* brand slate */
  --slate-surface: #304859;
  --slate-ink: #f6f3ec;
  --slate-muted: #b9c6d0;

  /* Brand Signature */
  --accent: #b23f05; /* text-safe orange on paper and cream */
  --accent-bright: #ff751f; /* brand orange: marks and shapes */
  --accent-on-dark: #ff8a42; /* orange text and focus on slate or ink */

  /* Rules */
  --rule: rgba(18, 25, 31, 0.12);
  --rule-strong: rgba(18, 25, 31, 0.28);
  --rule-dark: rgba(246, 243, 236, 0.18);
  --rule-dark-strong: rgba(246, 243, 236, 0.28);

  /* Typography */
  --font-serif: "Newsreader", Georgia, "Times New Roman", serif;
  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Measure & Spacing */
  --max-w: 1260px;
  --gutter: clamp(1.25rem, 4.5vw, 3.5rem);
  --section-py: clamp(4.25rem, 8vw, 7.5rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

@view-transition {
  navigation: auto;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.68;
  color: var(--ink);
  background: var(--paper);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 0.75rem 1.25rem;
  font-size: 0.85rem;
  z-index: 1000;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.container {
  width: min(100% - 2 * var(--gutter), var(--max-w));
  margin-inline: auto;
}

/* ==========================================================================
   Typographic Hierarchy
   ========================================================================== */
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: -0.028em;
}

h1 {
  font-size: clamp(2.65rem, 5.8vw, 4.85rem);
  line-height: 1.01;
}

h2 {
  font-size: clamp(2rem, 3.6vw, 3.05rem);
  line-height: 1.07;
}

h3 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1.15rem;
  line-height: 1.32;
  letter-spacing: -0.012em;
}

p {
  margin: 0 0 1.2rem;
}
p:last-child { margin-bottom: 0; }

.lead {
  font-size: clamp(1.1rem, 1.45vw, 1.28rem);
  line-height: 1.56;
  color: var(--ink-secondary);
}

.surface-dark .lead {
  color: var(--slate-muted);
}

.kicker {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 0.9rem;
}

.surface-dark .kicker {
  color: var(--accent-on-dark);
}

/* Surfaces */
.surface-paper { background: var(--paper); color: var(--ink); }
.surface-warm { background: var(--paper-warm); color: var(--ink); }
.surface-dark { background: var(--slate); color: var(--slate-ink); }

.section {
  padding-block: var(--section-py);
  border-top: 1px solid var(--rule);
}

.surface-dark.section {
  border-top: 1px solid var(--rule-dark);
}

/* Buttons & Links */
.btn-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.25rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  text-decoration: none;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.btn-primary {
  background: var(--ink);
  color: var(--paper);
}
.btn-primary:hover {
  background: var(--slate);
}

.surface-dark .btn-primary {
  background: var(--accent-bright);
  color: var(--ink);
}
.surface-dark .btn-primary:hover {
  background: #ff8a42;
}

.btn-secondary {
  background: transparent;
  color: inherit;
  border-color: var(--rule-strong);
}
.btn-secondary:hover {
  border-color: currentColor;
  background: rgba(18, 25, 31, 0.035);
}

.surface-dark .btn-secondary {
  border-color: var(--rule-dark-strong);
}
.surface-dark .btn-secondary:hover {
  border-color: var(--slate-ink);
  background: rgba(246, 243, 236, 0.06);
}

.editorial-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--rule-strong);
  transition: border-color 0.2s ease, color 0.2s ease, gap 0.2s ease;
}
.editorial-link:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
  gap: 0.7rem;
}
.surface-dark .editorial-link {
  border-bottom-color: var(--rule-dark-strong);
}
.surface-dark .editorial-link:hover {
  color: var(--accent-on-dark);
  border-bottom-color: var(--accent-bright);
}

/* ==========================================================================
   Masthead Navigation (Slim, dark-ink, zero clutter)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(40, 61, 77, 0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule-dark);
  color: var(--slate-ink);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 68px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-svg {
  height: 30px;
  width: auto;
  display: block;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.55rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--slate-muted);
  text-decoration: none;
  padding-block: 0.35rem;
  position: relative;
  transition: color 0.18s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--slate-ink);
}

.nav-links a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1.5px;
  background: var(--accent-bright);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.header-phone {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--slate-muted);
  text-decoration: none;
}
.header-phone:hover { color: var(--slate-ink); }

.header-cta {
  padding: 0.52rem 1.05rem;
  font-size: 0.84rem;
  background: var(--slate-ink);
  color: var(--ink);
  border-radius: 2px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s ease;
}
.header-cta:hover {
  background: #ffffff;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--rule-dark-strong);
  color: var(--slate-ink);
  border-radius: 2px;
  padding: 0.42rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

@media (max-width: 1060px) {
  .header-phone { display: none; }
}

@media (max-width: 920px) {
  .nav-toggle { display: inline-flex; }
  .primary-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--slate);
    border-bottom: 1px solid var(--rule-dark-strong);
    padding: 1.25rem var(--gutter) 1.75rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }
  .primary-nav.is-open { display: flex; }
  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    width: 100%;
  }
  .nav-links a { font-size: 1rem; }
}

/* ==========================================================================
   Broadsheet Paper-First Hero & Folio Headers
   ========================================================================== */
.hero-broadsheet {
  background: var(--paper);
  padding-block: clamp(3.5rem, 7vw, 6.25rem) clamp(3rem, 5.5vw, 4.75rem);
  border-top: none;
}

.masthead-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding-bottom: 1rem;
  margin-bottom: clamp(2rem, 4.5vw, 3.75rem);
  border-bottom: 2px solid var(--ink);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-secondary);
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.72fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: end;
}

.hero-headline {
  max-width: 14.5ch;
  margin-bottom: 1.65rem;
}

.hero-deck {
  max-width: 52ch;
  margin-bottom: 2.1rem;
  font-size: clamp(1.125rem, 1.55vw, 1.32rem);
  line-height: 1.52;
  color: var(--ink-secondary);
}

.dossier-rail {
  border-top: 2px solid var(--ink);
  padding-top: 1.15rem;
}

.dossier-heading {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 0.85rem;
}

.dossier-table {
  margin: 0;
  display: grid;
}

.dossier-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.68rem 0;
  border-top: 1px solid var(--rule);
  font-size: 0.9rem;
}
.dossier-row:last-child {
  border-bottom: 1px solid var(--rule);
}

.dossier-row dt {
  color: var(--ink-muted);
  font-size: 0.84rem;
}

.dossier-row dd {
  margin: 0;
  font-weight: 600;
  text-align: right;
  color: var(--ink);
}

/* Subpage Folio Header (Warm paper + double rule) */
.folio-header {
  background: var(--paper);
  padding-block: clamp(3rem, 6vw, 5.25rem) clamp(2.5rem, 4.5vw, 3.75rem);
}

.folio-header .container {
  border-bottom: 2px solid var(--ink);
  padding-bottom: clamp(2rem, 4vw, 3rem);
}

.folio-header h1 {
  max-width: 17ch;
  margin-bottom: 1.25rem;
}

.folio-header .lead {
  max-width: 58ch;
}

/* Editorial Figures & Seamless Paper Integration */
.editorial-figure {
  margin: 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding-block: 1rem;
}

.editorial-figure img {
  width: 100%;
  height: auto;
  display: block;
  mix-blend-mode: multiply;
}

.editorial-figure figcaption {
  margin-top: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.hero-visual-band {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: clamp(1.75rem, 3.5vw, 2.75rem);
  border-top: 1px solid var(--rule);
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}

.hero-visual-band img {
  width: 100%;
  mix-blend-mode: multiply;
}

.hero-visual-caption {
  border-left: 1px solid var(--rule-strong);
  padding-left: 1.5rem;
}

.hero-visual-caption h2 {
  font-size: clamp(1.45rem, 2.2vw, 1.9rem);
  margin-bottom: 0.65rem;
}

.plate-duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 3.5vw, 2.75rem);
  margin-top: 2.5rem;
  border-top: 1px solid var(--rule);
  padding-top: 2rem;
}

.plate-card .plate-svg {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 0.5rem;
}

.plate-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.plate-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  mix-blend-mode: multiply;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 0.5rem;
}

.plate-card h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.42rem;
}

.plate-card p {
  font-size: 0.94rem;
  color: var(--ink-secondary);
  margin-bottom: 0.25rem;
}

@media (max-width: 920px) {
  .hero-layout,
  .hero-visual-band,
  .plate-duo {
    grid-template-columns: 1fr;
  }
  .hero-visual-caption {
    border-left: none;
    border-top: 1px solid var(--rule-strong);
    padding-left: 0;
    padding-top: 1.25rem;
  }
}

/* ==========================================================================
   Asymmetric Editorial Spreads & Essay Prose
   ========================================================================== */
.spread {
  display: grid;
  grid-template-columns: minmax(0, 0.74fr) minmax(0, 1.26fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.spread-aside {
  position: sticky;
  top: 5.75rem;
}

.spread-aside h2 {
  margin-bottom: 0.9rem;
}

.editorial-prose {
  font-size: 1.075rem;
  line-height: 1.74;
  max-width: 62ch;
}

.editorial-prose p.dropcap::first-letter {
  float: left;
  font-family: var(--font-serif);
  font-size: 3.75rem;
  line-height: 0.82;
  padding: 0.22rem 0.6rem 0 0;
  color: var(--ink);
}

.pull-quote {
  margin: 2.25rem 0;
  padding: 1.2rem 0 1.2rem 1.5rem;
  border-left: 2px solid var(--accent);
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.1vw, 1.75rem);
  line-height: 1.28;
  letter-spacing: -0.015em;
  color: var(--ink);
}

@media (max-width: 880px) {
  .spread { grid-template-columns: 1fr; }
  .spread-aside { position: static; }
}

/* ==========================================================================
   Interactive Capability Index (Slick Split-Pane Explorer)
   ========================================================================== */
.capability-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--rule-strong);
  margin-top: 2.25rem;
}

.cap-tabs {
  border-right: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
}

.cap-tab {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--rule);
  padding: 1.25rem 1.5rem 1.25rem 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  color: var(--ink-secondary);
  transition: color 0.18s ease, padding-left 0.2s var(--ease);
}
.cap-tab:last-child { border-bottom: none; }

.cap-tab-title {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 2vw, 1.65rem);
  letter-spacing: -0.02em;
  color: inherit;
}

.cap-tab-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ink-muted);
}

.cap-tab:hover {
  color: var(--ink);
}

.cap-tab[aria-selected="true"] {
  color: var(--ink);
  padding-left: 0.65rem;
  border-left: 2px solid var(--accent);
}

.cap-tab[aria-selected="true"] .cap-tab-num {
  color: var(--accent);
}

.cap-panel {
  padding: 2rem 0 2rem clamp(1.5rem, 3.5vw, 3rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
}

.cap-panel[hidden] {
  display: none;
}

.cap-panel h3 {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 0.85rem;
}

.cap-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem 1.25rem;
  border-top: 1px solid var(--rule);
  padding-top: 1.1rem;
  font-size: 0.9rem;
  color: var(--ink-secondary);
}

.cap-list li::before {
  content: "— ";
  color: var(--accent);
}

@media (max-width: 820px) {
  .capability-shell { grid-template-columns: 1fr; }
  .cap-tabs { border-right: none; border-bottom: 1px solid var(--rule-strong); }
  .cap-panel { padding: 1.5rem 0; }
  .cap-list { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Clean Ruled Columns & Comparison
   ========================================================================== */
.ruled-cols-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--rule-strong);
  margin-top: 2.5rem;
}

.ruled-col {
  padding: 1.75rem 1.75rem 0.5rem;
  border-right: 1px solid var(--rule);
}
.ruled-col:first-child { padding-left: 0; }
.ruled-col:last-child { border-right: none; padding-right: 0; }

.ruled-col h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.48rem;
  margin-bottom: 0.65rem;
}

.ruled-col p {
  font-size: 0.95rem;
  color: var(--ink-secondary);
}

.surface-dark .ruled-cols-3 { border-top-color: var(--rule-dark-strong); }
.surface-dark .ruled-col { border-right-color: var(--rule-dark); }
.surface-dark .ruled-col p { color: var(--slate-muted); }

@media (max-width: 820px) {
  .ruled-cols-3 { grid-template-columns: 1fr; }
  .ruled-col {
    padding: 1.35rem 0;
    border-right: none;
    border-bottom: 1px solid var(--rule);
  }
  .surface-dark .ruled-col { border-bottom-color: var(--rule-dark); }
  .ruled-col:last-child { border-bottom: none; }
}

/* Comparison Ledger */
.comparison-ledger {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--rule-strong);
}

.compare-half {
  padding: 1.85rem 1.75rem;
}
.compare-half:first-child {
  padding-left: 0;
  border-right: 1px solid var(--rule);
}
.compare-half:last-child {
  padding-right: 0;
}

.compare-half h3 {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 1.15rem;
}

.compare-half.is-adkinsio h3 {
  color: var(--accent);
}

.compare-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.85rem;
  font-size: 0.95rem;
}

.compare-list li {
  padding-left: 1.15rem;
  position: relative;
}

.compare-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62rem;
  width: 6px;
  height: 1.5px;
  background: var(--ink-muted);
}

.is-adkinsio .compare-list li::before {
  width: 6px;
  height: 6px;
  top: 0.52rem;
  border-radius: 50%;
  background: var(--accent);
}

@media (max-width: 720px) {
  .comparison-ledger { grid-template-columns: 1fr; }
  .compare-half:first-child {
    border-right: none;
    border-bottom: 1px solid var(--rule);
    padding: 1.5rem 0;
  }
  .compare-half:last-child { padding: 1.5rem 0; }
}

/* Service Ledger Rows */
.ledger-list {
  border-top: 2px solid var(--ink);
}

.ledger-item {
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr) auto;
  gap: 1.25rem;
  align-items: start;
  padding: 1.85rem 0;
  border-bottom: 1px solid var(--rule);
}

.ledger-code {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--ink-muted);
  padding-top: 0.25rem;
}

.ledger-item h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.5rem;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.9rem;
}

.tag {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.22rem 0.55rem;
  border: 1px solid var(--rule-strong);
  border-radius: 2px;
  color: var(--ink-secondary);
}

@media (max-width: 720px) {
  .ledger-item { grid-template-columns: 1fr; gap: 0.5rem; }
}

/* ==========================================================================
   Diagnostic Sheet (Refined, zero heavy SaaS boxiness)
   ========================================================================== */
.diagnostic-sheet {
  border-top: 2px solid var(--slate-ink);
  border-bottom: 1px solid var(--rule-dark-strong);
  padding-block: 1.75rem 2rem;
}

.diag-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  color: var(--slate-muted);
  margin-bottom: 1rem;
}

.diag-bar {
  height: 2px;
  background: var(--rule-dark);
  margin-bottom: 1.75rem;
}

.diag-bar-fill {
  height: 100%;
  width: 25%;
  background: var(--accent-bright);
  transition: width 0.35s var(--ease);
}

.diag-question {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.1vw, 1.8rem);
  line-height: 1.24;
  margin-bottom: 1.35rem;
  color: var(--slate-ink);
}

.diag-options {
  display: grid;
  border-top: 1px solid var(--rule-dark);
}

.diag-option {
  width: 100%;
  text-align: left;
  padding: 1rem 0.25rem;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--rule-dark);
  color: var(--slate-ink);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: padding-left 0.2s var(--ease), color 0.18s ease;
}

.diag-option:hover {
  padding-left: 0.75rem;
  color: var(--accent-on-dark);
}

.diag-result-score {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-on-dark);
  margin-bottom: 0.65rem;
}

.diag-recs {
  margin: 1.15rem 0 1.75rem;
  padding-left: 1.15rem;
  color: var(--slate-muted);
  display: grid;
  gap: 0.5rem;
}

/* ==========================================================================
   Broadsheet Insights Index & Feature Lead
   ========================================================================== */
.insights-lead-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  border-top: 2px solid var(--ink);
  padding-top: 1.75rem;
  margin-top: 2rem;
}

.insight-feature {
  padding-right: 1.5rem;
  border-right: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.insight-feature h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.7rem, 2.6vw, 2.25rem);
  line-height: 1.14;
  margin: 0.65rem 0 0.9rem;
}

.insight-feature h3 a { text-decoration: none; }
.insight-feature h3 a:hover { color: var(--accent); }

.insight-stack {
  display: grid;
  gap: 1.35rem;
}

.insight-row {
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--rule);
}
.insight-row:last-child { border-bottom: none; padding-bottom: 0; }

.insight-row h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.32rem;
  line-height: 1.22;
  margin: 0.35rem 0 0.45rem;
}
.insight-row h3 a { text-decoration: none; }
.insight-row h3 a:hover { color: var(--accent); }

.insight-meta {
  display: flex;
  gap: 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.insights-directory {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.75rem 2.75rem;
  border-top: 2px solid var(--ink);
  padding-top: 1.75rem;
}

.insight-card {
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.9rem;
}

.insight-card h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.48rem;
  line-height: 1.2;
  margin: 0.45rem 0 0.55rem;
}
.insight-card h3 a { text-decoration: none; }
.insight-card h3 a:hover { color: var(--accent); }
.insight-card p { font-size: 0.94rem; color: var(--ink-secondary); margin: 0; }

@media (max-width: 860px) {
  .insights-lead-grid,
  .insights-directory {
    grid-template-columns: 1fr;
  }
  .insight-feature {
    padding-right: 0;
    padding-bottom: 1.5rem;
    border-right: none;
    border-bottom: 1px solid var(--rule);
  }
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

.filter-pill {
  background: transparent;
  border: 1px solid var(--rule-strong);
  color: var(--ink-secondary);
  padding: 0.42rem 0.95rem;
  border-radius: 2px;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.16s ease;
}

.filter-pill:hover,
.filter-pill.is-active {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

/* Article Body */
.article-wrap {
  max-width: 68ch;
  margin-inline: auto;
}

.article-body {
  font-size: 1.075rem;
  line-height: 1.76;
}

.article-body h2,
.article-body h3 {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  font-weight: 400;
  margin: 2.25rem 0 0.75rem;
}

.article-body h3 {
  font-size: 1.2rem;
  margin: 1.6rem 0 0.4rem;
}

.article-body ul {
  margin: 1rem 0 1.4rem;
  padding-left: 1.3rem;
}

.article-body li { margin-bottom: 0.45rem; }

/* ==========================================================================
   Contact & Forms
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(2rem, 5vw, 4.5rem);
}

.office-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 2.25rem;
}

.office-card {
  border-top: 1px solid var(--rule-strong);
  padding-top: 1rem;
}

.office-card h3 { font-size: 1rem; margin-bottom: 0.45rem; }
.office-card p { font-size: 0.9rem; color: var(--ink-secondary); margin-bottom: 0.5rem; }

.editorial-form {
  display: grid;
  gap: 1.15rem;
  background: var(--paper-card);
  border: 1px solid var(--rule-strong);
  border-top: 2px solid var(--ink);
  padding: clamp(1.5rem, 3vw, 2.4rem);
}

.form-row-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.field label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-secondary);
  margin-bottom: 0.4rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--rule-strong);
  border-radius: 2px;
  background: #ffffff;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 0.95rem;
}

.field textarea { min-height: 120px; resize: vertical; }

.form-status {
  font-size: 0.92rem;
  padding: 0.85rem 1rem;
  background: var(--paper-warm);
  border-left: 2px solid var(--accent);
}

@media (max-width: 860px) {
  .contact-grid, .office-grid, .form-row-2 { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Footer Colophon
   ========================================================================== */
.site-footer {
  background: var(--slate);
  color: var(--slate-muted);
  border-top: 1px solid var(--rule-dark);
  padding-block: clamp(3.5rem, 6vw, 5rem) 2.5rem;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) repeat(4, minmax(0, 1fr));
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--rule-dark);
}

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate-ink);
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.55rem;
  font-size: 0.9rem;
}

.footer-links a {
  text-decoration: none;
  color: var(--slate-muted);
  transition: color 0.15s ease;
}
.footer-links a:hover { color: var(--slate-ink); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: 1.75rem;
  font-size: 0.82rem;
}

@media (max-width: 900px) { .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }

/* Subtle Motion */
.reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}


/* ==========================================================================
   Pass 3: brand thread, offices, local pages
   Brand slate #283D4D for dark chapters, brand orange #FF751F as a single
   "registration mark" accent, echoing the orange square in the Plates.
   ========================================================================== */

/* Orange registration square before every kicker */
.kicker::before {
  content: "";
  display: inline-block;
  width: 0.45em;
  height: 0.45em;
  margin-right: 0.6em;
  vertical-align: 0.12em;
  background: var(--accent-bright);
}
.masthead-meta { position: relative; }
.masthead-meta::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 3.5rem;
  height: 2px;
  background: var(--accent-bright);
}
.dossier-rail { border-top-color: var(--slate); position: relative; }
.dossier-rail::before {
  content: "";
  position: absolute;
  top: -2px;
  right: 0;
  width: 1.5rem;
  height: 2px;
  background: var(--accent-bright);
}
.hero-headline .full-stop, .hero-display .full-stop { color: var(--accent-bright); font-style: normal; }

/* Office plates (home) */
.office-plates {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: clamp(2rem, 4vw, 3rem);
  border-top: 2px solid var(--ink);
}
.office-plate {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1.6rem 1.6rem 1.75rem;
  border-right: 1px solid var(--rule-strong);
  text-decoration: none;
  color: inherit;
  transition: background-color 0.25s var(--ease);
}
.office-plate:first-child { padding-left: 0; }
.office-plate:last-child { border-right: 0; }
.office-plate:hover { background: rgba(255, 255, 255, 0.35); }
.office-plate-code {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--accent);
  letter-spacing: 0.04em;
}
.office-plate h3 { margin: 0; }
.office-plate p { margin: 0; color: var(--ink-secondary); font-size: 0.93rem; line-height: 1.55; }
.office-plate-tel { font-family: var(--font-mono); font-size: 0.85rem; margin-top: 0.35rem; }
.office-plate .editorial-link { margin-top: auto; padding-top: 0.75rem; align-self: flex-start; }
.office-plate:hover .editorial-link { color: var(--accent); border-bottom-color: var(--accent); }
@media (max-width: 820px) {
  .office-plates { grid-template-columns: 1fr; }
  .office-plate, .office-plate:first-child { padding: 1.4rem 0; border-right: 0; border-bottom: 1px solid var(--rule-strong); }
  .office-plate:last-child { border-bottom: 0; }
}

/* Location pages */
.dossier-row dd a { text-decoration: none; }
.area-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 2px solid var(--ink);
}
.area-grid li {
  padding: 0.95rem 0.25rem 0.95rem 0;
  border-bottom: 1px solid var(--rule);
  font-family: var(--font-serif);
  font-size: 1.2rem;
  counter-increment: area;
  display: flex;
  gap: 0.8rem;
  align-items: baseline;
}
.area-grid { counter-reset: area; }
.area-grid li::before {
  content: counter(area, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ink-muted);
}
.area-grid li:first-child::before { color: var(--accent); }
.area-note { margin-top: 1.4rem; color: var(--ink-secondary); font-size: 0.95rem; }
@media (max-width: 720px) { .area-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.faq-list { border-top: 2px solid var(--ink); }
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr) 1.5rem;
  gap: 1rem;
  align-items: baseline;
  padding: 1.35rem 0;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  line-height: 1.3;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 1.1rem;
  color: var(--ink-muted);
  text-align: right;
  transition: transform 0.25s var(--ease), color 0.25s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(45deg); color: var(--accent); }
.faq-item summary:hover span:last-of-type { color: var(--accent); }
.faq-num { font-family: var(--font-mono); font-size: 0.74rem; color: var(--ink-muted); }
.faq-item p {
  margin: 0 1.5rem 1.5rem 4.5rem;
  max-width: 62ch;
  color: var(--ink-secondary);
}
@media (max-width: 560px) {
  .faq-item summary { grid-template-columns: minmax(0, 1fr) 1.25rem; font-size: 1.1rem; }
  .faq-num { display: none; }
  .faq-item p { margin-left: 0; margin-right: 0; }
}

/* Mobile: full-width, even buttons */
@media (max-width: 560px) {
  .btn-row { flex-direction: column; align-items: stretch; }
  .btn-row .btn { width: 100%; }
  .btn-row .editorial-link { align-self: flex-start; }
}

/* ==========================================================================
   Sector briefs
   ========================================================================== */
.sector-headline { max-width: 17ch; }
.sector-figure { background: var(--paper-warm); padding: clamp(1.5rem, 4vw, 3rem) clamp(1rem, 4vw, 3rem) 1rem; border: 0; }
.plate-svg { display: block; width: 100%; max-width: 760px; height: auto; margin: 0 auto; }
.sector-figure figcaption { border-top: 1px solid var(--rule); padding-top: 0.75rem; margin-top: 1.5rem; }
@media (max-width: 560px) { .sector-figure figcaption { flex-direction: column; gap: 0.25rem; } }

.ruled-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--accent);
  margin-bottom: 0.6rem;
}

.sector-index { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.sector-index li { border-bottom: 1px solid var(--rule); }
.sector-index a {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: baseline;
  padding: 1rem 0;
  text-decoration: none;
  transition: color 0.2s var(--ease), padding 0.25s var(--ease);
}
.sector-code { font-family: var(--font-mono); font-size: 0.74rem; color: var(--ink-muted); }
.sector-name { font-family: var(--font-serif); font-size: 1.3rem; line-height: 1.25; }
.sector-arrow { color: var(--ink-muted); transition: transform 0.25s var(--ease), color 0.2s; }
.sector-index a:hover .sector-name, .sector-index a:hover .sector-arrow { color: var(--accent); }
.sector-index a:hover .sector-arrow { transform: translateX(4px); }
.sector-index a[aria-current="page"] { pointer-events: none; }
.sector-index a[aria-current="page"] .sector-code { color: var(--accent); }
.sector-index a[aria-current="page"] .sector-name { color: var(--ink-muted); }
.sector-index a[aria-current="page"] .sector-arrow { visibility: hidden; }

.sector-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 2px solid var(--ink);
}
.sector-card {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.75rem 1.6rem 2rem;
  border-bottom: 1px solid var(--rule-strong);
  border-right: 1px solid var(--rule-strong);
  text-decoration: none;
  color: inherit;
  min-height: 15rem;
  transition: background-color 0.25s var(--ease);
}
.sector-card:nth-child(3n) { border-right: 0; }
.sector-card:nth-child(3n + 1) { padding-left: 0; }
.sector-card h3 { margin: 0; }
.sector-card p { margin: 0; color: var(--ink-secondary); font-size: 0.95rem; }
.sector-card .editorial-link { margin-top: auto; align-self: flex-start; }
.sector-card:hover { background: var(--paper-warm); }
.sector-card:hover .editorial-link { color: var(--accent); border-bottom-color: var(--accent); }
@media (max-width: 900px) {
  .sector-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sector-card:nth-child(3n) { border-right: 1px solid var(--rule-strong); }
  .sector-card:nth-child(3n + 1) { padding-left: 1.6rem; }
  .sector-card:nth-child(2n) { border-right: 0; }
  .sector-card:nth-child(2n + 1) { padding-left: 0; }
}
@media (max-width: 600px) {
  .sector-cards { grid-template-columns: 1fr; }
  .sector-card, .sector-card:nth-child(n) { padding: 1.5rem 0; border-right: 0; min-height: 0; }
}
.sector-card h3, .office-plate h3 { font-family: var(--font-serif); font-weight: 400; font-size: 1.45rem; line-height: 1.2; letter-spacing: -0.01em; }
.sector-cards { border-top: 0; }

/* ==========================================================================
   Client tools (remote, mail, endpoint)
   ========================================================================== */
.tool-console { border: 1px solid var(--rule-strong); background: var(--paper-card); }
.tool-console-head {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem;
  padding: 0.85rem 1.25rem;
  background: var(--slate); color: var(--slate-ink);
  font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.06em; text-transform: uppercase;
  border-top: 2px solid var(--accent-bright);
}
.tool-console-body { padding: 1.25rem; }
.zoho-assist-frame { display: block; width: 100%; min-height: 150px; border: 0; }
.tool-steps { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--rule-strong); }
.tool-steps li { display: flex; gap: 1rem; padding: 1.5rem 1.5rem 0.5rem 0; }
.tool-steps h3 { font-family: var(--font-serif); font-weight: 400; font-size: 1.3rem; margin-bottom: 0.4rem; }
.tool-steps p { color: var(--ink-secondary); font-size: 0.95rem; margin: 0; }
.tool-step-num { font-family: var(--font-mono); font-size: 0.74rem; color: var(--accent); padding-top: 0.35rem; }
.tool-note { margin-top: 1.25rem; font-size: 0.88rem; color: var(--ink-muted); max-width: 60ch; }
.download-ledger { border-top: 2px solid var(--ink); }
.download-row {
  display: grid; grid-template-columns: 5rem minmax(0, 1fr) auto; gap: 1rem; align-items: baseline;
  padding: 1.35rem 0; border-bottom: 1px solid var(--rule); text-decoration: none;
}
.download-code { font-family: var(--font-mono); font-size: 0.78rem; color: var(--accent); }
.download-name { font-family: var(--font-serif); font-size: 1.6rem; line-height: 1.2; }
.download-action { font-weight: 600; font-size: 0.9rem; border-bottom: 1px solid var(--rule-strong); padding-bottom: 2px; }
.download-row:hover .download-name, .download-row:hover .download-action { color: var(--accent); border-bottom-color: var(--accent); }
.footer-badge { margin-top: 1.25rem; }
.footer-badge iframe { display: block; border: 0; width: 132px; height: 132px; }
@media (max-width: 820px) { .tool-steps { grid-template-columns: 1fr; } .tool-steps li { padding-right: 0; } }
@media (min-width: 901px) and (max-width: 1100px) { .footer-top { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ==========================================================================
   Paper grain (brand book T.1: fractal noise at 7% on every ground)
   ========================================================================== */
:root {
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.08 0 0 0 0 0.11 0 0 0 0 0.14 0 0 0 .1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
  background: var(--grain);
  mix-blend-mode: multiply;
}
.site-footer .brand-svg { height: 28px; }
@media (max-width: 720px) { .brand-svg { height: 26px; } }

/* ==========================================================================
   Home hero stage: oversized headline + self-drawing Plate I
   ========================================================================== */
.hero-stage {
  background: var(--paper);
  padding-block: clamp(2.75rem, 5.5vw, 4.75rem) 0;
  overflow: hidden;
}
.hero-stage .masthead-meta { margin-bottom: clamp(1.5rem, 3.5vw, 2.75rem); }
.hero-stage-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: center;
}
.hero-display {
  font-size: clamp(3.1rem, 7.4vw, 7.4rem);
  line-height: 0.94;
  letter-spacing: -0.045em;
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}
.hero-display .hero-line { display: block; }
.hero-display em { letter-spacing: -0.035em; }
.hero-copy .hero-deck { max-width: 44ch; }

.hero-plate {
  margin: 0 calc(-1 * var(--gutter)) 0 0;
  position: relative;
}
.hero-plate-svg {
  display: block;
  width: 108%;
  max-width: none;
  height: auto;
  -webkit-mask-image: radial-gradient(ellipse 75% 80% at 55% 50%, #000 62%, transparent 100%);
          mask-image: radial-gradient(ellipse 75% 80% at 55% 50%, #000 62%, transparent 100%);
}
.hero-plate figcaption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin: -0.5rem var(--gutter) 0 0;
  padding-top: 0.75rem;
  border-top: 1px solid var(--rule);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.hero-ledger {
  list-style: none;
  margin: clamp(2.5rem, 5vw, 4rem) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 2px solid var(--ink);
}
.hero-ledger li {
  display: flex;
  gap: 0.85rem;
  align-items: baseline;
  padding: 1.2rem 1.25rem 1.5rem 0;
  border-right: 1px solid var(--rule);
  font-family: var(--font-serif);
  font-size: 1.05rem;
  line-height: 1.3;
}
.hero-ledger li + li { padding-left: 1.25rem; }
.hero-ledger li:last-child { border-right: 0; }
.hero-ledger-num { font-family: var(--font-mono); font-size: 0.72rem; color: var(--accent); }

@media (max-width: 960px) {
  .hero-stage-grid { grid-template-columns: 1fr; }
  .hero-plate { margin: 0 calc(-1 * var(--gutter)); }
  .hero-plate-svg { width: 100%; }
  .hero-plate figcaption { margin: -0.25rem var(--gutter) 0; }
  .hero-ledger { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-ledger li:nth-child(2) { border-right: 0; }
  .hero-ledger li:nth-child(3) { padding-left: 0; }
  .hero-ledger li:nth-child(n + 3) { border-top: 1px solid var(--rule); }
}
@media (max-width: 560px) {
  .hero-display { font-size: clamp(2.7rem, 13vw, 3.6rem); }
  .hero-ledger { grid-template-columns: 1fr; }
  .hero-ledger li, .hero-ledger li + li { padding: 1rem 0; border-right: 0; }
  .hero-ledger li + li { border-top: 1px solid var(--rule); }
  .hero-plate figcaption { flex-direction: column; gap: 0.2rem; }
}

/* Motion: headline rises, plate draws itself in, masses settle, orange lands last */
@media (prefers-reduced-motion: no-preference) {
  .hero-display .hero-line,
  .hero-copy .hero-deck,
  .hero-copy .btn-row {
    opacity: 0;
    transform: translateY(18px);
    animation: hero-rise 0.9s var(--ease) forwards;
  }
  .hero-display .hero-line:nth-child(2) { animation-delay: 0.12s; }
  .hero-copy .hero-deck { animation-delay: 0.3s; }
  .hero-copy .btn-row { animation-delay: 0.42s; }

  .hero-plate-svg .hp-cons [pathLength],
  .hero-plate-svg .hp-struct [pathLength] {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    animation: hero-draw 2.2s var(--ease) forwards;
  }
  .hero-plate-svg .hp-cons [stroke-dasharray],
  .hero-plate-svg .hp-struct [stroke-dasharray] { opacity: 0; animation: hero-fade 1s ease 1.4s forwards; }
  .hero-plate-svg .hp-cons [pathLength] { animation-duration: 1.6s; animation-delay: 0.2s; }
  .hero-plate-svg .hp-struct [pathLength] { animation-delay: 0.7s; }
  .hero-plate-svg .hp-mass { opacity: 0; transform: translateY(14px); animation: hero-rise 1.1s var(--ease) 1.25s forwards; }
  .hero-plate-svg .hp-notes { opacity: 0; animation: hero-fade 0.8s ease 2.2s forwards; }
  .hero-plate-svg .hp-accent > * {
    opacity: 0;
    transform-box: fill-box;
    transform-origin: center;
    transform: scale(0.4);
    animation: hero-pop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 2.45s forwards;
  }
  .hero-plate-svg .hp-accent > *:last-child { animation-delay: 2.7s; }
  .hero-ledger li { opacity: 0; animation: hero-fade 0.8s ease forwards; }
  .hero-ledger li:nth-child(1) { animation-delay: 0.9s; }
  .hero-ledger li:nth-child(2) { animation-delay: 1.0s; }
  .hero-ledger li:nth-child(3) { animation-delay: 1.1s; }
  .hero-ledger li:nth-child(4) { animation-delay: 1.2s; }
}
@keyframes hero-rise { to { opacity: 1; transform: none; } }
@keyframes hero-fade { to { opacity: 1; } }
@keyframes hero-draw { to { stroke-dashoffset: 0; } }
@keyframes hero-pop { to { opacity: 1; transform: scale(1); } }

/* Focus on dark grounds (brand book ch.02) */
.surface-dark :focus-visible,
.site-header :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--accent-on-dark);
}

/* ---------- About: Plate No. 00, the street ---------- */
.street-head { display: grid; grid-template-columns: 1fr 1.1fr; gap: 2.5rem; align-items: end; }
.street-head h2 { margin-bottom: 0; }
.street-head h2 em { font-weight: 300; }
.street-head .lead { margin: 0; }
.street-plate { margin: 2.75rem 0 0; }
.street-scroll { overflow-x: auto; overflow-y: hidden; scrollbar-width: thin; padding: 0 1rem; }
.street-scroll:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.street-svg { display: block; width: 100%; min-width: 1100px; max-width: 1760px; height: auto; margin: 0 auto; }
.street-svg .st-or { fill: #e6ddd0; transition: fill .35s ease; }
.street-svg .st-or-s { stroke: #c9bfb1; transition: stroke .35s ease; }
.street-svg .st-bldg:nth-of-type(2) .st-or { fill: var(--accent-bright); }
.street-svg .st-bldg:nth-of-type(2) .st-or-s { stroke: var(--accent-bright); }
.street-svg:hover .st-bldg:nth-of-type(2):not(:hover) .st-or { fill: #e6ddd0; }
.street-svg:hover .st-bldg:nth-of-type(2):not(:hover) .st-or-s { stroke: #c9bfb1; }
.street-svg .st-bldg:hover .st-or,
.street-svg .st-bldg:focus-visible .st-or { fill: var(--accent-bright); }
.street-svg .st-bldg:hover .st-or-s,
.street-svg .st-bldg:focus-visible .st-or-s { stroke: var(--accent-bright); }
.street-svg .st-bldg text { transition: fill-opacity .25s ease; }
.street-svg .st-bldg:hover text,
.street-svg .st-bldg:focus-visible text { fill-opacity: 1; text-decoration: underline; }
.street-svg .st-bldg:focus { outline: none; }
.street-plate figcaption {
  display: flex; justify-content: space-between; gap: 1rem; align-items: baseline;
  margin-top: 1.25rem; font-family: var(--font-mono, "JetBrains Mono", monospace);
  font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft, #4b5a66);
}
.street-plate figcaption .editorial-link { font-family: inherit; }
@media (max-width: 900px) {
  .street-head { grid-template-columns: 1fr; gap: 1rem; }
  .street-plate figcaption { flex-direction: column; gap: .5rem; }
  .street-plate .swipe-hint::after { content: " (swipe to see the whole street)"; }
}
@media (prefers-reduced-motion: reduce) {
  .street-svg .st-or, .street-svg .st-or-s { transition: none; }
}

/* ---------- About: founder portrait ---------- */
.founder-portrait { margin: 2rem 0 0; max-width: 340px; }
.founder-portrait img { display: block; width: 100%; height: auto; aspect-ratio: 410 / 512; object-fit: cover; border-top: 2px solid var(--ink); }
.founder-portrait figcaption {
  display: flex; justify-content: space-between; gap: 1rem; padding-top: .7rem;
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-muted);
}
.founder-portrait figcaption span:first-child { color: var(--ink); }
@media (max-width: 900px) { .founder-portrait { max-width: 280px; } }

/* ---------- Contact page ---------- */
.contact-stage {
  position: relative;
  padding-block: clamp(2.5rem, 5vw, 4rem) clamp(3.5rem, 7vw, 6rem);
  overflow: hidden;
}
.contact-stage::before {
  /* faint construction grid, echoing the drawings */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(246, 243, 236, .05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(246, 243, 236, .05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, #000 30%, transparent 95%);
}
.contact-stage .container { position: relative; }
.contact-masthead { color: var(--slate-muted); border-bottom-color: var(--rule-dark-strong); }
.contact-stage-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.contact-display {
  color: var(--slate-ink);
  font-size: clamp(2.8rem, 6.2vw, 6rem);
  line-height: .95;
  letter-spacing: -0.04em;
  margin-bottom: clamp(1.25rem, 2.5vw, 1.75rem);
}
.contact-display em { font-weight: 300; }
.contact-display .full-stop { color: var(--accent-bright); font-style: normal; }
.contact-intro .lead { max-width: 40ch; }

.contact-lines { list-style: none; margin: clamp(2rem, 4vw, 3rem) 0 0; padding: 0; border-top: 1px solid var(--rule-dark-strong); }
.contact-lines li {
  display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); column-gap: 1rem;
  padding: 1.1rem 0; border-bottom: 1px solid var(--rule-dark);
}
.contact-line-code {
  grid-row: span 2; padding-top: .7rem;
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-on-dark);
}
.contact-line-value {
  font-family: var(--font-serif); font-size: clamp(1.6rem, 3vw, 2.35rem); line-height: 1.15; letter-spacing: -0.02em;
  color: var(--slate-ink); text-decoration: none; overflow-wrap: anywhere;
  background-image: linear-gradient(var(--accent-bright), var(--accent-bright));
  background-size: 0 2px; background-repeat: no-repeat; background-position: 0 100%;
  transition: background-size .35s ease;
  justify-self: start;
}
.contact-line-value:hover, .contact-line-value:focus-visible { background-size: 100% 2px; }
.contact-line-note { font-size: .85rem; color: var(--slate-muted); margin-top: .2rem; }

.contact-form {
  color: var(--ink);
  background: var(--paper);
  border: 0; border-top: 4px solid var(--accent-bright);
  box-shadow: 0 30px 60px -30px rgba(10, 18, 25, .55);
}
.contact-form :focus-visible { outline-color: var(--accent); }
.contact-form-head h2 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); margin: .2rem 0 .3rem; color: var(--ink); }
.contact-form-head p { color: var(--ink-secondary); margin: 0; font-size: .95rem; }
.contact-form .kicker { color: var(--ink-secondary); }
.contact-form .field input, .contact-form .field textarea { background: #fff; transition: border-color .2s ease, box-shadow .2s ease; }
.contact-form .field input:focus, .contact-form .field textarea:focus {
  outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(255, 117, 31, .25);
}
.field-opt { font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--ink-muted); }

.topic-chips { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.topic-chips legend {
  width: 100%; margin-bottom: .55rem; padding: 0;
  font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-secondary);
}
.topic-chips label { position: relative; cursor: pointer; }
.topic-chips input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.topic-chips span {
  display: inline-block; padding: .5rem .85rem; border: 1px solid var(--rule-strong); border-radius: 2px;
  font-size: .86rem; color: var(--ink-secondary); background: #fff; transition: all .2s ease;
}
.topic-chips label:hover span { border-color: var(--ink); color: var(--ink); }
.topic-chips input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.topic-chips input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

.contact-submit { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; }
.contact-submit .btn { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.contact-submit .btn:hover { background: var(--accent); border-color: var(--accent); }
.contact-submit span { font-size: .82rem; color: var(--ink-muted); }

.contact-next {
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr);
  gap: clamp(2rem, 6vw, 6rem); align-items: start;
}
.next-steps { list-style: none; margin: 2rem 0 0; padding: 0; border-top: 2px solid var(--ink); }
.next-steps li {
  display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); gap: 1rem;
  padding: 1.5rem 0; border-bottom: 1px solid var(--rule-strong);
}
.next-num { font-family: var(--font-serif); font-size: 2.4rem; line-height: 1; color: var(--accent); font-style: italic; }
.next-steps h3 { font-size: 1.3rem; margin: 0 0 .35rem; }
.next-steps p { margin: 0; color: var(--ink-secondary); max-width: 52ch; }
.contact-founder { margin-top: .5rem; }
.founder-note { font-family: var(--font-serif); font-style: italic; font-size: 1.15rem; line-height: 1.4; margin: 1rem 0 0; color: var(--ink); }

.contact-offices-head { margin-bottom: 2rem; }
.contact-offices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.25rem, 3vw, 2.5rem); }
.contact-office { border-top: 2px solid var(--ink); padding-top: 0; }
.contact-office-street { display: block; padding: 1.25rem 0 .9rem; border-bottom: 1px solid var(--rule-strong); margin-bottom: 1rem; }
.contact-office-street .street-svg { min-width: 0; width: 100%; max-width: none; height: 78px; }
.contact-office-code { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; color: var(--accent); }
.contact-office h3 { font-size: 1.6rem; margin: .2rem 0 .5rem; }
.contact-office h3 a { color: inherit; text-decoration: none; }
.contact-office h3 a:hover { color: var(--accent); }
.contact-office-addr { color: var(--ink-secondary); font-size: .95rem; margin-bottom: .6rem; }
.contact-office-tel { margin-bottom: .6rem; }
.contact-office-tel a { font-family: var(--font-serif); font-size: 1.35rem; color: var(--ink); text-decoration: none; }
.contact-office-tel a:hover { color: var(--accent); }

@media (max-width: 960px) {
  .contact-stage-grid, .contact-next { grid-template-columns: 1fr; }
  .contact-founder { max-width: 300px; }
  .contact-offices { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .contact-lines li { grid-template-columns: 3.5rem minmax(0, 1fr); }
  .contact-submit .btn { width: 100%; }
}

/* Article illustrations and h2 subheads */
.article-figure { margin: 0 0 2.5rem; }

/* ==========================================================================
   Insights: magazine index
   ========================================================================== */
.mag-masthead { background: var(--paper); padding-block: clamp(3rem, 6vw, 5rem) 0; }
.mag-masthead .container { border-bottom: 2px solid var(--ink); padding-bottom: clamp(1.75rem, 3vw, 2.5rem); }
.mag-masthead-row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  border-bottom: 1px solid var(--rule-strong); padding-bottom: 0.75rem; margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}
.mag-issue { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-muted); }
.mag-masthead h1 { max-width: 20ch; margin-bottom: 1rem; }
.mag-masthead .lead { max-width: 60ch; }

.mag-meta {
  display: flex; flex-wrap: wrap; gap: 0.35rem 0.9rem; align-items: baseline;
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-muted);
  margin-top: 0.9rem;
}
.mag-cat { color: var(--accent); font-weight: 600; }
.mag-label {
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-secondary);
  display: inline-flex; gap: 0.6rem; align-items: baseline;
}
.mag-label b { color: var(--accent); font-weight: 600; }

.mag-fig { display: block; background: var(--paper-card); border: 1px solid var(--rule); overflow: hidden; aspect-ratio: 760 / 420; }
.mag-fig svg { display: block; width: 100%; height: 100%; transition: transform 0.6s var(--ease); }
.mag-card:hover .mag-fig svg, .mag-lead:hover .mag-fig svg, .mag-also:hover .mag-fig svg { transform: scale(1.03); }
.mag-fig--thumb { aspect-ratio: 4 / 3; }
.mag-fig--thumb svg { object-fit: cover; }

.mag-lead-grid {
  display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  gap: clamp(1.75rem, 3.5vw, 3rem); padding-top: clamp(1.75rem, 3vw, 2.5rem);
}
.mag-lead h2 { font-family: var(--font-serif); font-weight: 400; font-size: clamp(2rem, 3.6vw, 3.1rem); line-height: 1.06; letter-spacing: -0.01em; margin: 0.6rem 0 0.9rem; max-width: 22ch; }
.mag-lead h2 a, .mag-card h3 a, .mag-also h3 a { text-decoration: none; }
.mag-lead h2 a:hover, .mag-card h3 a:hover, .mag-also h3 a:hover, .mag-archive a:hover { color: var(--accent); }
.mag-standfirst { font-size: 1.12rem; line-height: 1.6; color: var(--ink-secondary); max-width: 56ch; margin: 0 0 1.1rem; }
.mag-byline-mini { display: flex; align-items: center; gap: 0.6rem; font-size: 0.86rem; font-weight: 600; }
.mag-byline-mini img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }

.mag-also-col { border-left: 1px solid var(--rule); padding-left: clamp(1.25rem, 2.5vw, 2rem); display: grid; align-content: start; gap: 1.25rem; }
.mag-also { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 1rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--rule); }
.mag-also:last-child { border-bottom: none; }
.mag-also .mag-meta { margin-top: 0; }
.mag-also h3 { font-family: var(--font-serif); font-weight: 400; font-size: 1.18rem; line-height: 1.22; margin: 0.4rem 0 0; }

.mag-section-head {
  display: flex; justify-content: space-between; align-items: baseline;
  border-top: 2px solid var(--ink); padding-top: 0.85rem; margin: clamp(3rem, 6vw, 4.5rem) 0 1.75rem;
}
.mag-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 2.5rem clamp(1.5rem, 2.5vw, 2.25rem); }
.mag-card { grid-column: span 2; }
.mag-card--wide { grid-column: span 3; }
.mag-card--wide h3 { font-size: 1.7rem; }
.mag-card h3 { font-family: var(--font-serif); font-weight: 400; font-size: 1.38rem; line-height: 1.2; margin: 0.45rem 0 0.5rem; }
.mag-card p { font-size: 0.93rem; color: var(--ink-secondary); margin: 0; }

.mag-archive { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: clamp(2rem, 4vw, 3.5rem); }
.mag-archive li { break-inside: avoid; display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); gap: 0.75rem; padding: 0.7rem 0; border-bottom: 1px solid var(--rule); font-size: 0.95rem; }
.mag-archive a { text-decoration: none; }
.mag-archive-date { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-muted); padding-top: 0.2rem; }

@media (max-width: 960px) {
  .mag-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mag-card, .mag-card--wide { grid-column: span 1; }
  .mag-lead-grid { grid-template-columns: 1fr; }
  .mag-also-col { border-left: none; padding-left: 0; border-top: 1px solid var(--rule); padding-top: 1.25rem; }
}
@media (max-width: 640px) {
  .mag-grid { grid-template-columns: 1fr; }
  .mag-archive { columns: 1; }
  .mag-masthead-row { flex-direction: column; gap: 0.25rem; }
}

/* ==========================================================================
   Insights: article
   ========================================================================== */
.article-head { background: var(--paper); padding-top: clamp(2.75rem, 5.5vw, 4.5rem); }
.article-head-inner { max-width: 860px; margin-inline: auto; }
.mag-meta--head { margin: 0 0 1rem; }
.article-head h1 { font-size: clamp(2.3rem, 4.6vw, 3.9rem); line-height: 1.04; letter-spacing: -0.015em; max-width: 22ch; margin: 0 0 1.1rem; }
.article-standfirst { font-family: var(--font-serif); font-size: clamp(1.2rem, 1.9vw, 1.45rem); line-height: 1.45; color: var(--ink-secondary); max-width: 52ch; margin: 0 0 1.75rem; }
.article-byline {
  display: flex; align-items: center; gap: 0.9rem; flex-wrap: wrap;
  border-top: 1px solid var(--rule-strong); border-bottom: 1px solid var(--rule-strong); padding: 0.9rem 0;
}
.byline-avatar { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px var(--rule-strong); }
.byline-text { display: grid; gap: 0.15rem; margin-right: auto; flex: 1; min-width: 12rem; }
.byline-name { font-weight: 600; font-size: 0.95rem; }
.byline-name a { text-decoration: none; border-bottom: 1px solid var(--rule-strong); }
.byline-name a:hover { color: var(--accent); border-color: currentColor; }
.byline-sub { display: flex; flex-wrap: wrap; gap: 0.75rem; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-muted); }

.share-row { display: flex; gap: 0.4rem; }
.share-row--vertical { flex-direction: column; margin-top: 0.6rem; }
.share-btn {
  width: 36px; height: 36px; display: inline-grid; place-items: center; border-radius: 50%;
  border: 1px solid var(--rule-strong); background: transparent; color: var(--ink); cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}
.share-btn svg { width: 16px; height: 16px; fill: currentColor; }
.share-btn:hover, .share-btn:focus-visible { background: var(--slate); color: var(--slate-ink); border-color: var(--slate); }
.share-btn.is-copied { background: var(--accent-bright); border-color: var(--accent-bright); color: var(--ink); }

.article-hero-fig { max-width: 1060px; margin: clamp(2rem, 4vw, 3rem) auto 0; border-bottom: none; }
.article-hero-fig svg { display: block; width: 100%; height: auto; }

.article-layout { display: grid; grid-template-columns: 220px minmax(0, 68ch); gap: clamp(2rem, 5vw, 4.5rem); justify-content: center; }
.article-rail { position: sticky; top: 6.5rem; align-self: start; display: grid; gap: 2rem; }
.article-contents ol { list-style: none; margin: 0.75rem 0 0; padding: 0; counter-reset: toc; }
.article-contents li { counter-increment: toc; display: grid; grid-template-columns: 1.6rem 1fr; padding: 0.45rem 0; border-top: 1px solid var(--rule); font-size: 0.84rem; line-height: 1.35; }
.article-contents li::before { content: counter(toc, decimal-leading-zero); font-family: var(--font-mono); font-size: 0.68rem; color: var(--ink-muted); padding-top: 0.15rem; }
.article-contents a { text-decoration: none; color: var(--ink-secondary); }
.article-contents a:hover { color: var(--accent); }
.article-body h2[id] { scroll-margin-top: 6.5rem; }

.article-body--dropcap > p:first-of-type::first-letter {
  font-family: var(--font-serif); font-weight: 400; float: left;
  font-size: 4.6em; line-height: 0.82; padding: 0.08em 0.12em 0 0; margin-top: 0.04em;
  color: var(--slate);
}
.article-body--dropcap > p:first-of-type { font-size: 1.16rem; }

.author-card {
  display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 1.25rem; align-items: start;
  margin-top: 3.5rem; padding: 1.5rem; background: var(--paper-warm); border-top: 2px solid var(--ink);
}
.author-card img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; }
.author-card h2 { font-family: var(--font-serif); font-weight: 400; font-size: 1.5rem; margin: 0.3rem 0 0.5rem; }
.author-card p { font-size: 0.95rem; color: var(--ink-secondary); margin: 0 0 0.75rem; }
.author-links { display: flex; flex-wrap: wrap; gap: 1.25rem; }

.article-cta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--rule-strong); }
.article-cta p { margin: 0; font-family: var(--font-serif); font-size: 1.25rem; }

@media (max-width: 1020px) {
  .article-layout { grid-template-columns: minmax(0, 68ch); }
  .article-rail { position: static; order: 2; display: none; }
}
@media (max-width: 640px) {
  .article-byline .share-row { width: 100%; }
  .author-card { grid-template-columns: 1fr; }
}
.article-body ul.sources { list-style: none; padding: 0; margin-top: 0.75rem; font-size: 0.86rem; color: var(--ink-muted); }
.article-body ul.sources li { padding: 0.55rem 0; border-top: 1px solid var(--rule); margin: 0; }
.article-body ul.sources a { color: var(--ink-secondary); }

/* ==========================================================================
   Article page: single reading column, contents rail left, sector, help and
   popular rail right. Square corners (2px) and mono kickers, per the brand.
   ========================================================================== */
.a2-narrow { max-width: 720px; margin: 0 auto; padding: 0 20px; }
.a2-wide { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
.a2-head { padding: clamp(2.5rem, 6vw, 4.5rem) 0 0; }
.a2-chips { display: flex; flex-wrap: wrap; align-items: baseline; gap: .55rem; margin-bottom: 1.6rem;
  font-family: var(--font-mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; }
.a2-chips a { color: var(--ink-secondary); text-decoration: none; border-bottom: 1px solid transparent; }
.a2-chips a:hover { color: var(--ink); border-bottom-color: var(--accent-bright); }
.a2-chips a:last-child { color: var(--accent); font-weight: 600; }
.a2-sep { color: var(--rule-strong); }
.a2-head h1 { font-family: var(--font-serif); font-weight: 400; font-size: clamp(2.3rem, 5.4vw, 3.6rem); line-height: 1.04; letter-spacing: -.02em; margin: 0 0 1.2rem; color: var(--ink); }
.a2-head h1 em { font-style: italic; color: var(--slate); }
.a2-standfirst { font-family: var(--font-serif); font-size: 1.3rem; line-height: 1.45; color: var(--ink-secondary); margin: 0 0 1.8rem; }
.a2-byline { display: flex; align-items: center; gap: 14px; }
.a2-byline img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.a2-byline div { display: flex; flex-direction: column; }
.a2-by { font-weight: 600; }
.a2-by a { color: var(--ink); text-decoration-color: var(--accent-bright); text-underline-offset: 3px; }
.a2-role { font-size: .88rem; color: var(--ink-muted); }
.a2-metarow { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  margin-top: 1.2rem; padding: .9rem 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.a2-meta { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-muted); display: flex; gap: 14px; flex-wrap: wrap; }
.a2-fig { margin: clamp(2rem, 4vw, 3rem) 0 0; }
.a2-fig svg { display: block; width: 100%; max-width: none; height: auto; }
.a2-fig figcaption { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); margin-top: .7rem; text-align: right; }

.a2-main { padding: clamp(2.5rem, 5vw, 3.5rem) 0 clamp(3rem, 6vw, 5rem); }
.a2-grid { display: grid; grid-template-columns: 200px minmax(0, 680px) 240px; gap: 56px; justify-content: center; max-width: 1320px; margin: 0 auto; padding: 0 20px; }
.a2-body { max-width: none; }
.a2-body mark { background: linear-gradient(transparent 55%, rgba(255,117,31,.28) 55%); color: inherit; padding: 0 .1em; }
.a2-callout { margin: 2.4rem 0; padding: 1.6rem 1.8rem; background: var(--paper-warm); border-left: 4px solid var(--accent-bright); border-radius: 0 2px 2px 0; }
.a2-callout blockquote { margin: .8rem 0 1rem; padding: 0; border: 0; font-family: var(--font-serif); font-size: 1.25rem; line-height: 1.5; color: var(--ink); }
.a2-callout blockquote p { margin: 0; }
.a2-copy { font-size: .85rem; padding: .55rem 1rem; border-radius: 2px; }
.a2-copy.is-copied { border-color: var(--accent-bright); }

.a2-readnext { margin-top: 3rem; border-top: 2px solid var(--ink); padding-top: 1rem; }
.a2-readnext ul { list-style: none; margin: .6rem 0 0; padding: 0; }
.a2-readnext li a { display: grid; grid-template-columns: 9.5rem 1fr auto; gap: 14px; align-items: baseline; padding: 1rem 0; border-bottom: 1px solid var(--rule); text-decoration: none; color: var(--ink); }
.a2-kind { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.a2-rn-title { font-family: var(--font-serif); font-size: 1.2rem; line-height: 1.3; }
.a2-readnext li a:hover .a2-rn-title { text-decoration: underline; text-decoration-color: var(--accent-bright); text-underline-offset: 4px; }
.a2-arrow { color: var(--ink-muted); }
.a2-more { margin: 2rem 0; padding-top: 1rem; border-top: 1px solid var(--rule); }
.a2-more-links { display: flex; flex-wrap: wrap; gap: .6rem 2rem; margin-top: .7rem; }
.a2-author { margin-top: 2rem; }
.a2-help { margin-top: 2rem; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
  background: var(--paper-card); border: 1px solid var(--rule); border-top: 3px solid var(--accent-bright); padding: 1.6rem 1.8rem; border-radius: 2px; }
.a2-help h2 { font-family: var(--font-serif); font-weight: 400; font-size: 1.8rem; margin: .3rem 0; }
.a2-help p { margin: 0; color: var(--ink-secondary); }
.a2-help-actions { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.a2-phone { font-family: var(--font-serif); font-size: 1.8rem; color: var(--ink); text-decoration: none; }

/* rails */
.a2-sticky { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 1.6rem; }
.a2-progress { height: 2px; background: var(--rule); }
.a2-progress span { display: block; height: 100%; width: 0; background: var(--accent-bright); }
.a2-rail .article-contents ol { margin: .7rem 0 0; padding: 0; list-style: none; counter-reset: c; }
.a2-rail .article-contents li { counter-increment: c; padding: .45rem 0; border-bottom: 1px solid var(--rule); font-size: .88rem; line-height: 1.35; }
.a2-rail .article-contents li::before { content: counter(c, decimal-leading-zero); font-family: var(--font-mono); font-size: .68rem; color: var(--accent); margin-right: .6rem; }
.a2-rail .article-contents a { color: var(--ink-secondary); text-decoration: none; }
.a2-rail .article-contents a:hover { color: var(--ink); }
.a2-rail-share .share-row { margin-top: .6rem; }
.a2-rail--right { display: flex; flex-direction: column; }
.a2-rail--right .a2-sticky { display: contents; }
.a2-rail--right > * + * { margin-top: 1.6rem; }
.a2-side-card { border-top: 2px solid var(--ink); padding-top: .9rem; }
.a2-side-k { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-secondary); }
.a2-side-card h3 { font-family: var(--font-serif); font-weight: 400; font-size: 1.35rem; margin: .5rem 0 .4rem; }
.a2-side-card p { font-size: .9rem; color: var(--ink-secondary); margin: 0 0 .7rem; line-height: 1.5; }
.a2-side-phone { display: block; font-family: var(--font-serif); font-size: 1.6rem; color: var(--ink); text-decoration: none; margin: .4rem 0 .2rem; }
.a2-popular ol { list-style: none; margin: .6rem 0 0; padding: 0; counter-reset: p; }
.a2-popular li { counter-increment: p; display: grid; grid-template-columns: 1.6rem 1fr; padding: .55rem 0; border-bottom: 1px solid var(--rule); }
.a2-popular li::before { content: counter(p); font-family: var(--font-serif); font-size: 1.25rem; line-height: 1.1; color: var(--accent); }
.a2-popular a { font-family: var(--font-serif); font-size: 1rem; line-height: 1.3; color: var(--ink); text-decoration: none; }
.a2-popular a:hover { text-decoration: underline; text-decoration-color: var(--accent-bright); text-underline-offset: 3px; }
.a2-side-card--dark { position: sticky; top: 96px; background: var(--slate); color: var(--slate-ink); border-top: 0; padding: 1.2rem; border-radius: 2px; }
.a2-side-card--dark h3 { color: var(--slate-ink); margin-top: 0; }
.a2-side-card--dark h3 em { color: var(--accent-on-dark); }
.a2-side-card--dark .btn-primary { background: var(--accent-bright); border-color: var(--accent-bright); color: var(--ink); width: 100%; }

/* closing band */
.a2-band { background: var(--slate); color: var(--slate-ink); padding: clamp(3rem, 7vw, 5.5rem) 0; text-align: center; }
.a2-band h2 { font-family: var(--font-serif); font-weight: 400; font-size: clamp(2rem, 4.6vw, 3rem); line-height: 1.1; margin: 0 0 1rem; color: var(--slate-ink); }
.a2-band h2 em { color: var(--accent-on-dark); }
.a2-band p { color: var(--slate-muted); font-size: 1.1rem; margin: 0 auto 1.8rem; max-width: 34rem; }
.a2-band-actions { display: flex; gap: 20px; justify-content: center; align-items: center; flex-wrap: wrap; }
.a2-band .btn-primary { background: var(--accent-bright); border-color: var(--accent-bright); color: var(--ink); }
.a2-band-link { color: var(--slate-ink); text-decoration-color: var(--accent-on-dark); text-underline-offset: 4px; }

@media (max-width: 1180px) {
  .a2-grid { grid-template-columns: minmax(0, 680px); }
  .a2-rail { display: none; }
}
@media (max-width: 640px) {
  .a2-readnext li a { grid-template-columns: 1fr auto; }
  .a2-kind { grid-column: 1 / -1; }
}

/* ==========================================================================
   Header and footer refinements (2026-11-26)
   ========================================================================== */
/* The wordmark sits on the bottom of the SVG box with the sparkle above it,
   so the box centre is not the optical centre. Lift it so the letters,
   not the sparkle-inclusive box, sit on the bar's centre line. */
.site-header .brand-svg { transform: translateY(-24%); }

.header-phone { display: inline-flex; align-items: center; gap: 0.45rem; }
.header-phone svg { color: var(--accent-bright); flex-shrink: 0; }
.header-call {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  margin-left: auto;
  margin-right: -0.6rem;
  border: 1px solid var(--rule-dark-strong);
  border-radius: 2px;
  color: var(--slate-ink);
}
.header-call svg { color: var(--accent-bright); }
@media (max-width: 920px) { .header-call { display: inline-flex; } }

/* Cyber Essentials badge: a small mark in the bottom rule, not a block */
.footer-assurance { display: inline-flex; align-items: center; gap: 0.9rem; }
.footer-badge { margin: 0; width: 48px; height: 48px; overflow: hidden; flex-shrink: 0; }
.footer-badge iframe { width: 132px; height: 132px; transform: scale(0.3636); transform-origin: 0 0; }


/* ==========================================================================
   Motion (pre-launch, 2026-11-26)
   Quiet and architectural: things are drawn, settle and land. One orange
   moment per illustration, always last. Everything is off for reduced motion.
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  /* Illustrations draw in (classes added by motion.js) */
  .mo-ready .mo-draw { stroke-dasharray: 1; stroke-dashoffset: 1; }
  .mo-ready .mo-fade,
  .mo-ready .mo-mass,
  .mo-ready .mo-or { opacity: 0; }
  .mo-ready .mo-mass { transform: translateY(10px); transform-box: fill-box; }
  .mo-ready .mo-or { transform: scale(0.35); transform-box: fill-box; transform-origin: center; }
  .mo-in .mo-draw { animation: mo-draw 1.5s var(--ease) var(--d, 0s) forwards; }
  .mo-in .mo-fade { animation: mo-fade 0.9s ease calc(var(--d, 0s) + 0.4s) forwards; }
  .mo-in .mo-mass { animation: mo-settle 0.9s var(--ease) var(--d, 0s) forwards; }
  .mo-in .mo-or { animation: mo-land 0.65s cubic-bezier(0.34, 1.56, 0.64, 1) var(--d, 1.4s) forwards; }
  .mo-ready.mo-simple { opacity: 0; transform: translateY(12px); }
  .mo-in.mo-simple { animation: mo-settle 1s var(--ease) forwards; }

  /* Page titles rise in on load */
  .folio-header .kicker,
  .folio-header h1,
  .folio-header .lead,
  .folio-header .btn-row,
  .a2-head .a2-chips,
  .a2-head h1,
  .a2-head .a2-standfirst {
    opacity: 0;
    transform: translateY(14px);
    animation: mo-settle 0.85s var(--ease) forwards;
  }
  .folio-header h1, .a2-head h1 { animation-delay: 0.08s; }
  .folio-header .lead, .a2-head .a2-standfirst { animation-delay: 0.2s; }
  .folio-header .btn-row { animation-delay: 0.3s; }

  /* The orange registration square lands as its section appears */
  .folio-header .kicker::before,
  .reveal .kicker::before {
    transform: scale(0) rotate(45deg);
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.25s;
  }
  .folio-header .kicker::before { animation: mo-square 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.35s forwards; transition: none; }
  .reveal.is-visible .kicker::before { transform: none; }

  /* Columns, ledgers and questions arrive one after another */
  .reveal .ruled-col,
  .reveal .ledger-item,
  .reveal .faq-item,
  .reveal .compare-list li {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  }
  .reveal.is-visible .ruled-col,
  .reveal.is-visible .ledger-item,
  .reveal.is-visible .faq-item,
  .reveal.is-visible .compare-list li { opacity: 1; transform: none; }
  .reveal.is-visible :is(.ruled-col, .ledger-item, .faq-item, .compare-list li):nth-child(2) { transition-delay: 0.08s; }
  .reveal.is-visible :is(.ruled-col, .ledger-item, .faq-item, .compare-list li):nth-child(3) { transition-delay: 0.16s; }
  .reveal.is-visible :is(.ruled-col, .ledger-item, .faq-item, .compare-list li):nth-child(4) { transition-delay: 0.24s; }
  .reveal.is-visible :is(.ruled-col, .ledger-item, .faq-item, .compare-list li):nth-child(5) { transition-delay: 0.32s; }
  .reveal.is-visible :is(.ruled-col, .ledger-item, .faq-item, .compare-list li):nth-child(n+6) { transition-delay: 0.4s; }

  /* Small hover details */
  .nav-links a::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 1.5px;
    background: var(--accent-bright);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s var(--ease);
  }
  .nav-links a:hover::before { transform: scaleX(1); }
  .nav-links a[aria-current="page"]::before { display: none; }
  .btn { transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease); }
  .btn:hover { transform: translateY(-1px); }
  .btn:active { transform: translateY(0); }
  .ledger-item .ledger-code { transition: color 0.2s ease; }
  .ledger-item:hover .ledger-code { color: var(--accent); }
  .header-phone svg, .header-call svg { transition: transform 0.3s var(--ease); }
  .header-phone:hover svg, .header-call:hover svg { transform: rotate(-12deg) scale(1.1); }
  .site-header { transition: box-shadow 0.3s ease; }
  .site-header.is-scrolled { box-shadow: 0 6px 20px rgba(21, 33, 43, 0.18); }
  .faq-item[open] > p { animation: mo-settle 0.45s var(--ease); }
}
@keyframes mo-draw { to { stroke-dashoffset: 0; } }
@keyframes mo-fade { to { opacity: 1; } }
@keyframes mo-settle { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes mo-land { to { opacity: 1; transform: scale(1); } }
@keyframes mo-square { to { transform: none; } }
.field-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ==========================================================================
   Client voices: quotes from Google reviews. Quiet by design: no stars,
   no carousel. Newsreader quotes on ruled columns, like a letters page.
   ========================================================================== */
.hero-rating {
  margin-top: 1.1rem;
  font-size: 0.86rem;
  color: var(--ink-muted);
}
.hero-rating a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
}
.hero-rating a:hover { color: var(--accent); }

.client-voices {
  margin-bottom: clamp(4rem, 7vw, 5.5rem);
}
/* Quotes that follow other content inside the same section */
.voices-after { margin-top: clamp(4rem, 8vw, 6rem); }
.voices-after .client-voices { margin-bottom: 0; }
.voices-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem 1.5rem;
}
.voices-head .kicker { margin-bottom: 0; }
.voices-rating {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
  text-decoration: none;
  border-bottom: 1px solid var(--rule-strong);
  padding-bottom: 2px;
}
.voices-rating:hover { color: var(--ink); border-bottom-color: var(--accent); }
.voices-note {
  margin-top: 0.9rem;
  max-width: 62ch;
  color: var(--ink-secondary);
}

/* The cards */
.voices-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
  margin-top: 1.5rem;
}
.voices-2 .voices-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.voices-1 .voices-grid { grid-template-columns: minmax(0, 46rem); }

.voice {
  position: relative;
  margin: 0;
  padding: clamp(1.5rem, 2.4vw, 2.1rem);
  padding-top: clamp(2.6rem, 3.6vw, 3.1rem);
  display: flex;
  flex-direction: column;
  background: var(--paper-card);
  border: 1px solid var(--rule);
  border-top: 3px solid var(--accent-bright);
  border-radius: 2px;
  box-shadow: 0 1px 0 var(--rule), 0 18px 36px -28px rgba(21, 33, 43, 0.35);
  overflow: hidden;
}
.surface-paper .voice { background: var(--paper-warm); }

/* Oversized quote mark, hung in the corner */
.voice::before {
  content: "\201C";
  position: absolute;
  top: -0.05em;
  right: 0.12em;
  font-family: var(--font-serif);
  font-size: 7.5rem;
  line-height: 1;
  color: var(--accent-bright);
  opacity: 0.22;
  pointer-events: none;
}
.voice-stars {
  display: flex;
  gap: 3px;
  margin: -0.9rem 0 1rem;
  color: var(--accent-bright);
}
.voice-stars svg { display: block; fill: currentColor; }
.voice blockquote { margin: 0; flex: 1; }
.voice blockquote p {
  font-family: var(--font-serif);
  font-size: clamp(1.12rem, 1.4vw, 1.26rem);
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.voices-1 .voice blockquote p {
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  line-height: 1.34;
}

.voice figcaption {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 1.5rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--rule);
}
.voice-mono {
  flex: none;
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 2px;
  background: var(--slate);
  color: #f6f3ec;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}
.voice-who { display: flex; flex-direction: column; gap: 0.15rem; min-width: 0; }
.voice-name {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
}
.voice-meta {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* On the dark chapters */
.surface-dark .voice {
  background: var(--slate-surface);
  border-color: var(--rule-dark);
  border-top-color: var(--accent-bright);
  box-shadow: 0 18px 36px -24px rgba(0, 0, 0, 0.55);
}
.surface-dark .voice figcaption { border-top-color: var(--rule-dark); }
.surface-dark .voice blockquote p,
.surface-dark .voice-name { color: var(--slate-ink); }
.surface-dark .voice-meta,
.surface-dark .voices-rating,
.surface-dark .voices-note { color: var(--slate-muted); }
.surface-dark .voices-rating { border-bottom-color: var(--rule-dark-strong); }
.surface-dark .voices-rating:hover { color: var(--slate-ink); border-bottom-color: var(--accent-bright); }
.surface-dark .voice-mono { background: var(--accent-bright); color: #15212b; }

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