/* ============================================================
   KAROSTARTUP — Design System
   FT meets Inc42: editorial, founder-first, data-driven
   ============================================================ */

:root {
  /* Colors */
  --bg: #ffffff;
  --ink: #0a0a0a;
  --ink-2: #1a1a1a;
  --muted: #5a5a5a;
  --muted-2: #8a8a8a;
  --hairline: #e6e6e6;
  --hairline-2: #f0f0f0;
  --paper: #fafaf8;
  --brand: #d10a11;
  --brand-dark: #a8080d;
  --brand-tint: #fdf2f2;
  --up: #0a7a3b;
  --down: #c1121f;
  --black: #0a0a0a;
  --yellow: #d4a017;
  --gray-pill: #6b6b6b;

  /* Layout */
  --container-max: 1380px;
  --gap: 32px;
  --gutter: 24px;
  --shadow-fine: 0 1px 2px rgba(0, 0, 0, 0.04);

  /* Fonts — single Inter family across display + UI, matching CNN-Sans look */
  --font-display: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-ui: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;            /* belt-and-braces: never let a child push the page wider than the viewport */
}

body { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }

a { color: inherit; text-decoration: none; }
a:hover { color: var(--brand); }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select, button { font-family: inherit; font-size: 1rem; color: inherit; }

::selection { background: var(--brand); color: #fff; }

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  width: 100%;
}

.hairline { border: 0; border-top: 1px solid var(--hairline); margin: 0; }
.hairline-thick { border: 0; border-top: 2px solid var(--ink); margin: 0; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
.kicker {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
  display: inline-block;
}
.eyebrow {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.h-display {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
  font-variation-settings: "opsz" 96;
}
.h-section {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.5rem, 2.4vw, 2.2rem);
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin: 0 0 1rem 0;
  font-variation-settings: "opsz" 48;
}
.mono { font-family: var(--font-mono); }
.muted { color: var(--muted); }
.dek { font-family: var(--font-ui); font-size: 1.05rem; color: var(--muted); line-height: 1.55; }

/* ============================================================
   UTILITY BAR (top)
   ============================================================ */
.utility-bar {
  background: var(--black);
  color: #fff;
  font-size: 0.78rem;
  border-bottom: 1px solid #1a1a1a;
}
.utility-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 32px;
  gap: 16px;
}
.utility-bar-left, .utility-bar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.utility-bar .date {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  color: #cfcfcf;
}
.utility-bar .quick-chips { display: flex; gap: 12px; }
.utility-bar .quick-chip {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: #cfcfcf;
}
.utility-bar .quick-chip .val { color: #fff; }
.utility-bar .quick-chip .up { color: #4ade80; }
.utility-bar .quick-chip .down { color: #fb7185; }
.utility-bar a:hover { color: #fff; }
.utility-bar a { color: #cfcfcf; }

/* ============================================================
   MARKET TICKER (top bar)
   ============================================================ */
.ticker-bar {
  background: #fff;
  border-bottom: 1px solid var(--hairline);
  overflow: hidden;
  height: 36px;
  position: relative;
}
.ticker-track {
  display: flex;
  gap: 32px;
  white-space: nowrap;
  align-items: center;
  height: 100%;
  width: max-content;
  animation: ticker-scroll 90s linear infinite;
  padding-left: 24px;
  will-change: transform;
}
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
}
.ticker-item .sym { font-weight: 600; color: var(--ink); }
.ticker-item .val { color: var(--ink); }
.ticker-item .chg.up { color: var(--up); }
.ticker-item .chg.down { color: var(--down); }
.ticker-item .arrow { display: inline-block; font-size: 0.7rem; }
@keyframes ticker-scroll {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

/* ============================================================
   BREAKING RIBBON
   The BREAKING pill is static on the left. Headlines slide R → L
   inside their own clipping mask so they can't visually overlap
   the pill. Loop is seamless: headlines are rendered twice and
   the track scrolls exactly one copy width per cycle.
   ============================================================ */
.breaking-ribbon {
  background: var(--brand);
  color: #fff;
  height: 40px;
  overflow: hidden;
  position: relative;
}
.breaking-ribbon .container {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 16px;
}
.breaking-pill {
  background: #fff;
  color: var(--brand);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  padding: 4px 10px;
  text-transform: uppercase;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}
.breaking-mask {
  flex: 1;
  height: 100%;
  overflow: hidden;
  position: relative;
  /* Soft fade at the LEFT edge so headlines visually "disappear into"
     the area behind the pill instead of cutting off hard. */
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 28px, #000 calc(100% - 28px), transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, #000 28px, #000 calc(100% - 28px), transparent 100%);
}
.breaking-track {
  display: flex;
  align-items: center;
  gap: 32px;
  white-space: nowrap;
  height: 100%;
  width: max-content;
  animation: ticker-scroll 60s linear infinite;
  will-change: transform;
}
.breaking-track a {
  color: #fff;
  font-size: 0.92rem;
  font-weight: 500;
}
.breaking-track a:hover { text-decoration: underline; }
.breaking-track .sep {
  display: inline-block;
  opacity: 0.5;
  font-weight: 700;
}
/* Pause on hover so users can click a headline mid-scroll. */
.ticker-bar:hover .ticker-track,
.breaking-mask:hover .breaking-track { animation-play-state: paused; }

/* ============================================================
   MASTHEAD
   ============================================================ */
.masthead {
  background: #fff;
  border-bottom: 1px solid var(--hairline);
  padding: 18px 0;
}
.masthead .container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.masthead-left, .masthead-right {
  display: flex;
  align-items: center;
  gap: 22px;
}
.masthead-right { justify-content: flex-end; }
.masthead-left a, .masthead-right a {
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--ink);
}
.masthead .logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  letter-spacing: -0.025em;
  color: var(--ink);
  font-variation-settings: "opsz" 96;
  display: inline-flex;
  align-items: baseline;
}
.masthead .logo .dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--brand);
  border-radius: 50%;
  margin-left: 4px;
  transform: translateY(-2px);
}
.masthead .plus-link {
  font-weight: 700;
  color: var(--brand);
  border: 1px solid var(--brand);
  padding: 6px 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
}
.masthead .plus-link:hover { background: var(--brand); color: #fff; }
.masthead .search-btn {
  background: none;
  border: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 0.86rem;
  padding: 6px 10px;
  border-bottom: 1px solid transparent;
  font-family: inherit;
  cursor: pointer;
}
.masthead .search-btn svg { display: block; }
.masthead .search-btn:hover { color: var(--brand); }
.masthead .search-btn:disabled { opacity: 0.4; cursor: not-allowed; }

/* Mobile-only inline search bar (NDTV-style) — hidden on desktop, shown below
   the logo row on small screens (see the 768px block). */
.mobile-search { display: none; }
.mobile-search-ico {
  display: inline-flex;
  color: var(--muted);
  flex: 0 0 auto;
}
.mobile-search-ico svg { width: 18px; height: 18px; }
.mobile-search input {
  flex: 1 1 auto;
  border: 0;
  background: none;
  font: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  padding: 0;
  outline: none;
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  background: #fff;
  border-bottom: 1px solid var(--ink);
  border-top: 1px solid var(--hairline);
  z-index: 50;
}
.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 46px;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}
.nav .container::-webkit-scrollbar { display: none; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 100%;
}
.nav-links a {
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--ink);
  height: 100%;
  display: inline-flex;
  align-items: center;
  border-bottom: 2px solid transparent;
  padding-top: 2px;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--brand); }
.nav-links a.is-active {
  color: var(--brand);
  border-bottom-color: var(--brand);
}
.nav-promote {
  color: var(--brand) !important;
  font-weight: 700 !important;
}

/* ============================================================
   "MORE ▾" overflow dropdown in the desktop nav.
   When the categories table has more rows than the nav row can
   comfortably fit (>7), the extras live inside this menu.
   ============================================================ */
.k-nav-more {
  position: relative;
  height: 100%;
  display: inline-flex;
  align-items: center;
}
.k-nav-more-btn {
  background: none;
  border: 0;
  padding: 0;
  height: 100%;
  font-family: inherit;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-bottom: 2px solid transparent;
  padding-top: 2px;
}
.k-nav-more-btn:hover { color: var(--brand); }
.k-nav-more.is-active .k-nav-more-btn {
  color: var(--brand);
  border-bottom-color: var(--brand);
}
.k-nav-more-caret {
  font-size: 0.78rem;
  line-height: 1;
  transform: translateY(1px);
  transition: transform 0.15s ease;
}
.k-nav-more-btn[aria-expanded="true"] .k-nav-more-caret { transform: translateY(1px) rotate(180deg); }

.k-nav-more-panel {
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 220px;
  background: #fff;
  border: 1px solid var(--ink);
  display: none;
  flex-direction: column;
  z-index: 60;
  box-shadow: 0 6px 22px -6px rgba(0, 0, 0, 0.18);
  margin-top: 0;
  border-top: 0;
}
.k-nav-more-panel.is-open { display: flex; }
.k-nav-more-panel a {
  display: block;
  padding: 11px 16px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--hairline);
  border-left: 3px solid transparent;
}
.k-nav-more-panel a:hover {
  background: var(--paper);
  color: var(--brand);
  border-left-color: var(--brand);
}
.k-nav-more-panel a.is-active {
  color: var(--brand);
  border-left-color: var(--brand);
  background: var(--paper);
}
.k-nav-more-panel a:last-child { border-bottom: 0; }
.nav-mobile-btn {
  display: none;
  background: none;
  border: 0;
  padding: 0;
  width: 44px;
  height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
}
.nav-mobile-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-mobile-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-mobile-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-mobile-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ============================================================
   MOBILE DRAWER
   Slide-in panel from the left, full-height. Triggered by the
   hamburger on mobile. Hidden on desktop entirely.
   ============================================================ */
.k-drawer-scrim {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.5);
  z-index: 9500;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  display: none;
}
.k-drawer-scrim.is-open { opacity: 1; pointer-events: auto; }
.k-drawer {
  position: fixed;
  top: 0; left: 0;
  width: min(82vw, 320px);
  height: 100%;
  background: #fff;
  z-index: 9600;
  transform: translateX(-100%);
  transition: transform 0.28s cubic-bezier(.2,.8,.2,1);
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 32px rgba(0, 0, 0, 0.18);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.k-drawer.is-open { transform: translateX(0); }
.k-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid var(--hairline);
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 1;
}
.k-drawer-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--ink);
}
.k-drawer-logo .dot {
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--brand);
  border-radius: 50%;
  margin-left: 3px;
  transform: translateY(-2px);
}
.k-drawer-close {
  width: 44px; height: 44px;
  background: none;
  border: 0;
  font-size: 1.8rem;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
  padding: 0;
}
.k-drawer-close:hover { color: var(--ink); }
.k-drawer-nav {
  display: flex;
  flex-direction: column;
  padding: 8px 0;
  border-bottom: 1px solid var(--hairline);
}
.k-drawer-section {
  padding: 16px 0 8px;
  border-bottom: 1px solid var(--hairline);
}
.k-drawer-section:last-child { border-bottom: 0; }
.k-drawer-section h4 {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0 18px;
  margin: 0 0 8px 0;
}
.k-drawer-promote { padding: 16px 18px; }
.k-drawer-link {
  display: block;
  padding: 12px 18px;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--ink);
  border-left: 3px solid transparent;
  transition: background 0.1s ease, color 0.1s ease;
}
.k-drawer-link.sub {
  font-size: 0.94rem;
  font-weight: 500;
  padding: 10px 18px;
}
.k-drawer-link:hover, .k-drawer-link:focus-visible {
  background: var(--paper);
  color: var(--brand);
}
.k-drawer-link.is-active {
  color: var(--brand);
  border-left-color: var(--brand);
}

/* Search input inside the drawer — sits at the very top under the head */
.k-drawer-search {
  position: relative;
  display: flex;
  align-items: center;
  margin: 12px 14px 4px;
  border: 1px solid var(--ink);
  background: #fff;
}
.k-drawer-search-icon {
  position: absolute;
  left: 12px;
  color: var(--muted);
  display: inline-flex;
  pointer-events: none;
}
.k-drawer-search input {
  width: 100%;
  padding: 12px 14px 12px 38px;
  border: 0;
  outline: 0;
  font-size: 0.95rem;
  background: transparent;
  color: var(--ink);
  font-family: inherit;
}
.k-drawer-search input::placeholder { color: var(--muted); }

