/* ==========================================================================
   FO RESEARCH — research.financialoracle.com
   Navy editorial design system. Distinct from financialoracle.com (cream).
   Shared brand DNA: Marcellus headings option, Inter sans, gold accent.
   ========================================================================== */

:root {
    --navy:        #0E1A2B;
    --navy-dark:   #070F1C;
    --navy-line:   #1B2A3E;
    --gold:        #B8923D;
    --gold-soft:   #C9A961;
    --ink:         #15212F;
    --grey:        #6B7280;
    --grey-light:  #9AA3B0;
    --hair:        #D9DEE5;
    --paper:       #FFFFFF;
    --tint:        #F4F1EA;
    --tint-cool:   #F4F6FA;
    --max:         1200px;
    --pad:         clamp(20px, 4vw, 56px);
  }

  * { box-sizing: border-box; margin: 0; padding: 0; }

  html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
  body {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--ink);
    background: var(--paper);
    line-height: 1.55;
    font-size: 16px;
  }

  a { color: var(--navy); text-decoration: none; }
  a:hover { color: var(--gold); }

  /* ---------- Top Nav ---------- */
  .nav {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--hair);
    transition: box-shadow 200ms ease, background 200ms ease, border-color 200ms ease;
  }
  .nav.is-scrolled {
    background: rgba(255,255,255,0.92);
    box-shadow: 0 1px 14px rgba(14,26,43,0.06);
    border-bottom-color: rgba(217,222,229,0.4);
  }
  .nav-inner {
    max-width: var(--max);
    margin: 0 auto;
    padding: 14px var(--pad);
    display: flex; align-items: center; justify-content: space-between;
    gap: 24px;
    transition: padding 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
  }
  .nav.is-scrolled .nav-inner { padding: 8px var(--pad); }
  .brand { display: flex; align-items: center; gap: 12px; }
  .brand img {
    width: 28px; height: 28px;
    transition: width 220ms cubic-bezier(0.2, 0.8, 0.2, 1), height 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
  }
  .nav.is-scrolled .brand img { width: 24px; height: 24px; }
  .brand-text { display: flex; flex-direction: column; line-height: 1; }
  .brand-name {
    font-weight: 700; font-size: 14px; color: var(--navy);
    letter-spacing: 1.4px;
    transition: font-size 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
  }
  .nav.is-scrolled .brand-name { font-size: 13px; }
  .brand-sub {
    font-size: 10px; color: var(--gold); margin-top: 3px;
    letter-spacing: 1.6px;
    max-height: 14px;
    opacity: 1;
    transition: opacity 200ms ease, max-height 220ms ease, margin-top 220ms ease;
    overflow: hidden;
  }
  .nav.is-scrolled .brand-sub { opacity: 0; max-height: 0; margin-top: 0; }
  .nav-links { display: flex; align-items: center; gap: 28px; }
  .nav-links a {
    font-size: 13px; font-weight: 500; color: var(--ink); letter-spacing: 0.2px;
  }
  .nav-cta {
    background: var(--navy); color: #fff !important;
    padding: 9px 16px; border-radius: 2px;
    font-size: 12.5px; font-weight: 600; letter-spacing: 0.4px;
    border: 1px solid var(--navy);
    transition: 0.15s;
  }
  .nav-cta:hover { background: var(--gold); border-color: var(--gold); color: #fff !important; }
  @media (max-width: 720px) {
    .nav-links { flex-wrap: wrap; gap: 14px 18px; }
  }

  /* ---------- Hero ---------- */
  .hero {
    background: var(--navy-dark);
    color: #fff;
    position: relative;
    overflow: hidden;
  }
  .hero::after {
    content: ""; position: absolute; right: 0; top: 0; bottom: 0;
    width: 6px; background: var(--gold);
  }
  .hero-bg {
    position: absolute; right: -120px; bottom: -100px;
    width: 460px; opacity: 0.08; pointer-events: none;
  }
  .hero-inner {
    position: relative;
    max-width: var(--max);
    margin: 0 auto;
    padding: clamp(60px, 10vw, 120px) var(--pad) clamp(60px, 9vw, 110px);
    display: grid; gap: clamp(32px, 5vw, 72px);
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
  }
  @media (max-width: 920px) { .hero-inner { grid-template-columns: 1fr; } }

  .eyebrow {
    color: var(--gold-soft);
    font-size: 11px;
    letter-spacing: 2.4px;
    font-weight: 600;
    margin-bottom: 18px;
    text-transform: uppercase;
  }
  .hero h1 {
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1.05;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 22px;
  }
  .hero h1 .gold { color: var(--gold-soft); }
  .hero p.lead {
    font-size: clamp(16px, 1.5vw, 18px);
    line-height: 1.65;
    color: #C9D1DC;
    max-width: 540px;
    margin-bottom: 28px;
  }
  .hero-rule {
    width: 60px; height: 2px; background: var(--gold);
    margin-bottom: 22px;
  }

  /* Hero email capture card */
  .capture {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(201,169,97,0.22);
    border-radius: 4px;
    padding: clamp(24px, 3vw, 36px);
    backdrop-filter: blur(6px);
  }
  .capture h3 {
    font-size: 13px; letter-spacing: 1.4px;
    color: var(--gold-soft); font-weight: 600;
    text-transform: uppercase; margin-bottom: 8px;
  }
  .capture .capture-title {
    font-size: 22px; font-weight: 700; color: #fff;
    margin-bottom: 6px;
  }
  .capture .capture-sub {
    font-size: 13.5px; color: #9AA3B0; margin-bottom: 22px;
    line-height: 1.55;
  }
  .form-row {
    display: flex; gap: 8px; flex-wrap: wrap;
  }
  .form-row input[type=email] {
    flex: 1 1 220px; min-width: 0;
    padding: 13px 16px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 2px;
    color: #fff;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: 0.15s;
  }
  .form-row input[type=email]::placeholder { color: #708293; }
  .form-row input[type=email]:focus {
    border-color: var(--gold); background: rgba(255,255,255,0.08);
  }
  .btn-primary {
    padding: 13px 20px;
    background: var(--gold);
    color: var(--navy-dark);
    border: 1px solid var(--gold);
    border-radius: 2px;
    font-weight: 700; font-size: 13.5px;
    letter-spacing: 0.4px;
    cursor: pointer;
    font-family: inherit;
    transition: 0.15s;
  }
  .btn-primary:hover { background: var(--gold-soft); border-color: var(--gold-soft); }
  /* Standalone Subscribe Free button inside .capture aside (no email input) */
  .capture .capture-btn {
    display: inline-block;
    width: 100%;
    text-align: center;
    text-decoration: none;
    padding: 15px 20px;
    box-sizing: border-box;
  }
  /* Standalone Subscribe Free button in CTA band */
  .cta-band .cta-btn {
    display: inline-block;
    text-decoration: none;
    padding: 15px 26px;
    justify-self: end;
    align-self: center;
  }
  @media (max-width: 820px) {
    .cta-band .cta-btn { justify-self: start; }
  }
  .capture small {
    display: block; margin-top: 14px;
    font-size: 11.5px; color: #708293; line-height: 1.55;
  }

  /* ---------- Credibility band ---------- */
  .creds {
    background: #fff;
    border-bottom: 1px solid var(--hair);
  }
  .creds-inner {
    max-width: var(--max);
    margin: 0 auto;
    padding: 32px var(--pad);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
  }
  @media (max-width: 820px) { .creds-inner { grid-template-columns: repeat(2, 1fr); } }
  .cred {
    font-size: 12.5px;
    color: var(--ink);
    line-height: 1.55;
    padding-left: 14px;
    border-left: 2px solid var(--gold);
  }
  .cred strong {
    display: block; font-weight: 700; color: var(--navy);
    font-size: 13.5px; margin-bottom: 4px; letter-spacing: 0.2px;
  }

  /* ---------- Section base ---------- */
  section.s {
    padding: clamp(72px, 9vw, 120px) 0;
  }
  .section-inner {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 var(--pad);
  }
  .section-eyebrow {
    color: var(--gold);
    font-size: 11px;
    letter-spacing: 2.4px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 14px;
  }
  .section-title {
    font-size: clamp(28px, 3.6vw, 40px);
    line-height: 1.15;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: -0.4px;
    max-width: 760px;
    margin-bottom: 22px;
  }
  .section-lead {
    font-size: 17px;
    line-height: 1.65;
    color: var(--ink);
    max-width: 720px;
  }

  /* ---------- What FO Research Is ---------- */
  .what {
    background: var(--tint-cool);
  }
  .what-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: start;
    margin-top: 36px;
  }
  @media (max-width: 820px) { .what-grid { grid-template-columns: 1fr; gap: 32px; } }
  .what p { color: var(--ink); line-height: 1.7; margin-bottom: 14px; }
  .principle-card {
    background: #fff; border: 1px solid var(--hair);
    border-left: 3px solid var(--gold);
    padding: 26px 28px;
  }
  .principle-card .pc-title {
    font-weight: 700; color: var(--navy);
    font-size: 14px; letter-spacing: 0.3px;
    margin-bottom: 8px; text-transform: uppercase;
  }
  .principle-card p { font-size: 14.5px; line-height: 1.6; }

  /* ---------- Drops ---------- */
  .drops { background: #fff; }
  .drops-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    margin-top: 44px;
  }
  @media (max-width: 720px) { .drops-grid { grid-template-columns: 1fr; } }
  .drop {
    border: 1px solid var(--hair);
    padding: 28px 30px;
    background: #fff;
    transition: 0.2s;
    position: relative;
  }
  .drop:hover {
    border-color: var(--gold-soft);
    box-shadow: 0 6px 28px rgba(14,26,43,0.06);
  }
  .drop-num {
    color: var(--gold);
    font-weight: 700; font-size: 11px;
    letter-spacing: 1.6px;
    margin-bottom: 10px;
  }
  .drop-title {
    color: var(--navy);
    font-weight: 700; font-size: 19px;
    margin-bottom: 10px; letter-spacing: -0.2px;
  }
  .drop p {
    font-size: 14.5px; line-height: 1.6; color: var(--ink);
  }

  /* ---------- Tier comparison ---------- */
  .tiers { background: var(--navy-dark); color: #fff; }
  .tiers .section-title { color: #fff; }
  .tiers .section-eyebrow { color: var(--gold-soft); }
  .tiers .section-lead { color: #C9D1DC; }
  .tier-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 50px;
  }
  @media (max-width: 920px) {
    .tier-grid { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; }
  }
  .tier {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.10);
    padding: 32px 28px;
    display: flex; flex-direction: column;
  }
  .tier.featured {
    border: 1.5px solid var(--gold);
    background: rgba(184,146,61,0.06);
    position: relative;
  }
  .tier.featured::before {
    content: "RECOMMENDED";
    position: absolute; top: -11px; left: 24px;
    background: var(--gold); color: var(--navy-dark);
    font-size: 10px; font-weight: 700; letter-spacing: 1.4px;
    padding: 4px 9px;
  }
  .tier-name {
    font-size: 13px; letter-spacing: 1.6px;
    color: var(--gold-soft); font-weight: 700;
    text-transform: uppercase; margin-bottom: 10px;
  }
  .tier-price {
    font-size: 30px; font-weight: 700; color: #fff;
    line-height: 1.1; margin-bottom: 4px;
    letter-spacing: -0.5px;
  }
  .tier-price small { font-size: 14px; color: #9AA3B0; font-weight: 500; }
  .tier-annual {
    font-size: 12.5px; color: #9AA3B0; margin-bottom: 22px;
  }
  .tier-annual-save {
    color: var(--gold-soft);
    font-weight: 500;
  }
  .tier-cta-note {
    text-align: center;
    font-size: 11.5px;
    color: #708293;
    margin-top: 10px;
    margin-bottom: 0;
    letter-spacing: 0.2px;
  }
  .tier-list {
    list-style: none; flex: 1;
    margin-bottom: 24px;
  }
  .tier-list li {
    font-size: 14px; color: #C9D1DC; line-height: 1.55;
    padding-left: 22px; position: relative;
    margin-bottom: 12px;
  }
  .tier-list li::before {
    content: ""; position: absolute; left: 0; top: 8px;
    width: 8px; height: 1.5px; background: var(--gold);
  }
  .tier-cta {
    display: block; text-align: center;
    padding: 13px 20px;
    border: 1px solid rgba(255,255,255,0.20);
    color: #fff !important;
    font-weight: 600; font-size: 13.5px;
    letter-spacing: 0.4px;
    border-radius: 2px;
    transition: 0.15s;
  }
  .tier-cta:hover { border-color: var(--gold); color: var(--gold) !important; }
  .tier.featured .tier-cta {
    background: var(--gold); border-color: var(--gold);
    color: var(--navy-dark) !important;
  }
  .tier.featured .tier-cta:hover {
    background: var(--gold-soft); border-color: var(--gold-soft); color: var(--navy-dark) !important;
  }
  .tier-note {
    margin-top: 36px; text-align: center;
    font-size: 13px; color: #9AA3B0;
  }

  /* ---------- Authorship ---------- */
  .authors { background: var(--tint); }
  .authors-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 56px;
    margin-top: 36px;
    align-items: start;
  }
  @media (max-width: 820px) { .authors-grid { grid-template-columns: 1fr; gap: 32px; } }
  .authors p { font-size: 15.5px; line-height: 1.7; color: var(--ink); margin-bottom: 14px; }
  .author-card {
    background: #fff; border: 1px solid var(--hair);
    padding: 28px 30px;
  }
  .author-card .ac-eyebrow {
    color: var(--gold); font-size: 11px; font-weight: 700;
    letter-spacing: 1.6px; margin-bottom: 6px;
  }
  .author-card .ac-name {
    color: var(--navy); font-weight: 700; font-size: 18px;
    margin-bottom: 4px;
  }
  .author-card .ac-title {
    color: var(--grey); font-size: 13.5px; margin-bottom: 18px;
  }
  .author-card dl {
    border-top: 1px solid var(--hair);
    padding-top: 16px;
    display: grid;
    grid-template-columns: 96px 1fr;
    row-gap: 8px; column-gap: 12px;
    font-size: 13.5px;
  }
  .author-card dt { color: var(--grey); font-weight: 600; }
  .author-card dd { color: var(--ink); }

  /* ---------- Global presence line (under section title) ---------- */
  .authors .presence-line {
    font-family: "IBM Plex Mono", "Courier New", monospace;
    font-size: 12px;
    letter-spacing: 2.4px;
    color: var(--gold);
    text-transform: uppercase;
    margin: 16px 0 32px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
  }
  .authors .presence-line .dot {
    color: var(--hair);
    letter-spacing: 0;
  }

  /* ---------- Board of Directors ---------- */
  .board-head {
    margin-top: 48px;
    margin-bottom: 28px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 36px;
    align-items: end;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--hair);
  }
  @media (max-width: 720px) {
    .board-head { grid-template-columns: 1fr; gap: 8px; }
  }
  .board-eyebrow {
    font-family: "Marcellus", "Inter", serif;
    font-size: 22px;
    color: var(--navy);
    letter-spacing: -0.2px;
    margin: 0;
  }
  .board-sub {
    color: var(--grey);
    font-size: 14px;
    margin: 0;
    text-align: right;
  }
  @media (max-width: 720px) {
    .board-sub { text-align: left; }
  }
  .board-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-bottom: 36px;
  }
  @media (max-width: 1100px) {
    .board-grid { grid-template-columns: repeat(2, 1fr); }
  }
  @media (max-width: 580px) {
    .board-grid { grid-template-columns: 1fr; }
  }
  .board-card {
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid var(--hair);
    padding: 24px 22px 26px;
    display: flex;
    flex-direction: column;
  }
  .board-mono {
    font-family: "IBM Plex Mono", "Courier New", monospace;
    font-size: 11px;
    letter-spacing: 1.4px;
    color: var(--gold);
    border: 1px solid rgba(184, 146, 61, 0.55);
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
  }
  /* Hexagon-clipped board photo — replaces .board-mono on named director cards */
  .board-photo {
    width: 110px;
    aspect-ratio: 1 / 1.155;
    background: var(--navy);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    -webkit-clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    overflow: hidden;
    margin: 0 0 22px;
    align-self: flex-start;
  }
  .board-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
  }
  .board-name {
    font-family: "Marcellus", "Inter", serif;
    color: var(--navy);
    font-size: 19px;
    margin: 0 0 8px;
    line-height: 1.2;
  }
  .board-title {
    color: var(--grey);
    font-size: 11.5px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    line-height: 1.5;
    margin: 0 0 16px;
    font-weight: 500;
  }
  .board-bio {
    color: var(--ink);
    font-size: 13.5px;
    line-height: 1.6;
    margin: 0 0 18px;
  }
  .board-linkedin {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid var(--hair);
    color: var(--gold);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    text-decoration: none;
    transition: 0.15s;
  }
  .board-linkedin:hover { color: var(--navy); }
  .board-linkedin svg { display: block; }
  .board-disclosure {
    color: var(--grey);
    font-size: 13.5px;
    line-height: 1.7;
    max-width: 820px;
    margin: 8px 0 0;
    padding-top: 24px;
    border-top: 1px solid var(--hair);
  }
  /* Team cards — visually distinct from named director cards */
  .board-card-team {
    background: rgba(255, 255, 255, 0.30);
    border-style: dashed;
    border-color: rgba(217, 222, 229, 0.85);
  }
  .board-card-team .board-mono {
    color: var(--gold-soft);
    border-color: rgba(201, 169, 97, 0.45);
    border-style: dashed;
  }
  .board-card-team .board-name {
    color: var(--ink);
  }

  /* ---------- FAQ ---------- */
  .faq { background: #fff; }
  .faq-list { margin-top: 32px; }
  details.faq-item {
    border-bottom: 1px solid var(--hair);
    padding: 22px 0;
  }
  details.faq-item summary {
    list-style: none; cursor: pointer;
    display: flex; align-items: center; justify-content: space-between;
    font-weight: 600; font-size: 16.5px;
    color: var(--navy);
    letter-spacing: -0.1px;
  }
  details.faq-item summary::-webkit-details-marker { display: none; }
  details.faq-item summary::after {
    content: "+"; color: var(--gold); font-size: 22px;
    line-height: 1; margin-left: 16px;
    transition: 0.2s;
  }
  details.faq-item[open] summary::after { content: "−"; }
  details.faq-item p {
    margin-top: 14px; font-size: 14.5px; line-height: 1.7;
    color: var(--ink); max-width: 800px;
  }

  /* ---------- CTA banner ---------- */
  .cta-band {
    background: var(--navy);
    color: #fff;
    padding: clamp(56px, 7vw, 88px) 0;
    border-top: 2px solid var(--gold);
    border-bottom: 6px solid var(--gold);
  }
  .cta-band-inner {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 var(--pad);
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 40px; align-items: center;
  }
  @media (max-width: 820px) { .cta-band-inner { grid-template-columns: 1fr; } }
  .cta-band h2 {
    font-size: clamp(24px, 3vw, 34px);
    color: #fff; line-height: 1.2; font-weight: 700;
    letter-spacing: -0.4px;
  }
  .cta-band p { color: #9AA3B0; margin-top: 12px; font-size: 15px; line-height: 1.6; }

  /* ---------- Footer ---------- */
  footer {
    background: var(--navy-dark);
    color: #708293;
  }
  .footer-inner {
    max-width: var(--max);
    margin: 0 auto;
    padding: 56px var(--pad) 32px;
  }
  .footer-top {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 36px;
    border-bottom: 1px solid var(--navy-line);
  }
  @media (max-width: 820px) {
    .footer-top { grid-template-columns: 1fr 1fr; }
  }
  .footer-brand img { width: 32px; height: 32px; margin-bottom: 14px; }
  .footer-brand .fb-name {
    color: #fff; font-weight: 700; font-size: 14px; letter-spacing: 1.4px;
    margin-bottom: 4px;
  }
  .footer-brand .fb-sub {
    font-size: 11px; color: var(--gold-soft); letter-spacing: 1.6px;
    margin-bottom: 18px;
  }
  .footer-brand p { font-size: 12.5px; line-height: 1.6; max-width: 280px; }

  .footer-col h4 {
    color: var(--gold-soft); font-size: 11px;
    letter-spacing: 1.6px; font-weight: 700;
    margin-bottom: 14px; text-transform: uppercase;
  }
  .footer-col ul { list-style: none; }
  .footer-col ul li {
    margin-bottom: 9px;
    font-size: 13px;
    color: #9AA3B0;
    line-height: 1.5;
  }
  .footer-col a {
    color: #9AA3B0; font-size: 13px;
  }
  .footer-col a:hover { color: var(--gold-soft); }

  .footer-disclosure {
    padding-top: 28px;
    font-size: 11.5px;
    line-height: 1.7;
    color: #5d6e80;
  }
  .footer-bottom {
    margin-top: 28px; padding-top: 22px;
    border-top: 1px solid var(--navy-line);
    display: flex; justify-content: space-between; flex-wrap: wrap;
    gap: 12px;
    font-size: 11.5px; color: #5d6e80;
  }

  /* ---------- Utility ---------- */
  .gold-rule { width: 60px; height: 2px; background: var(--gold); margin-bottom: 18px; }

  /* Form success state */
  .form-success { display: none; color: var(--gold-soft); font-size: 14px; margin-top: 12px; }

/* ==========================================================================
   v2.1 Extensions — multi-page components
   ========================================================================== */

/* Drop link (library cards) */
.drop-link {
  display: inline-block;
  margin-top: 16px;
  font-size: 12px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid rgba(184,146,61,0.5);
  padding-bottom: 3px;
  font-weight: 600;
}
.drop-link:hover { color: var(--gold-soft); border-bottom-color: var(--gold-soft); }

/* Brand banner inside header (mark + name) */
.brand-name { font-weight: 700; font-size: 13px; color: var(--navy); letter-spacing: 1.5px; }
.brand-sub  { font-size: 9.5px; color: var(--gold); margin-top: 3px; letter-spacing: 1.6px; }

/* Mobile nav fallback */
@media (max-width: 720px) {
  .nav-links { flex-wrap: wrap; gap: 14px 18px; }
  .hero-inner { padding: 56px 20px 64px !important; }
  .hero h1 { font-size: 30px !important; }
}

/* Footer brand mark fix */
.footer-brand img { width: 36px; height: 36px; margin-bottom: 14px; opacity: 0.9; }

/* Form input fix for color when in light forms */
input::placeholder, textarea::placeholder, select::placeholder { color: rgba(255,255,255,0.45); }

/* ==========================================================================
   v2.0 — Ghost-specific extensions
   Member portal styling, post body, KG cards, paywall, pagination, tags.
   ========================================================================== */

/* ---- Brand / nav adjustments for Ghost dynamic data ---- */
.brand-name { font-weight: 700; font-size: 13px; color: var(--navy); letter-spacing: 1.5px; }
.brand-sub  { font-size: 9.5px; color: var(--gold); margin-top: 3px; letter-spacing: 1.6px; }
.footer-brand img { width: 36px; height: 36px; margin-bottom: 14px; opacity: 0.9; }

/* ---- Site main ---- */
.site-main { display: block; }

/* ---- Library cross-link from home ---- */
.library-link {
  font-size: 13px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid rgba(184,146,61,0.5);
  padding-bottom: 3px;
  font-weight: 600;
}
.library-link:hover { color: var(--gold-soft); border-bottom-color: var(--gold-soft); }

/* ---- Drop-link (post-card CTA) ---- */
.drop-link {
  display: inline-block;
  margin-top: 16px;
  font-size: 12px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid rgba(184,146,61,0.5);
  padding-bottom: 3px;
  font-weight: 600;
}
.drop-link:hover { color: var(--gold-soft); border-bottom-color: var(--gold-soft); }
.drop-locked { opacity: 0.92; }
.drop-locked .drop-link::before {
  content: "🔒 ";
  filter: grayscale(1) opacity(0.6);
}
.drop a, .drop a:hover { color: inherit; }
.drop .drop-title a { border: none; }
.drop .drop-title a:hover { color: var(--gold); }

/* ---- Tier description ---- */
.tier-desc {
  font-size: 13.5px;
  color: var(--grey);
  margin-bottom: 18px;
  line-height: 1.5;
}
.tier-cta-secondary {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--gold);
  text-align: center;
  text-decoration: none;
  padding-top: 6px;
}
.tier-cta-secondary:hover { color: var(--gold-soft); }

/* ---- Form success state ---- */
.form-success {
  display: none;
  margin-top: 16px;
  padding: 12px 16px;
  background: rgba(184,146,61,0.1);
  border-left: 2px solid var(--gold);
  color: #fff;
  font-size: 13.5px;
  line-height: 1.5;
}
[data-members-form].success .form-row { display: none; }
[data-members-form].success .form-success { display: block; }

/* ---- Single post / report view ---- */
.report-hero { background: var(--navy-dark); color: #fff; padding-bottom: clamp(40px, 6vw, 80px); }
.report-meta {
  margin-top: 24px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--grey-light);
  font-family: "Inter", sans-serif;
}
.report-meta .report-tag-paid {
  color: var(--gold-soft);
  border: 1px solid var(--gold);
  padding: 3px 9px;
  letter-spacing: 0.14em;
}
.report-meta .report-tag-members {
  color: var(--grey-light);
  border: 1px solid var(--grey);
  padding: 3px 9px;
  letter-spacing: 0.14em;
}

.report-feature {
  max-width: var(--max);
  margin: -40px auto 0;
  padding: 0 var(--pad);
}
.report-feature img {
  width: 100%;
  height: auto;
  display: block;
}
.report-feature figcaption {
  margin-top: 12px;
  font-size: 13px;
  color: var(--grey);
  font-style: italic;
}

.report-body {
  padding: clamp(48px, 8vw, 96px) var(--pad);
  background: var(--paper);
}
.report-body-inner {
  max-width: 760px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink);
}
.report-body-inner h2 {
  font-family: "Marcellus", "Inter", serif;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 56px 0 18px;
  color: var(--navy-dark);
}
.report-body-inner h3 {
  font-size: clamp(20px, 2.4vw, 24px);
  line-height: 1.3;
  margin: 40px 0 12px;
  color: var(--navy-dark);
  font-weight: 700;
}
.report-body-inner h4 {
  font-size: 15px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 32px 0 10px;
  font-weight: 600;
}
.report-body-inner p { margin-bottom: 22px; }
.report-body-inner blockquote {
  border-left: 2px solid var(--gold);
  padding: 4px 0 4px 24px;
  margin: 32px 0;
  font-family: "Marcellus", serif;
  font-size: 21px;
  line-height: 1.5;
  color: var(--navy-dark);
  font-style: italic;
}
.report-body-inner a {
  color: var(--navy-dark);
  border-bottom: 1px solid var(--gold);
}
.report-body-inner a:hover { color: var(--gold); }
.report-body-inner ul, .report-body-inner ol {
  padding-left: 24px;
  margin-bottom: 22px;
}
.report-body-inner li { margin-bottom: 8px; }
.report-body-inner img {
  width: 100%;
  height: auto;
  display: block;
  margin: 32px 0;
}
.report-body-inner hr {
  border: 0;
  height: 1px;
  background: var(--hair);
  margin: 48px auto;
  width: 60px;
}
.report-body-inner code {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  background: var(--tint);
  padding: 2px 6px;
  font-size: 14px;
  border-radius: 2px;
}
.report-body-inner pre {
  background: var(--navy-dark);
  color: #fff;
  padding: 20px;
  overflow-x: auto;
  margin: 24px 0;
  font-size: 13.5px;
}
.report-body-inner pre code {
  background: transparent;
  color: inherit;
  padding: 0;
}

