/* The Multifamily Paper — Ghost theme "tmfp-broadsheet" (Direction A)
   Base styles ported from /workspace/website/templates/css/site.css
   Brand (v2, 2026-11-19): ink #111111, cream #F6F3EC, burgundy accent #5C1A22, muted #5A554C, rule #D8D1C4, panel #ECE5DA
   Type: Source Serif 4 + Inter
   One-line "The Multifamily Paper" nameplate only. No MFP/MP initials, no navy, no gold, no green. */

@font-face {
  font-family: "Source Serif 4";
  src: url("../fonts/SourceSerif4.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #111111;
  --ivory: #F6F3EC;
  --white: #FFFFFF;
  --muted: #5A554C;
  --muted-2: #4A463F;
  --bg: var(--ivory);
  --fg: var(--ink);
  --surface: var(--white);
  --surface-2: #ECE5DA;
  --rule: rgba(17, 17, 17, 0.16);
  --rule-strong: var(--ink);
  --invert-bg: var(--ink);
  --invert-fg: var(--ivory);
  --soft: rgba(17, 17, 17, 0.06);
  --max: 1280px;
  --page-pad: 48px;
  --serif: var(--gh-font-heading, "Source Serif 4", Georgia, "Times New Roman", serif);
  --sans: var(--gh-font-body, "Inter", "Helvetica Neue", Arial, sans-serif);
  --chrome-h: 44px;
}

.theme-black {
  --bg: var(--ink);
  --fg: var(--ivory);
  --surface: #1A1A1A;
  --surface-2: #1F1F1F;
  --muted: #B8B4AC;
  --muted-2: #9C9890;
  --rule: rgba(246, 243, 236, 0.16);
  --rule-strong: var(--ivory);
  --invert-bg: var(--ivory);
  --invert-fg: var(--ink);
  --soft: rgba(246, 243, 236, 0.06);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--bg); color: var(--fg); }