/* "Sign in" CTA — full-width red button, matches CNN drawer */
.k-drawer-cta {
  display: block;
  margin: 8px 14px;
  padding: 11px 14px;
  background: var(--brand);
  color: #fff;
  text-align: center;
  font-weight: 700;
  font-size: 0.96rem;
  letter-spacing: 0.01em;
  border-radius: 2px;
  text-decoration: none;
  transition: background 0.12s ease;
}
.k-drawer-cta:hover { background: #b00b11; color: #fff; }

/* Follow Karostartup — centered title + centered social icon row */
.k-drawer-follow { text-align: center; padding-top: 18px; padding-bottom: 22px; }
.k-drawer-follow h4 {
  padding: 0;
  text-align: center;
  margin-bottom: 12px;
}
.k-drawer-socials {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.k-drawer-socials a {
  width: 38px;
  height: 38px;
  border: 1px solid var(--hairline);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  transition: background 0.12s ease, border-color 0.12s ease, color 0.12s ease;
}
.k-drawer-socials a:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.15s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #222; color: #fff; }
.btn-red { background: var(--brand); color: #fff; }
.btn-red:hover { background: var(--brand-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-danger { background: transparent; color: var(--brand); border-color: var(--brand); }
.btn-danger:hover { background: var(--brand); color: #fff; }
.btn-sm { padding: 7px 12px; font-size: 0.78rem; }
.btn-lg { padding: 14px 28px; font-size: 1rem; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* ============================================================
   STORY CARDS
   ============================================================ */
/* ============================================================
   MEDIA PLAY BADGE — overlay on covers/thumbs for podcast, video,
   interview articles. Pure CSS, no SVG required.
   ============================================================ */
.cover-media, .thumb-media {
  position: relative;
  display: block;
  line-height: 0;
}
.media-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(209, 10, 17, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
  transition: background 0.15s ease;
}
.media-play::before {
  content: "";
  width: 0;
  height: 0;
  border-left: 16px solid #fff;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  margin-left: 4px;
}
.media-play.media-play-sm {
  width: 34px;
  height: 34px;
}
.media-play.media-play-sm::before {
  border-left-width: 11px;
  border-top-width: 7px;
  border-bottom-width: 7px;
  margin-left: 3px;
}
.cover-wrap-media .media-play {
  /* used inside .longread-card .cover-wrap which already has overflow:hidden */
  z-index: 1;
}
a:hover .media-play { background: var(--brand); }

.story-card {
  display: block;
  color: inherit;
}
.story-card .cover {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--paper);
  margin-bottom: 14px;
  transition: opacity 0.2s ease;
}
.story-card:hover .cover { opacity: 0.92; }
.story-card .title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 2.2vw, 2.1rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 8px 0 10px 0;
  font-variation-settings: "opsz" 48;
  color: var(--ink);
}
.story-card:hover .title { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.story-card .summary {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
  margin-bottom: 10px;
}
.story-card .meta {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 0.78rem;
  color: var(--muted);
}
.story-card .meta .author { color: var(--ink); font-weight: 600; }
.story-card .meta .dot { width: 3px; height: 3px; background: var(--muted); border-radius: 50%; display: inline-block; }
.story-card.small .title { font-size: 1.05rem; }
.story-card.small .cover { aspect-ratio: 4 / 3; margin-bottom: 10px; }

.side-card {
  display: grid;
  grid-template-columns: 1fr 110px;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid var(--hairline);
}
.side-card:first-child { border-top: 0; padding-top: 0; }
.side-card .title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 6px 0;
  font-variation-settings: "opsz" 24;
}
.side-card:hover .title { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.side-card .meta { font-size: 0.72rem; color: var(--muted); }
.side-card .thumb {
  width: 110px;
  height: 80px;
  object-fit: cover;
  background: var(--paper);
}

/* ============================================================
   HERO LAYOUT
   ============================================================ */
.hero-section { padding: 32px 0; }
.hero {
  display: grid;
  grid-template-columns: 3fr 6fr 3fr;
  gap: var(--gap);
  padding-bottom: 32px;
  align-items: stretch;
}
.hero-side-left {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.hero-side-head {
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 16px;
  padding-bottom: 0;
  border-bottom: 0;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
}
.hero-side-head::before,
.hero-side-head::after {
  content: "";
  flex: 1;
  height: 4px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.hero-side-left .side-card {
  padding: 14px 0;
  border-top: 1px solid var(--hairline);
}
.hero-side-left .side-card:first-of-type {
  padding-top: 0;
  border-top: 0;
}
.hero-lead .title {
  font-size: clamp(2rem, 4.4vw, 3.6rem);
  font-variation-settings: "opsz" 144;
}
.hero-lead .summary { font-size: 1.1rem; }
.hero-side { display: flex; flex-direction: column; }
.hero-side .side-card:first-child { border-top: 0; }

/* ============================================================
   HERO V2 — newsroom-style lead + Top Stories sidebar
   ============================================================ */
.hero-middle {
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-width: 0;
}
.hero-lead-v2 {
  display: flex;
  flex-direction: column;
}

/* Latest Updates — small horizontal strip under the lead.
   CNN-style 4-up of thumbnail + bold kicker prefix + title. */
.hero-updates {
  border-top: 1px solid var(--hairline);
  padding-top: 18px;
  min-width: 0;
}
.hero-updates-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.hero-updates-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
}

.hero-updates-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: #c8c8cc transparent;
  padding-bottom: 4px;
  cursor: grab;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  user-select: none;
}
.hero-updates-strip.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.hero-updates-strip.is-dragging .hero-update-card { pointer-events: none; }
.hero-updates-strip::-webkit-scrollbar { height: 6px; }
.hero-updates-strip::-webkit-scrollbar-thumb { background: #c8c8cc; border-radius: 3px; }
.hero-updates-strip::-webkit-scrollbar-track { background: transparent; }
.hero-update-card { scroll-snap-align: start; }

.hero-update-card {
  display: block;
  color: var(--ink);
  text-decoration: none;
  min-width: 0;
}
.hero-update-thumb {
  aspect-ratio: 16 / 9;
  background: #eaeaea;
  overflow: hidden;
  margin-bottom: 8px;
}
.hero-update-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.18s ease;
}
.hero-update-card:hover .hero-update-thumb img { opacity: 0.88; }
.hero-update-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.92rem;
  line-height: 1.32;
  margin: 0;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hero-update-card:hover .hero-update-title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.hero-update-kicker {
  font-weight: 800;
  color: var(--ink);
}

@media (max-width: 768px) {
  .hero-updates-strip {
    grid-auto-columns: minmax(64%, 1fr);
  }
  .hero-updates { padding-top: 14px; }
}
.hero-lead-v2 > a {
  color: inherit;
  display: block;
}
.hero-lead-img {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  margin-bottom: 18px;
  /* Premium dark → brand-red gradient placeholder. Visible when the lead
     article has no cover or the URL fails to load; a loaded image covers it. */
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0) 55%),
    linear-gradient(135deg, #0a0a0a 0%, #1a0608 45%, #4a070b 100%);
}
.hero-lead-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.25s ease;
}
.hero-lead-v2 > a:hover .hero-lead-img img {
  opacity: 0.94;
}
.hero-lead-kicker {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--brand);
  color: #fff;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
  z-index: 1;
}
.hero-lead-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  line-height: 1.04;
  letter-spacing: -0.025em;
  margin: 4px 0 12px;
  font-variation-settings: "opsz" 144;
  color: var(--ink);
}
.hero-lead-v2 > a:hover .hero-lead-title { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.hero-lead-dek {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.02rem, 1.4vw, 1.22rem);
  line-height: 1.45;
  color: var(--muted);
  margin: 0 0 16px;
}
.hero-lead-meta {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 0.84rem;
  color: var(--muted);
  flex-wrap: wrap;
}
.hero-lead-meta strong {
  color: var(--ink);
  font-weight: 700;
}
.hero-lead-meta .meta-dot {
  width: 3px; height: 3px;
  background: var(--muted);
  border-radius: 50%;
  display: inline-block;
}
.hero-lead-meta time { color: var(--muted); font-family: var(--font-mono); font-size: 0.78rem; }

/* Top Stories sidebar */
.hero-top-stories {
  background: var(--paper);
  padding: 22px;
  display: flex;
  flex-direction: column;
}

/* ============================================================
   ROTATING CTA BLOCK — light grey card, faded-red filled button.
   Two cards (Promote / Partner). 6-second cycle, pause on hover.
   ============================================================ */
/* Right-column wrapper — stacks the standalone promo rotator above
   the separate Top Stories aside. They're now two distinct blocks
   instead of the rotator being nested inside Top Stories. */
.hero-side-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.hero-promo-rotator {
  position: relative;
  margin: 0;
  overflow: hidden;
  min-height: 168px;
  background: #ececef;
  border: 1px solid var(--hairline);
}
.hero-promo-item {
  position: absolute;
  inset: 0;
  padding: 20px 22px 18px;       /* tightened from 26/22 */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  color: inherit;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.55s ease, transform 0.55s cubic-bezier(.2, .8, .2, 1);
  pointer-events: none;
  z-index: 1;
  background: #ececef;
}
.hero-promo-item.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.hero-promo-head { display: flex; flex-direction: column; gap: 8px; }
.hero-promo-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.3rem, 1.7vw, 1.55rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0;
  font-variation-settings: "opsz" 36;
  white-space: nowrap;          /* keep titles on a single line */
}
.hero-promo-desc {
  font-family: var(--font-ui);
  font-size: 0.84rem;
  line-height: 1.45;
  color: #5a5a5a;
  margin: 0;
}
.hero-promo-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #e08087;                 /* faded red */
  color: #fff;
  padding: 10px 18px;
  font-family: var(--font-ui);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  align-self: flex-start;
  transition: background 0.18s ease, transform 0.18s ease;
  margin-top: 4px;
}
.hero-promo-cta::after {
  content: "→";
  font-size: 0.95rem;
  line-height: 1;
  transition: transform 0.18s cubic-bezier(.2, .8, .2, 1);
}
.hero-promo-item:hover .hero-promo-cta {
  background: var(--brand);            /* full brand red on hover */
}
.hero-promo-item:hover .hero-promo-cta::after { transform: translateX(3px); }

@media (max-width: 768px) {
  .hero-promo-rotator { margin: 0; min-height: 162px; }
  .hero-promo-item { padding: 18px 18px 16px; }
  .hero-promo-title { font-size: 1.25rem; }
  .hero-promo-desc { font-size: 0.8rem; }
}
.hero-top-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0;
  border-bottom: 0;
  margin-bottom: 16px;
  gap: 12px;
}
.hero-top-header h3 {
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex: 1;
}
.hero-top-header h3::before,
.hero-top-header h3::after {
  content: "";
  flex: 1;
  height: 4px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--brand);
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
  box-shadow: 0 0 0 0 rgba(209, 10, 17, 0.5);
  animation: live-pulse 1.8s ease-in-out infinite;
}
@keyframes live-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(209, 10, 17, 0.55); }
  70%  { box-shadow: 0 0 0 8px rgba(209, 10, 17, 0); }
  100% { box-shadow: 0 0 0 0 rgba(209, 10, 17, 0); }
}
.hero-top-more {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
}
.hero-top-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
}
.hero-top-list li {
  padding: 13px 0;
  border-bottom: 1px solid var(--hairline);
}
.hero-top-list li:first-child { padding-top: 4px; }
.hero-top-list li:last-child { padding-bottom: 0; border-bottom: 0; }
.hero-top-list a {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 12px;
  color: inherit;
  align-items: start;
}
.ts-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--brand);
  line-height: 1;
  font-variation-settings: "opsz" 36;
}
.ts-content { min-width: 0; }
.ts-kicker {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 3px;
}
.ts-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.96rem;
  line-height: 1.22;
  letter-spacing: -0.005em;
  margin: 0 0 5px;
  color: var(--ink);
}
.hero-top-list a:hover .ts-title { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.ts-time {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--muted);
}

/* Section header with LIVE indicator (used by Latest News strip) */
.section-header-live {
  align-items: center;
}
.section-header-left {
  display: flex;
  align-items: center;
  gap: 14px;
}
.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-ui);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
  padding: 4px 10px;
  background: var(--brand-tint);
  border: 1px solid var(--brand);
}

/* Latest News grid below the hero */
.latest-news-section { padding: 36px 0 48px; }
.latest-news-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
}

/* ============================================================
   TOP STRIP
   ============================================================ */
.top-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  padding: 32px 0;
  border-bottom: 1px solid var(--hairline);
}
.top-strip .strip-item {
  padding: 0 22px;
  border-left: 1px solid var(--hairline);
}
.top-strip .strip-item:first-child { padding-left: 0; border-left: 0; }
.top-strip .strip-item:last-child { padding-right: 0; }
.top-strip .strip-item .title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  letter-spacing: -0.005em;
  margin: 8px 0;
  color: var(--ink);
}
.top-strip .strip-item:hover .title { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.top-strip .strip-item .meta { font-size: 0.72rem; color: var(--muted); }

/* ============================================================
   SECTION HEADER
   ============================================================ */
.section {
  padding: 48px 0;
}
.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 28px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--ink);
}
.section-header .h-section { margin-bottom: 0; }
.section-header .more-link {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
}
.section-header .more-link:hover { color: var(--brand); }

/* ============================================================
   DEALS TABLE (funding rounds)
   ============================================================ */
.deals-grid {
  display: grid;
  grid-template-columns: 8fr 4fr;
  gap: var(--gap);
  min-width: 0;
}
.deals-grid > * { min-width: 0; }
.deals-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.deals-table {
  width: 100%;
  min-width: 560px;     /* keep readable; scrolls inside .deals-table-wrap on narrow screens */
  border-collapse: collapse;
  font-size: 0.92rem;
}
.deals-table th {
  text-align: left;
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 12px 8px;
  border-bottom: 1px solid var(--ink);
}
.deals-table td {
  padding: 14px 8px;
  border-bottom: 1px solid var(--hairline);
  vertical-align: middle;
}
.deals-table tr:hover { background: var(--paper); }
.deals-table .company-cell {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}
.deals-table .company-logo {
  width: 32px; height: 32px;
  background: var(--paper);
  border: 1px solid var(--hairline);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ink);
  object-fit: cover;
}
.deals-table .amount {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--ink);
}
.deals-table .date {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--muted);
}
.round-pill {
  display: inline-block;
  padding: 3px 10px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--paper);
  border: 1px solid var(--hairline);
  color: var(--ink);
}
.round-pill.seed { color: #0a7a3b; border-color: #0a7a3b; background: #f0faf4; }
.round-pill.series-a { color: #0b5394; border-color: #0b5394; background: #eff5fa; }
.round-pill.series-b { color: #8a3ffc; border-color: #8a3ffc; background: #f5efff; }
.round-pill.series-c, .round-pill.series-d, .round-pill.series-d-plus { color: var(--brand); border-color: var(--brand); background: var(--brand-tint); }

/* ============================================================
   CHART CARD
   ============================================================ */
.chart-card {
  border: 1px solid var(--hairline);
  padding: 22px;
  background: #fff;
}
/* Multi-symbol overview card */
.overview-rows { display: flex; flex-direction: column; gap: 4px; margin-top: 4px; }
.overview-row {
  display: grid;
  grid-template-columns: 1fr 1.4fr auto;
  gap: 16px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--hairline);
}
.overview-row:last-child { border-bottom: 0; }
.overview-label .sym { font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; color: var(--ink); }
.overview-label .sub { font-size: 0.82rem; color: var(--muted); margin-top: 2px; }
.overview-spark { display: block; width: 100%; height: 36px; }
.overview-chg { font-size: 0.85rem; font-weight: 600; min-width: 64px; text-align: right; }
.overview-chg.up { color: var(--up); }
.overview-chg.down { color: var(--down); }
.chart-card-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 18px;
}
.chart-card-header .title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
}
.chart-card-header .big-num {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 1.4rem;
}
.chart-card-header .chg.up { color: var(--up); font-family: var(--font-mono); font-size: 0.82rem; }
.chart-card-header .chg.down { color: var(--down); font-family: var(--font-mono); font-size: 0.82rem; }
.chart-card svg { display: block; width: 100%; height: auto; }
.chart-card-footer {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--hairline);
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--muted);
}

/* ============================================================
   SECTOR PULSE
   ============================================================ */
.sector-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
}
.sector-card {
  padding: 22px;
  border: 1px solid var(--hairline);
  background: #fff;
  display: flex;
  flex-direction: column;
}
.sector-card:hover { border-color: var(--ink); }
.sector-card .sector-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.sector-card .sector-meta {
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--hairline);
}
.sector-card .sector-stories { display: flex; flex-direction: column; gap: 12px; flex: 1; }
.sector-card .sector-stories a {
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--ink);
  padding-left: 14px;
  position: relative;
}
.sector-card .sector-stories a::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--brand);
  font-weight: 700;
}
.sector-card .sector-stories a:hover { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.sector-brands-link {
  display: block;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--hairline);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  transition: color 0.15s ease;
}
.sector-brands-link:hover { color: var(--brand); }

/* ============================================================
   FOUNDER SPOTLIGHT
   ============================================================ */
.founder-spotlight {
  background: var(--black);
  color: #fff;
  padding: 80px 0;
  margin: 0;
}
.founder-spotlight .container {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 60px;
  align-items: center;
}
.founder-photo {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  filter: grayscale(100%);
  background: #1a1a1a;
}
.founder-content { position: relative; padding-left: 70px; }
.founder-content::before {
  content: "“";
  position: absolute;
  left: 0;
  top: -40px;
  font-family: var(--font-display);
  font-size: 7rem;
  color: var(--brand);
  line-height: 1;
  font-weight: 600;
}
.founder-quote {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 0 0 28px 0;
  color: #fff;
}
.founder-attrib {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.founder-attrib .name {
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
}
.founder-attrib .role {
  font-size: 0.88rem;
  color: #9a9a9a;
}
.founder-attrib .cta {
  margin-top: 16px;
  display: inline-block;
  color: var(--brand);
  font-weight: 600;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  width: max-content;
}

/* ============================================================
   EMINENT READERS — editorial portrait gallery, no frames
   Photos use mix-blend-mode:multiply against the white section
   to give a "background-removed", magazine-cutout feel. Social
   icons stack vertically on the right edge, half-on-half-off
   the image. Name + designation typeset below, left-aligned.
   ============================================================ */
.eminent-section {
  background: #fff;
  padding: 88px 0 96px;
  border-bottom: 1px solid var(--hairline);
}
.eminent-section .section-header {
  border-bottom: 0;
  padding-bottom: 24px;
  margin-bottom: 56px;
  position: relative;
}
.eminent-section .section-header::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0;
  width: 56px; height: 3px;
  background: var(--brand);
}
.eminent-section .section-header .h-section {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  letter-spacing: -0.02em;
}
.eminent-section .section-header .more-link {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eminent-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 64px 40px;
}

.eminent-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  /* generous right-padding so social icons don't get clipped by the grid gap */
  padding-right: 8px;
}
.em-index {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  color: var(--muted);
  margin-bottom: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.em-index::before {
  content: "";
  width: 18px; height: 1px;
  background: var(--brand);
  display: inline-block;
}

.em-photo-wrap {
  position: relative;
  width: 100%;
  /* Square frame fits the typical "standing figure, transparent bg"
     PNG without leaving a tall band of empty headroom above the
     subject (the 4:5 portrait ratio was wasting ~45px at the top). */
  aspect-ratio: 1 / 1;
  margin-bottom: 0;
  isolation: isolate;
}

/* No background shape behind the photo. The photo (transparent PNG)
   sits cleanly on the white page. The coloured block lives BELOW the
   photo, behind the name + designation. */

.em-photo {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  display: block;
  /* No mix-blend-mode — would tint the subject red against the blob.
     Source images should be transparent PNGs for this design. */
  filter: contrast(1.04) saturate(0.96);
  transition: transform 0.32s cubic-bezier(.2,.8,.2,1);
}

/* No hover animation on the backdrop or photo — they stay still.
   Social icons keep their own hover state. */

/* Social rail: stacked vertically along the right edge, sitting in the
   bottom 1/4 of the photo, half-overlapping the right edge of the image
   and half on white. Sharp-edged squares (no border-radius) for an
   editorial look. */
.em-socials {
  position: absolute;
  right: -18px;
  bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 3;
}
.em-social {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--ink);
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  transition: all 0.18s ease;
}
.em-social svg { width: 16px; height: 16px; display: block; }
.em-social:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  transform: translateX(-2px);
}

/* Info block — blackish-red card behind name + designation, white text.
   Flat on the page (no shadow, no glow), tighter typographic hierarchy.
   Sits flush against the photo above so the card reads as one unit. */
.em-info {
  position: relative;
  width: 100%;
  background: #3a0a0d;
  color: #fff;
  padding: 16px 18px 18px;
}
.em-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 4px 0;
  font-variation-settings: "opsz" 36;
  color: #fff;
}
.em-role {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.45;
  margin: 0;
  letter-spacing: 0.005em;
}
/* Tighten card chrome: no padding-right on the card so social-icon
   overflow doesn't push the photo+info pair off-center in the grid cell. */
.eminent-card { padding-right: 0; }

