/* =============================================================================
 * paper-trading-dashboard-v1 — global style polish (Agent C1).
 *
 * Goal: a consistent visual register across all eight pages without rewriting
 * the inline <style> blocks each page already ships. This stylesheet adds:
 *
 *   1. A single design-token layer (color, type scale, spacing, shadow,
 *      radius) usable from any page.
 *   2. Typography polish: serif display headings on h1/h2, clean sans body,
 *      tabular numerals on numeric cells.
 *   3. Table polish: zebra-striped rows, row hover, sticky-feel headers,
 *      monospace numerals — applied via `:is(table, .pt-table)` so both
 *      Inputs.table and any raw <table> in a markdown page pick it up.
 *   4. Card polish: subtle shadow + smoother hover on shared card classes
 *      already used on the pages (.pt-card, .pt-nav-tile, .sleeve-card,
 *      .pt-chart-wrap).
 *   5. Responsive baseline: container clamps and font scale ramps at the
 *      720px / 1024px breakpoints already used by the pages so we never
 *      introduce a NEW breakpoint that fights an existing one.
 *
 * NON-GOALS:
 *   - Do not redefine the per-page `<style>` blocks. They remain authoritative
 *     for page-specific grid layouts; this file is the shared baseline.
 *   - Do not touch sleeve colour assignments — those live in
 *     src/components/chart_helpers.js (SLEEVE_COLORS) and must not drift.
 *   - Do not change theme tokens that Observable Framework defines (var
 *     --theme-foreground etc) — we ADD a `--pt-*` token namespace alongside
 *     them so we never break the framework's light/dark toggle.
 *
 * BRIEF MAPPING (Agent C1 input contract):
 *   - #16a34a green   →  --pt-pos          (positive return / live badge)
 *   - #dc2626 red     →  --pt-neg          (negative return / failure)
 *   - #6b7280 neutral →  --pt-fg-muted     (secondary text, axis ticks)
 * ============================================================================= */

/* ---------------------------------------------------------------------------
 * 1. Design tokens
 * --------------------------------------------------------------------------- */