/* ---- Ghost Koenig editor cards ---- */
.kg-card { margin: 32px 0; }
.kg-image-card .kg-card-figure { margin: 0; }
.kg-image-card figcaption {
  margin-top: 8px;
  font-size: 13px;
  color: var(--grey);
  text-align: center;
  font-style: italic;
}
.kg-bookmark-card {
  display: flex;
  gap: 16px;
  border: 1px solid var(--hair);
  padding: 20px;
  text-decoration: none;
  color: inherit;
  transition: 0.2s;
}
.kg-bookmark-card:hover { border-color: var(--gold); }
.kg-bookmark-content { flex: 1; }
.kg-bookmark-title {
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 6px;
  color: var(--navy-dark);
}
.kg-bookmark-description {
  font-size: 13.5px;
  color: var(--grey);
  margin-bottom: 8px;
  line-height: 1.5;
}
.kg-bookmark-thumbnail img {
  max-width: 140px;
  height: auto;
  margin: 0;
}
.kg-callout-card {
  background: var(--tint);
  border-left: 2px solid var(--gold);
  padding: 20px 24px;
  font-size: 15px;
  line-height: 1.6;
}
.kg-toggle-card {
  border: 1px solid var(--hair);
  padding: 16px 20px;
}
.kg-toggle-card .kg-toggle-heading-text { font-weight: 600; color: var(--navy-dark); }
.kg-button-card { text-align: center; margin: 32px 0; }
.kg-btn {
  display: inline-block;
  padding: 12px 22px;
  background: var(--gold);
  color: var(--navy-dark) !important;
  border-bottom: 0 !important;
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: 0.4px;
  text-decoration: none;
}
.kg-btn:hover { background: var(--gold-soft); }
.kg-file-card {
  border: 1px solid var(--hair);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}