@media (max-width: 1100px) {
  .eminent-grid { grid-template-columns: repeat(3, 1fr); gap: 56px 32px; }
}
@media (max-width: 768px) {
  .eminent-section { padding: 40px 0 48px; }
  .eminent-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 14px; }
  .em-socials { right: -10px; bottom: 8px; gap: 5px; }
  .em-social { width: 30px; height: 30px; }
  .em-social svg { width: 13px; height: 13px; }
  .em-info { padding: 10px 12px; }
  .em-name { font-size: 0.98rem; }
  .em-role { font-size: 0.72rem; }
  .eminent-section .section-header { margin-bottom: 28px; }
}
/* Tiny-phone tweaks (320-380px) */
@media (max-width: 480px) {
  .hero-lead-title { font-size: 1.6rem !important; }
  .hero-lead-kicker { font-size: 0.66rem; padding: 4px 9px; }
  .hero-top-header h3 { font-size: 0.72rem; }
  .cnn-col-mid .cnn-lead .story-card .title { font-size: 1.35rem; }
  .cnn-col-mid .cnn-medium .story-card.small > .title { font-size: 1.05rem; }
  .cat-hero-name { font-size: 2.4rem; }
  .cat-hero-desc { font-size: 1rem; }
  .metrics-band .metrics-grid { grid-template-columns: 1fr; gap: 28px; }
  .metrics-band .metric { border-right: 0; border-bottom: 1px solid #1a1a1a; padding: 0 0 24px; }
  .metrics-band .metric:last-child { border-bottom: 0; padding-bottom: 0; }
  .em-info { padding: 10px 10px; }
  .em-role { font-size: 0.7rem; }
  .bb-hero h1 { font-size: 2rem; }
  .bb-stat strong { font-size: 1.5rem; }
}

/* ============================================================
   LONG READS
   ============================================================ */
.longread-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}
.longread-card {
  display: block;
  position: relative;
  color: inherit;
  overflow: hidden;
}
.longread-card .cover-wrap {
  position: relative;
  overflow: hidden;
  margin-bottom: 14px;
}
.longread-card .cover {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  background: var(--paper);
}
.longread-card .cover-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(209, 10, 17, 0) 60%, rgba(209, 10, 17, 0) 100%);
  transition: background 0.3s ease;
  pointer-events: none;
}
.longread-card:hover .cover-wrap::after { background: linear-gradient(to top, rgba(209, 10, 17, 0.18) 0%, rgba(209, 10, 17, 0) 70%); }
.longread-card .title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 10px 0;
}
.longread-card:hover .title { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.longread-card .summary { font-size: 0.92rem; color: var(--muted); }

/* ============================================================
   MARKETS WIDGET
   ============================================================ */
.markets-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: var(--gap);
}
.movers-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.movers-table th {
  text-align: left;
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 10px 6px;
  border-bottom: 1px solid var(--ink);
}
.movers-table td {
  padding: 10px 6px;
  border-bottom: 1px solid var(--hairline);
  font-family: var(--font-mono);
}
.movers-table .sym { font-weight: 600; color: var(--ink); }
.movers-table .chg.up { color: var(--up); }
.movers-table .chg.down { color: var(--down); }
.movers-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--hairline);
  margin-bottom: 12px;
}
.movers-tab {
  background: none;
  border: 0;
  padding: 10px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.movers-tab.is-active { color: var(--ink); border-bottom-color: var(--brand); }

/* ============================================================
   OPINION ROW
   ============================================================ */
.opinion-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}
.opinion-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.opinion-card .author-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.opinion-card .author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--paper);
  object-fit: cover;
  border: 1px solid var(--hairline);
}
.opinion-card .author-name {
  font-weight: 700;
  font-size: 0.92rem;
}
.opinion-card .author-role {
  font-size: 0.78rem;
  color: var(--muted);
}
.opinion-card .title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0;
}
.opinion-card:hover .title { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.opinion-card .dek { font-size: 0.92rem; color: var(--muted); }

/* ============================================================
   PLUS CTA BLOCK
   ============================================================ */
.plus-cta-block {
  background: var(--black);
  color: #fff;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.plus-cta-block::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 200px;
  height: 200px;
  background: var(--brand);
  transform: rotate(45deg);
}
.plus-cta-block .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 60px;
  align-items: center;
}
.plus-cta-block .eyebrow { color: var(--brand); }
.plus-cta-block h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 16px 0 20px 0;
  color: #fff;
}
.plus-cta-block p { color: #c5c5c5; font-size: 1.05rem; max-width: 540px; }
.plus-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 24px 0;
}
.plus-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.96rem;
  color: #e5e5e5;
}
.plus-features li::before {
  content: "→";
  color: var(--brand);
  font-weight: 700;
}
.plus-price-card {
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  padding: 32px;
}
.plus-price-card .price {
  font-family: var(--font-mono);
  font-size: 2.6rem;
  font-weight: 600;
  color: #fff;
}
.plus-price-card .price-period { color: #888; font-size: 1rem; }
.plus-price-card .price-sub { color: #aaa; margin: 8px 0 24px 0; font-size: 0.88rem; }
.plus-price-card .btn { width: 100%; }

/* ============================================================
   NEWSLETTER FORM
   ============================================================ */
.newsletter-block {
  background: var(--paper);
  border-top: 4px solid var(--brand);
  padding: 60px 0;
}
.newsletter-block .container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}
.newsletter-block h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 8px 0 12px 0;
}
.newsletter-block p { color: var(--muted); max-width: 520px; }
.newsletter-form {
  display: flex;
  border: 2px solid var(--ink);
  background: #fff;
  max-width: 520px;
}
.newsletter-form input[type=email] {
  flex: 1;
  padding: 14px 16px;
  border: 0;
  outline: 0;
  font-size: 1rem;
}
.newsletter-form button {
  background: var(--ink);
  color: #fff;
  border: 0;
  padding: 0 24px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.84rem;
}
.newsletter-form button:hover { background: var(--brand); }
.newsletter-msg {
  margin-top: 12px;
  font-size: 0.86rem;
}
.newsletter-msg.success { color: var(--up); }
.newsletter-msg.error { color: var(--down); }

/* ============================================================
   LATEST FEED + SIDEBAR
   ============================================================ */
.latest-layout {
  display: grid;
  grid-template-columns: 8fr 4fr;
  gap: var(--gap);
}
.feed-item {
  display: grid;
  grid-template-columns: 1fr 200px;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--hairline);
}
.feed-item:first-child { padding-top: 0; }
.feed-item .title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 4px 0 8px 0;
}
.feed-item:hover .title { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.feed-item .summary {
  font-size: 0.92rem;
  color: var(--muted);
  margin-bottom: 10px;
}
.feed-item .meta {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 0.74rem;
  color: var(--muted);
}
.feed-item .thumb {
  width: 200px;
  height: 130px;
  object-fit: cover;
  background: var(--paper);
}
.feed-item .dot { width: 3px; height: 3px; background: var(--muted); border-radius: 50%; }
.feed-item.no-thumb { grid-template-columns: 1fr; }

.sidebar-block {
  background: var(--paper);
  padding: 22px;
  margin-bottom: 24px;
}
.sidebar-block .h-section {
  font-size: 1.05rem;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--ink);
}
.most-read-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}
.most-read-list li {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--hairline);
  align-items: start;
}
.most-read-list li:last-child { border-bottom: 0; }
.most-read-list .num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.4rem;
  line-height: 0.9;
  color: var(--brand);
}
.most-read-list a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
}
.most-read-list a:hover { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.most-read-list .views {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 4px;
  display: block;
}

.trending-list { list-style: none; padding: 0; margin: 0; }
.trending-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--hairline);
  display: flex;
  justify-content: space-between;
  font-size: 0.92rem;
}
.trending-list li:last-child { border-bottom: 0; }
.trending-list .count {
  font-family: var(--font-mono);
  color: var(--brand);
  font-weight: 600;
}

/* ============================================================
   PODCASTS — black block, one centered YouTube frame, neighbors
   peek ~20% on each side; horizontal scroll-snap carousel
   ============================================================ */
.podcasts-block {
  background: var(--black);
  color: #fff;
  padding: 64px 0 72px;
}
.podcasts-block .container { margin-bottom: 28px; }
.podcasts-block-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}
.podcasts-block-title {
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-weight: 800;
  line-height: 1.15;
  margin: 6px 0 0;
  max-width: 720px;
  letter-spacing: -0.01em;
}

.pod-carousel {
  display: flex;
  gap: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  padding: 0 18%;
  scroll-padding-inline: 18%;
}
.pod-carousel::-webkit-scrollbar { display: none; }

.pod-slide {
  flex: 0 0 64%;
  scroll-snap-align: center;
  padding: 0 10px;
  box-sizing: border-box;
  cursor: pointer;
  transition: opacity 300ms ease, transform 300ms ease;
  opacity: 0.55;
  transform: scale(0.94);
}
.pod-slide.is-active {
  opacity: 1;
  transform: scale(1);
  cursor: default;
}
.pod-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 6px;
  background: #000;
  box-shadow: 0 8px 28px rgba(0,0,0,0.4);
}
.pod-frame .pod-thumb {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 320ms ease;
}
.pod-slide.is-active:hover .pod-thumb { transform: scale(1.02); }
.pod-frame iframe {
  width: 100%; height: 100%; border: 0;
  display: block;
}
.pod-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 78px; height: 78px;
  border-radius: 50%;
  border: 0;
  background: rgba(0,0,0,0.66);
  cursor: pointer;
  transition: background 220ms ease, transform 220ms ease;
}
.pod-play::after {
  content: '';
  position: absolute;
  top: 50%; left: 56%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 14px 0 14px 22px;
  border-color: transparent transparent transparent #fff;
}
.pod-slide.is-active .pod-play:hover {
  background: var(--brand);
  transform: translate(-50%, -50%) scale(1.06);
}
.pod-dur {
  position: absolute;
  bottom: 12px; right: 12px;
  background: rgba(0,0,0,0.78);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 3px 8px;
  border-radius: 3px;
}
.pod-info {
  padding: 16px 4px 0;
  color: #fff;
}
.pod-ep {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: #d10a11;
  text-transform: uppercase;
  font-weight: 700;
}
.pod-title {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.25;
  margin: 4px 0 4px;
  letter-spacing: -0.005em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pod-guest {
  font-size: 0.86rem;
  color: rgba(255,255,255,0.7);
}

@media (max-width: 900px) {
  .pod-carousel { padding: 0 12%; scroll-padding-inline: 12%; }
  .pod-slide { flex: 0 0 76%; }
  .pod-play { width: 64px; height: 64px; }
  .pod-play::after { border-width: 12px 0 12px 18px; }
}
@media (max-width: 600px) {
  .pod-carousel { padding: 0 8%; scroll-padding-inline: 8%; }
  .pod-slide { flex: 0 0 84%; padding: 0 6px; }
  .podcasts-block { padding: 48px 0 56px; }
}

/* ============================================================
   KAROSTARTUP SHORTS — horizontal strip of 9:16 tiles + lightbox
   ============================================================ */
.shorts-strip {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 4px 4px 16px;
  margin: 0 -4px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.shorts-strip::-webkit-scrollbar { height: 8px; }
.shorts-strip::-webkit-scrollbar-thumb { background: #ddd; border-radius: 4px; }
.shorts-strip::-webkit-scrollbar-track { background: transparent; }

.short-tile {
  flex: 0 0 auto;
  width: 200px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  text-align: left;
  scroll-snap-align: start;
  font: inherit;
  color: inherit;
}
.short-tile-thumb {
  position: relative;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: 4px;
  background: #0a0a0a;
}
.short-tile-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
  transition: transform 320ms ease;
}
.short-tile:hover .short-tile-thumb img { transform: scale(1.04); }
.short-tile-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 50px; height: 50px;
  border-radius: 50%;
  background: rgba(0,0,0,0.62);
  transition: background 200ms ease, transform 200ms ease;
}
.short-tile-play::after {
  content: '';
  position: absolute;
  top: 50%; left: 55%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 9px 0 9px 14px;
  border-color: transparent transparent transparent #fff;
}
.short-tile:hover .short-tile-play {
  background: var(--brand);
  transform: translate(-50%, -50%) scale(1.08);
}
.short-tile-dur {
  position: absolute;
  bottom: 8px; right: 8px;
  background: rgba(0,0,0,0.7);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 2px 6px;
  border-radius: 3px;
}
.short-tile-title {
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.25;
  margin: 10px 0 0;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.shorts-modal {
  position: fixed;
  inset: 0;
  background: rgba(10,10,10,0.94);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 9999;
}
.shorts-modal.is-open { display: flex; }
.shorts-modal-close {
  position: absolute;
  top: 18px; right: 18px;
  width: 44px; height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.14);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  z-index: 1;
}
.shorts-modal-close:hover { background: rgba(255,255,255,0.24); }
.shorts-modal-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  max-width: 92vw;
  max-height: 92vh;
}
.shorts-modal-video {
  max-height: 78vh;
  aspect-ratio: 9 / 16;
  background: #000;
  border-radius: 4px;
}
.shorts-modal-text {
  color: #fff;
  max-width: 480px;
  text-align: center;
}
.shorts-modal-text h3 { font-size: 1.1rem; margin: 0 0 4px; font-weight: 700; }
.shorts-modal-text p { font-size: 0.86rem; opacity: 0.78; margin: 0; line-height: 1.4; }

@media (max-width: 600px) {
  .short-tile { width: 160px; }
  .shorts-modal-video { max-height: 72vh; }
}

/* ============================================================
   MORE TO READ — bottom-of-home: Most Read + Browse by Topic
   ============================================================ */
.mtr-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 6fr);
  gap: 48px;
  align-items: start;
}
.most-read-list .meta {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
  margin-top: 4px;
  display: block;
}

.topic-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.topic-tile {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  background: #0a0a0a;
  border-radius: 2px;
  isolation: isolate;
}
.topic-tile-img { position: absolute; inset: 0; z-index: 0; }
.topic-tile-img img {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
  transition: transform 400ms ease;
}
.topic-tile:hover .topic-tile-img img { transform: scale(1.05); }
.topic-tile-label {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 1;
  background: var(--brand);
  color: #fff;
  padding: 8px 14px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 1px 4px rgba(0,0,0,0.25);
}

@media (max-width: 900px) {
  .mtr-grid { grid-template-columns: 1fr; gap: 32px; }
  .topic-tiles { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .topic-tiles { grid-template-columns: 1fr; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--black);
  color: #fff;
  border-top: 4px solid var(--brand);
  padding: 60px 0 24px 0;
  margin-top: auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #1a1a1a;
}
.footer-brand .logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.8rem;
  color: #fff;
}
.footer-brand .logo .dot {
  display: inline-block; width: 7px; height: 7px;
  background: var(--brand); border-radius: 50%;
  margin-left: 3px; transform: translateY(-2px);
}
.footer-brand p {
  color: #9a9a9a;
  font-size: 0.9rem;
  margin: 12px 0 18px 0;
  max-width: 280px;
}
.footer-col h4 {
  color: #fff;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 18px 0;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  color: #c5c5c5;
  font-size: 0.9rem;
}
.footer-col a:hover { color: var(--brand); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 0.82rem;
  color: #8a8a8a;
}
.footer-bottom a { color: #8a8a8a; }
.footer-bottom a:hover { color: var(--brand); }
.footer-bottom .socials { display: flex; gap: 14px; }
.footer-credit { display: inline; margin-left: 6px; color: #6a6a6a; }
.footer-credit a { color: #c5c5c5; font-weight: 600; }
.footer-credit a:hover { color: var(--brand); }

/* ============================================================
   ARTICLE PAGE
   ============================================================ */
.read-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--brand);
  z-index: 100;
  width: 0;
  transition: width 0.05s linear;
}

.article-hero { padding: 36px 0 24px 0; }
.article-hero .container {
  max-width: var(--container-max);
  margin: 0 auto;
}

/* CNN-style mono breadcrumb: CATEGORY · MIN READ */
.article-crumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #5a5a5a;
  margin-bottom: 18px;
  text-transform: uppercase;
}
.article-crumb a {
  color: #5a5a5a;
  text-decoration: none;
  transition: color 0.12s ease;
}
.article-crumb a:hover { color: var(--brand); }
.article-crumb .crumb-dot { color: var(--brand); font-size: 0.9rem; line-height: 1; margin: 0 2px; }
.article-crumb .crumb-read { color: #5a5a5a; }

/* Red pill tag — only for breaking / top stories / latest update */
.article-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--brand);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 6px 12px;
  border-radius: 3px;
  margin-bottom: 14px;
  text-transform: uppercase;
}
.article-pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  display: inline-block;
}
.article-pill[data-kind="breaking"] .article-pill-dot,
.article-pill[data-kind="latest"] .article-pill-dot {
  animation: pill-pulse 1.4s ease-in-out infinite;
}
@keyframes pill-pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.35; }
}

/* Headline with thin red vertical bar to the left — full container width */
.article-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 0 0 18px 0;
  padding-left: 22px;
  border-left: 5px solid var(--brand);
  font-variation-settings: "opsz" 144;
  color: var(--ink);
  max-width: none;
}
.article-subtitle {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.45;
  color: #2a2a2a;
  margin: 0 0 18px 0;
  padding-left: 22px;
  font-variation-settings: "opsz" 24;
}

/* Time-ago line — small mono caps */
.article-timeago {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #5a5a5a;
  margin: 0 0 14px 22px;
}

.byline-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0 18px;
  margin-left: 22px;
  flex-wrap: wrap;
}
.byline-author {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  color: var(--ink);
}
.byline-by {
  color: #6a6a6a;
  font-size: 0.86rem;
}
/* Byline / author-card / opinion-card avatar gets a clean wordmark-fit
   when the article has no author and we're falling back to the
   Karostartup logo. The horizontal logo is wide, so use contain + white
   background instead of cropping it through object-fit: cover. */