html { font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1, "kern" 1; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  overflow-x: hidden;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  background: var(--bg);
  color: var(--fg);
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input { font-family: inherit; }

.numerals, .fig, h1, h2, h3, .headline, .stat-val {
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum" 1, "kern" 1;
}

/* ---------- Type helpers ---------- */
.kicker {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.dek, .lede { color: var(--muted-2); }
.source-line {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Signature double rule ---------- */
.rule-double {
  display: flex;
  flex-direction: column;
  gap: 3px;
  width: 100%;
}
.rule-double i:first-child,
.rule-double::before { display: none; }
.rule-double .thick { display: block; height: 3.5px; background: var(--rule-strong); }
.rule-double .thin { display: block; height: 1px; background: var(--rule-strong); }
.rule-double.lg { gap: 4px; }
.rule-double.lg .thick { height: 5px; }
.rule-double.lg .thin { height: 1.5px; }
.rule-single { height: 1px; background: var(--rule); width: 100%; }
.rule-strong { height: 1px; background: var(--rule-strong); width: 100%; }

/* ---------- Layout ---------- */
.wrap {
  width: min(var(--max), calc(100% - (var(--page-pad) * 2)));
  margin: 0 auto;
}
.site-header { padding: 18px 0 0; }
.util {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 550;
  margin-bottom: 16px;
  gap: 16px;
}
.util a { border-bottom: 1px solid transparent; }
.util a:hover { border-bottom-color: currentColor; }
.masthead {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 4px 0 8px;
}
.masthead .nameplate { width: min(620px, 86%); height: auto; }
.masthead .tagline {
  margin-top: 8px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--muted-2);
}
.nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px 0;
  padding: 12px 0 14px;
}
.nav a {
  font-size: 12px;
  font-weight: 550;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0 14px;
  color: var(--fg);
  position: relative;
}
.nav a.active { font-weight: 700; }
.nav a + a { border-left: 1px solid var(--rule); }

/* ---------- Ticker ---------- */
.ticker {
  border-top: 1px solid var(--rule-strong);
  border-bottom: 1px solid var(--rule-strong);
  background: var(--bg);
}
.ticker-inner {
  display: flex;
  align-items: stretch;
  overflow: hidden;
}
.ticker-label {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border-right: 1px solid var(--rule);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}
.ticker-label .mark-square { display: inline-block; width: 12px; height: 12px; background: #5C1A22; flex: none; }
.ticker-track {
  display: flex;
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.ticker-track::-webkit-scrollbar { display: none; }
.tick {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8px 18px;
  border-right: 1px solid var(--rule);
  white-space: nowrap;
  flex: 0 0 auto;
}
.tick .t-name {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.tick .t-val {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 17px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  font-variant-numeric: lining-nums;
}
.tick .t-src {
  font-size: 9px;
  color: var(--muted);
  letter-spacing: 0.02em;
}

a.ticker-label,
a.tick {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}
a.tick:hover {
  background: rgba(17, 17, 17, 0.035);
}
a.ticker-label:hover { color: var(--fg); }

/* v2.1.9: six fallback links + Subscribe — tighten padding so the bar stays one line on mid-width desktops */
@media (max-width: 1180px) and (min-width: 721px) {
  .nav a { padding: 0 10px; letter-spacing: 0.1em; }
}

/* ---------- Lead + grids ---------- */
.section { padding: 36px 0; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 18px;
  gap: 12px;
}
.section-head h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 28px;
  letter-spacing: -0.02em;
}
.section-head .more {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.lead-intro { margin-bottom: 22px; max-width: 42rem; }
.lead-intro h1 {
  font-family: var(--serif);
  font-weight: 650;
  font-size: 46px;
  line-height: 1.06;
  letter-spacing: -0.025em;
  font-variant-numeric: lining-nums;
}
.lead-intro .dek { margin-top: 12px; font-size: 18px; line-height: 1.45; color: var(--muted-2); }
.lead-a {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr;
  gap: 36px;
  align-items: start;
}
.video-frame {
  position: relative;
  background: #0A0A0A;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}
.video-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.92) contrast(1.02);
}

/* v2.1.11: plain 16:9 lead image (no play button or NEWS/"Watch the story" overlay) */
.lead-art {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #F6F3EC;
  color: inherit;
}
.lead-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.play-btn {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--ivory);
  color: var(--ink);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 30px rgba(0,0,0,0.28);
}
.play-btn svg { width: 22px; height: 22px; margin-left: 3px; fill: currentColor; }
.video-meta {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 28px 18px 14px;
  background: linear-gradient(transparent, rgba(17,17,17,0.82));
  color: var(--ivory);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
}
.lead-copy { padding-top: 4px; }
.lead-copy h1, .lead-story h1 {
  font-family: var(--serif);
  font-weight: 650;
  font-size: 46px;
  line-height: 1.06;
  letter-spacing: -0.025em;
  font-variant-numeric: lining-nums;
}
.lead-copy .dek {
  margin-top: 14px;
  font-size: 18px;
  line-height: 1.45;
  font-weight: 400;
  max-width: 38em;
}
.byline {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  font-size: 13px;
  color: var(--muted-2);
}
.byline .faces { display: flex; }
.byline .faces img {
  width: 28px; height: 28px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--bg);
  margin-right: -8px;
}
.byline .faces img:last-child { margin-right: 0; }
.rail-story + .rail-story {
  border-top: 1px solid var(--rule);
  margin-top: 22px;
  padding-top: 22px;
}
.rail-story h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 8px 0 8px;
}
.rail-story p { font-size: 14.5px; color: var(--muted-2); line-height: 1.45; }
.rail-story .thumb {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  margin-bottom: 10px;
  background: #111;
}
.rail-story .thumb img { width: 100%; height: 100%; object-fit: cover; }

