/* clavenor.com — design tokens and base styles (WP-CF2-02).
   Brand direction A, "private-bank discreet" (owner, 2026-10-07): navy and brass, Cormorant Garamond for large headings,
   Manrope for everything else.

   THE RULE: colours and font families are written ONLY in the :root block below. Everything else uses var(--…).
   The build fails otherwise (QA A32). Fonts are served from clavenor.com (assets/fonts/, made by tools/make_fonts.py);
   build.py adds ?v=<hash> to every url(fonts/…) so the one-year cache never serves an old file.

   Breakpoints (mobile first; custom properties cannot be used inside @media): 600px tablet, 900px desktop. */

@font-face {
  font-family: "Manrope";
  src: url("fonts/manrope.woff2?v=2d970acc") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("fonts/cormorant-garamond-600.woff2?v=ca90171a") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  /* colour — the brand (contrast ratios: docs/site-foundation/tasks/WP-CF2-01-brand-proposals.md, WP-CF2-02) */
  --c-navy: #14233B;
  --c-brass: #A9814A;          /* symbol, rules, decoration — never text */
  --c-brass-light: #C29B62;    /* buttons and text on navy (6.1:1) */
  --c-brass-deep: #7A5A28;     /* small accent text and focus ring on light (5.9:1) */
  --c-ivory: #FAF7F1;
  --c-ivory-deep: #F1ECE2;     /* soft bands */
  --c-ivory-on-dark: #F4EEE3;
  --c-slate: #555B66;
  --c-stone: #E6DFD2;
  --c-steel: #8A8E96;          /* form-field borders (3.1:1 on ivory, 3.3:1 on white) */
  --c-white: #FFFFFF;
  --c-mist-on-dark: #B9C0CC;   /* secondary text on navy (8.6:1) */
  --c-navy-line: #2E3D57;      /* divider lines on navy — decoration only */
  --c-highlight: #F3EADB;      /* "our" column of a comparison (navy on it 13.1:1) */
  --c-error: #A3271F;          /* 6.9:1 on ivory */
  --c-success: #1E6B3A;        /* 6.1:1 on ivory */

  /* colour — roles: components use these */
  --c-text: var(--c-navy);
  --c-text-muted: var(--c-slate);
  --c-accent-text: var(--c-brass-deep);
  --c-bg: var(--c-ivory);
  --c-bg-soft: var(--c-ivory-deep);
  --c-surface: var(--c-white);
  --c-border: var(--c-stone);
  --c-field-border: var(--c-steel);
  --c-link: var(--c-navy);
  --c-link-line: var(--c-brass);
  --c-focus: var(--c-brass-deep);
  --c-dark-bg: var(--c-navy);
  --c-dark-text: var(--c-ivory-on-dark);
  --c-dark-accent: var(--c-brass-light);
  --c-dark-muted: var(--c-mist-on-dark);
  --c-dark-line: var(--c-navy-line);
  --c-btn-bg: var(--c-navy);
  --c-btn-text: var(--c-ivory);
  --c-btn-alt-bg: var(--c-brass-light);
  --c-btn-alt-text: var(--c-navy);
  --c-selection: var(--c-brass-light);

  /* type */
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;   /* headings >= 28 px only: thin when small */
  --font-text: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --fw-text: 400;
  --fw-strong: 600;
  --fw-display: 600;
  --fs-xs: 0.8125rem;   /* 13 */
  --fs-sm: 0.875rem;    /* 14 */
  --fs-base: 1rem;      /* 16 */
  --fs-md: 1.125rem;    /* 18 */
  --fs-lg: 1.3125rem;   /* 21 */
  --fs-xl: clamp(1.75rem, 1.45rem + 1.4vw, 2.375rem);    /* h2: 28 -> 38 */
  --fs-2xl: clamp(2.125rem, 1.6rem + 2.6vw, 3.375rem);   /* h1: 34 -> 54 */
  --lh-tight: 1.12;
  --lh-snug: 1.3;
  --lh-text: 1.65;
  --tracking-caps: 0.12em;
  --tracking-brand: 0.2em;

  /* space — a 4 px grid */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;

  /* shape */
  --radius: 2px;
  --radius-lg: 4px;
  --border: 1px;
  --shadow-1: 0 1px 2px rgb(20 35 59 / 0.06), 0 2px 8px rgb(20 35 59 / 0.05);
  --shadow-2: 0 2px 4px rgb(20 35 59 / 0.06), 0 12px 32px rgb(20 35 59 / 0.10);

  /* layout */
  --w-page: 72rem;
  --w-text: 42rem;
  --gutter: var(--space-4);
  --header-h: 4.5rem;

  /* motion */
  --dur: 0.15s;
  --ease: cubic-bezier(0.2, 0.6, 0.2, 1);
}
@media (min-width: 600px) { :root { --gutter: var(--space-5); } }

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-text);
  font-weight: var(--fw-text);
  font-size: var(--fs-base);
  line-height: var(--lh-text);
  color: var(--c-text);
  background: var(--c-bg);
  min-height: 100vh;               /* with main growing, the footer sits at the bottom of short pages */
  display: flex;
  flex-direction: column;
}
main { flex: 1 0 auto; }
img, svg, video { max-width: 100%; height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0 0 var(--space-4); line-height: var(--lh-snug); font-weight: var(--fw-strong); text-wrap: balance;
  overflow-wrap: break-word; hyphens: auto; }   /* long Bulgarian words wrap, never overflow */