.byline-avatar.is-default-avatar,
.author-card-avatar.is-default-avatar,
.author-avatar.is-default-avatar {
  object-fit: contain;
  background: #ffffff;
  border: 1px solid var(--hairline);
  padding: 4px;
}
.byline-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--paper);
  border: 1px solid var(--hairline);
}
.byline-name {
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

/* CNN-style share icons — rounded square, light grey hover */
.byline-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.share-btn {
  width: 34px;
  height: 34px;
  border: 1px solid var(--hairline);
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  color: var(--ink);
  cursor: pointer;
  padding: 0;
  transition: background 0.12s ease, border-color 0.12s ease, color 0.12s ease;
}
.share-btn:hover {
  background: var(--paper);
  border-color: var(--ink);
}
.share-btn.active {
  color: var(--brand);
  border-color: var(--brand);
}
.icon-btn {
  width: 38px;
  height: 38px;
  border: 1px solid var(--hairline);
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--ink);
  cursor: pointer;
  font-size: 1rem;
}
.icon-btn:hover { border-color: var(--brand); color: var(--brand); }
.icon-btn.active { color: var(--brand); border-color: var(--brand); }

.cover-img-wrap {
  max-width: 1080px;
  margin: 0 auto 32px auto;
  padding: 0 var(--gutter);
}
.cover-img-wrap img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.cover-caption {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 8px;
  font-style: italic;
}

/* Optional YourStory-style summary box — sits below the cover, above the body */
.article-summary {
  max-width: 720px;
  margin: 0 auto 30px auto;
  padding: 18px 20px;
  background: #fdf0f0;
  border: 1px solid #f3c9cb;
  border-radius: 4px;
}
.article-summary a { color: var(--brand); text-decoration: underline; }
.article-summary-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 10px;
}
.article-summary p,
.article-summary li {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0;
}
.article-summary ul {
  margin: 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.article-summary li { padding-left: 2px; }
@media (max-width: 768px) {
  .article-summary { margin: 0 var(--gutter) 24px; padding: 14px 16px; }
}

.article-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  font-size: 1.12rem;
  line-height: 1.75;
  color: var(--ink-2);
}
.article-body p { margin: 0 0 1.4em 0; }
.article-body .dropcap::first-letter,
.article-body > p:first-of-type::first-letter {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--brand);
  font-size: 4em;
  line-height: 0.85;
  float: left;
  padding: 8px 12px 0 0;
  font-variation-settings: "opsz" 144;
}
.article-body h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.8rem;
  letter-spacing: -0.015em;
  margin: 2em 0 0.6em 0;
}
.article-body h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.4rem;
  margin: 1.6em 0 0.5em 0;
}
.article-body a { color: var(--brand); border-bottom: 1px solid var(--brand-tint); }
.article-body a:hover { background: var(--brand-tint); }
/* Legacy imported HTML often has <img width="720" height="480" …> with
   explicit pixel attributes. Force responsive sizing. */
.article-body img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 1.6em auto;
  border: 1px solid var(--hairline);
}
.article-body figure { margin: 1.8em 0; }
.article-body figure img { margin: 0 auto 8px auto; }
.article-body figcaption {
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
}
.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.4em 0;
  font-size: 0.95em;
}
.article-body th, .article-body td {
  border: 1px solid var(--hairline);
  padding: 8px 12px;
  text-align: left;
}
.article-body th {
  background: #fafafa;
  font-weight: 600;
}
.article-body ul, .article-body ol { padding-left: 1.4em; margin: 0 0 1.4em 0; }
.article-body li { margin-bottom: 0.5em; }
.article-body hr { border: 0; border-top: 1px solid var(--hairline); margin: 2em 0; }
.article-body .blockquote-pull,
.article-body blockquote {
  border-left: 4px solid var(--brand);
  padding: 6px 0 6px 24px;
  margin: 1.6em 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.4rem;
  line-height: 1.4;
  color: var(--ink);
}

/* Embedded video — YouTube, Vimeo */
.article-body .embed-video,
.embed-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 1.8em 0;
  background: var(--paper);
  border: 1px solid var(--hairline);
}
.embed-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
/* Embedded audio — Spotify, SoundCloud */
.article-body .embed-audio,
.embed-audio {
  margin: 1.8em 0;
  width: 100%;
}
.embed-audio iframe {
  width: 100%;
  height: 152px;
  border: 0;
  border-radius: 4px;
}
.embed-audio.embed-audio-apple iframe { height: 175px; }
.article-body .embed-audio-native,
.embed-audio-native { width: 100%; margin: 1.6em 0; }

.paywall-card {
  max-width: 720px;
  margin: 40px auto;
  padding: 40px;
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-top: 4px solid var(--brand);
  text-align: center;
  position: relative;
}
.paywall-fade {
  position: relative;
  max-height: 240px;
  overflow: hidden;
  margin-bottom: -120px;
}
.paywall-fade::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, #fff 90%);
}

/* ============================================================
   AUTH WALL — anonymous reader teaser + signin/signup modal
   Show ~4-5 lines clearly, then fade the remainder to white,
   then float the signin/signup modal on top.
   ============================================================ */
.authwall-teaser {
  position: relative;
  max-height: 200px;
  overflow: hidden;
  margin-bottom: 0;
}
.authwall-teaser > p:first-of-type::first-letter,
.authwall-teaser .dropcap::first-letter {
  font-family: inherit;
  font-weight: inherit;
  color: inherit;
  font-size: 1em;
  float: none;
  padding: 0;
  line-height: inherit;
}
/* Smooth fade — starts a third of the way down, multi-stop curve so
   the dissolve looks natural rather than a hard cutoff. */
.authwall-teaser::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to bottom,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0) 32%,
    rgba(255, 255, 255, 0.35) 58%,
    rgba(255, 255, 255, 0.75) 78%,
    rgba(255, 255, 255, 0.95) 92%,
    #fff 100%);
}
/* Inline CTA — minimal, no card chrome. Flexbox column with explicit
   align-items: center guarantees the lede, button, and caption all sit
   on the same centerline regardless of their intrinsic widths. */
.authwall-inline {
  max-width: 720px;
  margin: 0 auto;
  padding: 28px 24px 56px;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.authwall-inline-lede {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.55rem;
  letter-spacing: -0.015em;
  line-height: 1.18;
  color: var(--ink);
  margin: 0 0 22px 0;
  max-width: 480px;
}
.authwall-inline .btn {
  padding: 14px 32px;
  font-size: 0.96rem;
  align-self: center;
}
.authwall-inline-foot {
  margin: 18px 0 0 0;
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.02em;
  max-width: 480px;
}

.authwall-modal {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.6);
  z-index: 8000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: authwall-fade 0.25s ease-out;
}
.authwall-close {
  position: absolute;
  top: 12px; right: 12px;
  width: 32px; height: 32px;
  background: transparent;
  border: 0;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.15s ease;
}
.authwall-close:hover { color: var(--ink); }
@keyframes authwall-fade {
  from { background: rgba(10, 10, 10, 0); }
  to   { background: rgba(10, 10, 10, 0.6); }
}
.authwall-card {
  background: #fff;
  border-top: 4px solid var(--brand);
  max-width: 480px;
  width: 100%;
  padding: 40px 32px 28px;
  text-align: center;
  position: relative;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
  animation: authwall-rise 0.32s cubic-bezier(.2, .8, .2, 1);
}
@keyframes authwall-rise {
  from { transform: translateY(20px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.authwall-card .kicker { margin-bottom: 6px; }
.authwall-card h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  letter-spacing: -0.015em;
  line-height: 1.1;
  margin: 0 0 14px 0;
}
.authwall-card p {
  color: var(--muted);
  line-height: 1.55;
  margin: 0 0 22px 0;
}
.authwall-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}
.authwall-actions .btn { width: 100%; justify-content: center; padding: 13px 18px; }
.authwall-foot {
  font-size: 0.78rem;
  color: var(--muted);
  margin: 18px 0 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--hairline);
}
.authwall-foot a { color: var(--brand); text-decoration: underline; }

.tags-row {
  max-width: 720px;
  margin: 32px auto;
  padding: 0 var(--gutter);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tag-chip {
  display: inline-block;
  padding: 5px 12px;
  border: 1px solid var(--hairline);
  font-size: 0.78rem;
  background: var(--paper);
  color: var(--ink);
}
.tag-chip:hover { border-color: var(--brand); color: var(--brand); }

.companies-strip {
  max-width: 880px;
  margin: 40px auto;
  padding: 24px var(--gutter);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.companies-strip h4 {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 16px 0;
}
.companies-strip-list {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.company-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border: 1px solid var(--hairline);
  background: #fff;
}
.company-chip:hover { border-color: var(--ink); }
.company-chip .company-logo {
  width: 24px;
  height: 24px;
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  border: 1px solid var(--hairline);
}

.author-card {
  max-width: 720px;
  margin: 40px auto;
  padding: 28px var(--gutter);
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  border: 1px solid var(--hairline);
  background: var(--paper);
}
.author-card .author-card-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  object-fit: cover;
}
.author-card .author-card-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
}
.author-card .author-card-role {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 8px;
}
.author-card .author-card-bio {
  font-size: 0.92rem;
  color: var(--ink-2);
  line-height: 1.55;
}

.related-section {
  max-width: 1180px;
  margin: 60px auto 40px auto;
  padding: 0 var(--gutter);
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}

.comments-section {
  max-width: 720px;
  margin: 60px auto;
  padding: 0 var(--gutter);
}
.comments-section h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.6rem;
  margin: 0 0 24px 0;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--ink);
}
.comment {
  padding: 18px 0;
  border-bottom: 1px solid var(--hairline);
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
}
.comment.is-reply { margin-left: 54px; }
.comment-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--hairline);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--ink);
}
.comment-meta { display: flex; gap: 8px; align-items: center; font-size: 0.82rem; margin-bottom: 6px; }
.comment-author { font-weight: 700; }
.comment-time { color: var(--muted); font-size: 0.74rem; }
.comment-body { font-size: 0.96rem; line-height: 1.5; color: var(--ink-2); }
.comment-actions {
  display: flex;
  gap: 12px;
  margin-top: 8px;
  font-size: 0.78rem;
  color: var(--muted);
}
.comment-actions button {
  background: none; border: 0; padding: 0;
  font-size: 0.78rem; color: var(--muted); cursor: pointer;
}
.comment-actions button:hover { color: var(--brand); }

.comment-form { margin-bottom: 32px; }
.comment-form textarea {
  width: 100%;
  min-height: 100px;
  padding: 12px;
  border: 1px solid var(--ink);
  background: #fff;
  font-size: 0.96rem;
  resize: vertical;
}
.comment-form textarea:focus { outline: 2px solid var(--brand); outline-offset: -1px; }
.comment-form-actions { margin-top: 12px; display: flex; justify-content: flex-end; }

.signin-prompt {
  padding: 24px;
  background: var(--paper);
  text-align: center;
  border: 1px solid var(--hairline);
  margin-bottom: 24px;
}

/* ============================================================
   CATEGORY PAGE
   ============================================================ */
.category-hero {
  padding: 60px 0 40px 0;
  border-bottom: 1px solid var(--hairline);
}
.category-hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 8px 0;
  font-variation-settings: "opsz" 144;
}
.category-hero .desc { color: var(--muted); font-size: 1.1rem; max-width: 720px; }
.category-hero .stat {
  font-family: var(--font-mono);
  font-size: 0.86rem;
  color: var(--brand);
  margin-top: 14px;
}

/* ============================================================
   IN-COLUMN SUBSCRIBE FORM — minimal: input + button only.
   Sits at the bottom of the right CNN column on category pages.
   No heading, no description, no footnote.
   ============================================================ */
.col-subscribe {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  border: 1px solid var(--ink);
  background: #fff;
}
.col-subscribe input {
  flex: 1;
  min-width: 0;
  padding: 11px 12px;
  border: 0;
  outline: 0;
  font-size: 0.88rem;
  font-family: inherit;
  color: var(--ink);
}
.col-subscribe input:focus { background: var(--paper); }
.col-subscribe button {
  background: var(--ink);
  color: #fff;
  border: 0;
  padding: 0 18px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  white-space: nowrap;
}
.col-subscribe button:hover { background: var(--brand); }
.col-subscribe .cat-sub-msg {
  flex: 1 0 100%;
  border-top: 1px solid var(--hairline);
  padding: 8px 12px;
  font-size: 0.74rem;
  background: var(--paper);
  color: var(--muted);
}
.col-subscribe .cat-sub-msg.success { color: var(--up); }
.col-subscribe .cat-sub-msg.error   { color: var(--down); }
.col-subscribe .cat-sub-msg:empty { display: none; }

@media (max-width: 1100px) {
  .col-subscribe { max-width: 460px; margin-left: auto; margin-right: auto; }
}

/* ============================================================
   CATEGORY HERO V2 — editorial 2-col layout
   Left: breadcrumb + name + dek + stats strip
   Right: dark "Section Weekly" subscribe card
   Inspired by Economic Times / Moneycontrol section headers
   crossed with shadcn's clean dark-on-light card aesthetic.
   ============================================================ */
.cat-hero-v2 {
  background: linear-gradient(180deg, #fff 0%, var(--paper) 100%);
  padding: 52px 0 0;
  border-bottom: 2px solid var(--ink);
}
.cat-hero-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 56px;
  align-items: end;
  padding-bottom: 28px;
}
.cat-breadcrumb {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 14px;
  text-transform: uppercase;
}
.cat-breadcrumb a { color: var(--brand); }
.cat-breadcrumb a:hover { text-decoration: underline; }
.cat-breadcrumb span { color: var(--muted); }
.cat-hero-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  letter-spacing: -0.03em;
  line-height: 0.95;
  margin: 0 0 16px;
  color: var(--ink);
  font-variation-settings: "opsz" 144;
}
.cat-hero-desc {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.05rem, 1.4vw, 1.22rem);
  line-height: 1.4;
  color: var(--muted);
  max-width: 560px;
  margin: 0 0 22px;
}
.cat-hero-stats {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--muted);
  padding-top: 16px;
  border-top: 1px solid var(--hairline);
  letter-spacing: 0.02em;
}
.cat-hero-stats strong { color: var(--ink); font-weight: 700; }
.cat-hero-stats .sep { color: var(--hairline); }

/* Subscribe card on the right */
.cat-hero-subscribe {
  background: var(--ink);
  color: #fff;
  padding: 28px 28px 24px;
  border-top: 4px solid var(--brand);
  position: relative;
}
.cat-hero-subscribe .kicker { color: var(--brand); display: block; margin-bottom: 6px; }
.cat-hero-subscribe h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  line-height: 1.22;
  letter-spacing: -0.005em;
  margin: 0 0 18px;
  color: #fff;
}
.cat-sub-card {
  display: flex;
  background: #fff;
  border: 0;
}
.cat-sub-card input {
  flex: 1;
  padding: 12px 14px;
  border: 0;
  outline: 0;
  font-size: 0.94rem;
  font-family: inherit;
  color: var(--ink);
  min-width: 0;
}
.cat-sub-card button {
  background: var(--brand);
  color: #fff;
  border: 0;
  padding: 0 18px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
}
.cat-sub-card button:hover { background: var(--brand-dark); }
.cat-sub-foot {
  margin: 14px 0 0;
  font-size: 0.74rem;
  color: #9a9a9a;
  letter-spacing: 0.02em;
}
.cat-hero-subscribe .cat-sub-msg {
  margin-top: 12px;
  font-size: 0.84rem;
  min-height: 1.2em;
  color: #fff;
}
.cat-hero-subscribe .cat-sub-msg.success { color: #6cd49a; }
.cat-hero-subscribe .cat-sub-msg.error   { color: #fb7185; }

@media (max-width: 1024px) {
  .cat-hero-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  .cat-hero-v2 { padding: 32px 0 0; }
  .cat-hero-grid { gap: 22px; padding-bottom: 22px; }
  .cat-hero-name { line-height: 1; }
  .cat-hero-subscribe { padding: 22px 20px 20px; }
  .cat-hero-subscribe h3 { font-size: 1.08rem; }
  .cat-hero-stats {
    font-size: 0.7rem; gap: 8px;
    flex-wrap: wrap;
    padding-top: 12px;
  }
  /* Subscribe input + button stack vertically on phones — wider tap targets */
  .cat-sub-card { flex-direction: column; }
  .cat-sub-card input { padding: 14px 16px; }
  .cat-sub-card button { padding: 14px; width: 100%; }
}
.cat-hero-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: end;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--hairline);
}
.cat-subscribe { display: flex; flex-direction: column; }
.cat-sub-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}
.cat-sub-form {
  display: flex;
  border: 2px solid var(--ink);
  background: #fff;
  max-width: 460px;
}
.cat-sub-form input {
  flex: 1;
  padding: 11px 14px;
  border: 0;
  outline: 0;
  font-size: 0.94rem;
}
.cat-sub-form button {
  background: var(--ink);
  color: #fff;
  border: 0;
  padding: 0 18px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}
.cat-sub-form button:hover { background: var(--brand); }
.cat-sub-msg { margin-top: 8px; font-size: 0.82rem; min-height: 1.2em; }
.cat-sub-msg.success { color: var(--up); }
.cat-sub-msg.error { color: var(--down); }
@media (max-width: 768px) {
  .cat-hero-row { grid-template-columns: 1fr; gap: 18px; }
}