:root {
  /* --- color palette (brief-mandated) ------------------------------------ */
  --pt-pos:        #16a34a;
  --pt-pos-bg:     rgba(22, 163, 74, 0.08);
  --pt-pos-strong: #15803d;

  --pt-neg:        #dc2626;
  --pt-neg-bg:     rgba(220, 38, 38, 0.08);
  --pt-neg-strong: #b91c1c;

  --pt-neutral:    #6b7280;
  --pt-neutral-bg: rgba(107, 114, 128, 0.08);

  /* hiring-pro grays — anchored to Tailwind slate so the whole palette
   * reads as a single family rather than a grab-bag of mid-tones. */
  --pt-slate-50:   #f8fafc;
  --pt-slate-100:  #f1f5f9;
  --pt-slate-200:  #e2e8f0;
  --pt-slate-300:  #cbd5e1;
  --pt-slate-400:  #94a3b8;
  --pt-slate-500:  #64748b;
  --pt-slate-600:  #475569;
  --pt-slate-700:  #334155;
  --pt-slate-800:  #1e293b;
  --pt-slate-900:  #0f172a;

  /* Semantic shortcuts used by table + card rules below. */
  --pt-fg:           var(--pt-slate-900);
  --pt-fg-muted:     var(--pt-slate-500);
  --pt-fg-subtle:    var(--pt-slate-400);
  --pt-border:       var(--pt-slate-200);
  --pt-border-soft:  var(--pt-slate-100);
  --pt-bg-card:      #ffffff;
  --pt-bg-row-alt:   var(--pt-slate-50);
  --pt-bg-row-hover: #eef6f1;       /* mint tint that complements --pt-pos */

  /* --- type scale -------------------------------------------------------- */
  --pt-font-sans:
    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui,
    sans-serif;
  --pt-font-serif:
    "Source Serif 4", "Source Serif Pro", Georgia, "Times New Roman",
    serif;
  --pt-font-mono:
    ui-monospace, "JetBrains Mono", "IBM Plex Mono", "SFMono-Regular", Menlo,
    monospace;

  --pt-text-xs:   0.72rem;
  --pt-text-sm:   0.82rem;
  --pt-text-base: 0.95rem;
  --pt-text-md:   1.05rem;
  --pt-text-lg:   1.25rem;
  --pt-text-xl:   1.6rem;
  --pt-text-2xl:  2.1rem;

  /* --- spacing + radius + shadow ----------------------------------------- */
  --pt-radius-sm:  4px;
  --pt-radius:     8px;
  --pt-radius-lg:  12px;

  --pt-shadow-xs:  0 1px 2px rgba(15, 23, 42, 0.04);
  --pt-shadow-sm:  0 1px 3px rgba(15, 23, 42, 0.06),
                   0 1px 2px rgba(15, 23, 42, 0.04);
  --pt-shadow:     0 4px 12px -2px rgba(15, 23, 42, 0.08),
                   0 2px 4px -2px rgba(15, 23, 42, 0.05);
  --pt-shadow-lg:  0 12px 28px -8px rgba(15, 23, 42, 0.14),
                   0 4px 10px -4px rgba(15, 23, 42, 0.06);

  --pt-transition: 140ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* Dark theme support — Observable Framework toggles `theme-dark` on <body>.
 * Soft-invert the surface tokens; keep the semantic positive / negative hues
 * intact so a green return is still green in dark mode. */
@media (prefers-color-scheme: dark) {
  :root {
    --pt-fg:           #e2e8f0;
    --pt-fg-muted:     #94a3b8;
    --pt-fg-subtle:    #64748b;
    --pt-border:       #1e293b;
    --pt-border-soft:  #0f172a;
    --pt-bg-card:      #0f172a;
    --pt-bg-row-alt:   #111c2e;
    --pt-bg-row-hover: #0a2a1b;
  }
}

/* ---------------------------------------------------------------------------
 * 2. Typography baseline
 * --------------------------------------------------------------------------- */

body, .observablehq, main {
  font-family: var(--pt-font-sans);
  color: var(--pt-fg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
}

main h1,
main h2,
main h3 {
  font-family: var(--pt-font-serif);
  color: var(--pt-fg);
  letter-spacing: 0;
  line-height: 1.2;
}

main h1 {
  font-size: var(--pt-text-2xl);
  font-weight: 600;
  margin-top: 0.25rem;
  margin-bottom: 0.6rem;
}

main h2 {
  font-size: var(--pt-text-xl);
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 0.6rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--pt-border-soft);
}

main h3 {
  font-size: var(--pt-text-lg);
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

main p {
  line-height: 1.55;
  color: var(--pt-fg);
}

main p.meta,
main p.tagline,
main .pt-tagline,
main .oh-tagline {
  color: var(--pt-fg-muted);
}

/* Monospace tokens — fence SHA, sleeve_id, etc. */
main code,
main .pt-mono,
main .pt-sha,
main .pt-sleeve-code {
  font-family: var(--pt-font-mono);
  font-variant-numeric: tabular-nums;
}

main code {
  background: var(--pt-slate-100);
  padding: 0.05rem 0.35rem;
  border-radius: var(--pt-radius-sm);
  font-size: 0.88em;
}

/* ---------------------------------------------------------------------------
 * 3. Table polish (Inputs.table + raw <table>)
 *
 * Observable's Inputs.table renders into a <form><table> wrapper. We target
 * BOTH so a Markdown table and a JS-rendered one share the same skin.
 * --------------------------------------------------------------------------- */

main table {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
  font-variant-numeric: tabular-nums;
  font-size: var(--pt-text-sm);
  background: var(--pt-bg-card);
  border: 1px solid var(--pt-border);
  border-radius: var(--pt-radius);
  overflow: hidden;
  box-shadow: var(--pt-shadow-xs);
}

main table thead th {
  background: var(--pt-slate-50);
  color: var(--pt-fg-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0;
  font-size: var(--pt-text-xs);
  padding: 0.55rem 0.75rem;
  border-bottom: 1px solid var(--pt-border);
  text-align: left;
}

main table tbody td {
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid var(--pt-border-soft);
  color: var(--pt-fg);
}

main table tbody tr:nth-child(even) td {
  background: var(--pt-bg-row-alt);
}

main table tbody tr:hover td {
  background: var(--pt-bg-row-hover);
  transition: background var(--pt-transition);
}

main table tbody tr:last-child td {
  border-bottom: none;
}

/* Numeric columns — Observable adds `number` class to numeric <td>; align right. */
main table td.number,
main table th.number {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

/* Inputs.table form wrapper — clip overflow on narrow viewports. */
main form[data-input] {
  overflow-x: auto;
}

/* ---------------------------------------------------------------------------
 * 4. Card polish — shared classes across pages
 *
 * Page-local <style> blocks already define grid layout for these classes;
 * we layer in shadow + hover transitions only. Specificity stays low
 * (single class) so page-level rules still win where they need to.
 * --------------------------------------------------------------------------- */

.pt-card,
.sleeve-card,
.pt-chart-wrap,
.pt-nav-tile {
  box-shadow: var(--pt-shadow-xs);
  transition:
    box-shadow var(--pt-transition),
    transform var(--pt-transition),
    border-color var(--pt-transition);
  background: var(--pt-bg-card);
}

.pt-card:hover,
.sleeve-card:hover,
.pt-chart-wrap:hover {
  box-shadow: var(--pt-shadow-sm);
}

.pt-nav-tile:hover {
  box-shadow: var(--pt-shadow);
  transform: translateY(-2px);
}

/* ---------------------------------------------------------------------------
 * 5. Pills + status badges — normalise the brief palette
 *
 * Several pages declare their own `.pill` / `.pt-status-pill` rules; we
 * provide a baseline so any NEW page (or any page that drops its inline
 * styling) still gets the right semantic colour.
 * --------------------------------------------------------------------------- */

.pill,
.pt-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  font-size: var(--pt-text-xs);
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
  line-height: 1.6;
}

.pill-live,
.pt-status-pill.live {
  background: var(--pt-pos-bg);
  color: var(--pt-pos-strong);
  border: 1px solid rgba(22, 163, 74, 0.25);
}

.pill-shadow {
  background: var(--pt-neutral-bg);
  color: var(--pt-slate-700);
  border: 1px solid var(--pt-border);
}

.pt-status-pill.stale,
.pill-stale {
  background: #fff7e6;
  color: #92400e;
  border: 1px solid #fde68a;
}

/* Generic positivity helpers — already used inline; we centralise the hues. */
.pos        { color: var(--pt-pos); }
.neg        { color: var(--pt-neg); }
.neutral    { color: var(--pt-fg-muted); }

/* ---------------------------------------------------------------------------
 * 6. Hero blocks — title regions on every page
 * --------------------------------------------------------------------------- */

.hero,
.pt-hero {
  margin-top: 0.25rem;
  margin-bottom: 1.5rem;
}

.hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  font-size: var(--pt-text-sm);
  color: var(--pt-fg-muted);
  margin-bottom: 1.25rem;
}

.hero-links a {
  color: var(--pt-pos-strong);
  text-decoration: none;
  border-bottom: 1px solid rgba(22, 163, 74, 0.35);
  transition: border-color var(--pt-transition);
}

.hero-links a:hover {
  border-bottom-color: var(--pt-pos);
}

/* ---------------------------------------------------------------------------
 * 7. Note / callout boxes
 * --------------------------------------------------------------------------- */

.note {
  background: var(--pt-slate-50);
  border-left: 3px solid var(--pt-slate-300);
  border-radius: var(--pt-radius-sm);
  padding: 0.7rem 1rem;
  font-size: var(--pt-text-sm);
  line-height: 1.5;
  color: var(--pt-fg);
  margin: 1rem 0 1.5rem 0;
}

.callout-amber {
  background: #fffbeb;
  border-left-color: #d97706;
}

/* ---------------------------------------------------------------------------
 * 8. Focus accessibility — visible focus ring on every interactive element
 * --------------------------------------------------------------------------- */

a:focus-visible,
button:focus-visible,
.pt-nav-tile:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--pt-pos);
  outline-offset: 2px;
  border-radius: var(--pt-radius-sm);
}