p, li, td, th, dd { overflow-wrap: break-word; }
h1, h2 { font-family: var(--font-display); font-weight: var(--fw-display); line-height: var(--lh-tight); }
h1 { font-size: var(--fs-2xl); }
h2 { font-size: var(--fs-xl); }
h3 { font-size: var(--fs-lg); }
h4 { font-size: var(--fs-md); }
p, ul, ol, dl, table, blockquote { margin: 0 0 var(--space-4); }
ul, ol { padding-left: 1.25em; }
li + li { margin-top: var(--space-1); }
a {
  color: var(--c-link);
  text-decoration-line: underline;
  text-decoration-color: var(--c-link-line);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--c-focus); outline-offset: 2px; }
::selection { background: var(--c-selection); color: var(--c-navy); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* ------------------------------------------------------------------ layout primitives */
.container { width: 100%; max-width: var(--w-page); margin-inline: auto; padding-inline: var(--gutter); }
.stack > * { margin-block: 0; }
.stack > * + * { margin-top: var(--stack, var(--space-4)); }
.cluster { display: flex; flex-wrap: wrap; align-items: center; gap: var(--cluster, var(--space-4)); }
.grid { display: grid; gap: var(--grid-gap, var(--space-5));
  grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--grid-min, 16rem)), 1fr)); }
.prose { max-width: var(--w-text); }
.container.prose { max-width: var(--w-page); }   /* a page's text column: as wide as the page, lines kept readable */
.container.prose > * { max-width: var(--w-text); }
.visually-hidden, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ------------------------------------------------------------------ page parts (refined by WP-CF2-03 / WP-CF2-04) */
.skip { position: absolute; left: var(--space-4); top: -100px; background: var(--c-surface); padding: var(--space-2) var(--space-4); z-index: 10; }
.skip:focus { top: var(--space-2); }

/* the header (WP-CF2-03): logo · menu · language · button; under 900 px the menu folds into a <details> disclosure,
   which opens and closes without JavaScript (site.js only adds Escape and click-outside) */
.site-header { position: relative; z-index: 20; background: var(--c-bg); border-bottom: var(--border) solid var(--c-border); }
.header-row { display: flex; align-items: center; gap: var(--space-4); min-height: var(--header-h); }
.logo { display: flex; flex: none; margin-right: auto; }
.logo img { display: block; height: 1.625rem; width: auto; }
@media (min-width: 900px) { .logo img { height: 2rem; } }
.nav-list, .menu-panel ul, .footer-list, .footer-legal { list-style: none; margin: 0; padding: 0; }
.nav-list li + li, .menu-panel li + li, .footer-list li + li, .footer-legal li + li { margin-top: 0; }
.nav-main { display: none; }
.nav-list { display: flex; gap: var(--space-5); font-size: var(--fs-sm); }
.nav-list a { text-decoration: none; }
.nav-list a:hover, .nav-list a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--c-link-line); }
.nav-list a[aria-current="page"] { font-weight: var(--fw-strong); }
.header-actions { display: flex; align-items: center; gap: var(--space-4); }
.header-actions .btn-cta { display: none; }
.btn-cta { padding: var(--space-2) var(--space-4); font-size: var(--fs-sm); }
.lang { display: flex; gap: var(--space-3); font-size: var(--fs-sm); font-weight: var(--fw-strong); }
.lang span { text-decoration: underline; text-decoration-color: var(--c-link-line); text-underline-offset: 0.2em; }   /* the current language */
.lang a { color: var(--c-text-muted); text-decoration: none; }
.lang a:hover { color: var(--c-text); }
.menu summary { display: flex; align-items: center; gap: var(--space-2); padding: var(--space-2) var(--space-3);
  border: var(--border) solid var(--c-field-border); border-radius: var(--radius); cursor: pointer; list-style: none;
  font-size: var(--fs-sm); font-weight: var(--fw-strong); }