.filter-bar {
  display: flex;
  gap: 0;
  padding: 20px 0;
  border-bottom: 1px solid var(--hairline);
  margin-bottom: 32px;
}
.filter-tab {
  background: none;
  border: 0;
  padding: 8px 0;
  margin-right: 28px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  cursor: pointer;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.filter-tab.is-active { color: var(--ink); border-bottom-color: var(--brand); }
.filter-tab:hover { color: var(--ink); }

.cat-layout {
  display: grid;
  grid-template-columns: 8fr 4fr;
  gap: var(--gap);
  padding-bottom: 60px;
}
.cat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap);
  row-gap: 40px;
}

/* ============================================================
   CATEGORY PAGE — CNN-style 3-col top block
   Left column = compact small stories
   Middle column = wide, runs a lead + 3 medium stories
   Right column = more small stories
   ============================================================ */

/* ============================================================
   LATEST NEWS — CNN-style featured rotator
   Big feature (auto-rotates every 2s) + 2 stacked side cards
   ============================================================ */
.lnews-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 22px;
  padding: 26px 0 44px;
  align-items: stretch;
}
/* Fixed pixel height (not aspect-ratio) — combining aspect-ratio with
   grid stretch lets Chromium widen the feature past its column to
   preserve the ratio, which made the image bleed under the right rail. */
.lnews-feature {
  position: relative;
  display: block;
  height: 440px;
  min-width: 0;
  background: #0a0a0a;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  border-radius: 2px;
  isolation: isolate;
}
.lnews-feature-img {
  position: absolute; inset: 0;
  /* Premium dark → brand-red gradient placeholder. Stays visible when an
     article has no cover or the image fails to load, so the slot reads as
     intentional instead of "broken image". A loaded image covers it. */
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0) 55%),
    linear-gradient(135deg, #0a0a0a 0%, #1a0608 45%, #4a070b 100%);
}
.lnews-feature-img img {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
  transition: opacity 260ms ease, transform 8s ease-out;
  opacity: 1;
}
.lnews-feature:hover .lnews-feature-img img { transform: scale(1.03); }
.lnews-feature::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,0.55) 70%, rgba(0,0,0,0.88) 100%);
  pointer-events: none;
  z-index: 0;
}
.lnews-feature-overlay {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 26px 30px 28px;
  z-index: 1;
  transition: opacity 260ms ease;
}
.lnews-feature-cat {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: #fff;
  background: #d10a11;
  padding: 5px 10px;
  margin-bottom: 12px;
  text-transform: uppercase;
  font-weight: 700;
}
.lnews-feature-title {
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-weight: 800;
  line-height: 1.18;
  color: #fff;
  margin: 0;
  text-shadow: 0 1px 3px rgba(0,0,0,0.35);
  letter-spacing: -0.01em;
}
.lnews-feature.is-fading .lnews-feature-img img,
.lnews-feature.is-fading .lnews-feature-overlay { opacity: 0; }
.lnews-feature-dots {
  position: absolute; bottom: 14px; right: 18px; z-index: 2;
  display: flex; gap: 7px;
}
.lnews-dot {
  width: 8px; height: 8px; border-radius: 50%;
  border: 0; padding: 0; cursor: pointer;
  background: rgba(255,255,255,0.45);
  transition: background 200ms ease, transform 200ms ease;
}
.lnews-dot:hover { background: rgba(255,255,255,0.85); }
.lnews-dot.is-active { background: #fff; transform: scale(1.35); }

/* Side rail — vertical auto-scrolling marquee of compact headline cards.
   .lnews-side-wrap is height-matched to the feature via grid stretch and
   overflow-hidden clips items as they scroll past. .lnews-side-track holds
   2× the items (rendered twice by JS) so translateY(0)→-50% loops seamlessly. */
/* Wrap is a real scroll container — wheel/touch scroll naturally, the JS
   rAF loop nudges scrollTop for the auto-scroll, and scrollTop modulo
   gives a seamless loop because the track renders its items twice. */
.lnews-side-wrap {
  position: relative;
  height: 440px;
  min-width: 0;
  background: #fafafa;
  border: 1px solid var(--hairline);
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none;
  overscroll-behavior: contain;
  /* Native smooth-scroll would fight the rAF tick — keep instantaneous. */
  scroll-behavior: auto;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 8%, #000 92%, transparent 100%);
          mask-image: linear-gradient(180deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.lnews-side-wrap::-webkit-scrollbar { display: none; }
.lnews-side-track {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 14px;
}
.lnews-side {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 12px;
  align-items: start;
  text-decoration: none;
  color: inherit;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--hairline);
  flex-shrink: 0;
}
.lnews-side-img {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #efefef;
}
.lnews-side-img img {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
  transition: transform 400ms ease;
}
.lnews-side:hover .lnews-side-img img { transform: scale(1.05); }
.lnews-side-text {
  display: flex; flex-direction: column; gap: 4px;
  min-width: 0;
}
.lnews-side-cat {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  color: #d10a11;
  text-transform: uppercase;
  font-weight: 700;
}
.lnews-side-cat.lnews-ec {
  display: inline-block;
  background: #d10a11;
  color: #fff;
  padding: 1px 6px;
  border-radius: 3px;
  letter-spacing: 0.08em;
}
.lnews-side-title {
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.25;
  margin: 0;
  color: #0a0a0a;
  letter-spacing: -0.005em;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.lnews-side:hover .lnews-side-title { color: #d10a11; }


@media (max-width: 1100px) {
  .lnews-feature, .lnews-side-wrap { height: 380px; }
}
@media (max-width: 900px) {
  .lnews-grid { grid-template-columns: 1fr; gap: 18px; }
  .lnews-feature { height: auto; aspect-ratio: 16 / 9; }
  .lnews-side-wrap { height: 360px; }
}
@media (max-width: 600px) {
  .lnews-feature-overlay { padding: 18px 18px 22px; }
  .lnews-feature-title { font-size: 1.15rem; line-height: 1.2; }
  .lnews-feature-cat { font-size: 0.66rem; padding: 4px 8px; margin-bottom: 10px; }
  .lnews-side { grid-template-columns: 84px 1fr; gap: 10px; }
  .lnews-side-title { font-size: 0.86rem; }
  .lnews-side-wrap { height: 320px; }
}

.cnn-grid {
  display: grid;
  grid-template-columns: 3fr 6fr 3fr;
  gap: 20px;
  padding: 32px 0 48px;
  border-bottom: 1px solid var(--hairline);
}
/* Each column is a discrete white "section box" — Hindustan Times /
   BBC-section feel. Equal height (grid stretch), hairline border,
   inner padding. Columns sit on the white page; the border + soft
   shadow give them a card silhouette without feeling heavy. */
.cnn-col {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #fff;
  border: 1px solid var(--hairline);
  padding: 22px 20px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}
.cnn-col-head {
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 18px;
  padding-bottom: 0;
  border-bottom: 0;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
}
/* Double-line banner on either side of the column-head text */
.cnn-col-head::before,
.cnn-col-head::after {
  content: "";
  flex: 1;
  height: 4px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.cnn-col-mid .cnn-lead { margin-bottom: 18px; }
.cnn-col-mid .cnn-lead .story-card .title { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.cnn-col-mid .cnn-medium-stack {
  display: flex;
  flex-direction: column;
}
.cnn-col-mid .cnn-medium {
  padding: 12px 0;
  border-top: 1px solid var(--hairline);
}
/* Newspaper-style row in the CNN middle column:
   - Left column (1fr): kicker on top, title middle, byline at the bottom
   - Right column (220px): one rectangular thumbnail that spans the
     FULL height of the row (grid-row: 1 / 4)
   Title + thumb live in the same row, byline + read time stack below
   the title on the left. */
/* Compact medium rows — title left, thumbnail right on same row.
   News-ticker height (~90-100px per row). */
.cnn-col-mid .cnn-medium .story-card.small {
  display: grid;
  grid-template-columns: 1fr 130px;
  grid-template-rows: auto auto auto;
  column-gap: 16px;
  row-gap: 0;
  align-items: start;
}
.cnn-col-mid .cnn-medium .story-card.small > .kicker {
  grid-column: 1;
  grid-row: 1;
  margin: 0 0 4px;
  font-size: 0.66rem;
  align-self: start;
}
.cnn-col-mid .cnn-medium .story-card.small > .title {
  grid-column: 1;
  grid-row: 2;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.22;
  letter-spacing: -0.005em;
  margin: 0 0 6px;
}
.cnn-col-mid .cnn-medium .story-card.small > .meta {
  grid-column: 1;
  grid-row: 3;
  margin: 0;
  font-size: 0.72rem;
}
/* Thumbnail spans all 3 rows on the right */
.cnn-col-mid .cnn-medium .story-card.small > .cover,
.cnn-col-mid .cnn-medium .story-card.small > .cover-media {
  grid-column: 2;
  grid-row: 1 / 4;
  width: 100%;
  height: 100%;
  min-height: 86px;
  margin: 0;
  align-self: stretch;
}
.cnn-col-mid .cnn-medium .story-card.small > .cover-media {
  display: block;
  overflow: hidden;
  position: relative;
}
.cnn-col-mid .cnn-medium .story-card.small > .cover-media .cover {
  width: 100%;
  height: 100%;
  min-height: 86px;
  object-fit: cover;
  aspect-ratio: auto;
  display: block;
}
.cnn-col-mid .cnn-medium .story-card.small > .cover {
  object-fit: cover;
  aspect-ratio: auto;
  display: block;
}
/* Middle column = "Latest in {Sector}" — titles get a slightly faded
   ink colour (not red) plus an underline on hover. The rest of the
   site keeps underline-only with no colour change. */
.cnn-col-mid .story-card:hover .title {
  color: rgba(10, 10, 10, 0.58);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
}

.cnn-col-left .side-card,
.cnn-col-right .side-card {
  padding: 14px 0;
  border-top: 1px solid var(--hairline);
}
.cnn-col-left .side-card:first-of-type,
.cnn-col-right .side-card:first-of-type {
  padding-top: 0;
  border-top: 0;
}

/* Full-width 3-col archive grid below the filter bar */
.cat-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
  row-gap: 36px;
  padding-bottom: 32px;
}

/* Bottom strips: top brands, recent funding, browse other sections */
.cat-bottom-strips {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
  padding: 32px 0 64px;
  border-top: 1px solid var(--hairline);
}
.cat-bottom-block {
  display: flex;
  flex-direction: column;
}

@media (max-width: 1100px) {
  .cnn-grid { grid-template-columns: 1fr; gap: 18px; }
  .cnn-col-mid .cnn-medium .story-card.small {
    grid-template-columns: 1fr 150px;
  }
  .cnn-col-mid .cnn-medium .story-card.small > .cover,
  .cnn-col-mid .cnn-medium .story-card.small > .cover-media { min-height: 100px; }
  .cnn-col-mid .cnn-medium .story-card.small > .cover-media .cover { min-height: 100px; }
  .cat-archive-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-bottom-strips { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 768px) {
  .cnn-grid { padding: 22px 0 28px; gap: 16px; }
  .cnn-col { padding: 18px 16px; }
  .cnn-col-head { font-size: 0.7rem; margin-bottom: 14px; padding-bottom: 10px; }
  /* Stack image on top of text on phones */
  .cnn-col-mid .cnn-medium .story-card.small {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto;
    column-gap: 0;
  }
  .cnn-col-mid .cnn-medium .story-card.small > .cover,
  .cnn-col-mid .cnn-medium .story-card.small > .cover-media {
    grid-column: 1;
    grid-row: 1;
    aspect-ratio: 16 / 10;
    min-height: 0;
    margin-bottom: 12px;
  }
  .cnn-col-mid .cnn-medium .story-card.small > .cover-media .cover { min-height: 0; }
  .cnn-col-mid .cnn-medium .story-card.small > .kicker { grid-row: 2; }
  .cnn-col-mid .cnn-medium .story-card.small > .title  { grid-row: 3; font-size: 1.18rem; }
  .cnn-col-mid .cnn-medium .story-card.small > .meta   { grid-row: 4; }
  .cnn-col-mid .cnn-medium { padding: 16px 0; }
  .cat-archive-grid { grid-template-columns: 1fr; gap: 24px; }

  /* CNN-style overlay: the middle column's lead card on mobile gets
     the title overlaid on its cover image, matching the hero treatment. */
  .cnn-col-mid .cnn-lead .story-card {
    position: relative;
    display: block;
    padding: 0;
    margin-bottom: 18px;
  }
  .cnn-col-mid .cnn-lead .story-card .cover-media,
  .cnn-col-mid .cnn-lead .story-card .cover {
    width: 100%;
    aspect-ratio: 4 / 5;
    margin: 0;
  }
  .cnn-col-mid .cnn-lead .story-card .cover-media { position: relative; overflow: hidden; }
  .cnn-col-mid .cnn-lead .story-card .cover-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
      rgba(0,0,0,0.92) 0%,
      rgba(0,0,0,0.75) 22%,
      rgba(0,0,0,0.42) 50%,
      rgba(0,0,0,0.1)  75%,
      rgba(0,0,0,0)    95%);
    pointer-events: none;
    z-index: 1;
  }
  .cnn-col-mid .cnn-lead .story-card > .kicker {
    position: absolute;
    top: 12px; left: 12px;
    background: var(--brand);
    color: #fff;
    padding: 4px 9px;
    font-size: 0.62rem;
    z-index: 2;
    border: 0;
  }
  .cnn-col-mid .cnn-lead .story-card > .title {
    position: absolute;
    left: 14px; right: 14px; bottom: 44px;
    color: #fff !important;
    font-size: 1.3rem !important;
    line-height: 1.15;
    font-weight: 800;
    margin: 0;
    z-index: 2;
    text-shadow: 0 1px 12px rgba(0,0,0,0.35);
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
  }
  .cnn-col-mid .cnn-lead .story-card > .summary { display: none; }
  .cnn-col-mid .cnn-lead .story-card > .meta {
    position: absolute;
    left: 14px; right: 14px; bottom: 14px;
    color: rgba(255,255,255,0.85);
    font-size: 0.74rem;
    margin: 0;
    z-index: 2;
  }
  .cnn-col-mid .cnn-lead .story-card > .meta .author,
  .cnn-col-mid .cnn-lead .story-card > .meta .dot { color: rgba(255,255,255,0.85); }
}
.pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin: 40px 0;
}
.pagination button {
  border: 1px solid var(--hairline);
  background: #fff;
  width: 38px;
  height: 38px;
  font-weight: 600;
  font-size: 0.86rem;
  cursor: pointer;
}
.pagination button.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.pagination button:disabled { opacity: 0.4; cursor: not-allowed; }
.pagination button:not(:disabled):hover { border-color: var(--ink); }

/* ============================================================
   COMPANY PAGE
   ============================================================ */
.company-head {
  padding: 60px 0 40px 0;
  border-bottom: 1px solid var(--hairline);
}
.company-head .container {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 28px;
  align-items: start;
}
.company-logo-big {
  width: 120px;
  height: 120px;
  background: var(--paper);
  border: 1px solid var(--hairline);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 3rem;
  color: var(--brand);
}
.company-logo-big img { width: 100%; height: 100%; object-fit: contain; }
.company-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0 0 10px 0;
}
.company-pills { display: flex; gap: 10px; flex-wrap: wrap; margin: 10px 0; }
.stage-pill, .sector-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid var(--hairline);
}
.stage-pill svg, .sector-pill svg { display: block; }
.stage-pill { background: var(--paper); color: var(--ink); }
.sector-pill { color: var(--brand); border-color: var(--brand); }

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
  margin: 40px 0;
}
.stat-card {
  border: 1px solid var(--hairline);
  padding: 24px;
  background: #fff;
}
.stat-card .label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.stat-card .value {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 1.8rem;
  color: var(--ink);
  line-height: 1.1;
}
.stat-card .sub {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 4px;
}

.company-section { padding: 40px 0; border-bottom: 1px solid var(--hairline); }
.company-section h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.6rem;
  margin: 0 0 20px 0;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--ink);
}
.founders-list { display: flex; gap: 16px; flex-wrap: wrap; }
.founder-tile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border: 1px solid var(--hairline);
}
.founder-avatar-init {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: var(--font-display);
}

/* ============================================================
   AUTH SHELL
   ============================================================ */