/* ---------------------------------------------------------------------------
 * 9. Responsive baseline (mobile-first ramps).
 *
 * Pages already define their own grid breakpoints at 600px / 720px / 900px /
 * 1024px. We add font-scale ramps at the same breakpoints so the typography
 * compresses with the layout instead of fighting it.
 * --------------------------------------------------------------------------- */

@media (max-width: 1024px) {
  :root {
    --pt-text-2xl: 1.85rem;
    --pt-text-xl:  1.45rem;
  }
}

@media (max-width: 720px) {
  :root {
    --pt-text-2xl: 1.6rem;
    --pt-text-xl:  1.3rem;
    --pt-text-lg:  1.15rem;
  }
  main table thead th,
  main table tbody td {
    padding: 0.4rem 0.55rem;
  }
  main table {
    font-size: var(--pt-text-xs);
  }
}

@media (max-width: 540px) {
  main h2 {
    margin-top: 1.5rem;
  }
  main code {
    word-break: break-all;
  }
}

/* ---------------------------------------------------------------------------
 * 10. Print — clean print of methodology / per-sleeve as one-pagers
 * --------------------------------------------------------------------------- */

@media print {
  .pt-nav-tile,
  .pt-footer a {
    color: var(--pt-fg);
    border: none;
    box-shadow: none;
  }
  .pt-card,
  .sleeve-card,
  .pt-chart-wrap {
    box-shadow: none;
    page-break-inside: avoid;
  }
}

/* ---------------------------------------------------------------------------
 * Dashboard V2 executive dark surface
 * --------------------------------------------------------------------------- */

:root {
  color-scheme: dark;
  --exec-bg: #0C1113;
  --exec-surface: #121A1C;
  --exec-surface-2: #0F1719;
  --exec-text: #E6ECEA;
  --exec-muted: #8FA09B;
  --exec-hair: rgba(230, 236, 234, 0.09);
  --exec-hair-2: rgba(230, 236, 234, 0.16);
  --exec-accent: #3BB8AE;
  --exec-champagne: #C9A96A;
  --exec-gain: #4CC38A;
  --exec-loss: #E5645A;
  --exec-warn: #D9A441;
}

body,
.observablehq,
main {
  background: var(--exec-bg);
  color: var(--exec-text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-variant-numeric: tabular-nums;
}

main {
  max-width: 1240px;
}

main h1,
main h2,
main h3 {
  color: var(--exec-text);
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0;
}

main a {
  color: var(--exec-accent);
}

.exec-shell,
.exec-masthead,
.panel,
.stamp,
.paper-footer {
  font-variant-numeric: tabular-nums;
}

.exec-masthead {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-end;
  padding: 1.4rem 0 1rem;
  border-bottom: 1px solid var(--exec-hair-2);
  margin-bottom: 1rem;
}

.exec-masthead h1 {
  margin: 0;
  font-size: 4.2rem;
  line-height: 0.95;
}

.eyebrow,
.stat p,
.panel > .eyebrow,
.section-head .eyebrow {
  margin: 0 0 0.45rem;
  color: var(--exec-champagne);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: flex-end;
}

.chip {
  border: 1px solid var(--exec-hair-2);
  color: var(--exec-muted);
  padding: 0.38rem 0.55rem;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0;
  white-space: nowrap;
}

.chip-status {
  color: var(--exec-text);
  border-color: rgba(59, 184, 174, 0.45);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1.15fr) minmax(280px, 1fr);
  gap: 0.8rem;
  margin: 1rem 0;
}

.panel,
.stat,
.hero-nav {
  background: var(--exec-surface);
  border: 1px solid var(--exec-hair);
  border-radius: 0;
  box-shadow: none;
}

.panel {
  padding: 1rem;
  margin: 0 0 0.9rem;
}

.hero-nav {
  padding: 1.1rem;
  min-height: 178px;
}

.nav-number {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 6rem;
  line-height: 0.95;
}

.hero-sub {
  color: var(--exec-muted);
  margin-top: 0.5rem;
}

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

.stat {
  padding: 0.9rem;
  min-height: 84px;
}

.stat strong {
  display: block;
  color: var(--exec-text);
  font-size: 1.5rem;
  line-height: 1.15;
}

.stamp {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  margin: 0.8rem 0 1.1rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(201, 169, 106, 0.36);
  background: rgba(201, 169, 106, 0.06);
}