.story-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px 24px;
}
.card .thumb {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #111;
  margin-bottom: 10px;
}
.card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.card h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 20px;
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin: 6px 0 8px;
}
.card p { font-size: 13.5px; color: var(--muted-2); line-height: 1.45; }
.card .meta {
  margin-top: 8px;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* ---------- Podcast row ---------- */
.podcast-row {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  align-items: center;
}
.podcast-row .episode-art {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #111;
}
.podcast-row .episode-art img { width: 100%; height: 100%; object-fit: cover; }
.listen {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.listen a,
.listen .listen-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--rule-strong);
  padding: 7px 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg, #111);
  text-decoration: none;
  border-bottom: 1px solid var(--rule-strong);
}
.listen a:hover,
.listen a:focus-visible,
.listen .listen-btn:hover,
.listen .listen-btn:focus-visible {
  opacity: 1;
  border-color: var(--fg, #111);
}
.listen svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
  display: block;
  flex: 0 0 auto;
}
.hosts-mini {
  display: flex;
  gap: 18px;
  margin-top: 22px;
}
.hosts-mini figure { text-align: center; }
.hosts-mini img {
  width: 72px; height: 72px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 6px;
}
.hosts-mini figcaption {
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 600;
}

/* ---------- Newsletter ---------- */
.newsletter, .nl-inline {
  background: var(--invert-bg);
  color: var(--invert-fg);
  padding: 36px 40px;
}
.newsletter {
  margin: 8px 0 0;
}
.newsletter .nl-inner, .nl-inline {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: center;
}
.newsletter h2, .nl-inline h3 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.newsletter h2 { font-size: 34px; }
.nl-inline h3 { font-size: 22px; color: var(--invert-fg); }
.newsletter p, .nl-inline p { color: var(--invert-fg); opacity: 0.78; margin-top: 8px; font-size: 15px; }
.nl-form { display: flex; gap: 0; width: 100%; max-width: 440px; }
.nl-form input[type="email"] {
  flex: 1;
  border: 1px solid var(--invert-fg);
  background: transparent;
  color: var(--invert-fg);
  padding: 12px 14px;
  font-size: 14px;
  outline: none;
  min-width: 0;
}
.nl-form input::placeholder { color: var(--invert-fg); opacity: 0.45; }
.nl-form button {
  border: 1px solid var(--invert-fg);
  background: var(--invert-fg);
  color: var(--invert-bg);
  padding: 12px 18px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: default;
  white-space: nowrap;
}
.nl-inline { margin: 28px 0; padding: 24px 28px; }
.nl-inline.ivory-band {
  background: var(--surface-2);
  color: var(--ink);
}
.nl-inline.ivory-band h3, .nl-inline.ivory-band p { color: var(--ink); }
.nl-inline.ivory-band p { opacity: 0.75; }
.nl-inline.ivory-band input[type="email"] {
  border-color: var(--ink);
  color: var(--ink);
}
.nl-inline.ivory-band input::placeholder { color: var(--ink); opacity: 0.4; }
.nl-inline.ivory-band button {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--ivory);
}

/* On a black page, default newsletter inverts to ivory */
.theme-black .newsletter,
.theme-black .nl-inline:not(.ivory-band) {
  background: var(--ivory);
  color: var(--ink);
}
.theme-black .newsletter h2,
.theme-black .nl-inline:not(.ivory-band) h3,
.theme-black .newsletter p,
.theme-black .nl-inline:not(.ivory-band) p { color: var(--ink); }
.theme-black .nl-form input[type="email"] {
  border-color: var(--ink);
  color: var(--ink);
}
.theme-black .nl-form input::placeholder { color: var(--ink); opacity: 0.4; }
.theme-black .nl-form button {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--ivory);
}