.auth-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 5fr 7fr;
}
.auth-brand {
  background: var(--black);
  color: #fff;
  padding: 60px 60px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.auth-brand .logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.2rem;
  color: #fff;
}
.auth-brand .logo .dot {
  display: inline-block; width: 8px; height: 8px;
  background: var(--brand); border-radius: 50%;
  margin-left: 4px; transform: translateY(-3px);
}
.auth-brand .tagline {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 3.4vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 40px 0;
}
.auth-brand .tagline .accent { color: var(--brand); }
.auth-brand .footer-note {
  font-size: 0.86rem;
  color: #888;
}
.auth-form-pane {
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.auth-form-pane .top-link {
  position: absolute;
  top: 24px;
  right: 32px;
  font-size: 0.86rem;
  color: var(--muted);
}
.auth-form-pane .top-link a { color: var(--brand); font-weight: 600; }
.auth-form {
  max-width: 420px;
  width: 100%;
  margin: 0 auto;
}
.auth-form h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.2rem;
  margin: 0 0 8px 0;
  letter-spacing: -0.015em;
}
.auth-form .sub {
  color: var(--muted);
  margin: 0 0 32px 0;
}
.form-field { margin-bottom: 18px; }
.form-field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--ink);
}
.form-field input, .form-field textarea, .form-field select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--ink);
  background: #fff;
  font-size: 1rem;
  color: var(--ink);
  outline: 0;
}
.form-field textarea { min-height: 110px; resize: vertical; font-family: inherit; }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: 2px solid var(--brand);
  outline-offset: -1px;
}
.form-field .hint {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 4px;
}
.form-field .error-msg { color: var(--down); font-size: 0.82rem; margin-top: 4px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.auth-form .submit-btn { width: 100%; margin-top: 8px; }
.auth-form .form-foot {
  margin-top: 24px;
  text-align: center;
  font-size: 0.86rem;
  color: var(--muted);
}
.auth-form .form-foot a { color: var(--brand); font-weight: 600; }

/* Google sign-in button */
.google-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  margin-top: 8px;
  padding: 14px 18px;
  background: #fff;
  color: #1f1f1f;
  border: 1px solid #dadce0;
  border-radius: 8px;
  font-family: var(--font-body, inherit);
  font-size: 0.98rem;
  font-weight: 600;
  text-decoration: none;
  transition: background .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.google-btn:hover {
  background: #f7f8f8;
  border-color: #c6c9cd;
  box-shadow: 0 1px 3px rgba(60,64,67,0.18);
}
.google-btn svg { flex: 0 0 auto; }
.auth-fineprint {
  margin-top: 20px;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.5;
}
.auth-fineprint a { color: var(--brand); font-weight: 600; }

.form-msg {
  padding: 12px 16px;
  margin-bottom: 18px;
  font-size: 0.86rem;
  border: 1px solid;
}
.form-msg.success { background: #f0faf4; border-color: var(--up); color: var(--up); }
.form-msg.error { background: #fdf2f2; border-color: var(--down); color: var(--down); }
.form-msg.info { background: var(--paper); border-color: var(--hairline); color: var(--ink); }

/* ============================================================
   ADMIN SHELL
   ============================================================ */
.admin-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 240px 1fr;
  background: var(--paper);
}
.admin-sidebar {
  background: var(--black);
  color: #fff;
  padding: 24px 0;
  border-right: 1px solid #1a1a1a;
  position: sticky;
  top: 0;
  align-self: start;
  height: 100vh;
  overflow-y: auto;
}
.admin-sidebar .logo {
  /* text-mode styling kept as fallback; image-mode rules append at end of file */
}
.admin-sidebar .logo .dot {
  display: inline-block; width: 6px; height: 6px;
  background: var(--brand); border-radius: 50%;
  margin-left: 3px; transform: translateY(-2px);
}
.admin-sidebar nav { padding: 16px 0; display: flex; flex-direction: column; gap: 2px; }
.admin-sidebar nav a {
  padding: 9px 24px;
  color: #c5c5c5;
  font-size: 0.88rem;
  font-weight: 500;
  border-left: 3px solid transparent;
}
.admin-sidebar nav a:hover { color: #fff; background: #1a1a1a; }
.admin-sidebar nav a.is-active {
  color: #fff;
  background: #1a1a1a;
  border-left-color: var(--brand);
}
.admin-sidebar .role-chip {
  margin: 14px 24px;
  padding: 6px 10px;
  background: #1a1a1a;
  color: var(--brand);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  text-align: center;
}

.admin-main {
  padding: 0;
  min-width: 0;
}
.admin-bar {
  background: #fff;
  border-bottom: 1px solid var(--hairline);
  padding: 14px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.admin-bar .breadcrumb {
  font-size: 0.88rem;
  color: var(--muted);
}
.admin-bar .breadcrumb .cur { color: var(--ink); font-weight: 600; }
.admin-bar .user-menu {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.88rem;
}
.admin-bar .user-menu a:hover { color: var(--brand); }

.admin-content { padding: 32px; }
.admin-content > h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2rem;
  margin: 0 0 24px 0;
  letter-spacing: -0.015em;
}

.admin-card {
  background: #fff;
  border: 1px solid var(--hairline);
  padding: 22px;
  margin-bottom: 24px;
}
.admin-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--hairline);
}
.admin-card-head h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0;
}

/* Admin stat cards */
.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}
.admin-stat {
  background: #fff;
  border: 1px solid var(--hairline);
  padding: 20px;
}
.admin-stat .label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.admin-stat .value {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 2rem;
  color: var(--ink);
}
.admin-stat .sub {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 4px;
}

/* Admin tables */
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  background: #fff;
}
.admin-table th {
  text-align: left;
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 12px;
  background: var(--paper);
  border-bottom: 1px solid var(--ink);
}
.admin-table td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--hairline);
  vertical-align: middle;
}
.admin-table tr:hover { background: var(--paper); }
.admin-table .row-actions {
  display: flex;
  gap: 8px;
}
.admin-table .row-actions a, .admin-table .row-actions button {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink);
  background: none;
  border: 0;
  padding: 4px 8px;
  cursor: pointer;
}
.admin-table .row-actions .danger { color: var(--brand); }
.admin-table .row-actions a:hover, .admin-table .row-actions button:hover { color: var(--brand); }
.admin-table input[type=checkbox] { cursor: pointer; }

.admin-toolbar {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.admin-toolbar .search { flex: 1; min-width: 220px; }
.admin-toolbar select, .admin-toolbar input[type=text], .admin-toolbar input[type=search] {
  padding: 8px 12px;
  border: 1px solid var(--hairline);
  background: #fff;
  font-size: 0.88rem;
}
.admin-toolbar input[type=search]:focus, .admin-toolbar input[type=text]:focus, .admin-toolbar select:focus {
  outline: 2px solid var(--brand); outline-offset: -1px;
}

/* Status pills */
.status-pill {
  display: inline-block;
  padding: 3px 10px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.status-pill.draft { background: var(--paper); color: var(--gray-pill); border: 1px solid var(--hairline); }
.status-pill.review { background: #fef9e7; color: #9a7a0c; border: 1px solid #f0d97e; }
.status-pill.published { background: #f0faf4; color: var(--up); border: 1px solid #9adfba; }
.status-pill.archived { background: var(--paper); color: var(--muted); border: 1px solid var(--hairline); }
.status-pill.new { background: #eff5fa; color: #0b5394; border: 1px solid #a1c7e8; }
.status-pill.in_review,
.status-pill.reviewing { background: #fef9e7; color: #9a7a0c; border: 1px solid #f0d97e; }
.status-pill.responded { background: #f0faf4; color: var(--up); border: 1px solid #9adfba; }
.status-pill.closed { background: var(--paper); color: var(--muted); border: 1px solid var(--hairline); }

/* Flag pills (admin article list) */
.flag-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px; height: 20px;
  margin-right: 3px;
  font-size: 0.68rem;
  font-weight: 700;
  border: 1px solid var(--hairline);
  background: var(--paper);
  color: var(--ink);
}
.flag-pill.flag-red { color: var(--brand); border-color: var(--brand); background: var(--brand-tint); }

/* Type pills (contact submissions) */
.type-pill {
  display: inline-block;
  padding: 3px 9px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid var(--hairline);
  background: var(--paper);
  color: var(--ink);
}
.type-pill.promotion { color: var(--brand); border-color: var(--brand); background: var(--brand-tint); }
.type-pill.advertise { color: #0b5394; border-color: #0b5394; background: #eff5fa; }
.type-pill.tip { color: #0a7a3b; border-color: #0a7a3b; background: #f0faf4; }
.type-pill.pr { color: #8a3ffc; border-color: #8a3ffc; background: #f5efff; }
.type-pill.partnership { color: var(--yellow); border-color: var(--yellow); background: #fef9e7; }
.type-pill.careers { color: var(--ink); }

/* Editor grid */
.editor-grid {
  display: grid;
  grid-template-columns: 8fr 4fr;
  gap: 24px;
  align-items: start;
}
.editor-main { background: #fff; border: 1px solid var(--hairline); padding: 24px; }
.editor-side { display: flex; flex-direction: column; gap: 16px; }
.editor-side .admin-card { margin-bottom: 0; }
.editor-tabs {
  display: flex;
  border-bottom: 1px solid var(--hairline);
  margin-bottom: 12px;
}
.editor-tab {
  background: none; border: 0;
  padding: 8px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  cursor: pointer;
}
.editor-tab.is-active { color: var(--ink); border-bottom-color: var(--brand); }
.preview-panel {
  min-height: 200px;
  padding: 14px;
  background: var(--paper);
  border: 1px solid var(--hairline);
  font-size: 0.96rem;
  line-height: 1.6;
}
.editor-title-input {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.8rem;
  border: 0 !important;
  border-bottom: 1px solid var(--hairline) !important;
  padding: 10px 0 !important;
}
.editor-title-input:focus { outline: 0 !important; border-bottom-color: var(--brand) !important; }
.editor-stats {
  display: flex;
  gap: 16px;
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 6px;
  font-family: var(--font-mono);
}
.editor-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.editor-actions .btn { width: 100%; justify-content: center; }
.checkbox-group { display: flex; flex-direction: column; gap: 10px; }
.checkbox-group label {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.92rem; font-weight: 500;
  cursor: pointer;
}
.checkbox-group input { cursor: pointer; }
.tag-input-wrap {
  display: flex; flex-wrap: wrap; gap: 6px;
  padding: 10px;
  border: 1px solid var(--ink);
  background: #fff;
  min-height: 46px;
}
.tag-input-wrap input {
  flex: 1;
  border: 0; outline: 0;
  min-width: 100px;
  font-size: 0.92rem;
}
.tag-chip-removable {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 8px;
  background: var(--paper);
  border: 1px solid var(--hairline);
  font-size: 0.8rem;
}
.tag-chip-removable button {
  background: none; border: 0;
  cursor: pointer; color: var(--muted);
  font-size: 0.9rem; padding: 0;
}
.tag-chip-removable button:hover { color: var(--brand); }

/* ============================================================
   SUBMISSIONS INBOX (two-pane)
   ============================================================ */
.inbox {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 24px;
  height: calc(100vh - 140px);
  min-height: 600px;
}
.inbox-list {
  background: #fff;
  border: 1px solid var(--hairline);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.inbox-filters {
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 2;
  padding: 14px;
  border-bottom: 1px solid var(--hairline);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.filter-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.filter-chip {
  background: none;
  border: 1px solid var(--hairline);
  padding: 4px 10px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
}
.filter-chip.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.inbox-filters select, .inbox-filters input {
  padding: 7px 10px;
  border: 1px solid var(--hairline);
  font-size: 0.86rem;
}
.inbox-item {
  display: block;
  padding: 14px;
  border-bottom: 1px solid var(--hairline);
  cursor: pointer;
  position: relative;
}
.inbox-item:hover { background: var(--paper); }
.inbox-item.is-selected { background: var(--brand-tint); border-left: 3px solid var(--brand); padding-left: 11px; }
.inbox-item .row1 {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 6px;
}
.inbox-item .name-co {
  font-weight: 700; font-size: 0.92rem;
  flex: 1; min-width: 0;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.inbox-item .time {
  font-size: 0.72rem; color: var(--muted);
  font-family: var(--font-mono);
  flex-shrink: 0;
  margin-left: 8px;
}
.inbox-item .pills { display: flex; gap: 6px; margin: 6px 0; }
.inbox-item .snippet {
  font-size: 0.82rem;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.35;
}

.inbox-detail {
  background: #fff;
  border: 1px solid var(--hairline);
  padding: 28px;
  overflow-y: auto;
}
.inbox-detail .empty-state {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  color: var(--muted);
  text-align: center;
}
.detail-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--hairline);
  margin-bottom: 18px;
}
.detail-header h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  margin: 4px 0;
  letter-spacing: -0.01em;
}
.detail-meta { display: flex; gap: 14px; font-size: 0.86rem; color: var(--muted); margin: 8px 0; flex-wrap: wrap; }
.detail-meta a:hover { color: var(--brand); }
.detail-block {
  margin: 16px 0;
}
.detail-block .label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.detail-block .value { font-size: 0.96rem; line-height: 1.5; }
.detail-message {
  background: var(--paper);
  border-left: 3px solid var(--brand);
  padding: 16px 18px;
  font-size: 0.98rem;
  line-height: 1.6;
  white-space: pre-wrap;
}
.detail-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 18px 0;
  padding: 18px 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.status-changer { display: flex; gap: 6px; }
.status-changer button {
  background: #fff;
  border: 1px solid var(--hairline);
  padding: 6px 12px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
}
.status-changer button.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ============================================================
   CONTACT PAGE (public)
   ============================================================ */
.contact-hero {
  padding: 60px 0 30px 0;
  border-bottom: 1px solid var(--hairline);
  background: var(--paper);
}
.contact-hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0 0 12px 0;
}
.contact-hero p { color: var(--muted); font-size: 1.1rem; max-width: 720px; }

.contact-tabs {
  display: flex;
  gap: 4px;
  padding: 24px 0 0 0;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--hairline);
}
.contact-tab {
  background: none;
  border: 1px solid var(--hairline);
  border-bottom: 0;
  padding: 12px 20px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--muted);
  margin-bottom: -1px;
}
.contact-tab.is-active {
  background: #fff;
  color: var(--ink);
  border-top: 3px solid var(--brand);
  padding-top: 10px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 7fr 4fr;
  gap: 60px;
  padding: 40px 0 80px 0;
}
.contact-form-head h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.8rem;
  letter-spacing: -0.015em;
  margin: 0 0 8px 0;
}
.contact-form-head p { color: var(--muted); margin: 0 0 24px 0; }
.contact-aside { display: flex; flex-direction: column; gap: 24px; }
.contact-info-card {
  background: var(--paper);
  border: 1px solid var(--hairline);
  padding: 24px;
}
.contact-info-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0 0 14px 0;
}
.contact-info-card .info-line {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--hairline);
  font-size: 0.88rem;
}
.contact-info-card .info-line:last-of-type { border-bottom: 0; }
.contact-info-card .info-line .label { color: var(--muted); }
.contact-info-card .info-line a { color: var(--brand); font-weight: 600; }
.contact-info-card .info-line a:hover { text-decoration: underline; }

/* ============================================================
   PLUS / ABOUT / NEWSLETTERS / SEARCH / PROFILE
   ============================================================ */
.plus-hero {
  background: var(--black);
  color: #fff;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.plus-hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0 0 18px 0;
  color: #fff;
}
.plus-hero h1 .dot {
  display: inline-block;
  width: 14px; height: 14px;
  background: var(--brand);
  border-radius: 50%;
  margin-left: 6px;
  transform: translateY(-12px);
}
.plus-hero p { color: #c5c5c5; font-size: 1.2rem; max-width: 720px; margin: 0 auto; }

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
}
.benefit-card {
  padding: 28px;
  border: 1px solid var(--hairline);
  background: #fff;
}
.benefit-card .num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2rem;
  color: var(--brand);
  display: block;
  margin-bottom: 12px;
}
.benefit-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  margin: 0 0 8px 0;
}
.benefit-card p { color: var(--muted); font-size: 0.94rem; }

.faq { max-width: 800px; margin: 0 auto; }
.faq details {
  border-bottom: 1px solid var(--hairline);
  padding: 18px 0;
}
.faq summary {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq summary::marker, .faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  color: var(--brand);
  font-size: 1.5rem;
  font-weight: 400;
}
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 12px 0 0 0; color: var(--muted); line-height: 1.6; }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}
.testimonial {
  padding: 32px;
  border-left: 3px solid var(--brand);
  background: var(--paper);
}
.testimonial blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.4;
  margin: 0 0 18px 0;
}
.testimonial .attrib {
  font-size: 0.86rem;
  color: var(--muted);
}
.testimonial .attrib strong { color: var(--ink); }

.about-hero {
  padding: 80px 0;
  border-bottom: 1px solid var(--hairline);
}
.about-hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 5vw, 4rem);
  letter-spacing: -0.025em;
  line-height: 1.05;
  max-width: 980px;
}
.about-mission {
  padding: 60px 0;
  border-bottom: 1px solid var(--hairline);
}
.about-mission p {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.2rem, 1.8vw, 1.6rem);
  line-height: 1.5;
  max-width: 880px;
  color: var(--ink-2);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
}
.team-card { text-align: left; }
.team-card .avatar {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: var(--paper);
  margin-bottom: 14px;
  filter: grayscale(100%);
}
.team-card .name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
}
.team-card .role { color: var(--brand); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }

.newsletter-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap);
}
.newsletter-card {
  padding: 32px;
  border: 1px solid var(--hairline);
  background: #fff;
}
.newsletter-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  margin: 8px 0;
}
.newsletter-card p { color: var(--muted); margin: 0 0 18px 0; }
.cadence-pill {
  display: inline-block;
  padding: 3px 10px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--brand-tint);
  color: var(--brand);
}