.stamp p {
  color: var(--exec-champagne);
  margin: 0 0 0.2rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.stamp strong {
  color: var(--exec-text);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.82rem;
  overflow-wrap: anywhere;
}

.stamp span,
.panel p,
.compact-list,
.meter-list span,
.empty-state,
.paper-footer {
  color: var(--exec-muted);
}

.two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin-bottom: 0.9rem;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
  margin-bottom: 0.7rem;
}

.table-wrap {
  overflow-x: auto;
}

main table.metric-table {
  min-width: 720px;
  border: 1px solid var(--exec-hair);
  border-radius: 0;
  background: var(--exec-surface-2);
  box-shadow: none;
}

main table.metric-table thead th {
  background: #101719;
  color: var(--exec-muted);
  border-bottom: 1px solid var(--exec-hair-2);
  font-size: 0.7rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

main table.metric-table tbody td {
  color: var(--exec-text);
  border-bottom: 1px solid var(--exec-hair);
}

main table.metric-table tbody tr:nth-child(even) td {
  background: rgba(230, 236, 234, 0.015);
}

.hedge-row td {
  color: #F1C7C2 !important;
}

.meter-list {
  display: grid;
  gap: 0.65rem;
}

.meter-list div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--exec-hair);
}

.compact-list {
  margin: 0;
  padding-left: 1.1rem;
}

.compact-list li {
  margin: 0.35rem 0;
}

.exposure-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin-bottom: 0.9rem;
}