/* ---- Tags pills under post ---- */
.report-tags {
  background: var(--tint);
  padding: 24px var(--pad);
}
.report-tags-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.tag-label {
  font-family: "Inter", sans-serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grey);
  font-weight: 600;
  margin-right: 8px;
}
.tag-pill {
  display: inline-block;
  padding: 4px 12px;
  border: 1px solid var(--hair);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy-dark);
  font-weight: 500;
  background: #fff;
  text-decoration: none;
  transition: 0.2s;
}
.tag-pill:hover { border-color: var(--gold); color: var(--gold); }

/* ---- Report CTA strip ---- */
.report-cta {
  background: var(--paper);
  padding: clamp(48px, 8vw, 80px) var(--pad);
  border-top: 1px solid var(--hair);
}
.report-cta-inner {
  max-width: var(--max);
  margin: 0 auto;
  text-align: center;
}
.report-cta h2 {
  font-family: "Marcellus", serif;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.2;
  color: var(--navy-dark);
  margin-bottom: 12px;
}
.report-cta p {
  font-size: 15.5px;
  color: var(--grey);
  margin-bottom: 24px;
  max-width: 56ch;
  margin-left: auto;
  margin-right: auto;
}

/* ---- Generic page body ---- */
.page-body {
  max-width: 760px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
}
.page-body h2 { font-family: "Marcellus", serif; font-size: 28px; margin: 36px 0 14px; color: var(--navy-dark); }
.page-body h3 { font-size: 20px; margin: 28px 0 10px; color: var(--navy-dark); font-weight: 700; }
.page-body p { margin-bottom: 18px; }
.page-body a { color: var(--navy-dark); border-bottom: 1px solid var(--gold); }
.page-body a:hover { color: var(--gold); }