/* ============================================================
   BEST BRANDS — directory page
   ============================================================ */
.bb-hero {
  padding: 72px 0 56px;
  border-bottom: 1px solid var(--hairline);
  background: linear-gradient(180deg, #fff 0%, #fafaf8 100%);
}
.bb-hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.025em;
  margin: 8px 0 16px;
}
.bb-lede {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.5;
  color: var(--muted);
  max-width: 720px;
  margin: 0;
}
.bb-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--hairline);
}
.bb-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.bb-stat strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.7rem, 2.6vw, 2.4rem);
  color: var(--ink);
  letter-spacing: -0.015em;
  line-height: 1;
}
.bb-stat span {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.bb-section { padding: 48px 0 80px; }

.bb-toolbar {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 12px;
  margin-bottom: 18px;
}
.bb-toolbar input[type=search],
.bb-toolbar select {
  padding: 12px 14px;
  border: 1px solid var(--ink);
  background: #fff;
  font-size: 0.92rem;
  font-family: inherit;
  appearance: none;
  -webkit-appearance: none;
}
.bb-toolbar select {
  padding-right: 36px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1.5L6 6.5L11 1.5' stroke='%230a0a0a' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
}
.bb-toolbar input[type=search]:focus,
.bb-toolbar select:focus {
  outline: 2px solid var(--brand);
  outline-offset: -1px;
}

.bb-result-line {
  font-size: 0.86rem;
  color: var(--muted);
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--hairline);
}
.bb-result-line strong { color: var(--ink); font-weight: 700; }

.bb-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.bb-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--hairline);
  padding: 22px;
  color: inherit;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
  position: relative;
}
.bb-card:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px -14px rgba(0, 0, 0, 0.18);
}
.bb-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.bb-logo {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  background: var(--paper);
  border: 1px solid var(--hairline);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.bb-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
}
.bb-logo-init {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--brand);
}
.bb-card-head-text { min-width: 0; }
.bb-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.18rem;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0 0 6px 0;
  color: var(--ink);
}
.bb-card:hover .bb-name { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.bb-sector-pill {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand);
  padding: 2px 8px;
  background: var(--brand-tint);
  border: 1px solid var(--brand);
}
.bb-desc {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.5;
  margin: 0 0 18px 0;
  flex: 1;
}
.bb-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--hairline);
}
.bb-meta-row {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 0.78rem;
  color: var(--muted);
}
.bb-meta-item { display: inline-flex; align-items: center; gap: 5px; }
.bb-meta-item svg { color: var(--brand); }
.bb-meta-foot { justify-content: space-between; }
.bb-funding {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--ink);
}
.bb-funding-empty {
  font-size: 0.78rem;
  color: var(--muted);
  font-style: italic;
}
.bb-stage-pill {
  display: inline-block;
  padding: 3px 9px;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--hairline);
  background: var(--paper);
  color: var(--ink);
  white-space: nowrap;
}
.bb-stage-pill.stage-seed,
.bb-stage-pill.stage-idea { color: #0a7a3b; border-color: #0a7a3b; background: #f0faf4; }
.bb-stage-pill.stage-series_a,
.bb-stage-pill.stage-series_b { color: #0b5394; border-color: #0b5394; background: #eff5fa; }
.bb-stage-pill.stage-series_c,
.bb-stage-pill.stage-series_d_plus { color: #8a3ffc; border-color: #8a3ffc; background: #f5efff; }
.bb-stage-pill.stage-late_stage,
.bb-stage-pill.stage-public { color: var(--brand); border-color: var(--brand); background: var(--brand-tint); }
.bb-stage-pill.stage-acquired { color: var(--muted); }

@media (max-width: 1024px) {
  .bb-stats { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .bb-toolbar { grid-template-columns: 1fr 1fr; }
  .bb-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .bb-hero { padding: 48px 0 36px; }
  .bb-toolbar { grid-template-columns: 1fr; gap: 10px; }
  .bb-grid { grid-template-columns: 1fr; gap: 14px; }
  .bb-section { padding: 28px 0 56px; }
}

/* Podcasts page */
.podcast-platforms {
  display: flex;
  gap: 8px;
  margin-top: 18px;
  flex-wrap: wrap;
}
.podcast-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.podcast-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 22px;
  padding: 18px;
  border: 1px solid var(--hairline);
  background: #fff;
  color: inherit;
  transition: border-color 0.15s ease;
}
.podcast-card:hover { border-color: var(--ink); }
.pod-cover-wrap {
  width: 200px;
  height: 200px;
  background: var(--paper);
  border: 1px solid var(--hairline);
}
.pod-cover {
  width: 100%; height: 100%;
  object-fit: cover;
}
.pod-meta { display: flex; flex-direction: column; }
.pod-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.2;
  margin: 6px 0 8px 0;
}
.pod-dek {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
  margin: 0 0 12px 0;
  flex: 1;
}
.pod-foot {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 0.76rem;
  color: var(--muted);
}
.pod-foot .dot { width: 3px; height: 3px; background: var(--muted); border-radius: 50%; display: inline-block; }
@media (max-width: 1024px) {
  .podcast-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .podcast-card { grid-template-columns: 1fr; }
  .pod-cover-wrap { width: 100%; height: auto; aspect-ratio: 1; }
}

/* Search page */
.search-bar-large {
  display: flex;
  border: 2px solid var(--ink);
  margin: 24px 0;
}
.search-bar-large input {
  flex: 1;
  padding: 16px 18px;
  border: 0;
  outline: 0;
  font-size: 1.1rem;
}
.search-bar-large button {
  background: var(--ink);
  color: #fff;
  border: 0;
  padding: 0 28px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Profile */
.profile-shell {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: var(--gap);
  padding: 40px 0;
}
.profile-side {
  background: var(--paper);
  padding: 24px;
  height: max-content;
}
.profile-side .avatar {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
  border: 1px solid var(--hairline);
  margin-bottom: 16px;
}
.profile-side .name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
}
.profile-side .role-text { color: var(--muted); font-size: 0.86rem; }
.profile-side nav {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-top: 1px solid var(--hairline);
  padding-top: 14px;
}
.profile-side nav a {
  padding: 8px 0;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
  border-left: 3px solid transparent;
  padding-left: 10px;
  margin-left: -10px;
}
.profile-side nav a.is-active { color: var(--brand); border-left-color: var(--brand); }

/* ============================================================
   TOAST
   ============================================================ */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.toast {
  padding: 14px 18px;
  background: var(--ink);
  color: #fff;
  border-left: 3px solid var(--brand);
  font-size: 0.9rem;
  font-weight: 500;
  min-width: 280px;
  max-width: 400px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  animation: toast-in 0.25s ease-out;
}
.toast.success { border-left-color: var(--up); }
.toast.error { border-left-color: var(--down); }
.toast.warn { border-left-color: var(--yellow); }
@keyframes toast-in {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ============================================================
   REVEAL — content is always visible. The .reveal class is a
   marker (kept for potential future animation hooks) but does
   not hide anything by default. This avoids invisible-content
   bugs when async data renders after the IntersectionObserver
   has already set up.
   ============================================================ */
.reveal, .reveal.is-revealed { opacity: 1; transform: none; }

/* ============================================================
   EMPTY STATE
   ============================================================ */
.empty-state {
  padding: 60px 24px;
  text-align: center;
  color: var(--muted);
}
.empty-state .icon { font-size: 2rem; margin-bottom: 12px; opacity: 0.4; }
.empty-state h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  margin: 0 0 8px 0;
  color: var(--ink);
}
.loading-state {
  padding: 60px 24px;
  text-align: center;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.86rem;
}

/* ============================================================
   ACCESS DENIED
   ============================================================ */
.access-denied {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 40px;
}
.access-denied h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.4rem;
  margin: 0 0 12px 0;
}
.access-denied p { color: var(--muted); margin: 0 0 24px 0; }

/* Mobile-only sticky share rail (rules inside the 768px breakpoint below
   override this). On desktop it stays hidden. */
.mobile-share-rail { display: none; }

/* ============================================================
   COOKIE CONSENT BANNER
   Sticky bottom strip, full viewport width, ink-black bg with a
   red accent bar. Auto-shown on first visit; localStorage flag
   suppresses it after Accept or Decline.
   ============================================================ */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 9000;
  background: var(--black);
  color: #fff;
  border-top: 3px solid var(--brand);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 0.92rem;
  line-height: 1.5;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.18);
  transform: translateY(100%);
  transition: transform 0.32s cubic-bezier(.2, .8, .2, 1);
}
.cookie-banner.is-visible { transform: translateY(0); }
.cookie-banner .cookie-msg {
  flex: 1;
  max-width: 920px;
  color: #d5d5d5;
}
.cookie-banner .cookie-msg strong { color: #fff; }
.cookie-banner .cookie-msg a { color: var(--brand); text-decoration: underline; }
.cookie-banner .cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.cookie-banner .cookie-actions .btn { padding: 9px 16px; font-size: 0.84rem; }
.cookie-banner .btn-cookie-accept { background: var(--brand); color: #fff; border: 1px solid var(--brand); }
.cookie-banner .btn-cookie-accept:hover { background: var(--brand-dark); }
.cookie-banner .btn-cookie-decline { background: transparent; color: #fff; border: 1px solid #555; }
.cookie-banner .btn-cookie-decline:hover { border-color: #fff; background: rgba(255,255,255,0.06); }
@media (max-width: 768px) {
  .cookie-banner { flex-direction: column; align-items: stretch; padding: 14px 16px; gap: 12px; }
  .cookie-banner .cookie-actions { justify-content: stretch; }
  .cookie-banner .cookie-actions .btn { flex: 1; justify-content: center; }
}

/* ============================================================
   404 PAGE
   ============================================================ */
.notfound {
  padding: 80px 0 100px;
  border-bottom: 1px solid var(--hairline);
}
.notfound-code {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(6rem, 14vw, 11rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--brand);
  font-variation-settings: "opsz" 144;
  display: block;
}
.notfound h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 8px 0 14px;
}
.notfound p {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 640px;
  line-height: 1.5;
}
.notfound-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 24px 0 60px;
}
.notfound-recent h3 {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--ink);
}

/* ============================================================
   SEARCH OVERLAY
   ============================================================ */
.k-search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.66);
  z-index: 9700;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 64px 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.k-search-overlay.is-open { opacity: 1; pointer-events: auto; }
.k-search-card {
  background: #fff;
  max-width: 640px;
  width: 100%;
  padding: 36px;
  position: relative;
  border-top: 4px solid var(--brand);
  transform: translateY(-12px);
  transition: transform 0.25s cubic-bezier(.2,.8,.2,1);
}
.k-search-overlay.is-open .k-search-card { transform: translateY(0); }
.k-search-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 36px; height: 36px;
  background: none;
  border: 0;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
}
.k-search-close:hover { color: var(--ink); }
.k-search-form {
  display: flex;
  border: 2px solid var(--ink);
  background: #fff;
}
.k-search-form input {
  flex: 1;
  padding: 14px 16px;
  border: 0;
  outline: 0;
  font-size: 1.05rem;
  font-family: inherit;
}
.k-search-form .btn { padding: 0 24px; }
.k-search-card kbd {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 2px 6px;
  border: 1px solid var(--hairline);
  background: var(--paper);
  border-radius: 3px;
}
.k-search-foot {
  font-size: 0.78rem;
  color: #8a8a8a;
  margin: 14px 0 0;
}

/* Live search results — fixed-height scrollable box */
.k-search-results {
  margin-top: 14px;
  height: 360px;
  max-height: 50vh;
  overflow-y: auto;
  border: 1px solid var(--hairline);
  background: #fff;
  padding: 0 14px;
  display: none;
  scrollbar-width: thin;
  scrollbar-color: #c8c8cc transparent;
}
.k-search-results.has-results {
  display: block;
  padding: 12px 14px;
}
.k-search-results::-webkit-scrollbar { width: 8px; }
.k-search-results::-webkit-scrollbar-thumb { background: #c8c8cc; border-radius: 4px; }
.k-search-results::-webkit-scrollbar-track { background: transparent; }
.k-search-results mark {
  background: #fff3a3;
  color: inherit;
  padding: 0 1px;
}
.k-sr-section { padding: 6px 0 4px; }
.k-sr-section + .k-sr-section { border-top: 1px solid var(--hairline); margin-top: 6px; padding-top: 10px; }
.k-sr-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8a8a8a;
  margin: 0 0 6px;
}
.k-sr-cat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  margin: 0 6px 6px 0;
  border: 1px solid var(--hairline);
  color: var(--ink);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 600;
  background: var(--paper);
  transition: background 0.12s ease;
}
.k-sr-cat:hover { background: #f3f3f5; }
.k-sr-cat-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.k-sr-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  padding: 10px 8px;
  margin: 0 -8px;
  border-radius: 2px;
  color: var(--ink);
  text-decoration: none;
  transition: background 0.12s ease;
}
.k-sr-item:hover { background: var(--paper); }
.k-sr-thumb {
  width: 72px;
  height: 56px;
  overflow: hidden;
  background: #eaeaea;
}
.k-sr-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.k-sr-thumb-empty {
  background: linear-gradient(135deg, #ececef 0%, #d9d9dd 100%);
}
.k-sr-body { min-width: 0; }
.k-sr-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  color: #6a6a6a;
  margin-bottom: 4px;
}
.k-sr-cat-tag {
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand);
  font-weight: 600;
}
.k-sr-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.3;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.k-sr-summary {
  font-size: 0.82rem;
  color: #5a5a5a;
  line-height: 1.4;
  margin-top: 3px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.k-sr-loading,
.k-sr-empty {
  padding: 14px 8px;
  font-size: 0.88rem;
  color: #6a6a6a;
  text-align: center;
}
.k-sr-all {
  display: block;
  margin: 12px 0 0;
  padding: 10px 8px;
  border-top: 1px solid var(--hairline);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand);
  text-decoration: none;
  font-weight: 700;
}
.k-sr-all:hover { background: var(--paper); }

/* ============================================================
   FOOTER SOCIAL ICONS
   ============================================================ */
.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-social {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #1a1a1a;
  color: #c5c5c5;
  border: 1px solid #2a2a2a;
  transition: all 0.15s ease;
}
.footer-social:hover,
.footer-social:focus-visible {
  background: #1a1a1a;
  color: var(--brand);
  border-color: var(--brand);
  box-shadow: 0 0 0 1px var(--brand), 0 0 12px rgba(209, 10, 17, 0.45);
}
.footer-social:hover svg,
.footer-social:focus-visible svg {
  filter: drop-shadow(0 0 4px rgba(209, 10, 17, 0.55));
}

/* ============================================================
   METRICS BAND (homepage)
   ============================================================ */
.metrics-band {
  background: var(--ink);
  color: #fff;
  padding: 56px 0;
  border-top: 4px solid var(--brand);
  border-bottom: 1px solid #1a1a1a;
}
.metrics-band .metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.metrics-band .metric {
  text-align: center;
  border-right: 1px solid #1a1a1a;
  padding: 0 14px;
}
.metrics-band .metric:last-child { border-right: 0; }
.metrics-band .metric-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  line-height: 1;
  color: var(--brand);
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 96;
  margin-bottom: 8px;
}
.metrics-band .metric-label {
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #c5c5c5;
}
.metrics-band .metric-sub {
  margin-top: 8px;
  font-size: 0.78rem;
  color: #8a8a8a;
}

/* ============================================================
   PARTNERSHIP TIERS (contact page)
   ============================================================ */
.partnership-tiers {
  margin: 24px 0 40px;
  padding: 28px 0 8px;
  border-top: 1px solid var(--hairline);
}
.partnership-tiers h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  margin: 0 0 16px;
}
.tiers-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.tier-card {
  border: 1px solid var(--hairline);
  padding: 20px;
  background: #fff;
  display: flex;
  flex-direction: column;
}
.tier-card h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  margin: 0 0 8px;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 10px;
}
.tier-card h4::before {
  content: "";
  width: 18px;
  height: 3px;
  background: var(--brand);
  display: inline-block;
  flex-shrink: 0;
}
.tier-card p {
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}
@media (max-width: 768px) {
  .tiers-grid { grid-template-columns: 1fr; }
  .metrics-band .metrics-grid { grid-template-columns: repeat(3, 1fr); row-gap: 36px; }
  .metrics-band .metric:last-child { border-right: 0; }
  .metrics-band .metric { padding: 0 6px; }
  .notfound { padding: 56px 0 64px; }
}

/* ============================================================
   PRINT
   Strip chrome, show only article. Force black-on-white for ink-
   friendly output. Triggered when user prints from any page.
   ============================================================ */