.menu summary::-webkit-details-marker { display: none; }
.menu-icon, .menu-icon::before, .menu-icon::after { display: block; width: 1rem; height: 2px; background: currentColor; }
.menu-icon { position: relative; }
.menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; }
.menu-icon::before { top: -5px; }
.menu-icon::after { top: 5px; }
.menu[open] .menu-icon { background: transparent; }
.menu[open] .menu-icon::before { top: 0; transform: rotate(45deg); }
.menu[open] .menu-icon::after { top: 0; transform: rotate(-45deg); }
.menu-panel { position: absolute; left: 0; right: 0; top: 100%; padding: var(--space-2) var(--gutter) var(--space-5);
  background: var(--c-bg); border-bottom: var(--border) solid var(--c-border); box-shadow: var(--shadow-2); }
.menu-panel a:not(.btn) { display: block; padding: var(--space-3) 0; border-bottom: var(--border) solid var(--c-border);
  font-size: var(--fs-md); text-decoration: none; }
.menu-panel a[aria-current="page"] { font-weight: var(--fw-strong); }
.menu-panel .btn { display: block; margin-top: var(--space-5); text-align: center; }
@media (min-width: 900px) {
  .nav-main { display: block; }
  .header-actions .btn-cta { display: inline-block; }
  .menu { display: none; }
}

.hero, .page-head { padding-block: var(--space-8) var(--space-6); }
.eyebrow { margin: 0 0 var(--space-3); font-size: var(--fs-xs); font-weight: var(--fw-strong);
  letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--c-accent-text); }
.lead { font-size: var(--fs-md); color: var(--c-text-muted); max-width: var(--w-text); }
.meta { font-size: var(--fs-sm); color: var(--c-text-muted); }

.section { padding-block: var(--space-7); }
.soft { background: var(--c-bg-soft); }
.section-head { max-width: var(--w-text); margin-bottom: var(--space-5); }
.card { background: var(--c-surface); border: var(--border) solid var(--c-border); border-radius: var(--radius-lg);
  padding: var(--space-5); box-shadow: var(--shadow-1); }

.btn { display: inline-block; padding: var(--space-3) var(--space-5); border: 0; border-radius: var(--radius);
  font-weight: var(--fw-strong); line-height: var(--lh-snug); text-decoration: none; cursor: pointer;
  transition: background-color var(--dur) var(--ease); }
.btn-primary { background: var(--c-btn-bg); color: var(--c-btn-text); }
.btn-primary:hover { background: var(--c-btn-alt-bg); color: var(--c-btn-alt-text); }

/* contact form */
.contact-wrap { display: grid; gap: var(--space-5); }
.contact { display: grid; gap: var(--space-4); align-content: start; }
.office h3 { margin-bottom: var(--space-2); }
.office p:last-child { margin-bottom: 0; }
.msg-buttons { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-3); }
.btn-msg { background: var(--c-surface); color: var(--c-text); border: var(--border) solid var(--c-navy); }
.btn-msg:hover { background: var(--c-navy); color: var(--c-ivory); }
/* the global page's market picker (WP-CF3-01) */
.markets { list-style: none; margin: 0 0 var(--space-6); padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-3); }
.markets li { margin: 0; }
.franchise { margin: 0; padding-top: var(--space-4); border-top: var(--border) solid var(--c-border); }
.franchise a { font-weight: var(--fw-strong); }
@media (min-width: 900px) { .contact-wrap { grid-template-columns: 1fr 2fr; } }
.form { background: var(--c-surface); border: var(--border) solid var(--c-border); border-radius: var(--radius-lg);
  padding: var(--space-5); box-shadow: var(--shadow-1); }