/* ---- Pagination ---- */
.pagination {
  margin-top: 48px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--hair);
  padding-top: 24px;
}
.pagination a {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}
.pagination a:hover { color: var(--gold-soft); }
.pagination .page-number {
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--grey);
  text-transform: uppercase;
}

/* ---- Mobile nav fallback ---- */
@media (max-width: 720px) {
  .nav-links { flex-wrap: wrap; gap: 14px 18px; }
  .hero-inner { padding: 56px 20px 64px !important; }
  .hero h1 { font-size: 30px !important; }
}

/* ---- Ghost member portal accent override ---- */
.gh-portal-button-primary,
.gh-portal-button { background: var(--gold) !important; color: var(--navy-dark) !important; }

/* ==========================================================================
   v2.1 — Required Koenig editor width classes
   ========================================================================== */
.kg-width-wide {
  position: relative;
  width: calc(100vw - 40px);
  max-width: 1100px;
  left: 50%;
  transform: translateX(-50%);
  margin-left: 0;
  margin-right: 0;
}
.kg-width-full {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  left: 50%;
  transform: translateX(-50%);
  margin-left: 0;
  margin-right: 0;
}
.kg-width-wide img,
.kg-width-full img {
  width: 100%;
  height: auto;
  display: block;
}
@media (max-width: 720px) {
  .kg-width-wide { width: 100%; left: 0; transform: none; }
}

/* ==========================================================================
   v1.0.9 — Anchor scroll offset for sticky nav
   ========================================================================== */
html {
  scroll-padding-top: 80px;
  scroll-behavior: smooth;
}
/* Sections targeted by anchor links get a comfortable margin */
section[id] {
  scroll-margin-top: 80px;
}


/* ==========================================================================
   v1.0.13 — Nav links remain visible at all viewport widths.
   Earlier rule that hid .nav-links a on narrow viewports has been removed
   (it assumed a hamburger menu we don't build). Links now wrap to a second
   row on small screens instead of disappearing.
   ========================================================================== */
@media (max-width: 720px) {
  .nav-links { flex-wrap: wrap; gap: 12px 18px; row-gap: 12px; }
  .nav-links a { display: inline-block !important; font-size: 12.5px; }
  .nav-links .nav-cta { padding: 7px 12px; }
}

/* ==========================================================================
   v1.0.15 — Post hero (single research report)
   Explicit h1 styling for .report-hero so the title renders large and
   visible against the navy background.
   ========================================================================== */
.report-hero h1 {
  font-family: "Marcellus", "Inter", serif;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: #fff;
  margin: 18px 0 0;
  max-width: 880px;
}
.report-hero .eyebrow {
  margin-bottom: 0;
}
.report-hero .hero-rule {
  margin: 22px 0;
}
.report-hero .lead {
  color: #C9D1DC;
}

/* ────────────────────────────────────────────────────────────────────────
   Library page — hero, stats row, CTAs, and chronological archive
   ──────────────────────────────────────────────────────────────────────── */
.library-hero { padding-bottom: 56px; }
.library-hero .hero-inner { padding-bottom: 0; }
.library-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 980px) {
  .library-hero-grid { grid-template-columns: 1fr; gap: 36px; }
}