.exposure-strip .panel p {
  margin: 0 0 0.35rem;
  color: var(--exec-champagne);
  font-size: 0.72rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

.exposure-strip strong {
  display: block;
  font-size: 1.7rem;
  color: var(--exec-text);
}

.exposure-strip span {
  color: var(--exec-muted);
  font-size: 0.82rem;
}

.empty-state {
  border: 1px dashed var(--exec-hair-2);
  padding: 1rem;
}

.paper-footer {
  margin: 1.5rem 0 0;
  padding: 1rem 0;
  border-top: 1px solid var(--exec-hair-2);
  font-size: 0.82rem;
}

details {
  border-top: 1px solid var(--exec-hair);
  padding: 0.65rem 0;
}

summary {
  color: var(--exec-text);
  cursor: pointer;
}

@media (max-width: 860px) {
  .exec-masthead h1 {
    font-size: 2.45rem;
  }

  .nav-number {
    font-size: 3.4rem;
  }

  .stat strong {
    font-size: 1.22rem;
  }

  .exec-masthead,
  .stamp {
    align-items: flex-start;
    flex-direction: column;
  }

  .chip-row {
    justify-content: flex-start;
  }

  .hero-grid,
  .two-col,
  .exposure-strip {
    grid-template-columns: 1fr;
  }

  .stat-grid {
    grid-template-columns: 1fr;
  }
}

/* =============================================================================
 * PORTFOLIO REBUILD (2026-08-26) — platform showcase components (.pf-*)
 * Research-desk dark identity: teal signal, champagne labels, serif display.
 * Built on the exec-* tokens above; honest performance ladder is the hero.
 * ============================================================================= */

:root {
  --pf-bg: #0B0F11;
  --pf-surface: #121A1C;
  --pf-surface-2: #0E1517;
  --pf-hair: rgba(230, 236, 234, 0.09);
  --pf-hair-2: rgba(230, 236, 234, 0.18);
  --pf-text: #E9EFED;
  --pf-muted: #8FA09B;
  --pf-teal: #46C7BC;
  --pf-champ: #CBAA6C;
  --pf-warn: #E0864A;
}

body, .observablehq, main { background: var(--pf-bg); }
main { max-width: 1180px; }

.pf-eyebrow {
  margin: 0 0 0.55rem;
  color: var(--pf-champ);
  font: 700 0.72rem/1.4 var(--pt-font-sans, system-ui);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* --- masthead --- */
.pf-masthead {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
  padding: 2rem 0 1.6rem;
  border-bottom: 1px solid var(--pf-hair-2);
  margin-bottom: 1.8rem;
}
.pf-masthead h1 {
  margin: 0 0 0.8rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 3.4vw, 2.7rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  text-wrap: balance;
  color: var(--pf-text);
}
.pf-lede { margin: 0; color: var(--pf-muted); line-height: 1.6; max-width: 60ch; }
.pf-lede strong { color: var(--pf-text); }
.pf-mast-chips { display: flex; flex-direction: column; gap: 0.5rem; align-items: flex-end; }
.pf-chip {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.32rem 0.7rem; border: 1px solid var(--pf-hair-2);
  border-radius: 999px; color: var(--pf-muted);
  font: 600 0.72rem/1.4 var(--pt-font-sans, system-ui);
  letter-spacing: 0.04em; white-space: nowrap;
}
.pf-chip-paper { color: var(--pf-champ); border-color: rgba(203,170,108,0.42); background: rgba(203,170,108,0.06); }
.pf-chip-ok { color: #57D9A6; border-color: rgba(87,217,166,0.4); }
.pf-chip-warn { color: #E7B24A; border-color: rgba(231,178,74,0.4); }

/* --- the honest ladder (hero) --- */
.pf-ladder { margin: 0 0 2.2rem; }
.pf-ladder-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.75rem;
}
.pf-rung {
  position: relative; padding: 1.1rem 1rem 1.15rem;
  background: var(--pf-surface); border: 1px solid var(--pf-hair);
  border-top: 2px solid var(--pf-hair-2);
}
.pf-rung-tag {
  display: block; margin-bottom: 0.7rem; color: var(--pf-muted);
  font: 700 0.66rem/1 var(--pt-font-sans, system-ui);
  letter-spacing: 0.1em; text-transform: uppercase;
}
.pf-rung-num {
  font-family: Georgia, serif; font-size: 2.1rem; line-height: 1;
  color: var(--pf-text); font-variant-numeric: tabular-nums; margin-bottom: 0.6rem;
}
.pf-rung-num span { font-size: 0.8rem; color: var(--pf-muted); margin-left: 0.3rem; letter-spacing: 0.02em; }
.pf-rung p { margin: 0; font-size: 0.85rem; line-height: 1.5; color: var(--pf-muted); }
.pf-rung p strong { color: var(--pf-text); }
.pf-rung-warn { border-top-color: #E0864A; }
.pf-rung-warn .pf-rung-num { color: #E0864A; }
.pf-rung-warn .pf-rung-tag { color: #E0864A; }
.pf-rung-certified { border-top-color: var(--pf-teal); background: rgba(70,199,188,0.05); }
.pf-rung-certified .pf-rung-num { color: var(--pf-teal); }
.pf-rung-forward { border-top-color: var(--pf-champ); }
.pf-rung-forward .pf-rung-num { color: var(--pf-champ); }
.pf-ladder-note {
  margin: 0.9rem 0 0; padding-left: 0.9rem; border-left: 2px solid var(--pf-hair-2);
  font-size: 0.78rem; line-height: 1.5; color: var(--pf-muted); max-width: 90ch;
}

/* --- engineering scale tiles --- */
.pf-scale { margin: 0 0 2.2rem; }
.pf-tiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.75rem; }
.pf-tile {
  padding: 1.05rem 0.95rem; background: var(--pf-surface-2);
  border: 1px solid var(--pf-hair); text-align: left;
}
.pf-tile-num {
  font-family: Georgia, serif; font-size: 1.9rem; line-height: 1;
  color: var(--pf-teal); font-variant-numeric: tabular-nums; margin-bottom: 0.55rem;
}
.pf-tile-num span { font-size: 0.95rem; margin-left: 0.1rem; }
.pf-tile p { margin: 0; font-size: 0.78rem; line-height: 1.45; color: var(--pf-muted); }

/* --- three pillars --- */
.pf-pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.8rem; margin: 0 0 2.2rem; }
.pf-pillar {
  display: block; padding: 1.3rem 1.15rem; background: var(--pf-surface);
  border: 1px solid var(--pf-hair); color: inherit; text-decoration: none;
  transition: border-color 160ms ease, transform 160ms ease, background 160ms ease;
}
.pf-pillar:hover { border-color: var(--pf-teal); transform: translateY(-2px); background: var(--pf-surface-2); }
.pf-pillar h3 { margin: 0.15rem 0 0.5rem; font-family: Georgia, serif; font-size: 1.2rem; color: var(--pf-text); }
.pf-pillar p { margin: 0 0 0.9rem; font-size: 0.85rem; line-height: 1.5; color: var(--pf-muted); }
.pf-pillar p strong { color: var(--pf-teal); }
.pf-pillar-go { font: 600 0.8rem/1 var(--pt-font-sans, system-ui); color: var(--pf-teal); letter-spacing: 0.02em; }

/* --- live paper record --- */
.pf-live { margin: 0 0 1.2rem; }
.pf-live-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.pf-live-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.75rem; margin-bottom: 1rem; }
.pf-live-stat { padding: 0.95rem 1rem; background: var(--pf-surface); border: 1px solid var(--pf-hair); }
.pf-live-stat p { margin: 0 0 0.35rem; color: var(--pf-champ); font: 700 0.68rem/1 var(--pt-font-sans, system-ui); letter-spacing: 0.08em; text-transform: uppercase; }
.pf-live-stat strong { display: block; font-family: Georgia, serif; font-size: 1.55rem; color: var(--pf-text); font-variant-numeric: tabular-nums; }
.pf-live-stat span { display: block; margin-top: 0.3rem; font-size: 0.74rem; color: var(--pf-muted); line-height: 1.4; }
.pf-empty { padding: 1.4rem; border: 1px dashed var(--pf-hair-2); color: var(--pf-muted); font-size: 0.88rem; }

/* --- footer --- */
.pf-footer { margin: 2rem 0 0; padding: 1.3rem 0 0; border-top: 1px solid var(--pf-hair-2); }
.pf-footer > div:first-child { font-size: 0.82rem; line-height: 1.55; color: var(--pf-muted); max-width: 92ch; }
.pf-footer > div:first-child strong { color: var(--pf-text); }
.pf-footer-meta { display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; margin-top: 0.9rem; font-size: 0.76rem; color: var(--pf-muted); }
.pf-footer code, .pf-footer-meta code { font-family: var(--pt-font-mono, ui-monospace); background: var(--pf-surface-2); padding: 0.05rem 0.3rem; }

/* --- responsive --- */
@media (max-width: 960px) {
  .pf-masthead { grid-template-columns: 1fr; }
  .pf-mast-chips { flex-direction: row; flex-wrap: wrap; align-items: flex-start; }
  .pf-ladder-grid, .pf-tiles, .pf-live-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pf-pillars { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .pf-ladder-grid, .pf-tiles, .pf-live-grid { grid-template-columns: 1fr; }
}

/* --- feature cards (engineering / execution detail pages) --- */
.pf-feature { margin: 0 0 2.2rem; }
.pf-feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.8rem; }
.pf-feature-card { padding: 1.25rem 1.15rem; background: var(--pf-surface); border: 1px solid var(--pf-hair); border-top: 2px solid var(--pf-teal); }
.pf-feature-card h3 { margin: 0 0 0.6rem; font-family: Georgia, serif; font-size: 1.12rem; color: var(--pf-text); line-height: 1.25; }
.pf-feature-card p { margin: 0; font-size: 0.86rem; line-height: 1.55; color: var(--pf-muted); }
.pf-feature-card p strong { color: var(--pf-text); }
.pf-feature-card code { font-family: var(--pt-font-mono, ui-monospace); background: var(--pf-surface-2); padding: 0.05rem 0.3rem; font-size: 0.82em; color: var(--pf-teal); }

/* --- architecture flow (engineering) --- */
.pf-arch { margin: 0 0 2.2rem; }
.pf-arch-flow { display: flex; flex-wrap: wrap; align-items: stretch; gap: 0.5rem; margin-bottom: 0.4rem; }
.pf-arch-node { flex: 1 1 160px; padding: 0.9rem 1rem; background: var(--pf-surface); border: 1px solid var(--pf-hair); }
.pf-arch-node strong { display: block; color: var(--pf-text); font-size: 0.92rem; margin-bottom: 0.3rem; }
.pf-arch-node span { display: block; color: var(--pf-muted); font-size: 0.76rem; line-height: 1.4; }
.pf-arch-gate { border-color: rgba(70,199,188,0.5); background: rgba(70,199,188,0.06); }
.pf-arch-gate strong { color: var(--pf-teal); }
.pf-arch-arrow { display: flex; align-items: center; color: var(--pf-muted); font-size: 1.3rem; padding: 0 0.1rem; }
@media (max-width: 960px) {
  .pf-feature-grid { grid-template-columns: 1fr; }
  .pf-arch-flow { flex-direction: column; }
  .pf-arch-arrow { transform: rotate(90deg); justify-content: center; }
}

/* =============================================================================
 * FRAMEWORK CHROME — dark sidebar/header tuned to the pf palette (2026-08-26)
 * Observable's air theme leaves the --theme-* tokens light, clashing with the
 * dark content. Re-point every chrome token to the research-desk palette and
 * restyle the sidebar links + active state.
 * ============================================================================= */

:root {
  --theme-background: #0B0F11;
  --theme-background-alt: #121A1C;
  --theme-background-a: #0B0F11;
  --theme-background-b: #0E1517;
  --theme-foreground: #E9EFED;
  --theme-foreground-alt: #E9EFED;
  --theme-foreground-muted: #8FA09B;
  --theme-foreground-faint: rgba(233, 239, 237, 0.42);
  --theme-foreground-fainter: rgba(233, 239, 237, 0.22);
  --theme-foreground-faintest: rgba(233, 239, 237, 0.10);
  --theme-foreground-focus: #46C7BC;
}

#observablehq-sidebar,
#observablehq-sidebar-backdrop {
  background: #0E1517;
}
#observablehq-sidebar {
  border-right: 1px solid rgba(230, 236, 234, 0.14);
}

/* Sidebar site title (the header link at the top of the sidebar) */
#observablehq-sidebar > nav > a,
#observablehq-sidebar > a {
  color: #E9EFED !important;
  font-family: Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* Collapsible section summaries */
#observablehq-sidebar summary {
  color: #E9EFED;
}