/* ---------- Footer ---------- */
.site-footer {
  padding: 36px 0 48px;
  border-top: 1px solid var(--rule);
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.4fr 0.9fr;
  gap: 32px;
  align-items: start;
}
.foot-brand .nameplate { width: 220px; }
.foot-brand p {
  margin-top: 12px;
  font-size: 13px;
  color: var(--muted-2);
  max-width: 28em;
}
.foot-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 24px;
  font-size: 13px;
}
.foot-nav a { color: var(--fg); }
.socials { display: flex; flex-direction: column; gap: 6px; }
.socials a {
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 6px;
}
.socials .handle { font-weight: 550; }
.legal {
  margin-top: 28px;
  font-size: 11px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

/* ========== Direction B: dark terminal ========== */
.theme-black .mast-b {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0 12px;
  gap: 20px;
}
.mast-b .left {
  display: flex;
  align-items: center;
  gap: 16px;
}
.mast-b .nameplate { width: 240px; }
.mast-b .asof {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted);
}
.theme-black .nav {
  justify-content: flex-start;
  padding: 0 0 12px;
}
.theme-black .nav a { padding: 0 16px 0 0; border-left: 0; letter-spacing: 0.1em; }
.theme-black .nav a + a { border-left: 0; padding-left: 16px; }
.lead-b {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 28px;
  padding: 28px 0 8px;
}
.stat-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
.stat-cell {
  background: var(--bg);
  padding: 16px 16px 14px;
  min-height: 108px;
}
.stat-cell .kicker { font-size: 10px; }
.stat-cell .stat-val {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 36px;
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 8px 0 6px;
  font-variant-numeric: lining-nums;
}
.stat-cell .stat-val small {
  font-size: 0.5em;
  font-weight: 500;
  letter-spacing: 0;
}
.stat-cell .t-src { font-size: 10px; color: var(--muted); }
.tape-table { width: 100%; border-collapse: collapse; }
.tape-table th {
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: left;
  padding: 0 12px 10px 0;
  border-bottom: 1px solid var(--rule);
}
.tape-table td {
  padding: 14px 12px 14px 0;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
}
.tape-table .col-kicker {
  width: 110px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.tape-table .col-hed {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.tape-table .col-fig {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: lining-nums;
}
.tape-table .col-src {
  font-size: 11px;
  color: var(--muted);
  text-align: right;
  white-space: nowrap;
}

/* ========== Direction C: magazine ========== */
.theme-mag { --page-pad: 36px; }
.topbar-c {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.topbar-c .nameplate { width: 210px; }
.topbar-c .nav { padding: 0; gap: 0; }
.hero-c { position: relative; margin: 0 calc(50% - 50vw); width: 100vw; }
.hero-c .video-frame { aspect-ratio: 16 / 7.2; }
.hero-c .hero-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 80px var(--page-pad) 36px;
  background: linear-gradient(transparent, rgba(17,17,17,0.88) 55%);
  color: var(--ivory);
}
.hero-c .hero-caption .wrap { width: min(1280px, calc(100% - 0px)); }
.hero-c h1 {
  font-family: var(--serif);
  font-weight: 650;
  font-size: 58px;
  line-height: 1.04;
  letter-spacing: -0.03em;
  max-width: 16ch;
  color: var(--ivory);
  font-variant-numeric: lining-nums;
}
.hero-c .dek { color: rgba(246,243,236,0.82); font-size: 18px; max-width: 40em; margin-top: 12px; }
.issue-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr;
  gap: 36px;
}
.issue-grid .stack { display: flex; flex-direction: column; gap: 0; }
.feature-copy { padding-bottom: 22px; margin-bottom: 22px; border-bottom: 1px solid var(--rule); }
.feature-copy h3 {
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin: 8px 0 10px;
}
.issue-grid .stack .card { padding: 22px 0; border-bottom: 1px solid var(--rule); }
.issue-grid .stack .card:last-child { border-bottom: 0; padding-bottom: 0; }
.story-grid-2 { grid-template-columns: 1fr 1fr; }
.issue-grid .feature h3 {
  font-family: var(--serif);
  font-size: 32px;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 10px 0 10px;
}
.band-black {
  background: var(--ink);
  color: var(--ivory);
  margin: 0 calc(50% - 50vw);
  width: 100vw;
  padding: 48px 0;
}
.band-black .wrap { width: min(1280px, calc(100% - 72px)); margin: 0 auto; }
.band-black .rule-double .thick,
.band-black .rule-double .thin { background: var(--ivory); }
.portrait-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 24px;
}
.portrait-row figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; }
.portrait-row figcaption {
  margin-top: 10px;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
}