/* "What Premium Delivers" 2x2 value grid */
.premium-grid {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(184,146,64,0.22);
  border-radius: 4px;
  padding: 28px 30px 22px;
}
.pg-eyebrow {
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 2.4px;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0 0 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(184,146,64,0.22);
}
.pg-items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 28px;
}
@media (max-width: 600px) {
  .pg-items { grid-template-columns: 1fr; gap: 18px; }
  .premium-grid { padding: 22px 22px 18px; }
}
.pg-item { position: relative; padding-left: 0; }
.pg-mark {
  display: block;
  color: var(--gold);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 1.6px;
  margin-bottom: 6px;
}
.pg-item h4 {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.1px;
  margin: 0 0 6px;
  line-height: 1.25;
}
.pg-item p {
  color: rgba(255,255,255,0.65);
  font-size: 13px;
  line-height: 1.55;
  margin: 0;
}

.library-stats {
  display: flex; flex-wrap: wrap; gap: 8px 14px;
  align-items: center;
  margin-top: 26px;
  font-size: 12.5px;
  letter-spacing: 0.6px;
  color: var(--gold-soft);
  text-transform: uppercase;
  font-weight: 600;
}
.library-stats .stat strong {
  color: #fff;
  font-weight: 800;
  font-size: 13.5px;
  margin-right: 4px;
}
.library-stats .stat-sep { color: rgba(255,255,255,0.25); }

/* Cross-asset coverage strip */
.library-coverage {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.lc-label {
  color: var(--gold);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}
.lc-items {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
}
.lc-item {
  display: inline-block;
  color: rgba(255,255,255,0.85);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  border: 1px solid rgba(184,146,64,0.32);
  padding: 3px 9px;
  border-radius: 2px;
}

.hero-cta {
  display: flex; flex-wrap: wrap;
  gap: 14px 22px;
  align-items: center;
  margin-top: 32px;
}
.hero-cta .btn-primary {
  display: inline-block;
  padding: 14px 28px;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.6px;
}
.btn-tertiary {
  color: var(--gold-soft);
  font-size: 13px;
  letter-spacing: 0.4px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(201,169,97,0.4);
  padding-bottom: 2px;
  transition: 0.15s;
}
.btn-tertiary:hover {
  color: #fff;
  border-bottom-color: #fff;
}

@media (max-width: 600px) {
  .hero-cta { gap: 12px 18px; }
  .hero-cta .btn-primary { width: 100%; text-align: center; }
}

/* Home page — Why Premium grid (light-background variant of library version) */
.home-premium-grid {
  background: var(--tint-cool);
}
.home-pg-items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 40px;
}
@media (max-width: 980px) { .home-pg-items { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .home-pg-items { grid-template-columns: 1fr; gap: 18px; } }
.home-pg-item {
  background: #fff;
  border: 1px solid var(--hair);
  border-left: 3px solid var(--gold);
  padding: 22px 22px 20px;
}
.home-pg-mark {
  display: block;
  color: var(--gold);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 1.6px;
  margin-bottom: 8px;
}
.home-pg-item h4 {
  color: var(--navy);
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 6px;
  line-height: 1.25;
  letter-spacing: -0.1px;
}
.home-pg-item p {
  color: var(--ink);
  font-size: 13.5px;
  line-height: 1.55;
  margin: 0;
}

/* Home page — constrain Latest tile grid to 3 columns even on wide displays */
.home-latest-grid { grid-template-columns: repeat(3, 1fr) !important; }
@media (max-width: 980px) { .home-latest-grid { grid-template-columns: repeat(2, 1fr) !important; } }
@media (max-width: 600px) { .home-latest-grid { grid-template-columns: 1fr !important; } }

/* About page — themed content styles (no inline <style> in page body since
   Ghost strips style blocks from mobiledoc HTML cards on Pages) */
.about-content {
  max-width: 760px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
}
.about-content p { margin: 0 0 18px; }
.about-content a { color: var(--gold); text-decoration: none; border-bottom: 1px solid rgba(184,146,64,.4); }
.about-content a:hover { border-bottom-color: var(--gold); }
.about-content h2 {
  color: var(--navy);
  font-size: 26px;
  line-height: 1.2;
  font-weight: 800;
  margin: 36px 0 14px;
  letter-spacing: -0.01em;
}
.about-content h3 { color: var(--navy); font-size: 18px; font-weight: 700; margin: 22px 0 8px; }
.about-content ul { margin: 0 0 22px; padding-left: 22px; }
.about-content ul li { margin-bottom: 10px; line-height: 1.55; }
.about-content ul li::marker { color: var(--gold); }

.about-coverage {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px;
  padding: 14px 0; margin: 18px 0 28px;
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
}
.about-coverage .lc-label {
  color: var(--gold); font-size: 10.5px; font-weight: 700;
  letter-spacing: 1.8px; text-transform: uppercase;
}
.about-coverage .lc-item {
  display: inline-block; color: var(--navy);
  font-size: 11px; font-weight: 600; letter-spacing: 0.6px;
  text-transform: uppercase;
  border: 1px solid rgba(184,146,64,0.32);
  padding: 3px 9px; border-radius: 2px;
}

.about-pull {
  background: var(--tint);
  border-left: 3px solid var(--gold);
  padding: 22px 26px;
  margin: 28px 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  line-height: 1.55;
  color: var(--navy);
}
.about-pull .label {
  display: block;
  font-family: "Inter", sans-serif;
  color: var(--gold);
  font-size: 11px; font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.about-presence {
  display: flex; flex-wrap: wrap; gap: 10px 14px;
  align-items: center; margin: 0 0 28px;
  font-size: 12px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--mid);
  font-weight: 700;
}
.about-presence .dot { color: var(--gold); }

.about-cta {
  background: var(--navy);
  color: #fff;
  padding: 28px 30px;
  border-radius: 4px;
  margin: 36px 0 0;
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.about-cta .ab-text { flex: 1 1 280px; }
.about-cta h3 { color: #fff; font-size: 19px; font-weight: 700; margin: 0 0 4px; }
.about-cta p  { color: rgba(255,255,255,.7); font-size: 14px; margin: 0; }
.about-cta .ab-btn {
  display: inline-block;
  padding: 12px 24px;
  background: var(--gold);
  color: var(--navy) !important;
  border-radius: 3px;
  font-weight: 700; font-size: 14px;
  letter-spacing: .04em;
  text-decoration: none;
  border: none;
}
.about-cta .ab-btn:hover { background: var(--gold-l); }

/* ────────────────────────────────────────────────────────────────────────
   Welcome pages — branded post-signup landing for Brief (free) and
   Premium tiers. Templates: page-welcome-brief.hbs / page-welcome-premium.hbs
   ──────────────────────────────────────────────────────────────────────── */
.welcome-hero { padding-top: 8px; }
.welcome-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}
@media (max-width: 980px) { .welcome-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .welcome-grid { grid-template-columns: 1fr; gap: 18px; } }
.welcome-card {
  background: #fff;
  border: 1px solid var(--hair);
  border-left: 3px solid var(--gold);
  padding: 22px 24px;
}
.welcome-card .wc-mark {
  color: var(--gold);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 1.6px;
  margin: 0 0 10px;
}
.welcome-card h3 {
  color: var(--navy);
  font-size: 16.5px;
  font-weight: 700;
  margin: 0 0 8px;
  line-height: 1.25;
}
.welcome-card p {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
}
.welcome-card a {
  color: var(--gold);
  border-bottom: 1px solid rgba(184,146,64,0.4);
  text-decoration: none;
}
.welcome-card a:hover { border-bottom-color: var(--gold); }

.welcome-housekeeping { background: var(--tint-cool); }
.welcome-house-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  margin-top: 32px;
}
@media (max-width: 820px) { .welcome-house-grid { grid-template-columns: 1fr; gap: 32px; } }
.welcome-list {
  list-style: none; padding: 0; margin: 0;
}
.welcome-list li {
  font-size: 15px;
  color: var(--ink);
  line-height: 1.6;
  margin-bottom: 14px;
  padding-left: 16px;
  position: relative;
}
.welcome-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 11px;
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 1px;
}

/* ────────────────────────────────────────────────────────────────────────
   Interactive scenario maps — JS detects tables with "Scenario" first col
   and adds a pill row above + click-to-focus state on rows.
   ──────────────────────────────────────────────────────────────────────── */