/* Page links */
.observablehq-link a {
  color: #8FA09B;
  border-radius: 0;
  transition: color 140ms ease, background 140ms ease;
}
.observablehq-link a:hover {
  color: #E9EFED;
  background: rgba(70, 199, 188, 0.07);
}

/* Active page */
.observablehq-link-active a {
  color: #46C7BC !important;
  font-weight: 600;
  background: rgba(70, 199, 188, 0.10);
  box-shadow: inset 2px 0 0 #46C7BC;
}

/* Footer / toggle chrome */
#observablehq-footer {
  color: #8FA09B;
  border-top: 1px solid rgba(230, 236, 234, 0.14);
}
#observablehq-footer a { color: #8FA09B; }
#observablehq-footer a:hover { color: #46C7BC; }

/* =============================================================================
 * TOP NAV (2026-08-26) — horizontal header, sidebar disabled. Smooth with the
 * dark page: sticky bar, serif brand, muted links, teal hover.
 * ============================================================================= */

#observablehq-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(11, 15, 17, 0.92);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid rgba(230, 236, 234, 0.14);
  margin: 0 0 1.8rem;
  padding: 0;
}

.pf-topnav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem 1.5rem;
  flex-wrap: wrap;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0.6rem 0.2rem;
}

.pf-brand {
  color: var(--pf-text, #E9EFED);
  text-decoration: none;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.pf-brand span {
  color: var(--pf-muted, #8FA09B);
  font-family: var(--pt-font-sans, system-ui);
  font-weight: 400;
  font-size: 0.82rem;
}

.pf-topnav-links { display: flex; flex-wrap: wrap; gap: 0.1rem; }
.pf-topnav-links a {
  color: var(--pf-muted, #8FA09B);
  text-decoration: none;
  padding: 0.4rem 0.72rem;
  border-radius: 5px;
  font: 600 0.82rem/1 var(--pt-font-sans, system-ui);
  letter-spacing: 0.01em;
  transition: color 140ms ease, background 140ms ease;
}
.pf-topnav-links a:hover {
  color: var(--pf-text, #E9EFED);
  background: rgba(70, 199, 188, 0.10);
}
.pf-topnav-links a[aria-current="page"] {
  color: var(--pf-teal, #46C7BC);
  background: rgba(70, 199, 188, 0.12);
}

@media (max-width: 680px) {
  .pf-topnav { justify-content: center; gap: 0.4rem 0.6rem; }
  .pf-brand span { display: none; }
  .pf-topnav-links a { padding: 0.35rem 0.55rem; }
}

/* =============================================================================
 * GLOBAL DARK TABLE (2026-08-26) — the site is force-dark; the legacy light
 * theme's table rules leak a white background under light text => white-on-white.
 * Force every table to the dark palette, unconditionally.
 * ============================================================================= */

main table {
  background: #0E1517 !important;
  color: #E9EFED !important;
  border: 1px solid rgba(230, 236, 234, 0.14) !important;
  box-shadow: none !important;
}
main table thead th {
  background: #101719 !important;
  color: #8FA09B !important;
  border-bottom: 1px solid rgba(230, 236, 234, 0.18) !important;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
main table tbody td {
  color: #E9EFED !important;
  background: transparent !important;
  border-bottom: 1px solid rgba(230, 236, 234, 0.09) !important;
}
main table tbody tr:nth-child(even) td {
  background: rgba(230, 236, 234, 0.025) !important;
}
main table tbody tr:hover td {
  background: rgba(70, 199, 188, 0.07) !important;
}
main table code {
  background: rgba(230, 236, 234, 0.06) !important;
  color: #46C7BC !important;
}
main table a { color: #46C7BC !important; }
.hedge-row td { color: #E8A79F !important; }

/* =============================================================================
 * ESTABLISHED V35 DASHBOARD SHELL (2026-08-27)
 *
 * The portfolio-resume rewrite changed the information, then unintentionally
 * changed the visual product as well. These final, presentation-only rules
 * restore the prior dashboard's shell without altering copy, metrics, charts,
 * evidence, data attachments, or routes.
 * ============================================================================= */

:root {
  --pf-bg: #0b1015;
  --pf-surface: #111820;
  --pf-surface-2: #151f29;
  --pf-hair: #283540;
  --pf-hair-2: #3a4955;
  --pf-text: #f2f4f3;
  --pf-muted: #a7b2ba;
  --pf-faint: #84939d;
  --pf-teal: #64d6b0;
  --pf-champ: #64d6b0;
  --pf-warn: #d4a968;
  --theme-background: var(--pf-bg);
  --theme-background-alt: var(--pf-surface);
  --theme-foreground: var(--pf-text);
  --theme-foreground-alt: var(--pf-muted);
  --theme-foreground-muted: var(--pf-faint);
  --theme-foreground-focus: var(--pf-teal);
}

html { color-scheme: dark; }
body,
.observablehq,
main {
  background: var(--pf-bg) !important;
  color: var(--pf-text) !important;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-size: 16px;
  line-height: 1.6;
  font-variant-numeric: tabular-nums;
}
main {
  width: min(1320px, calc(100% - 48px)) !important;
  max-width: 1320px !important;
  margin: 0 auto !important;
  padding: 0 !important;
}
main h1,
main h2,
main h3,
.pf-brand,
.pf-tile-num,
.pf-live-stat strong,
.pf-pillar h3,
.pf-rung-num {
  color: var(--pf-text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}
main h1 { font-weight: 670; letter-spacing: -.045em; }
main h2 { font-weight: 640; letter-spacing: -.03em; }
main h3 { font-weight: 650; letter-spacing: -.015em; }
main p { color: var(--pf-muted); }
main strong { color: var(--pf-text); }
main a { color: inherit; }

#observablehq-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 72px;
  margin: 0 !important;
  padding: 0 !important;
  border-bottom: 1px solid var(--pf-hair) !important;
  background: rgba(11, 16, 21, .96) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.pf-topnav {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  width: min(1320px, calc(100% - 48px));
  min-height: 72px;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0;
}
.pf-brand {
  display: flex;
  flex-direction: column;
  gap: 1px;
  color: var(--pf-text) !important;
  font-size: 14px;
  font-weight: 720;
  line-height: 1.05;
  text-decoration: none;
  white-space: nowrap;
}
.pf-brand strong { color: var(--pf-text); font-size: 14px; letter-spacing: -.01em; }
.pf-brand span {
  color: var(--pf-muted);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.pf-topnav-links { display: flex; justify-content: center; gap: 4px; }
.pf-topnav-links a {
  padding: 10px 12px;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: transparent !important;
  color: var(--pf-muted);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none;
}
.pf-topnav-links a:hover { color: var(--pf-text); }
.pf-topnav-links a[aria-current="page"] { border-color: var(--pf-teal); color: var(--pf-text); }
.pf-paper-state {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--pf-muted);
  font-size: 12px;
  white-space: nowrap;
}
.pf-paper-state i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pf-warn);
  box-shadow: 0 0 0 4px rgba(212, 169, 104, .10);
}
.pf-menu-button {
  display: none;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--pf-hair-2);
  border-radius: 8px;
  background: transparent;
  color: var(--pf-text);
  font: inherit;
}

.pf-masthead {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, .45fr);
  gap: 78px;
  align-items: end;
  margin: 0 0 52px;
  padding: 74px 0 56px;
  border-bottom: 1px solid var(--pf-hair);
}
.pf-masthead h1 {
  max-width: 900px;
  margin: 0 0 22px;
  font-size: clamp(42px, 4.8vw, 62px);
  font-weight: 670;
  line-height: 1.02;
  letter-spacing: -.05em;
  text-wrap: balance;
}
.pf-lede { max-width: 760px; margin: 0; color: var(--pf-muted); font-size: 18px; line-height: 1.65; }
.pf-mast-chips { display: grid; align-items: stretch; gap: 0; border-top: 1px solid var(--pf-hair-2); }
.pf-chip {
  display: flex;
  justify-content: space-between;
  min-height: 52px;
  padding: 15px 0;
  border: 0;
  border-bottom: 1px solid var(--pf-hair);
  border-radius: 0;
  background: transparent !important;
  color: var(--pf-muted);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.pf-chip-paper,
.pf-chip-warn { color: var(--pf-warn); }
.pf-chip-ok { color: var(--pf-teal); }
.pf-eyebrow {
  margin: 0 0 15px;
  color: var(--pf-teal);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.pf-arch,
.pf-scale,
.pf-feature,
.pf-pillars,
.pf-live,
.pf-ladder { margin: 0; padding: 52px 0; border-bottom: 1px solid var(--pf-hair); }
.pf-arch-flow,
.pf-tiles,
.pf-feature-grid,
.pf-pillars,
.pf-live-grid,
.pf-ladder-grid { gap: 12px; }
.pf-arch-node,
.pf-tile,
.pf-feature-card,
.pf-pillar,
.pf-live-stat,
.pf-rung,
.panel,
.stat,
.hero-nav {
  border: 1px solid var(--pf-hair) !important;
  border-radius: 8px !important;
  background: var(--pf-surface) !important;
  box-shadow: none !important;
}
.pf-arch-node,
.pf-tile,
.pf-feature-card,
.pf-pillar,
.pf-live-stat,
.pf-rung { padding: 20px; }
.pf-pillar { min-height: 225px; }
.pf-pillar:hover { transform: none; border-color: var(--pf-hair-2) !important; background: var(--pf-surface-2) !important; }
.pf-pillar h3,
.pf-feature-card h3 { margin: 20px 0 8px; font-size: 20px; }
.pf-pillar p,
.pf-feature-card p,
.pf-tile p,
.pf-rung p { color: var(--pf-muted); font-size: 14px; line-height: 1.55; }
.pf-pillar-go { color: var(--pf-teal); font-size: 13px; font-weight: 650; }
.pf-tile-num,
.pf-live-stat strong,
.pf-rung-num { color: var(--pf-text); font-weight: 680; letter-spacing: -.04em; }
.pf-tile-num { font-size: 35px; }
.pf-live-stat strong { font-size: 26px; }
.pf-rung-num { font-size: 30px; }
.pf-rung-certified { border-color: #39725f !important; background: #12201d !important; }
.pf-rung-certified .pf-rung-num { color: var(--pf-teal); }
.pf-rung-warn { border-color: #715b35 !important; }
.pf-rung-warn .pf-rung-num,
.pf-rung-warn .pf-rung-tag { color: var(--pf-warn); }
.pf-rung-tag,
.pf-live-stat p {
  color: var(--pf-teal);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.pf-ladder-note,
.pf-footnote { color: var(--pf-muted); font-size: 13px; line-height: 1.6; }
.pf-ladder-note a,
.pf-footnote a { color: var(--pf-teal); }

main table {
  border: 1px solid var(--pf-hair) !important;
  border-radius: 8px !important;
  background: var(--pf-surface) !important;
  box-shadow: none !important;
  color: var(--pf-text) !important;
  font-size: 14px;
}
main table thead th {
  padding: 14px 15px;
  border-bottom: 1px solid var(--pf-hair) !important;
  background: var(--pf-surface-2) !important;
  color: var(--pf-muted) !important;
  font-size: 11px;
  letter-spacing: .06em;
}
main table tbody td {
  padding: 14px 15px;
  border-bottom: 1px solid var(--pf-hair) !important;
  background: transparent !important;
  color: var(--pf-text) !important;
}
main table tbody tr:nth-child(even) td { background: transparent !important; }
main table tbody tr:hover td { background: rgba(255, 255, 255, .025) !important; }

.pf-footer { margin: 0; padding: 32px 0 46px; border-top: 0; color: var(--pf-faint); }
.pf-footer > div:first-child,
.pf-footer-meta { color: var(--pf-faint); font-size: 13px; }

@media (max-width: 1100px) {
  .pf-topnav { grid-template-columns: 1fr auto; }
  .pf-menu-button { display: inline-flex; align-items: center; justify-content: center; justify-self: end; }
  .pf-paper-state { display: none; }
  .pf-topnav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    justify-content: flex-start;
    flex-wrap: wrap;
    padding: 13px max(24px, calc((100vw - 1320px) / 2));
    border-bottom: 1px solid var(--pf-hair);
    background: var(--pf-surface);
  }
  .pf-topnav-links.open { display: flex; }
  .pf-masthead { grid-template-columns: 1fr; gap: 40px; }
  .pf-mast-chips { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pf-chip { padding: 15px; border-right: 1px solid var(--pf-hair); }
}

@media (max-width: 860px) {
  main,
  .pf-topnav { width: min(1320px, calc(100% - 32px)) !important; }
  .pf-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pf-pillars,
  .pf-feature-grid,
  .pf-live-grid,
  .pf-ladder-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  body, .observablehq, main { font-size: 15px; }
  #observablehq-header,
  .pf-topnav { min-height: 64px; }
  .pf-topnav-links { top: 64px; padding: 13px 16px; }
  .pf-brand strong { font-size: 13px; }
  .pf-brand span { font-size: 10px; }
  .pf-masthead { padding: 44px 0 39px; margin-bottom: 0; }
  .pf-masthead h1 { font-size: clamp(38px, 12vw, 50px); }
  .pf-mast-chips,
  .pf-tiles,
  .pf-pillars,
  .pf-feature-grid,
  .pf-live-grid,
  .pf-ladder-grid { grid-template-columns: 1fr; }
  .pf-chip { border-right: 0; }
  .pf-arch,
  .pf-scale,
  .pf-feature,
  .pf-pillars,
  .pf-live,
  .pf-ladder { padding: 39px 0; }
}