@media print {
  #chrome, #footer, .footer,
  .utility-bar, .ticker-bar, .breaking-ribbon, .masthead, .nav,
  .byline-actions, .comments-section, .related-section, .companies-strip,
  .author-card, .tags-row, .paywall-card, .auth-wall, .toast-container,
  .read-progress, .cookie-banner, .nav-mobile-btn { display: none !important; }
  body { background: #fff !important; color: #000 !important; }
  main { padding: 0 !important; }
  .article-hero { padding: 0 0 16px 0 !important; }
  .article-title { font-size: 32pt !important; color: #000 !important; border-left: 0 !important; padding-left: 0 !important; }
  .article-subtitle { font-size: 14pt !important; color: #333 !important; padding-left: 0 !important; }
  .article-pill, .article-crumb, .article-timeago { display: none !important; }
  .article-body {
    max-width: 100% !important;
    padding: 0 !important;
    font-size: 11pt !important;
    line-height: 1.5 !important;
    color: #000 !important;
  }
  .article-body a { color: #000 !important; border-bottom: 1px dotted #000 !important; }
  .article-body a::after { content: " (" attr(href) ")"; font-size: 9pt; color: #555; }
  .article-body .blockquote-pull, .article-body blockquote {
    border-left: 3px solid #000 !important;
    color: #000 !important;
    page-break-inside: avoid;
  }
  .article-body h2, .article-body h3 { page-break-after: avoid; }
  .article-body img, .cover-img-wrap img { max-width: 100% !important; page-break-inside: avoid; }
  .article-body .dropcap::first-letter,
  .article-body > p:first-of-type::first-letter { color: #000 !important; }
  .kicker { color: #000 !important; }
  /* Print-only footer with URL + timestamp */
  .article-hero::after,
  body[data-page="article"]::after {
    content: "Karostartup · " attr(data-url);
    display: block;
    margin-top: 24pt;
    font-size: 9pt;
    color: #555;
    border-top: 1px solid #ccc;
    padding-top: 8pt;
  }
}

/* ============================================================
   MOBILE
   ============================================================ */
@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr; gap: 24px; }
  .hero-side-left { order: 3; padding-top: 20px; border-top: 1px solid var(--hairline); }
  .hero-middle { order: 1; }
  .hero-side-right { order: 2; }

  /* ===== CNN-style overlay lead — applies for tablet + phone =====
     <a> is locked to a 4:5 box with overflow:hidden. The image fills
     it; kicker, title, and meta are absolutely pinned inside. A bottom-
     anchored black gradient guarantees white text is readable. */
  .hero-lead-v2 > a {
    display: block;
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: #0a0a0a;        /* dark fallback if cover image fails */
    color: #fff;
  }
  .hero-lead-img {
    margin-bottom: 0;
    position: absolute;
    inset: 0;
    aspect-ratio: auto;          /* override desktop 16/10 */
    background: #0a0a0a;
  }
  .hero-lead-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
  }
  /* Solid-bottom → transparent-top gradient. Strong enough that white
     text is readable even on light/airy images. */
  .hero-lead-img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
      rgba(0,0,0,0.92) 0%,
      rgba(0,0,0,0.78) 22%,
      rgba(0,0,0,0.45) 50%,
      rgba(0,0,0,0.12) 75%,
      rgba(0,0,0,0)    95%);
    pointer-events: none;
    z-index: 1;
  }
  .hero-lead-kicker {
    position: absolute;
    top: 14px; left: 14px;
    background: var(--brand);
    color: #fff;
    padding: 5px 10px;
    font-family: var(--font-mono);
    font-size: 0.66rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
    border-radius: 3px;
    z-index: 3;
  }
  .hero-lead-title {
    position: absolute;
    left: 16px; right: 16px;
    bottom: 56px;
    color: #fff !important;
    font-size: clamp(1.3rem, 4.5vw, 1.85rem) !important;
    line-height: 1.18 !important;
    font-weight: 800;
    margin: 0;
    z-index: 3;
    text-shadow: 0 1px 14px rgba(0,0,0,0.6);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
  }
  .hero-lead-v2 > a:hover .hero-lead-title { text-decoration: none; }
  .hero-lead-dek { display: none; }
  .hero-lead-meta {
    position: absolute;
    left: 16px; right: 16px;
    bottom: 16px;
    z-index: 3;
    padding: 0;
    border: 0;
    margin: 0;
    color: rgba(255, 255, 255, 0.88) !important;
    font-size: 0.74rem;
    text-shadow: 0 1px 8px rgba(0,0,0,0.5);
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
  }
  .hero-lead-meta strong,
  .hero-lead-meta time,
  .hero-lead-meta span { color: inherit !important; }
  .hero-lead-meta .meta-dot { background: rgba(255, 255, 255, 0.55) !important; }
}
@media (max-width: 1024px) {
  .hero-top-stories { margin-top: 8px; }
  .latest-news-grid { grid-template-columns: repeat(2, 1fr); }
  .top-strip { grid-template-columns: repeat(2, 1fr); row-gap: 24px; }
  .top-strip .strip-item { border-left: 0; padding: 0 0 16px 0; border-bottom: 1px solid var(--hairline); }
  .deals-grid { grid-template-columns: 1fr; }
  .sector-grid { grid-template-columns: repeat(2, 1fr); }
  .longread-grid { grid-template-columns: repeat(2, 1fr); }
  .markets-grid { grid-template-columns: 1fr; }
  .opinion-row { grid-template-columns: 1fr; }
  .plus-cta-block .container { grid-template-columns: 1fr; gap: 32px; }
  .newsletter-block .container { grid-template-columns: 1fr; gap: 32px; }
  .latest-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .founder-spotlight .container { grid-template-columns: 1fr; gap: 32px; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-stats { grid-template-columns: repeat(2, 1fr); }
  .auth-shell { grid-template-columns: 1fr; }
  .auth-brand { padding: 40px; }
  .auth-brand .tagline { margin: 24px 0; }
  .editor-grid { grid-template-columns: 1fr; }
  .admin-shell { grid-template-columns: 200px 1fr; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .newsletter-grid { grid-template-columns: 1fr; }
  .cat-layout { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; gap: 32px; }
  .inbox { grid-template-columns: 1fr; height: auto; }
  .profile-shell { grid-template-columns: 1fr; }
  .feed-item { grid-template-columns: 1fr; }
  .feed-item .thumb { width: 100%; height: 200px; order: -1; }
  .company-head .container { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --gap: 20px; --gutter: 16px; }
  .utility-bar .quick-chips { display: none; }
  .masthead { padding: 12px 0; }
  .masthead .container { grid-template-columns: auto 1fr auto; }
  /* On mobile the masthead-left collapses to JUST the hamburger button. */
  .masthead-left .masthead-link { display: none; }
  .nav-mobile-btn { display: inline-flex; }
  .k-drawer-scrim { display: block; }
  .masthead-right { display: none; }        /* Plus + search button both hidden on mobile */
  .masthead .search-btn { display: none; }  /* replaced by the inline bar below the logo */
  .masthead .container { grid-template-columns: auto 1fr; }
  .masthead .logo { justify-self: center; }
  /* Full-width NDTV-style search bar in the row below the logo. */
  .mobile-search {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 12px 0 2px;
    padding: 10px 14px;
    background: var(--paper);
    border: 1px solid var(--hairline);
    border-radius: 6px;
  }
  .nav { display: none; }                  /* category bar hidden on mobile — drawer covers it */
  .nav-links { gap: 18px; }
  .top-strip { grid-template-columns: 1fr; }
  .latest-news-grid { grid-template-columns: 1fr; gap: 18px; }

  /* (overlay lead is now defined at the 1100px breakpoint above —
     this 768px block only adds typography tweaks for phones) */
  .hero-lead-title { font-size: 1.4rem !important; }
  .hero-lead-kicker { font-size: 0.62rem; padding: 4px 9px; }

  /* Top Stories and Editor's Picks on mobile — tighter, no big inner padding */
  .hero-top-stories { padding: 14px 14px; }
  .hero-top-list .ts-title { font-size: 0.92rem; }
  .hero-top-list .ts-num { font-size: 1.2rem; }
  .hero-side-head { font-size: 0.7rem; }
  .hero-promo-rotator { padding: 18px; }
  .sector-grid { grid-template-columns: 1fr; }
  .longread-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; padding-bottom: 24px; }
  .footer-bottom { flex-direction: column; gap: 14px; text-align: center; }
  .stat-grid { grid-template-columns: 1fr; }
  .admin-stats { grid-template-columns: 1fr; }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-sidebar { position: relative; height: auto; padding: 14px 0 10px; overflow: visible; }
  .admin-sidebar nav { flex-direction: row; flex-wrap: wrap; gap: 6px; padding: 4px 10px 10px; overflow: visible; }
  .admin-sidebar nav a {
    flex: 0 0 auto;
    padding: 7px 11px;
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-left: 0;
    border-bottom: 2px solid transparent;
    border-radius: 4px;
    font-size: 0.82rem;
    white-space: nowrap;
  }
  .admin-sidebar nav a.is-active {
    border-left: 0;
    border-bottom-color: var(--brand);
    background: #2a1212;
    color: #fff;
  }
  .admin-sidebar .logo { margin: 0 12px 8px; }
  .admin-sidebar .role-chip { margin: 0 12px 8px; padding: 5px 9px; font-size: 0.65rem; }
  .admin-bar { padding: 10px 16px; flex-wrap: wrap; gap: 8px; }
  .admin-bar .breadcrumb { font-size: 0.78rem; }
  .admin-bar .user-menu { gap: 10px; font-size: 0.78rem; flex-wrap: wrap; }
  .admin-content { padding: 20px 14px; }
  /* Tighten admin cards on mobile and let any wide table inside scroll
     horizontally so every column stays reachable. */
  .admin-card { padding: 14px; margin-bottom: 16px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .admin-card-head { margin-bottom: 12px; padding-bottom: 8px; }
  .admin-table { font-size: 0.82rem; width: max-content; min-width: 100%; }
  .admin-table th, .admin-table td { padding: 9px 8px; white-space: nowrap; }
  .admin-toolbar { gap: 8px; }
  .admin-toolbar .search { min-width: 0; width: 100%; flex: 1 1 100%; }
  .admin-toolbar select { flex: 1 1 auto; }
  .related-grid { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: 1fr; }
  /* CNN-style mobile sign-in — hide the dark brand pane, centre the
     form on a clean white surface with a small logo at the top and
     the existing form below. Mirrors edition.cnn.com/account/log-in. */
  .auth-shell { display: block; min-height: 100vh; background: #fff; }
  .auth-brand { display: none; }
  .auth-form-pane {
    padding: 28px 22px 40px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
  }
  .auth-form-pane::before {
    content: "Karostartup";
    display: block;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--ink);
    letter-spacing: -0.02em;
    margin: 8px 0 28px;
    text-align: center;
  }
  .auth-form-pane .top-link {
    position: static;
    margin: 18px auto 0;
    text-align: center;
    font-size: 0.88rem;
  }
  .auth-form {
    max-width: 380px;
    width: 100%;
    margin: 0 auto;
  }
  .auth-form h1 {
    font-size: 1.5rem !important;
    text-align: left;
    margin-bottom: 6px;
  }
  .auth-form .sub {
    margin-bottom: 22px;
    font-size: 0.94rem;
  }
  .auth-form .submit-btn {
    padding: 14px 16px;
    font-size: 1rem;
    font-weight: 700;
    background: var(--brand);
    color: #fff;
    border: 0;
    border-radius: 2px;
    margin-top: 4px;
  }
  .form-row { grid-template-columns: 1fr; }
  .article-body {
    padding: 0 18px;
    font-size: 1.12rem;      /* bigger for comfortable thumb reading */
    line-height: 1.72;
  }
  .article-body p { margin-bottom: 1.3em; }
  .article-body h2 { font-size: 1.5rem; margin-top: 1.6em; }
  .article-body h3 { font-size: 1.22rem; margin-top: 1.4em; }
  .article-body .blockquote-pull,
  .article-body blockquote { font-size: 1.15rem; padding-left: 16px; margin: 1.3em 0; }
  .article-title { font-size: 1.85rem !important; line-height: 1.1 !important; padding-left: 14px; border-left-width: 4px; }
  .article-hero { padding: 22px 0 18px 0; }
  .article-hero .container { padding: 0 18px; }
  .article-subtitle { font-size: 1.02rem !important; line-height: 1.4 !important; padding-left: 14px; }
  .article-timeago { margin-left: 14px; }
  .article-pill { font-size: 0.68rem; padding: 5px 10px; }
  .article-body .dropcap::first-letter,
  .article-body > p:first-of-type::first-letter {
    font-size: 3em;
    padding: 4px 8px 0 0;
  }
  .cover-img-wrap { padding: 0; margin-bottom: 22px; }
  .cover-img-wrap img { aspect-ratio: 4 / 3; }   /* slightly taller cover on mobile reads better */
  .cover-caption { padding: 0 18px; }
  .byline-row { padding: 12px 0 14px; margin-left: 14px; gap: 12px; flex-wrap: wrap; }
  .byline-author { order: 1; width: 100%; }
  .byline-avatar { width: 28px; height: 28px; }
  .byline-actions { width: 100%; order: 2; justify-content: flex-start; gap: 6px; }
  .share-btn { width: 36px; height: 36px; }   /* meets touch target */
  .mobile-share-rail {
    display: flex;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: #fff;
    border-top: 1px solid var(--hairline);
    padding: 8px 12px max(env(safe-area-inset-bottom, 8px), 8px) 12px;
    gap: 6px;
    z-index: 70;
    justify-content: space-around;
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.04);
  }
  .mobile-share-rail .icon-btn {
    width: 44px; height: 44px;
    border: 0;
    color: var(--ink);
  }
  .mobile-share-rail .icon-btn:hover,
  .mobile-share-rail .icon-btn.active { color: var(--brand); }
  /* leave room at the bottom of the article so the rail doesn't cover content */
  body[data-page="article"] { padding-bottom: 64px; }
  .contact-tabs .contact-tab { padding: 8px 12px; font-size: 0.8rem; }
  .toast { min-width: 240px; }
  .toast-container { left: 16px; right: 16px; }
  /* Container padding tighter on phones */
  .container { padding: 0 16px; }
  /* Section header — smaller heading + label */
  .h-section { font-size: 1.4rem; }
  .section-header { margin-bottom: 20px; padding-bottom: 10px; }
  /* Auth-wall modal — nearly full-screen on phones so the CTAs are huge */
  .authwall-modal { padding: 0; }
  .authwall-card {
    border-top: 0;
    border-radius: 0;
    padding: 64px 24px 40px;
    max-width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .authwall-actions .btn { padding: 16px 18px; font-size: 1rem; }
  .authwall-close { top: 16px; right: 16px; width: 44px; height: 44px; font-size: 2rem; }
  /* Inline read-full CTA — tighter spacing for small screens */
  .authwall-inline { padding: 22px 16px 40px; }
  .authwall-inline-lede { font-size: 1.32rem; }
  .authwall-inline .btn { width: 100%; max-width: 360px; padding: 16px 20px; }
  /* Buttons everywhere — bigger thumb targets on mobile */
  .btn { padding: 13px 20px; font-size: 0.94rem; }
  .btn-lg { padding: 16px 24px; font-size: 1rem; }
  .btn-sm { padding: 10px 14px; font-size: 0.84rem; }
  /* Hero headline punchier on tiny screens */
  .hero-lead .title { font-size: clamp(1.8rem, 7vw, 2.4rem); }
  /* Comments form bigger tap target */
  .comment-form textarea { font-size: 1rem; min-height: 120px; }
  /* Newsletter form vertical stack on phones */
  .newsletter-form { flex-direction: column; border-width: 1px; }
  .newsletter-form input[type=email] { border-bottom: 1px solid var(--hairline); }
  .newsletter-form button { padding: 14px; }
  .cat-sub-form { flex-direction: column; }
  .cat-sub-form button { padding: 14px; }
  /* Section paddings tighter on mobile */
  .section { padding: 32px 0; }
  /* Cookie banner already stacks; bump touch target */
  .cookie-banner .cookie-actions .btn { padding: 13px 16px; min-height: 44px; }
  /* Avoid horizontal overflow */
  body { overflow-x: hidden; }
}

/* Image-based brand mark (logo + wordmark PNG) replaces the old text+dot logo
   in masthead, drawer, footer, auth-brand, and admin-sidebar. Dark surfaces
   get a small white pill behind the mark so the black wordmark stays legible. */
.masthead .logo,
.k-drawer-logo,
.footer-brand .logo,
.auth-brand .logo,
.admin-sidebar .logo {
  line-height: 0;
}
.masthead .logo img,
.k-drawer-logo img,
.footer-brand .logo img,
.auth-brand .logo img,
.admin-sidebar .logo img {
  display: block;
  width: auto;
  max-width: 100%;
}
.masthead .logo img       { height: 36px; }
.k-drawer-logo img        { height: 26px; }
.footer-brand .logo img   { height: 32px; }
.auth-brand .logo img     { height: 40px; }
.admin-sidebar .logo img  { height: 26px; }

/* Dark-surface backdrop so the black-on-transparent wordmark stays readable */
.footer-brand .logo,
.auth-brand .logo,
.admin-sidebar .logo {
  display: inline-block;
  background: #fff;
  padding: 8px 12px;
  border-radius: 6px;
}
.admin-sidebar .logo {
  margin: 0 24px 18px 24px;
  padding: 6px 10px;
}

@media (max-width: 768px) {
  .masthead .logo img      { height: 30px; }
  .footer-brand .logo img  { height: 28px; }
  .auth-brand .logo img    { height: 34px; }
  .admin-sidebar .logo img { height: 22px; }
}