.scenario-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
  padding: 4px 0;
}
.scenario-pill {
  appearance: none; -webkit-appearance: none;
  font-family: inherit;
  background: #fff;
  color: var(--navy, #0E1A2B);
  border: 1px solid #D1D5DB;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.4px;
  cursor: pointer;
  transition: 0.15s;
}
.scenario-pill:hover {
  border-color: #C9A961;
  color: #B8923D;
}
.scenario-pill.is-active {
  background: #0E1A2B;
  color: #fff;
  border-color: #0E1A2B;
}

.fo-post table.is-scenario-map tbody tr,
.report-body table.is-scenario-map tbody tr {
  cursor: pointer;
  transition: opacity 0.22s ease, background 0.22s ease, transform 0.22s ease;
}
.fo-post table.is-scenario-map.has-focus tbody tr:not(.is-focused),
.report-body table.is-scenario-map.has-focus tbody tr:not(.is-focused) {
  opacity: 0.32;
}
.fo-post table.is-scenario-map tbody tr.is-focused td,
.report-body table.is-scenario-map tbody tr.is-focused td {
  background: #F5F1E5 !important;
}
.fo-post table.is-scenario-map tbody tr.is-focused td:first-child,
.report-body table.is-scenario-map tbody tr.is-focused td:first-child {
  box-shadow: inset 3px 0 0 #B8923D;
}

@media (prefers-reduced-motion: reduce) {
  .fo-post table.is-scenario-map tbody tr,
  .report-body table.is-scenario-map tbody tr { transition: none; }
}

/* ────────────────────────────────────────────────────────────────────────
   In-content sparklines — injected by publish_to_ghost.py beside FX pair
   labels and Market Implications asset rows. Real FRED data, no mocks.
   ──────────────────────────────────────────────────────────────────────── */
.fo-post .fo-spark,
.report-body .fo-spark,
svg.fo-spark {
  display: inline-block;
  vertical-align: middle;
  margin-left: 10px;
  width: 86px;
  height: 22px;
  flex: 0 0 auto;
  opacity: 0.92;
}
.fo-post td .fo-spark { vertical-align: -3px; }
.fo-post .pair h4 .fo-spark { vertical-align: -2px; margin-left: 12px; }
@media (max-width: 600px) {
  .fo-post .fo-spark,
  .report-body .fo-spark,
  svg.fo-spark { display: none; }
}

/* ────────────────────────────────────────────────────────────────────────
   Related reports + Next/Previous navigation on post pages.
   ──────────────────────────────────────────────────────────────────────── */
.report-related {
  background: var(--tint-cool);
  padding: 56px 0;
  border-top: 1px solid var(--hair);
}
.report-related-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.report-related-eyebrow {
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  margin: 0 0 8px;
}
.report-related-title {
  color: var(--navy);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  letter-spacing: -0.4px;
  margin: 0 0 32px;
  max-width: 700px;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 980px) { .related-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .related-grid { grid-template-columns: 1fr; } }

.related-card {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--hair);
  border-radius: 3px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: 0.18s;
  align-items: stretch;
}
.related-card:hover {
  border-color: var(--gold-soft);
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(14,26,43,0.08);
}
.related-cover {
  background: var(--navy);
  overflow: hidden;
  align-self: stretch;
}
.related-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.related-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 14px 12px 0;
  min-width: 0;
}
.related-date {
  color: var(--gold);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}
.related-title {
  color: var(--navy);
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.1px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.related-tier { margin-top: auto; padding-top: 4px; }

/* Next / Previous pager */
.report-pager {
  background: #fff;
  padding: 40px 0 56px;
  border-top: 1px solid var(--hair);
}
.report-pager-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (max-width: 720px) { .report-pager-inner { grid-template-columns: 1fr; } }

.pager-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border: 1px solid var(--hair);
  border-radius: 3px;
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: 0.18s;
  min-height: 72px;
}
.pager-card.pager-empty {
  visibility: hidden;
  pointer-events: none;
}
.pager-card:hover {
  border-color: var(--gold-soft);
  background: var(--tint);
}
.pager-card.pager-prev .pager-body { text-align: left; }
.pager-card.pager-next {
  flex-direction: row-reverse;
}
.pager-card.pager-next .pager-body { text-align: right; }
.pager-arrow {
  color: var(--gold);
  font-size: 22px;
  font-weight: 700;
  flex: 0 0 auto;
  transition: transform 0.18s;
}
.pager-card.pager-prev:hover .pager-arrow { transform: translateX(-3px); }
.pager-card.pager-next:hover .pager-arrow { transform: translateX(3px); }
.pager-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  flex: 1 1 auto;
}
.pager-label {
  color: var(--mid);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}
.pager-title {
  color: var(--navy);
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.1px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ────────────────────────────────────────────────────────────────────────
   Breadcrumbs on post pages — Home › Library › Topic
   ──────────────────────────────────────────────────────────────────────── */
.report-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 22px;
  font-size: 11.5px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  font-weight: 600;
}
.report-breadcrumb a {
  color: var(--gold-soft);
  text-decoration: none;
  transition: color 0.15s;
}
.report-breadcrumb a:hover { color: #fff; }
.report-breadcrumb .bc-sep {
  color: rgba(184, 146, 64, 0.4);
  font-weight: 400;
}
.report-breadcrumb .bc-current {
  color: var(--gold);
}

/* ────────────────────────────────────────────────────────────────────────
   Search modal — cmd+K opens a centered overlay with autocomplete results.
   ──────────────────────────────────────────────────────────────────────── */
.nav-search-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1px solid var(--hair);
  color: var(--ink);
  padding: 6px 10px 6px 8px;
  border-radius: 3px;
  cursor: pointer;
  transition: 0.15s;
  font-family: inherit;
  font-size: 12px;
  margin-right: 4px;
}
.nav-search-btn:hover { color: var(--gold); border-color: var(--gold-soft); }
.nav-search-key {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  color: var(--mid);
  letter-spacing: 0.4px;
  padding: 1px 5px;
  border: 1px solid var(--hair);
  border-radius: 2px;
}

.search-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 10vh 20px 0;
}
.search-modal.is-open { display: flex; }
.search-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(14, 26, 43, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  cursor: pointer;
  animation: search-fade 220ms ease-out;
}
@keyframes search-fade { from { opacity: 0; } to { opacity: 1; } }
.search-modal-panel {
  position: relative;
  width: 100%;
  max-width: 640px;
  background: #fff;
  border: 1px solid var(--hair);
  border-radius: 4px;
  box-shadow: 0 24px 60px rgba(14,26,43,0.32);
  overflow: hidden;
  animation: search-rise 240ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes search-rise {
  from { opacity: 0; transform: translateY(-12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.search-input-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--hair);
}
.search-input-icon { color: var(--mid); flex: 0 0 auto; }
.search-input {
  flex: 1 1 auto;
  border: none;
  outline: none;
  font-family: inherit;
  font-size: 17px;
  color: var(--ink);
  background: transparent;
  letter-spacing: -0.1px;
}
.search-input::placeholder { color: var(--mid); }
.search-esc {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  color: var(--mid);
  border: 1px solid var(--hair);
  border-radius: 2px;
  padding: 2px 6px;
  cursor: pointer;
  letter-spacing: 0.6px;
}
.search-results {
  max-height: 60vh;
  overflow-y: auto;
}
.search-result {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 14px;
  padding: 14px 18px;
  align-items: center;
  border-bottom: 1px solid var(--hair);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  transition: background 0.15s;
}
.search-result:last-child { border-bottom: none; }
.search-result:hover,
.search-result.is-active { background: var(--tint); }
.sr-cover {
  width: 56px;
  height: 79px;
  background: var(--navy);
  border-radius: 2px;
  overflow: hidden;
  flex: 0 0 auto;
}
.sr-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sr-body { min-width: 0; }
.sr-title {
  display: block;
  color: var(--navy);
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 4px;
  letter-spacing: -0.1px;
}
.search-result.is-active .sr-title,
.search-result:hover .sr-title { color: var(--gold); }
.sr-meta {
  font-size: 11px;
  letter-spacing: 0.6px;
  color: var(--mid);
  text-transform: uppercase;
  font-weight: 600;
}
.sr-meta .sr-date { color: var(--gold); margin-right: 8px; }
.sr-arrow { color: var(--ink); font-size: 16px; opacity: 0.5; }
.search-result:hover .sr-arrow,
.search-result.is-active .sr-arrow { opacity: 1; color: var(--gold); }
.search-empty {
  padding: 32px 18px;
  text-align: center;
  color: var(--mid);
  font-size: 14px;
}
.search-footer {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 10px 18px;
  border-top: 1px solid var(--hair);
  font-size: 11px;
  color: var(--mid);
  background: var(--tint-cool);
}
.search-footer kbd {
  font-family: "IBM Plex Mono", monospace;
  background: #fff;
  border: 1px solid var(--hair);
  border-radius: 2px;
  padding: 1px 5px;
  font-size: 10px;
  color: var(--ink);
  margin-right: 4px;
}
.search-credit { margin-left: auto; color: var(--gold); font-weight: 700; letter-spacing: 0.6px; text-transform: uppercase; font-size: 10px; }
@media (max-width: 600px) {
  .nav-search-key { display: none; }
  .search-modal { padding-top: 5vh; }
}

/* ────────────────────────────────────────────────────────────────────────
   Scroll progress indicator — gold bar fills as user scrolls page.
   Top of viewport, 2px tall, hairline.
   ──────────────────────────────────────────────────────────────────────── */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-soft) 100%);
  transform: scaleX(var(--sp, 0));
  transform-origin: left center;
  z-index: 1001;
  pointer-events: none;
  will-change: transform;
}

