@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,900;1,400;1,700&family=Source+Serif+4:ital,opsz,wght@0,8..60,300;0,8..60,400;0,8..60,600;1,8..60,400&family=IBM+Plex+Sans:wght@300;400;500;600;700&display=swap');

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

:root {
  --black:   #000000;
  --ink:     #111111;
  --dark:    #1a1a1a;
  --mid:     #555555;
  --rule:    #cccccc;
  --light:   #eeeeee;
  --paper:   #f9f9f7;
  --white:   #ffffff;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
img { display: block; width: 100%; height: auto; object-fit: cover; }

/* ── MASTHEAD ── */
.masthead {
  background: var(--black);
  border-bottom: 4px double var(--white);
}
.masthead-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}
.masthead-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0 16px;
  border-bottom: 1px solid #333;
}
.masthead-date {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 11px;
  color: #888;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  min-width: 200px;
}
.logo {
  text-align: center;
  flex: 1;
}
.logo-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(30px, 5vw, 56px);
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1;
}
.logo-name em { font-style: italic; font-weight: 400; }
.logo-rule {
  width: 100%;
  height: 1px;
  background: #444;
  margin: 6px auto;
  max-width: 320px;
}
.logo-sub {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #666;
}
.masthead-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 200px;
  justify-content: flex-end;
}
.btn-sub {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--black);
  background: var(--white);
  padding: 8px 18px;
  border: none;
  cursor: pointer;
  display: inline-block;
}
.btn-sub:hover { background: #ddd; text-decoration: none; }
.btn-in {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 11px;
  color: #888;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.btn-in:hover { color: #fff; text-decoration: none; }

/* ── NAV ── */
.nav-bar {
  display: flex;
  align-items: center;
  overflow-x: auto;
  scrollbar-width: none;
  border-top: 1px solid #222;
}
.nav-bar::-webkit-scrollbar { display: none; }
.nav-bar a {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #bbb;
  padding: 12px 18px;
  white-space: nowrap;
  border-right: 1px solid #1e1e1e;
  transition: color 0.15s, background 0.15s;
  display: block;
}
.nav-bar a:hover, .nav-bar a.active {
  color: var(--white);
  background: #111;
  text-decoration: none;
}

/* ── PAGE WRAPPER ── */
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 32px; }

/* ── SECTION HEADER ── */
.sec-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  border-top: 3px solid var(--black);
  border-bottom: 1px solid var(--rule);
  padding: 10px 0;
  margin-bottom: 28px;
}
.sec-head h2 {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--black);
}
.sec-head span {
  font-family: 'Source Serif 4', serif;
  font-style: italic;
  font-size: 13px;
  color: var(--mid);
}

/* ── EYEBROW ── */
.eyebrow {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--black);
  display: block;
  margin-bottom: 6px;
  border-left: 3px solid var(--black);
  padding-left: 8px;
}

/* ── HEADLINES ── */
.hl-xl {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--black);
}
.hl-lg {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--black);
}
.hl-md {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--black);
}
.hl-sm {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--black);
}
.hl-xl:hover, .hl-lg:hover, .hl-md:hover, .hl-sm:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}

.deck {
  font-family: 'Source Serif 4', serif;
  font-weight: 300;
  color: #333;
  line-height: 1.6;
  margin-top: 8px;
}

.meta {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 11px;
  color: var(--mid);
  margin-top: 8px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.meta strong { color: var(--dark); font-weight: 600; }

/* ── RULE ── */
hr.thin { border: none; border-top: 1px solid var(--rule); margin: 20px 0; }
hr.thick { border: none; border-top: 2px solid var(--black); margin: 0; }

/* ── BADGE ── */
.badge {
  display: inline-block;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 3px 8px;
  border: 1px solid var(--black);
  color: var(--black);
  background: transparent;
}
.badge.fill { background: var(--black); color: var(--white); border-color: var(--black); }
.badge.urgent { background: var(--black); color: var(--white); }

/* ── CARD (list item) ── */
.card-list { list-style: none; }
.card-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: start;
}
.card-item:first-child { padding-top: 0; }
.card-item:last-child { border-bottom: none; }
.card-num {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--light);
  line-height: 1;
  margin-bottom: 4px;
}

/* ── SALARY DISPLAY ── */
.salary-box {
  background: var(--black);
  color: var(--white);
  padding: 6px 14px;
  text-align: right;
  flex-shrink: 0;
}
.salary-label {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #999;
}
.salary-val {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  white-space: nowrap;
}