@media (min-width: 600px) { .form { padding: var(--space-6); } }
.form h3 { margin-bottom: var(--space-2); }
.form-lead { margin: 0 0 var(--space-5); color: var(--c-text-muted); }
.row2 { display: grid; gap: var(--space-4); }
@media (min-width: 600px) { .row2 { grid-template-columns: 1fr 1fr; } }
.field { margin-bottom: var(--space-4); }
.field label, .choices legend { display: block; margin-bottom: var(--space-1); font-size: var(--fs-sm); font-weight: var(--fw-strong); }
.field input, .field textarea, .field select { width: 100%; padding: var(--space-3); background: var(--c-surface);
  border: var(--border) solid var(--c-field-border); border-radius: var(--radius); }
.field textarea { min-height: 9rem; resize: vertical; }
.field input:focus-visible, .field textarea:focus-visible, .field select:focus-visible { outline-offset: 0; }
.choices { border: 0; padding: 0; margin-inline: 0; min-width: 0; }
.field .choice { display: inline-flex; align-items: center; gap: var(--space-2); margin: 0 var(--space-5) var(--space-2) 0;
  font-size: var(--fs-base); font-weight: var(--fw-text); }
.field .choice input { width: auto; margin: 0; accent-color: var(--c-navy); }
.phone-row { display: grid; gap: var(--space-2); }
@media (min-width: 600px) { .phone-row { grid-template-columns: minmax(0, 15rem) 1fr; } }
.has-error input, .has-error textarea, .has-error select { border-color: var(--c-error); }
.field-error { color: var(--c-error); font-size: var(--fs-sm); }
.form-note { font-size: var(--fs-sm); color: var(--c-text-muted); }
.form-status.ok { color: var(--c-success); }
.form-status.err { color: var(--c-error); }

/* legal notice, guides, the no-JavaScript answer page */
.legal dt { font-weight: var(--fw-strong); }
.legal dd { margin: 0 0 var(--space-3); }
.result { padding-block: var(--space-8); }

/* the footer (WP-CF2-03): navy; operator line (WP-CL-01), contact, site and legal links, © and ™ */
.site-footer { margin-top: var(--space-8); padding-block: var(--space-7) var(--space-5); background: var(--c-dark-bg);
  color: var(--c-dark-text); font-size: var(--fs-sm); }
.site-footer a { color: var(--c-dark-text); text-decoration-color: var(--c-dark-accent); }
.site-footer :focus-visible { outline-color: var(--c-dark-accent); }
.footer-grid { display: grid; gap: var(--space-6); }
@media (min-width: 600px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer-brand .logo img { height: 1.625rem; }
.footer-op { margin: var(--space-4) 0 0; color: var(--c-dark-muted); max-width: 28rem; }
.footer-h { margin: 0 0 var(--space-3); font-size: var(--fs-xs); font-weight: var(--fw-strong); letter-spacing: var(--tracking-caps);
  text-transform: uppercase; color: var(--c-dark-accent); }
.footer-list li { margin-bottom: var(--space-2); }
.footer-office { color: var(--c-dark-muted); }
.footer-office span { color: var(--c-dark-text); font-weight: var(--fw-strong); }
.footer-bottom { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-3) var(--space-5);
  margin-top: var(--space-6); padding-top: var(--space-4); color: var(--c-dark-muted); }
.footer-bottom::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter);
  border-top: var(--border) solid var(--c-dark-line); }   /* the rule as wide as the text, not the padding */
.footer-bottom p { margin: 0; }
.footer-legal { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); }

/* ------------------------------------------------------------------ content components (WP-CF2-04)
   Rendered by site/components.py from page data. Decorative glyphs use CSS alt text ("x" / "") so screen readers skip them. */