/* ────────────────────────────────────────────────────────────────────────
   Hero gold rule — draws left-to-right on load. Pure CSS animation so
   it fires on every page entry without depending on IO state.
   ──────────────────────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  .js-enabled .hero-rule {
    transform: scaleX(0);
    transform-origin: left center;
    animation: fo-drawline 1200ms cubic-bezier(0.2, 0.8, 0.2, 1) 380ms both;
  }
  @keyframes fo-drawline {
    from { transform: scaleX(0); }
    to   { transform: scaleX(1); }
  }
}

/* ────────────────────────────────────────────────────────────────────────
   Cursor-following gold spotlight on cards. Only active on hover-capable
   devices (no touch), and only when reduced-motion isn't preferred.
   The position is driven by JS-set --cursor-x / --cursor-y CSS variables.
   ──────────────────────────────────────────────────────────────────────── */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .js-enabled .board-card,
  .js-enabled .tier-card,
  .js-enabled .drop,
  .js-enabled .home-pg-item {
    position: relative;
    isolation: isolate;
  }
  .js-enabled .board-card::before,
  .js-enabled .tier-card::before,
  .js-enabled .drop::before,
  .js-enabled .home-pg-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
      420px circle at var(--cursor-x, 50%) var(--cursor-y, 50%),
      rgba(184, 146, 61, 0.28),
      rgba(184, 146, 61, 0.06) 35%,
      transparent 60%
    );
    opacity: 0;
    transition: opacity 320ms ease;
    pointer-events: none;
    z-index: 0;
  }
  .js-enabled .board-card > *,
  .js-enabled .tier-card > *,
  .js-enabled .drop > *,
  .js-enabled .home-pg-item > * { position: relative; z-index: 1; }
  .js-enabled .board-card:hover::before,
  .js-enabled .tier-card:hover::before,
  .js-enabled .drop:hover::before,
  .js-enabled .home-pg-item:hover::before { opacity: 1; }
}

/* ────────────────────────────────────────────────────────────────────────
   Animated underline on nav links — gold line draws left-to-right on hover.
   ──────────────────────────────────────────────────────────────────────── */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .js-enabled .nav a {
    position: relative;
    padding-bottom: 4px;
  }
  .js-enabled .nav a::after {
    content: "";
    position: absolute;
    left: 0; bottom: 0;
    width: 100%; height: 1.5px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 360ms cubic-bezier(0.2, 0.8, 0.2, 1);
  }
  .js-enabled .nav a:hover::after,
  .js-enabled .nav a.is-active::after {
    transform: scaleX(1);
  }
}

/* ────────────────────────────────────────────────────────────────────────
   Magnetic button — gold CTA buttons translate subtly toward cursor.
   JS sets --mag-x / --mag-y custom properties; CSS applies via transform.
   ──────────────────────────────────────────────────────────────────────── */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .js-enabled .btn-primary,
  .js-enabled .upsell .cta-btn,
  .js-enabled .ab-btn {
    transform: translate(var(--mag-x, 0px), var(--mag-y, 0px));
    transition: transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1), background 0.15s ease;
    will-change: transform;
  }
}

/* ────────────────────────────────────────────────────────────────────────
   Cover-thumbnail parallax — image inside the cover translates subtly
   opposite the cursor for a 3D depth feel. Driven by --tilt-x/y from JS.
   ──────────────────────────────────────────────────────────────────────── */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .js-enabled .ar-pdf-cover img {
    transform: translate(var(--tilt-x, 0px), var(--tilt-y, 0px)) scale(var(--tilt-s, 1));
    transition: transform 280ms cubic-bezier(0.2, 0.8, 0.2, 1);
  }
  .js-enabled .archive-row:hover .ar-pdf-cover img {
    /* cursor-based scale handled by JS via --tilt-s */
  }
}

/* ────────────────────────────────────────────────────────────────────────
   Scroll-triggered reveal — opacity + translateY, ~700ms ease-out.
   Class added by main.js when JS is alive; hidden state only applies when
   .js-enabled is set, so no-JS users see content immediately.
   ──────────────────────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  .js-enabled .reveal {
    opacity: 0;
    transform: translateY(22px);
    transition:
      opacity   720ms cubic-bezier(0.16, 0.84, 0.3, 1),
      transform 720ms cubic-bezier(0.16, 0.84, 0.3, 1);
    will-change: opacity, transform;
  }
  .js-enabled .reveal.is-revealed {
    opacity: 1;
    transform: translateY(0);
  }
}

.archive { background: #fff; padding-top: 56px; }

/* Chip filter row */
.chip-row {
  display: flex; flex-wrap: wrap; gap: 8px;
  padding: 0 0 18px;
  border-bottom: 1px solid var(--hair);
  margin: 0 0 8px;
}
.chip {
  appearance: none; -webkit-appearance: none;
  font-family: inherit;
  background: #fff;
  color: var(--navy);
  border: 1px solid var(--hair);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  cursor: pointer;
  transition: 0.15s;
}
.chip:hover { border-color: var(--gold-soft); color: var(--gold); }
.chip.is-active {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.chip.is-active:hover { color: var(--gold-soft); }
.chip-all.is-active { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.chip-all.is-active:hover { color: var(--navy); }

/* Topic-browse row — linked pills that navigate to /tag/[slug]/ */
.topic-browse,
.home-topic-browse {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  padding: 16px 0 18px;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--hair);
}
.home-topic-browse {
  margin: 36px auto 0;
  padding: 24px 0 0;
  border-bottom: none;
  justify-content: center;
}
.topic-browse .tb-label,
.home-topic-browse .tb-label {
  color: var(--gold);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  margin-right: 8px;
}
.topic-browse .tb-link,
.home-topic-browse .tb-link {
  color: var(--navy);
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.4px;
  padding: 6px 12px;
  border: 1px solid var(--hair);
  border-radius: 999px;
  background: #fff;
  transition: 0.15s;
}
.topic-browse .tb-link:hover,
.home-topic-browse .tb-link:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--tint);
}

/* Counter line + view toggle */
.archive-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 14px 0 18px;
}
.archive-counter {
  font-size: 12px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin: 0;
}
.view-toggle {
  display: inline-flex;
  border: 1px solid var(--hair);
  border-radius: 3px;
  overflow: hidden;
  background: #fff;
}
.vt-btn {
  appearance: none; -webkit-appearance: none;
  font-family: inherit;
  background: transparent;
  color: var(--ink);
  border: none;
  padding: 8px 14px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: 0.15s;
}
.vt-btn + .vt-btn { border-left: 1px solid var(--hair); }
.vt-btn:hover { color: var(--gold); }
.vt-btn.is-active { background: var(--navy); color: #fff; }
.vt-btn.is-active:hover { color: var(--gold-soft); }
.vt-btn svg { display: block; }

/* Empty state */
.archive-empty {
  padding: 60px 0;
  text-align: center;
  color: var(--ink);
  font-size: 16px;
  border-top: 1px solid var(--hair);
}

/* Row list */
.archive-list { display: flex; flex-direction: column; }
.archive-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px 0;
  border-bottom: 1px solid var(--hair);
  text-decoration: none;
  color: inherit;
  transition: 0.15s;
}
.archive-row:first-child { border-top: 1px solid var(--hair); }

/* Row with actual rendered PDF first-page cover — portrait thumbnail */
.archive-row-pdf {
  display: grid;
  grid-template-columns: 158px 1fr;
  gap: 28px;
  align-items: stretch;
}
.archive-row-pdf .ar-body {
  display: grid;
  grid-template-rows: auto 1fr auto;  /* title (top), pull (centered), meta (footer) */
  min-width: 0;
  padding: 6px 0;
  gap: 12px;
}
.archive-row-pdf .ar-title-row { align-self: start; }
.archive-row-pdf .ar-pull      { align-self: center; margin: 0; }
.archive-row-pdf .ar-meta-line { align-self: end;    margin-top: 0; }
.ar-pdf-cover {
  display: block;
  background: var(--navy);
  border: 1px solid var(--hair);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 1 / 1.414;
  align-self: start;
  box-shadow: 0 2px 10px rgba(14,26,43,0.08);
  transition: 0.2s;
}
.ar-pdf-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: 0.2s;
}
.archive-row:hover .ar-pdf-cover {
  border-color: var(--gold-soft);
  box-shadow: 0 8px 24px rgba(14,26,43,0.18);
  transform: translateY(-2px);
}
@media (max-width: 720px) {
  .archive-row-pdf { grid-template-columns: 84px 1fr; gap: 14px; }
}