/* ========== Article ========== */
.article-shell { padding: 28px 0 64px; }
.article-kicker { margin-bottom: 10px; }
.article-shell > .wrap > h1,
.article-hed {
  font-family: var(--serif);
  font-weight: 650;
  font-size: 52px;
  line-height: 1.06;
  letter-spacing: -0.03em;
  max-width: 20ch;
  font-variant-numeric: lining-nums;
}
.article-dek {
  font-size: 20px;
  line-height: 1.4;
  color: var(--muted-2);
  max-width: 38em;
  margin: 16px 0 18px;
}
/* v2.1.16: player sits under the headline; 28px gap now above the media. */
.player-block { margin: 28px 0 0; }
.player-tabs {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 0;
  border-bottom: 1px solid var(--rule);
}
.player-tabs button {
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  padding: 10px 16px;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: default;
}
.player-tabs button.on {
  color: var(--fg);
  border-bottom-color: var(--fg);
}
.player-stage {
  display: grid;
  grid-template-columns: 1.5fr 0.55fr;
  gap: 16px;
  align-items: start;
  padding-top: 14px;
}
.short-preview { max-width: 220px; justify-self: center; width: 100%; }
.short-preview .v-frame {
  aspect-ratio: 9 / 16;
  background: #0A0A0A;
  overflow: hidden;
  position: relative;
}
.short-preview .v-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  filter: saturate(0.92);
}
.short-preview .label {
  margin-top: 8px;
  text-align: center;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 650;
  color: var(--muted-2);
}
.keybox {
  margin-top: 16px;
  border: 1px solid var(--rule-strong);
  padding: 0;
}
.keybox-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 10px 16px;
  border-bottom: 1px solid var(--rule);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.keybox-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.keybox-grid .cell {
  padding: 14px 16px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.keybox-grid .cell:nth-child(4n) { border-right: 0; }
.keybox-grid .lbl {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.keybox-grid .val {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 26px;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 4px 0;
  font-variant-numeric: lining-nums;
}
.keybox-grid .src { font-size: 10.5px; color: var(--muted); line-height: 1.35; }
.transcript {
  padding: 12px 16px 14px;
  font-size: 14px;
  color: var(--muted-2);
  line-height: 1.5;
  border-top: 1px solid var(--rule);
}
.transcript strong { color: var(--fg); font-weight: 650; }

.article-body {
  display: grid;
  grid-template-columns: minmax(0, 680px) 280px;
  gap: 56px;
  margin-top: 36px;
  align-items: start;
}
.article-body .prose p {
  font-size: 17.5px;
  line-height: 1.62;
  margin: 0 0 1.05em;
}
.article-body .prose > p:first-of-type::first-letter {
  font-family: var(--serif);
  font-weight: 650;
  font-size: 3.4em;
  float: left;
  line-height: 0.8;
  padding: 8px 10px 0 0;
  letter-spacing: -0.03em;
}
.numbers-box {
  border-top: 3.5px solid var(--fg);
  border-bottom: 1px solid var(--fg);
  padding: 14px 0 4px;
  margin: 8px 0 28px;
}
.numbers-box h3 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.numbers-box ul { list-style: none; }
.numbers-box li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-top: 1px solid var(--rule);
  font-size: 14.5px;
}
.numbers-box .nv {
  font-family: var(--serif);
  font-weight: 600;
  font-variant-numeric: lining-nums;
  text-align: right;
  white-space: nowrap;
}
.chart-card {
  border: 1px solid var(--rule-strong);
  padding: 20px 20px 14px;
  margin: 28px 0;
  background: var(--surface);
}
.theme-ivory .chart-card, body:not(.theme-black) .chart-card { background: var(--white); }
.chart-card h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 6px 0 16px;
}
.means {
  margin: 36px 0 28px;
  border-top: 3.5px solid var(--fg);
  padding-top: 16px;
}
.means h2 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.means-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}
.means-grid h3 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--rule);
}
.means-grid p { font-size: 14.5px; line-height: 1.5; color: var(--muted-2); }
.means-grid p strong { color: var(--fg); font-weight: 650; }
.sources-block {
  margin: 8px 0 28px;
  padding-top: 18px;
  border-top: 1px solid var(--rule-strong);
}
.sources-block h2 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.sources-block ol {
  padding-left: 18px;
  font-size: 13.5px;
  color: var(--muted-2);
  line-height: 1.55;
}
.sources-block li { margin: 0 0 6px; }
.article-wide { margin-top: 12px; }
.related { margin: 8px 0 32px; }
.related h2 {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 14px;
}
.related-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}
.sidebar .widget {
  border-top: 3.5px solid var(--fg);
  padding: 12px 0 24px;
}
.sidebar .widget h3 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.sidebar .mini + .mini { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--rule); }
.sidebar .mini h4 {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin: 4px 0;
}
.sidebar .mini p { font-size: 12.5px; color: var(--muted-2); }