.section-intro { color: var(--c-text-muted); font-size: var(--fs-md); }
.hero { padding-block: var(--space-8) var(--space-7); }
@media (min-width: 900px) { .hero { padding-block: var(--space-9) var(--space-8); } }
.hero h1 { max-width: 24ch; }
.hero .lead { margin-bottom: var(--space-6); }
.hero-dark { background: var(--c-dark-bg); color: var(--c-dark-text); }
.hero-dark .eyebrow { color: var(--c-dark-accent); }
.hero-dark .lead { color: var(--c-dark-muted); }
.hero-dark .btn-primary { background: var(--c-btn-alt-bg); color: var(--c-btn-alt-text); }
.hero-dark .btn-primary:hover { background: var(--c-ivory); }
.hero-dark .btn-link { color: var(--c-dark-text); text-decoration-color: var(--c-dark-accent); }
.hero-dark :focus-visible, .cta-band :focus-visible { outline-color: var(--c-dark-accent); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3) var(--space-5); margin: 0; }
.btn-link { font-weight: var(--fw-strong); }
.btn-link::after { content: " →" / ""; }

.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: var(--space-5);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); }
.step { counter-increment: step; margin: 0; padding-top: var(--space-4); border-top: 2px solid var(--c-brass); }
.step::before { content: counter(step, decimal-leading-zero); display: block; margin-bottom: var(--space-2);
  font-family: var(--font-display); font-weight: var(--fw-display); font-size: var(--fs-lg); line-height: 1; color: var(--c-accent-text); }
.step h3, .step h2 { font-family: var(--font-text); font-size: var(--fs-md); margin-bottom: var(--space-2); }
.step p { margin: 0; color: var(--c-text-muted); }
/* steps on a page of their own (WP-CF3-03): one readable column, several paragraphs per step */
.steps-detail { grid-template-columns: 1fr; max-width: var(--w-text); gap: var(--space-6); }
.steps-detail .step h3, .steps-detail .step h2 { font-size: var(--fs-lg); }
.steps-detail .step p { color: var(--c-text); }
.steps-detail .step p + p { margin-top: var(--space-2); }

.cards { --grid-min: 16rem; }
/* five or six cards: three columns (3 + 2, 3 + 3), not four and one or two left alone (WP-CF3-02) */
.cards:has(> :nth-child(5):last-child), .cards:has(> :nth-child(6):last-child) { --grid-min: 19rem; }
/* four text-heavy cards: two columns (2 + 2) rather than four narrow ones (CR-CF-002) */
.cards:has(> :nth-child(4):last-child) { --grid-min: 24rem; }
.card h3, .card h2 { font-family: var(--font-text); font-weight: var(--fw-strong); font-size: var(--fs-lg); margin-bottom: var(--space-2); }
.card p:last-child { margin-bottom: 0; }
.card-price { font-weight: var(--fw-strong); color: var(--c-accent-text); }
.card-more a { font-weight: var(--fw-strong); }
.card-link { color: inherit; text-decoration-color: var(--c-brass); text-underline-offset: 0.2em; }
.card-link:hover { color: var(--c-accent-text); }

.compare { width: 100%; border-collapse: collapse; background: var(--c-surface); border: var(--border) solid var(--c-border); }
.compare th, .compare td { padding: var(--space-3) var(--space-4); text-align: left; vertical-align: top;
  border-bottom: var(--border) solid var(--c-border); }
.compare thead th { font-size: var(--fs-sm); background: var(--c-bg-soft); }
.compare thead th.is-ours { background: var(--c-navy); color: var(--c-ivory); }
.compare td.is-ours { background: var(--c-highlight); font-weight: var(--fw-strong); }
@media (max-width: 599px) {   /* a phone: each row stacks, each value under its column's name (QA D7) */
  .compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: 100%; }
  .compare tr { padding-block: var(--space-2); border-bottom: var(--border) solid var(--c-border); }
  .compare th[scope="row"], .compare td { border: 0; padding-block: var(--space-1); }
  .compare td::before { content: attr(data-label); display: block; font-size: var(--fs-xs); font-weight: var(--fw-strong);
    letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--c-text-muted); }
}

.faq { max-width: var(--w-text); border-top: var(--border) solid var(--c-border); }
.faq-item { border-bottom: var(--border) solid var(--c-border); }
.faq-item summary { position: relative; padding: var(--space-4) var(--space-6) var(--space-4) 0; font-weight: var(--fw-strong);
  cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+" / ""; position: absolute; right: 0; top: var(--space-4); font-size: var(--fs-lg);
  line-height: 1; color: var(--c-accent-text); }