/* Row with mini-cover panel — left-aligned navy/gold cover styled like the PDF */
.archive-row-cover {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  align-items: stretch;
}
.archive-row-cover .ar-body {
  display: flex; flex-direction: column;
  gap: 8px;
  min-width: 0;
  padding: 4px 0;
}

.ar-cover {
  display: flex;
  flex-direction: column;
  background: var(--navy);
  color: #fff;
  padding: 16px 18px;
  border-radius: 3px;
  position: relative;
  overflow: hidden;
  min-height: 150px;
  transition: 0.2s;
}
/* Subtle FO mark watermark in bottom-right */
.ar-cover::after {
  content: "";
  position: absolute;
  right: -32px; bottom: -32px;
  width: 130px; height: 130px;
  background: url("../img/fo-mark.png") no-repeat center;
  background-size: contain;
  opacity: 0.08;
  pointer-events: none;
}
.ar-cover-eyebrow {
  color: var(--gold);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}
.ar-cover-title {
  color: #fff;
  font-size: 14.5px;
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.2px;
  flex: 1 1 auto;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.ar-cover-rule {
  display: block;
  width: 32px; height: 1px;
  background: var(--gold);
  margin: 12px 0 10px;
  position: relative;
  z-index: 1;
}
.ar-cover-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--gold-soft);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}
.ar-cover-sep { color: rgba(201,169,97,0.4); font-weight: 400; }

/* Tier-specific accents */
.ar-cover-weekly {
  background: linear-gradient(135deg, var(--navy) 0%, #14233A 100%);
}
.ar-cover-weekly .ar-cover-eyebrow { color: #C9A961; }
.ar-cover-inst {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  border: 1px solid var(--gold);
}

.archive-row:hover .ar-cover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(14,26,43,0.18);
}

@media (max-width: 720px) {
  .archive-row-cover { grid-template-columns: 110px 1fr; gap: 14px; }
  .ar-cover { padding: 12px 12px; min-height: 110px; }
  .ar-cover-eyebrow { font-size: 8px; letter-spacing: 1.2px; margin-bottom: 6px; }
  .ar-cover-title { font-size: 11.5px; -webkit-line-clamp: 3; }
  .ar-cover-rule { margin: 8px 0 6px; width: 22px; }
  .ar-cover-meta { font-size: 7.5px; letter-spacing: 1px; }
  .ar-cover::after { width: 80px; height: 80px; right: -20px; bottom: -20px; }
}

.archive-row:hover {
  background: var(--tint);
  padding-left: 18px;
  padding-right: 18px;
}
.archive-row:hover .ar-arrow { color: var(--gold); transform: translateX(4px); }
.archive-row:hover .ar-title { color: var(--gold); }

.ar-title-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}
.ar-title {
  color: var(--navy);
  font-weight: 700;
  font-size: 19px;
  line-height: 1.3;
  letter-spacing: -0.3px;
  transition: 0.15s;
  flex: 1 1 auto;
}
.ar-arrow {
  color: var(--ink);
  font-size: 20px;
  font-weight: 700;
  transition: 0.15s;
  flex: 0 0 auto;
  align-self: center;
}

.ar-excerpt {
  color: var(--ink);
  font-size: 14.5px;
  line-height: 1.55;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Pull quote — the desk's punchline as the row's voice */
.ar-pull {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  line-height: 1.5;
  color: var(--navy);
  border-left: 2px solid var(--gold);
  padding: 2px 0 2px 16px;
  margin: 4px 0 2px;
}
@media (max-width: 720px) {
  .ar-pull { font-size: 13.5px; padding-left: 12px; }
}

/* Inline vitals carried in the meta band: 2-3Q · High — structural ... */
.ar-vitals-inline {
  color: var(--navy);
  font-weight: 600;
}
.ar-vitals-inline::first-letter { text-transform: none; }

/* ────────────────────────────────────────────────────────────────────────
   Tile view — alternate grid layout. Reader toggles via .vt-btn buttons;
   choice persists in localStorage. Same DOM, different CSS surface.
   ──────────────────────────────────────────────────────────────────────── */
.archive-list.is-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  border-top: none;
}
@media (max-width: 1100px) { .archive-list.is-tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .archive-list.is-tiles { grid-template-columns: 1fr; } }

.archive-list.is-tiles .archive-row {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
  border-radius: 3px;
  overflow: hidden;
  padding: 0;
  background: #fff;
  transition: 0.18s;
  gap: 0;
  height: 100%;  /* fill grid row so meta-line can pin to bottom */
}
.archive-list.is-tiles .archive-row:first-child { border-top: 1px solid var(--hair); }
.archive-list.is-tiles .archive-row:hover {
  background: #fff;
  border-color: var(--gold-soft);
  padding-left: 0; padding-right: 0;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(14,26,43,0.08);
}
.archive-list.is-tiles .archive-row-pdf {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.archive-list.is-tiles .ar-pdf-cover {
  border: none;
  border-radius: 0;
  border-bottom: 1px solid var(--hair);
  box-shadow: none;
  align-self: auto;
  aspect-ratio: 1 / 1.414;
  width: 100%;
}
.archive-list.is-tiles .archive-row:hover .ar-pdf-cover {
  border-color: var(--hair);
  transform: none;
  box-shadow: none;
}
.archive-list.is-tiles .archive-row:hover .ar-pdf-cover img { transform: scale(1.02); }
.archive-list.is-tiles .ar-body {
  display: grid;
  grid-template-rows: auto 1fr auto;  /* title (top), pull (center), meta (footer) */
  flex: 1 1 auto;                     /* fill remaining tile height */
  padding: 18px 20px 18px;
  gap: 14px;
  min-height: 0;
}
.archive-list.is-tiles .ar-title-row { align-self: start; }
.archive-list.is-tiles .ar-pull { align-self: center; }
.archive-list.is-tiles .ar-meta-line { align-self: end; margin-top: 0; }
.archive-list.is-tiles .ar-title-row {
  align-items: flex-start;
  gap: 10px;
}
.archive-list.is-tiles .ar-title {
  font-size: 16px;
  line-height: 1.28;
}
.archive-list.is-tiles .ar-arrow { font-size: 17px; }
.archive-list.is-tiles .ar-pull {
  font-size: 13.5px;
  line-height: 1.5;
  padding-left: 12px;
  border-left-width: 2px;
  margin: 0;
  /* No clamp in tile mode — full FO core message reads in full. */
}
.archive-list.is-tiles .ar-meta-line {
  font-size: 11px;
  letter-spacing: 0.4px;
  gap: 6px 8px;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--hair);
}
.archive-list.is-tiles .ar-vitals-inline {
  display: none;  /* tile mode is more visual; vitals not shown inline */
}

.ar-meta-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 10px;
  font-size: 12px;
  letter-spacing: 0.4px;
}
.ar-sep { color: var(--hair); font-weight: 700; }

.ar-date {
  color: var(--gold);
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.ar-pills { display: inline-flex; gap: 6px; flex-wrap: wrap; }
.ar-pill {
  display: inline-block;
  background: var(--tint-cool);
  color: var(--navy);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 3px;
  border: 1px solid var(--hair);
}
.ar-pill-weekly { background: #FAF6E8; border-color: #E8D9A8; color: #6E5523; }

.ar-lock {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 1.3px;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 2px 7px;
  border-radius: 2px;
  text-transform: uppercase;
}

/* Editorial tier badge — derived from tags (institutional / weekly / analysis).
   Mirrors the cover-page tier ribbon on each PDF. */
.ar-tier {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 1.4px;
  padding: 2.5px 8px;
  border-radius: 2px;
  text-transform: uppercase;
  border: 1px solid transparent;
}
.ar-tier-analysis {
  color: var(--gold);
  border-color: var(--gold);
}
.ar-tier-weekly {
  color: #6E5523;
  background: #FAF6E8;
  border-color: #E8D9A8;
}
.ar-tier-inst {
  color: var(--gold-soft);
  background: var(--navy);
  border-color: var(--navy);
}

.ar-time {
  color: var(--ink);
  opacity: 0.65;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.archive-row.is-hidden { display: none !important; }

@media (max-width: 720px) {
  .archive-row { padding: 18px 0; gap: 6px; }
  .archive-row:hover { padding-left: 10px; padding-right: 10px; }
  .ar-title { font-size: 16.5px; line-height: 1.3; }
  .ar-arrow { font-size: 18px; }
  .ar-excerpt { font-size: 13.5px; -webkit-line-clamp: 3; line-clamp: 3; }
  .ar-meta-line { gap: 6px 8px; font-size: 11.5px; }
  .chip { font-size: 11px; padding: 6px 11px; }
}