/* ========== Data Tracker ========== */
.tracker-hero { padding: 28px 0 8px; }
.tracker-hero h1 {
  font-family: var(--serif);
  font-size: 48px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.tracker-hero .dek { margin-top: 10px; max-width: 40em; font-size: 17px; }
.board {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  margin: 24px 0 36px;
}
.board .cell {
  background: var(--bg);
  padding: 18px 16px 16px;
}
.board .cell.span2 { grid-column: span 2; }
.board .stat-val {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 40px;
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 8px 0 8px;
  font-variant-numeric: lining-nums;
}
.board .note { font-size: 13px; color: var(--muted-2); margin-bottom: 8px; }
.data-table { width: 100%; border-collapse: collapse; margin: 8px 0 32px; }
.data-table th, .data-table td {
  text-align: left;
  padding: 10px 12px 10px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 13.5px;
  vertical-align: top;
}
.data-table th {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 650;
  color: var(--muted);
}
.data-table td:last-child { white-space: nowrap; }
.data-table td.fig {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 16px;
  font-variant-numeric: lining-nums;
  white-space: nowrap;
}
.flag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--fg);
  padding: 1px 6px;
  margin-left: 6px;
  vertical-align: middle;
}

/* ========== Links (mobile-first) ========== */
body.page-links { background: var(--ivory); color: var(--ink); }
.links-page {
  max-width: 390px;
  margin: 0 auto;
  padding: 20px 20px 48px;
  min-height: 100vh;
}
.links-page .nameplate { width: 220px; margin: 8px auto 6px; }
.links-page .tag {
  text-align: center;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 18px;
}
.link-card {
  display: block;
  border: 1px solid var(--ink);
  padding: 0;
  margin: 0 0 12px;
  background: var(--ivory);
  overflow: hidden;
}
.link-card img.cover { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.link-card .pad { padding: 12px 14px 14px; }
.link-card h2 {
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 6px 0 6px;
}
.link-card p { font-size: 13px; color: var(--muted-2); }
.listen-stack { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.listen-stack a {
  border: 1px solid var(--ink);
  text-align: center;
  padding: 9px 10px;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.links-nl {
  background: var(--ink);
  color: var(--ivory);
  padding: 18px 16px 16px;
  margin: 18px 0;
}
.links-nl h3 {
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: -0.02em;
}
.links-nl p { font-size: 13px; opacity: 0.8; margin: 6px 0 12px; }
.links-nl .nl-form { max-width: none; }
.links-nl input[type="email"] {
  border: 1px solid var(--ivory);
  background: transparent;
  color: var(--ivory);
  padding: 11px 12px;
  font-size: 14px;
  flex: 1;
  min-width: 0;
}
.links-nl input::placeholder { color: var(--ivory); opacity: 0.45; }
.links-nl button {
  border: 1px solid var(--ivory);
  background: var(--ivory);
  color: var(--ink);
  padding: 11px 12px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.links-socials { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.links-socials a {
  border-bottom: 1px solid var(--rule);
  padding: 10px 0;
  display: flex;
  justify-content: space-between;
  font-size: 14px;
}

/* ========== Chart of the day page ========== */
.chart-page { padding: 28px 0 64px; }
.chart-page h1 {
  font-family: var(--serif);
  font-size: 44px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.08;
  max-width: 18ch;
}
.chart-stage {
  margin: 24px 0;
  background: var(--white);
  border: 1px solid var(--rule-strong);
  padding: 28px 28px 18px;
  color: var(--ink);
}
.theme-black .chart-stage { background: var(--ivory); color: var(--ink); }

/* ========== Share cards (no browser chrome) ========== */
body.share-card, body.chart-share {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #111111;
  color: #F6F3EC;
}
.og-card {
  width: 1200px;
  height: 630px;
  background: #111111;
  color: #F6F3EC;
  padding: 56px 64px 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.og-card .top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.og-card .kicker { color: #F6F3EC; opacity: 0.7; }
.og-card h1 {
  font-family: var(--serif);
  font-weight: 650;
  font-size: 72px;
  line-height: 1.04;
  letter-spacing: -0.03em;
  max-width: 16ch;
  font-variant-numeric: lining-nums;
}
.og-card .bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  font-size: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 550;
  opacity: 0.8;
}

.ig-card {
  width: 1080px;
  height: 1350px;
  background: #F6F3EC;
  color: #111111;
  padding: 64px 72px 56px;
  display: flex;
  flex-direction: column;
}
.ig-card .top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
}
.ig-card .kicker { color: #4A4A4A; }
.ig-card h1 {
  font-family: var(--serif);
  font-size: 56px;
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.06;
  margin: 8px 0 8px;
  font-variant-numeric: lining-nums;
}
.ig-card .chart { flex: 1; display: flex; align-items: center; }
.ig-card .source {
  font-size: 16px;
  color: #5A554C;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 550;
  border-top: 1px solid #111;
  padding-top: 16px;
}

/* ---------- Play icon helper ---------- */
.play-sm {
  position: absolute;
  left: 12px; bottom: 12px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--ivory);
  color: var(--ink);
  display: grid;
  place-items: center;
}
.play-sm svg { width: 14px; height: 14px; margin-left: 2px; fill: currentColor; }
.thumb { position: relative; }

/* ---------- Mobile ---------- */
@media (max-width: 720px) {
  :root { --page-pad: 18px; --max: 100%; }
  .wrap { width: calc(100% - 36px); }
  .masthead .nameplate { width: min(300px, 88%); }
  .util { font-size: 9.5px; letter-spacing: 0.06em; margin-bottom: 10px; }
  .util .util-mid { display: none; }
  .nav {
    justify-content: center;
    flex-wrap: wrap;
    overflow: visible;
    padding: 10px 0 12px;
    row-gap: 6px;
  }
  .nav a { padding: 0 8px; font-size: 10.5px; letter-spacing: 0.1em; border-left: 0 !important; }
  .ticker-label .mark-square { display: none; }
  .ticker-label { padding: 0 8px; }
  .tick { padding: 8px 12px; }
  .lead-intro h1 { font-size: 32px; }
  .player-stage { grid-template-columns: 1fr !important; }
  .short-preview {
    max-width: none !important;
    display: flex;
    align-items: center;
    gap: 14px;
    justify-self: start;
  }
  .short-preview .v-frame {
    width: 92px;
    flex: 0 0 92px;
    height: auto;
    aspect-ratio: 9 / 16;
  }
  .short-preview .label { margin: 0; text-align: left; }
  .article-wide { margin-top: 8px; }
  .lead-a, .lead-b, .podcast-row, .story-grid,
  .newsletter .nl-inner, .nl-inline,
  .foot-grid, .article-body, .player-stage,
  .means-grid, .related-grid, .issue-grid,
  .keybox-grid, .board, .stat-stack, .portrait-row {
    grid-template-columns: 1fr;
  }
  .lead-copy h1, .article-hed, .article-shell > .wrap > h1 { font-size: 32px; }
  .article-dek { font-size: 17px; }
  .hero-c h1 { font-size: 32px; }
  .hero-c .hero-caption { padding: 48px 18px 20px; }
  .hero-c .video-frame { aspect-ratio: 16 / 11; }
  .section-head h2 { font-size: 22px; }
  .card h3, .rail-story h3 { font-size: 20px; }
  .story-grid { gap: 22px; }
  .newsletter, .nl-inline { padding: 24px 18px; }
  .newsletter h2 { font-size: 26px; }
  .nl-form { flex-direction: column; }
  .short-preview { max-width: 180px; justify-self: start; }
  .keybox-grid .cell { border-right: 0; }
  .keybox-grid .val { font-size: 22px; }
  .board .cell.span2 { grid-column: span 1; }
  .board .stat-val, .stat-cell .stat-val { font-size: 32px; }
  .article-body .prose > p:first-of-type::first-letter { font-size: 2.6em; padding-right: 8px; }
  .hosts-mini img { width: 64px; height: 64px; }
  .tick .t-val { font-size: 15px; }
  .tick { padding: 8px 12px; }
  .ticker-label { padding: 0 10px; }
  .legal { flex-direction: column; }
  .tape-table .col-src { display: none; }
  .tape-table .col-fig { font-size: 16px; }
  .tape-table .col-hed { font-size: 17px; }
  .topbar-c .nav { display: none; }
  .chart-page h1 { font-size: 32px; }
  .chart-stage { padding: 16px; }
  .tracker-hero h1 { font-size: 32px; }
  .mast-b .nameplate { width: 180px; }
  .foot-brand .nameplate { width: 180px; }
}

/* v2.1.3 */
.lead-a.no-art { grid-template-columns: 1fr; }
.podcast-row .episode-art { aspect-ratio: 1 / 1; max-width: 460px; width: 100%; }
.tag-podcast .article-feature img { max-width: 560px; aspect-ratio: 1 / 1; object-fit: contain; margin: 0 auto; display: block; }
.about-social { list-style: none; padding: 0; margin: 12px 0 0; }
.about-social li { margin: 6px 0; }

/* v2.1.5: desktop Real Estate 101 column */
.r101-desk { display: none; }
@media (min-width: 721px) {
  .lead-grid.has-r101 { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; }
  .lead-grid.has-r101 .r101-desk { display: block; border-left: 1px solid var(--rule); padding-left: 32px; }
  .lead-grid.has-r101 .rail-story.r101-dup { display: none; }
}
.r101-hed { font-family: var(--serif); font-weight: 650; font-size: 24px; line-height: 1.15; margin: 6px 0 8px; }
.r101-dek { font-size: 15px; line-height: 1.45; color: var(--muted-2); margin: 0 0 14px; }
.r101-player .kg-video-card { margin: 0; }
.r101-player .kg-video-container { width: 100%; max-width: 100%; margin: 0 auto; position: relative; }
.r101-player video { width: 100%; height: auto; display: block; background: #111; }
.r101-player video[width][height] { aspect-ratio: auto; }

/* v2.1.6: compact desktop Real Estate 101 card */
@media (min-width: 721px) {
  .lead-grid.has-r101 { grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; }
  .lead-grid.has-r101 .r101-desk { border-left: 0; padding: 18px 20px 20px; border: 1px solid var(--rule); border-radius: 6px; background: rgba(0,0,0,0.015); }
  .r101-desk .r101-hed { font-size: 21px; margin: 6px 0 6px; }
  .r101-desk .r101-dek { font-size: 14px; margin: 0 0 14px; }
  .r101-player { display: flex; justify-content: center; }
  .r101-player .kg-video-card { width: clamp(160px, calc((100vh - 490px) * 9 / 16), 225px); margin: 0 auto; }
  .r101-player .kg-video-container { width: 100%; max-width: 100%; border-radius: 6px; overflow: hidden; border: 1px solid var(--rule-strong, #2a2a2a); }
  .r101-player video { width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; }
}