.faq-item[open] summary::after { content: "−" / ""; }
.faq-a { padding-bottom: var(--space-4); color: var(--c-text-muted); }
.faq-a p:last-child { margin-bottom: 0; }

.cta-band { padding-block: var(--space-7); background: var(--c-dark-bg); color: var(--c-dark-text); }
.cta-band h2 { margin-bottom: var(--space-3); }
.cta-band p { max-width: var(--w-text); color: var(--c-dark-muted); }
.btn-alt { background: var(--c-btn-alt-bg); color: var(--c-btn-alt-text); }
.btn-alt:hover { background: var(--c-ivory); }

.trust { --grid-min: 14rem; }
.trust:has(> :nth-child(5):last-child), .trust:has(> :nth-child(6):last-child) { --grid-min: 19rem; }
/* a person beside a photo -- the founder on the about page (WP-CF3-05) */
.person { display: grid; gap: var(--space-5); align-items: start; max-width: 52rem; }
@media (min-width: 640px) { .person.has-photo { grid-template-columns: 12rem 1fr; } }
.person-photo { display: block; width: 100%; max-width: 12rem; height: auto; border-radius: var(--radius-lg); }
.person-photo-missing { display: grid; place-items: center; aspect-ratio: 4 / 5; max-width: 12rem; margin: 0; padding: var(--space-4);
  border: var(--border) dashed var(--c-border); border-radius: var(--radius-lg); color: var(--c-text-muted); font-size: var(--fs-sm); text-align: center; }
.person-text h2, .person-text h3 { margin-bottom: var(--space-1); }
.person-role { margin-bottom: var(--space-3); color: var(--c-accent-text); font-weight: var(--fw-strong); }
.trust-item { padding-top: var(--space-4); border-top: 2px solid var(--c-brass); }
.trust-item h3, .trust-item h2 { font-family: var(--font-text); font-size: var(--fs-md); margin-bottom: var(--space-2); }
.trust-item p { margin: 0; color: var(--c-text-muted); }

.crumbs { padding-top: var(--space-5); font-size: var(--fs-sm); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: var(--space-1) var(--space-2); list-style: none; margin: 0; padding: 0; }
.crumbs li + li { margin-top: 0; }
.crumbs li + li::before { content: "›" / ""; margin-right: var(--space-2); color: var(--c-text-muted); }
.crumbs a { color: var(--c-text-muted); }
.crumbs + .page-head, .crumbs + .hero { padding-top: var(--space-6); }

.article .meta { margin-bottom: var(--space-6); }
/* tables in guides (WP-CF3-07): figures that compare; wide ones scroll inside their own box on a phone */
.table-wrap { overflow-x: auto; margin: var(--space-4) 0 var(--space-5); }
.prose table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.prose th, .prose td { padding: var(--space-2) var(--space-3); border-bottom: var(--border) solid var(--c-border); text-align: left; vertical-align: top; }
.prose thead th { color: var(--c-text-muted); font-weight: var(--fw-strong); }
.prose td.num, .prose th.num { text-align: right; white-space: nowrap; }
/* on a phone a .stack table becomes one block per row, each value under its column's name (data-label) */
@media (max-width: 599px) {
  .prose table.stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .prose table.stack tr { display: block; padding: var(--space-2) 0; border-bottom: var(--border) solid var(--c-border); }
  .prose table.stack td { display: flex; justify-content: space-between; gap: var(--space-3); padding: var(--space-1) 0; border: 0; }
  .prose table.stack td::before { content: attr(data-label); color: var(--c-text-muted); }
  .prose table.stack td:first-child { font-weight: var(--fw-strong); }
}
.toc { margin: 0 0 var(--space-7); padding: var(--space-5); background: var(--c-surface); border: var(--border) solid var(--c-border);
  border-radius: var(--radius-lg); }
.toc .toc-h { margin: 0 0 var(--space-3); font-family: var(--font-text); font-size: var(--fs-xs); font-weight: var(--fw-strong);
  letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--c-accent-text); }
.toc ol { margin: 0; }
.article h2 { margin-top: var(--space-7); scroll-margin-top: var(--space-5); }
.sources { margin-top: var(--space-7); padding-top: var(--space-5); border-top: var(--border) solid var(--c-border); font-size: var(--fs-sm); }
.sources h2 { margin-top: 0; font-family: var(--font-text); font-size: var(--fs-md); }
