/* ═══════════════════════════════════════════════════════
   CAPITAL LEDGER — shared stylesheet v2.4.1
   ═══════════════════════════════════════════════════════ */

:root {
  --bg:         #FFFFFF;
  --bg-soft:    #F7F5F0;
  --bg-tint:    #FAF6EC;
  --ink:        #1A1A1A;
  --ink-soft:   #2D2D2D;
  --ink-mid:    #555555;
  --ink-light:  #888888;
  --rule:       #D8D3C8;
  --rule-dark:  #1A1A1A;
  --brand:      #8B1A1A;
  --brand-dark: #6B1414;
  --link:       #0B4F8A;
  --ad-bg:      #F2EEE4;

  --f-serif:    'Source Serif 4', Georgia, 'Times New Roman', serif;
  --f-sans:     'Inter', -apple-system, sans-serif;
  --f-display:  'Oswald', 'Helvetica Neue', sans-serif;

  --max-wide:   1240px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--f-serif);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--link); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand); }
img, svg { max-width: 100%; display: block; }

/* UTILITY BAR */
.utility-bar { background: var(--ink); color: #BBB; font-family: var(--f-sans); font-size: 11px; padding: 7px 24px; }
.utility-inner { max-width: var(--max-wide); margin: 0 auto; display: flex; justify-content: space-between; gap: 20px; }
.utility-inner .left, .utility-inner .right { display: flex; gap: 18px; align-items: center; }
.utility-inner a { color: #BBB; text-decoration: none; }
.utility-inner a:hover { color: #FFF; }
.utility-inner .ticker { color: #EAC66B; font-weight: 500; letter-spacing: 0.04em; }
@media (max-width: 720px) { .utility-inner .left { display: none; } .utility-inner { font-size: 10px; } }

/* MASTHEAD */
.masthead { border-bottom: 3px double var(--rule-dark); padding: 24px 24px 20px; text-align: center; }
.masthead-date { font-family: var(--f-sans); font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--ink-mid); margin-bottom: 14px; }
.masthead-title { font-family: var(--f-serif); font-weight: 900; font-size: clamp(38px, 7vw, 78px); line-height: 0.95; letter-spacing: -0.02em; font-variation-settings: 'opsz' 60; color: var(--ink); text-decoration: none; display: inline-block; }
.masthead-title em { font-style: italic; font-weight: 400; color: var(--brand); }
a.masthead-title { text-decoration: none; }
.masthead-tag { font-family: var(--f-serif); font-style: italic; font-size: 14px; color: var(--ink-mid); margin-top: 8px; }

/* NAV */
.main-nav { border-bottom: 1px solid var(--rule); padding: 12px 24px; background: var(--bg); position: sticky; top: 0; z-index: 10; }
.nav-inner { max-width: var(--max-wide); margin: 0 auto; display: flex; justify-content: center; gap: 28px; flex-wrap: wrap; font-family: var(--f-sans); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 500; }
.nav-inner a { color: var(--ink); text-decoration: none; padding: 4px 2px; border-bottom: 2px solid transparent; }
.nav-inner a:hover { border-bottom-color: var(--brand); color: var(--brand); }
.nav-inner a.active { color: var(--brand); border-bottom-color: var(--brand); }
@media (max-width: 720px) { .nav-inner { gap: 14px; font-size: 10px; } }

/* BREADCRUMB */
.breadcrumb { max-width: var(--max-wide); margin: 0 auto; padding: 20px 24px 0; font-family: var(--f-sans); font-size: 12px; color: var(--ink-mid); }
.breadcrumb a { color: var(--ink-mid); text-decoration: none; }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb .sep { margin: 0 8px; color: var(--ink-light); }

/* COOKIE BANNER */
.cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; background: var(--ink); color: #FFF; padding: 18px 24px; z-index: 9999; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; box-shadow: 0 -8px 32px rgba(0,0,0,0.15); }
.cookie-banner p { font-family: var(--f-sans); font-size: 13px; color: rgba(255,255,255,0.85); line-height: 1.5; flex: 1 1 400px; }
.cookie-banner p a { color: #EAC66B; text-decoration: underline; }
.cookie-banner .actions { display: flex; gap: 10px; }
.cookie-banner button { font-family: var(--f-sans); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; padding: 10px 18px; border: none; cursor: pointer; }
.cookie-banner .accept { background: #EAC66B; color: var(--ink); }
.cookie-banner .accept:hover { background: #F4D98A; }
.cookie-banner .reject { background: transparent; color: #FFF; border: 1px solid rgba(255,255,255,0.3); }
.cookie-banner .reject:hover { border-color: #FFF; }

/* FOOTER */
footer { background: var(--ink); color: rgba(255,255,255,0.6); padding: 40px 24px; margin-top: 60px; font-family: var(--f-sans); font-size: 12px; }
.footer-inner { max-width: var(--max-wide); margin: 0 auto; text-align: center; }
.footer-logo { font-family: var(--f-serif); font-weight: 900; font-size: 24px; color: #FFF; margin-bottom: 16px; letter-spacing: -0.01em; }
.footer-logo em { color: #EAC66B; font-style: italic; font-weight: 400; }
.footer-nav { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; margin-bottom: 16px; }
.footer-nav a { color: rgba(255,255,255,0.7); text-decoration: none; }
.footer-nav a:hover { color: #FFF; }
.footer-legal { font-size: 11px; color: rgba(255,255,255,0.4); line-height: 1.6; max-width: 760px; margin: 20px auto 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); }

@media (max-width: 720px) {
  body { font-size: 17px; }
}