/* ── NET WORTH BOX ── */
.nw-box {
  background: var(--black);
  color: var(--white);
  padding: 8px 14px;
  text-align: center;
}
.nw-label { font-family: 'IBM Plex Sans', sans-serif; font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; color: #999; }
.nw-val { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 700; }

/* ── PAGE HERO ── */
.page-hero {
  border-bottom: 2px solid var(--black);
  padding: 32px 0 24px;
  margin-bottom: 36px;
}
.page-hero-label {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 8px;
}
.page-hero h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 900;
  line-height: 1.1;
  color: var(--black);
}
.page-hero h1 em { font-style: italic; font-weight: 400; }
.page-hero p {
  font-family: 'Source Serif 4', serif;
  font-size: 16px;
  font-weight: 300;
  color: #444;
  margin-top: 10px;
  max-width: 600px;
}

/* ── FILTER BAR ── */
.filter-bar {
  display: flex;
  gap: 0;
  border: 1px solid var(--rule);
  margin-bottom: 32px;
  overflow-x: auto;
  scrollbar-width: none;
  background: var(--white);
}
.filter-bar::-webkit-scrollbar { display: none; }
.filter-btn {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 10px 20px;
  border: none;
  background: transparent;
  color: var(--mid);
  cursor: pointer;
  border-right: 1px solid var(--rule);
  white-space: nowrap;
  transition: all 0.15s;
}
.filter-btn:hover, .filter-btn.active {
  background: var(--black);
  color: var(--white);
}

/* ── TWO COL LAYOUT ── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  align-items: start;
}
.three-col-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.four-col-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

/* ── SIDEBAR ── */
.sidebar-widget {
  border-top: 3px solid var(--black);
  padding-top: 16px;
  margin-bottom: 36px;
}
.sidebar-title {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 16px;
  color: var(--black);
}
.sidebar-list { list-style: none; }
.sidebar-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--light);
  font-family: 'Source Serif 4', serif;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.4;
}
.sidebar-list li:last-child { border-bottom: none; }

/* ── STAT STRIP ── */
.stat-strip {
  background: var(--black);
  color: var(--white);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid #222;
}
.stat-cell {
  padding: 20px 24px;
  border-right: 1px solid #222;
  text-align: center;
}
.stat-cell:last-child { border-right: none; }
.stat-n {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
  display: block;
}
.stat-l {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #888;
  margin-top: 4px;
  display: block;
}

/* ── TABLE ── */
.data-table { width: 100%; border-collapse: collapse; }
.data-table th {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mid);
  padding: 10px 12px;
  border-bottom: 2px solid var(--black);
  text-align: left;
  background: var(--white);
}
.data-table td {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 13px;
  padding: 12px;
  border-bottom: 1px solid var(--light);
  vertical-align: top;
}
.data-table tr:hover td { background: var(--light); }
.data-table td strong { font-weight: 600; color: var(--black); }
.data-table td.num { font-weight: 700; color: var(--black); text-align: right; }

/* ── ARTICLE FULL ── */
.article-body {
  font-family: 'Source Serif 4', serif;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--dark);
  max-width: 680px;
}
.article-body p { margin-bottom: 1.4em; }
.article-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  margin: 1.6em 0 0.6em;
  color: var(--black);
}
.article-body ul { padding-left: 20px; margin-bottom: 1.4em; }
.article-body ul li { margin-bottom: 0.5em; }
.pull-quote {
  border-left: 4px solid var(--black);
  padding: 16px 24px;
  margin: 32px 0;
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-style: italic;
  font-weight: 400;
  color: var(--black);
  line-height: 1.4;
}

/* ── FOOTER ── */
footer {
  background: var(--black);
  color: #888;
  margin-top: 64px;
  border-top: 4px double var(--white);
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px 32px 24px;
}
.footer-top {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 64px;
  padding-bottom: 32px;
  border-bottom: 1px solid #222;
  margin-bottom: 24px;
}
.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 900;
  color: var(--white);
}
.footer-logo em { font-style: italic; font-weight: 400; }
.footer-sub {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #555;
  margin-top: 6px;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.footer-col-head {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 12px;
}
.footer-col a {
  display: block;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 12px;
  color: #666;
  padding: 3px 0;
}
.footer-col a:hover { color: #ccc; text-decoration: none; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 11px;
  color: #444;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom a { color: #444; margin-left: 16px; }
.footer-bottom a:hover { color: #888; text-decoration: none; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .wrap { padding: 0 20px; }
  .masthead-inner { padding: 0 20px; }
  .two-col { grid-template-columns: 1fr; }
  .three-col-grid { grid-template-columns: 1fr 1fr; }
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .stat-cell:nth-child(2) { border-right: none; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
  footer { padding: 0; }
  .footer-inner { padding: 40px 20px 20px; }
}
@media (max-width: 640px) {
  .masthead-date { display: none; }
  .masthead-actions { min-width: auto; }
  .three-col-grid { grid-template-columns: 1fr; }
  .four-col-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .footer-cols { grid-template-columns: 1fr 1fr; }
}
