/* Startup Ledger v3. Presentation only; publication/rights remain Ghost-owned. */
@font-face { font-family: 'Lora'; src: url('../fonts/Lora-Regular.woff2') format('woff2'); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: 'Lora'; src: url('../fonts/Lora-Bold.woff2') format('woff2'); font-style: normal; font-weight: 700; font-display: swap; }
@font-face { font-family: 'Lora'; src: url('../fonts/Lora-Italic.woff2') format('woff2'); font-style: italic; font-weight: 400; font-display: swap; }
@font-face { font-family: 'Instrument Sans'; src: url('../fonts/InstrumentSans-Regular.woff2') format('woff2'); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: 'Instrument Sans'; src: url('../fonts/InstrumentSans-Bold.woff2') format('woff2'); font-style: normal; font-weight: 700; font-display: swap; }
:root {
  --paper: #FBFAF7; --ink: #18232D; --body: #18232D; --muted: #5E6972; --line: #D8DEE1;
  --signal: #A84939; --signal-dark: #87392F; --subtle: #EFF2F1;
  --bg-outer: #FBFAF7; --bg-canvas: #FBFAF7; --bg-dark: #18232D; --bg-subtle: #EFF2F1;
  --text-main: #18232D; --text-body: #18232D; --text-muted: #5E6972; --text-light: #5E6972;
  --accent-red: #A84939; --accent-red-dark: #87392F; --accent-coral: #A84939;
  --accent-green: #365A6D; --accent-magenta: #B44936;
  --border-light: #D8DEE1; --border-hairline: #D8DEE1; --border-strong: #18232D;
  --font-serif: 'Lora', Georgia, serif; --font-sans: 'Instrument Sans', Arial, sans-serif;
  --font-display: var(--font-serif); --font-main: var(--font-sans); --serif: var(--font-serif); --sans: var(--font-sans);
  --shell: 1080px;
}
body { background: var(--paper); color: var(--ink); font: 16px/1.55 var(--sans); }
.container { background: transparent; }
.site-header { background: var(--paper); }
.dw-masthead { padding-top: 24px; }
.dw-header-top { padding-bottom: 20px; }
.dw-logo-link { display: flex; align-items: center; min-height: 44px; width: clamp(240px, 32vw, 390px); max-width: 100%; line-height: 1; }
.dw-logo-link img { width: 100%; height: auto; }
.dw-top-dispatch-box { background: transparent; border: 0; border-left: 1px solid var(--line); }
.dw-dispatch-tag { color: var(--signal); font-size: 12px; }
.dw-dispatch-text { font: 16px/1.4 var(--serif); }
.dw-navbar-wrap { margin-bottom: 28px; border-top: 1px solid var(--ink); }
.dw-must-read-box { background: var(--subtle); color: var(--ink); border: 1px solid var(--line); }
.dw-must-read-num { font-size: 26px; color: var(--ink); }
.dw-must-read-label { font-size: 10px; color: var(--muted); }
.site-navigation a { font-size: 13px; padding: 12px 14px; }
.dw-nav-lower { min-height: 44px; }
.dw-trending-tag, .dw-trending-time, .dw-nav-lower > .dw-search-btn { font-size: 12px; }
.dw-trending-link { font-size: 13px; }
.dw-social-btn { min-width: 44px; min-height: 44px; background: var(--ink); }
.dw-search-btn { color: var(--ink); }
.dw-two-col-section { gap: 28px; }
.sl-section-heading { grid-column: 1 / -1; margin: 0; padding: 0 0 12px; border-bottom: 1px solid var(--line); color: var(--signal); font: 700 13px/1.4 var(--sans); letter-spacing: .1em; }
.dw-hero-wrapper { gap: 20px 24px; align-items: start; background: transparent; min-height: 0; }
.dw-hero-stage { min-width: 0; background: transparent; }
.dw-hero-photo-stage { display: block; min-height: 0; height: auto; background: transparent; color: var(--ink); }
.sl-hero-art { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--paper); }
.dw-hero-photo-stage .sl-hero-art img { position: static; width: 100%; height: 100%; object-fit: contain; transform: none; }
.dw-hero-photo-stage:hover img { transform: none; }
.sl-hero-art::after { content: ''; position: absolute; right: 10px; bottom: 10px; width: 28px; height: 28px; background: url('../brand/sl-mark.svg') center / contain no-repeat; }
.dw-hero-overlay { position: static; padding: 18px 0 0; background: none; }
.dw-hero-cat-badge { position: static; display: inline-block; padding: 0; margin-bottom: 8px; background: none; color: var(--signal); font: 700 12px/1.4 var(--sans); }
.dw-hero-date { color: var(--muted); font-size: 12px; line-height: 1.5; margin-bottom: 4px; }
.dw-hero-byline { display: block; color: var(--muted); font: 400 13px/1.5 var(--sans); margin-bottom: 10px; }
.dw-hero-headline { color: var(--ink); font: 400 clamp(30px, 3.1vw, 38px)/1.16 var(--serif); text-shadow: none; text-wrap: balance; }
.dw-hero-playlist { background: transparent; border-left: 0; padding: 0; }
.dw-hero-playlist-header { background: var(--ink); color: var(--paper); min-height: 44px; font: 700 12px/1.4 var(--sans); padding: 10px; }
.dw-playlist-item { color: var(--ink); border-bottom: 1px solid var(--line); border-left: 3px solid transparent; padding: 17px 14px; font: 400 18px/1.4 var(--serif); }
.dw-playlist-item:hover, .dw-playlist-item.active { color: var(--ink); background: var(--subtle); border-left-color: var(--signal); }
.dw-hero-dots { justify-content: flex-start; margin-top: 8px; background: transparent; }
.dw-hero-dot, .dw-hero-dot.active { background: transparent; position: relative; box-sizing: border-box; width: 44px; height: 44px; min-width: 44px; min-height: 44px; padding: 0; }
.dw-hero-dot::after { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--muted); position: absolute; inset: 0; margin: auto; }
.dw-hero-dot.active::after { background: var(--signal); }
.dw-black-bar, .dw-cat-header-bar { background: transparent; color: var(--ink); border-bottom: 1px solid var(--ink); padding: 12px 0; font: 700 13px/1.5 var(--sans); }
.dw-cat-header-title, .dw-tab-btn { font-size: 13px; }
.dw-tabs-bar { background: transparent; margin-top: 32px; }
.dw-tab-btn { color: var(--ink); }
.dw-tab-btn.active { color: var(--paper); background: var(--ink); }
.dw-card-serif-title, .dw-horiz-title, .dw-spotlight-headline { font: 700 20px/1.3 var(--serif); text-wrap: balance; }
.dw-card-excerpt, .dw-promo-desc { font: 400 15px/1.55 var(--sans); }
.dw-meta-date, .dw-meta-inline, .micro-meta, .dw-promo-tag { font: 400 13px/1.5 var(--sans); color: var(--muted); }
.dw-promo-title { font: 400 25px/1.3 var(--serif); }
.dw-sidebar-promo-box { background: var(--subtle); border: 0; padding: 22px; }
.dw-promo-link { color: var(--signal); font-size: 13px; }
.dw-thumb-16x10, .dw-spotlight-thumb, .dw-video-thumb, .card-image-wrap, .article-card__image { background: var(--paper); }
.dw-thumb-16x10 img, .dw-spotlight-thumb img, .dw-video-thumb img, .card-image-wrap img, .dw-wide-photo-wrap img, .article-card__image img { object-fit: contain; transform: none; }
.dw-thumb-16x10:hover img, .dw-spotlight-thumb:hover img, .dw-video-thumb:hover img, .card-image-wrap:hover img, .dw-wide-photo-wrap:hover img,
.dw-feature-card:hover .dw-thumb-16x10 img, .dw-std-card:hover .dw-thumb-16x10 img,
.dw-spotlight-box:hover .dw-spotlight-thumb img, .dw-video-box:hover .dw-video-thumb img { transform: none; }
.dw-wide-photo-wrap { display: block; aspect-ratio: auto; background: var(--paper); }
.dw-wide-photo-wrap img { position: static; height: auto; width: 100%; }
.dw-wide-photo-overlay { background: none; padding: 16px 0; }
.dw-wide-overlay-title { color: var(--ink); font: 400 24px/1.3 var(--serif); text-shadow: none; }
.dw-wide-overlay-meta { color: var(--muted); font-size: 13px; }
.article { padding-top: 40px; }
.article-header { max-width: 800px; margin-inline: auto; }
.article-header h1 { font: 400 clamp(30px, 4vw, 46px)/1.18 var(--serif); color: var(--ink); }
.article-header .dek { font: 400 20px/1.5 var(--sans); color: var(--muted); }
.article-meta { font: 400 13px/1.6 var(--sans); color: var(--muted); }
.feature-image { margin: 32px auto; max-width: 1040px; }
.sl-feature-art { position: relative; }
/* Reserve an initial square until intrinsic metadata arrives; auto then uses
   the source ratio, so a portrait can grow naturally rather than being boxed. */
.feature-image .sl-feature-art img { display: block; position: static; width: 100%; height: auto; aspect-ratio: auto 1 / 1; max-width: 100%; max-height: none; object-fit: contain; margin: auto; }
.feature-image figcaption { font: 400 13px/1.5 var(--sans); color: var(--muted); margin-top: 12px; }
.article-body { font: 400 19px/1.65 var(--serif); max-width: 700px; color: var(--ink); }
.article-body h2, .article-body h3 { font-family: var(--serif); line-height: 1.3; }
.source-notes, .article-tags, .share-controls { font-family: var(--sans); }
.share-control { min-width: 44px; min-height: 44px; }
.article-card h2 { font: 700 20px/1.35 var(--serif); }
.archive-header h1 { font: 400 40px/1.2 var(--serif); }
.site-footer { margin-top: 48px; border-top: 1px solid var(--line); color: var(--muted); }
.dw-footer-inner, .dw-footer-links, .dw-policy-links { font-size: 13px; line-height: 1.6; }
.dw-mobile-drawer { background: var(--paper); }
.dw-mobile-drawer .dw-logo-link { width: 230px; }
.dw-mobile-toggle, .dw-mobile-close-btn, .dw-search-btn { min-height: 44px; }
@media (max-width: 900px) {
  .dw-hero-wrapper { grid-template-columns: minmax(0, 1fr); }
  .dw-hero-photo-stage { min-height: 0; }
  .dw-hero-headline { font-size: 32px; }
  .dw-playlist-item { padding: 16px; }
  .dw-hero-playlist { margin-top: 8px; }
}
@media (max-width: 560px) {
  .container, .shell { padding-inline: 18px; }
  .dw-masthead { padding-top: 16px; }
  .dw-header-top { grid-template-columns: minmax(0, 1fr) auto; gap: 14px; padding-bottom: 16px; }
  .dw-logo-link { width: min(62vw, 260px); }
  .dw-mobile-drawer .dw-logo-link { width: min(64vw, 230px); }
  .dw-mobile-toggle { padding-inline: 0; min-width: 58px; }
  .dw-mobile-trending-bar { font-size: 12px; }
  .dw-hero-headline { font-size: 30px; }
  .dw-hero-overlay { padding: 16px 0 0; }
  .dw-hero-photo-stage { min-height: 0; }
  .article { padding-top: 24px; }
  .article-body { font-size: 18px; }
  .article-header .dek { font-size: 18px; }
}

/* Startup Ledger visual system: distinct story roles and stable media boxes. */
.sl-home-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px; align-items: start; }
.sl-home-lead { grid-column: span 8; min-width: 0; }
.sl-home-support { grid-column: span 4; min-width: 0; }
.sl-home-support { display: grid; gap: 24px; padding-top: 44px; }
.sl-home-about { margin-top: 28px; padding: 0; }
.sl-support-card { border-top: 1px solid var(--line); padding-top: 16px; }
.sl-support-media, .sl-latest-media { display: block; color: var(--ink); text-decoration: none; }
.sl-support-title { margin: 8px 0 6px; font: 700 22px/1.26 var(--serif); text-wrap: balance; }
.sl-card-kicker { display: inline-block; margin-top: 12px; color: var(--signal); font: 700 11px/1.3 var(--sans); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; }
.sl-card-kicker:hover, .sl-card-kicker:focus-visible { color: var(--signal-dark); text-decoration: underline; }
.sl-latest-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
.sl-latest-row { display: grid; grid-template-columns: minmax(150px, 220px) minmax(0, 1fr); gap: 16px; align-items: start; border-bottom: 1px solid var(--line); padding: 18px 0; }
.sl-latest-row:first-child, .sl-latest-row:nth-child(2) { border-top: 1px solid var(--line); }
.sl-latest-title { margin: 4px 0 5px; font: 700 18px/1.28 var(--sans); text-wrap: balance; }
.sl-latest-title a, .sl-support-title a { color: var(--ink); text-decoration: none; }
.sl-latest-title a:hover, .sl-latest-title a:focus-visible, .sl-support-title a:hover, .sl-support-title a:focus-visible { color: var(--signal); }
.sl-latest-dek { margin: 8px 0 0; color: var(--muted); font: 400 14px/1.45 var(--sans); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dw-media-frame { position: relative; display: block; width: 100%; overflow: hidden; background: var(--subtle); }
.dw-media-frame img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.dw-media-frame--hero { aspect-ratio: 16 / 9; }
.dw-media-frame--support { aspect-ratio: 4 / 3; }
.dw-media-frame--card { aspect-ratio: 16 / 10; }
.dw-media-frame--latest { aspect-ratio: 16 / 10; }
.sl-hero-art { aspect-ratio: 16 / 9; }
.sl-hero-art img { object-fit: cover !important; }
.dw-thumb-16x10 img { object-fit: cover !important; }
.sl-media-pending { display: grid; place-items: center; padding: 14px; aspect-ratio: 16 / 10; color: var(--muted); font: 700 11px/1.3 var(--sans); letter-spacing: .05em; text-align: center; text-transform: uppercase; }
.sl-support-media.sl-media-pending { aspect-ratio: 4 / 3; }
.sl-latest-media.sl-media-pending { aspect-ratio: 16 / 10; }
.sl-support-media:hover img, .sl-latest-media:hover img, .dw-thumb-16x10:hover img { opacity: .92; }
.sl-support-media img, .sl-latest-media img { transform: none !important; }

@media (min-width: 901px) and (max-width: 1100px) {
  .site-navigation ul { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: thin; }
  .site-navigation li { flex: 0 0 auto; }
  .site-navigation a { padding-inline: 10px; font-size: 12px; }
  .sl-home-grid { gap: 24px; }
  .sl-home-support { gap: 18px; }
}

@media (max-width: 900px) {
  .sl-home-grid { grid-template-columns: 1fr; gap: 22px; }
  .sl-home-lead, .sl-home-support { grid-column: auto; }
  .sl-home-support { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-top: 0; gap: 18px; }
  .sl-home-about { margin-top: 26px; }
}
@media (max-width: 720px) {
  .sl-latest-list { grid-template-columns: 1fr; }
  .sl-latest-row, .sl-latest-row:first-child, .sl-latest-row:nth-child(2) { grid-template-columns: 112px minmax(0, 1fr); gap: 14px; border-top: 0; padding: 14px 0; }
  .sl-latest-row:first-child { border-top: 1px solid var(--line); }
  .sl-latest-title { font-size: 17px; line-height: 1.3; }
  .sl-latest-dek { font-size: 13px; }
  .dw-hero-playlist { display: none; }
}
@media (max-width: 560px) {
  .sl-home-grid { gap: 18px; }
  .sl-home-support { grid-template-columns: 1fr; gap: 20px; }
  .sl-support-title { font-size: 20px; }
  .sl-latest-row, .sl-latest-row:first-child, .sl-latest-row:nth-child(2) { grid-template-columns: 96px minmax(0, 1fr); gap: 12px; }
  .sl-latest-title { font-size: 16px; }
  .sl-latest-dek { display: none; }
  .sl-card-kicker { font-size: 10px; margin-top: 0; }
  .dw-meta-date { font-size: 11px; }
}
