@import url("https://fonts.googleapis.com/css2?family=Archivo+Expanded:wght@700;800&family=Manrope:wght@400;500;600;700;800&family=Newsreader:opsz,wght@6..72,400;6..72,500;6..72,700&display=swap");

:root {
  --bg: #fff7ef;
  --surface: #fffdf9;
  --surface-strong: #ffffff;
  --ink: #161311;
  --muted: #655d56;
  --border: rgba(24, 19, 17, 0.08);
  --shadow: 0 18px 40px rgba(33, 24, 18, 0.06);
  --shadow-soft: 0 10px 24px rgba(33, 24, 18, 0.05);
  --accent: #ff5f3a;
  --accent-blue: #2f7cff;
  --accent-yellow: #ffd84e;
  --accent-green: #19c37d;
  --radius-xl: 34px;
  --radius-lg: 22px;
  --radius-md: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff8f0;
  font-family: "Manrope", sans-serif;
}

img {
  display: block;
  max-width: 100%;
}

picture {
  display: contents;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.site-chrome {
  position: relative;
  overflow: hidden;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(1260px, calc(100% - 32px));
  margin: 18px auto 0;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(12, 12, 12, 0.98);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: 58px;
  height: 58px;
  object-fit: contain;
  flex: 0 0 auto;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.brand-copy strong {
  font-family: "Archivo Expanded", sans-serif;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ffffff;
}

.brand-sub {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.68);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.92rem;
  font-weight: 700;
}

.nav a {
  transition: color 180ms ease, transform 180ms ease;
}

.nav a:hover {
  color: #ffffff;
  transform: translateY(-1px);
}

.page-shell {
  width: min(1260px, calc(100% - 32px));
  margin: 28px auto 56px;
}

.hero {
  display: block;
  min-height: 0;
}

.hero-copy,
.filters,
.story-card,
.drop-pill {
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-copy {
  position: relative;
  width: 100%;
  max-width: none;
  padding: clamp(28px, 4vw, 48px);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.hero-copy::before {
  content: none;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1,
.hero-heading {
  margin: 0;
  font-family: "Archivo Expanded", sans-serif;
  font-size: clamp(2.5rem, 5vw, 5.7rem);
  line-height: 0.92;
  text-transform: uppercase;
}

.hero-line {
  display: block;
}

.hero-line + .hero-line {
  margin-top: 16px;
}

.hero-line-accent {
  color: var(--accent);
}

.hero-sub {
  max-width: 38rem;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.7;
}

.hero-actions,
.hero-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), #ff9544);
  box-shadow: 0 16px 30px rgba(255, 95, 58, 0.28);
}

.button-secondary,
.button-ghost {
  border-color: var(--border);
  background: #fffaf4;
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
}

.stat-card {
  padding: 16px 18px;
  border: 1px solid rgba(22, 19, 17, 0.08);
  border-radius: 20px;
  background: #fffdf9;
}

.stat-value {
  font-family: "Archivo Expanded", sans-serif;
  font-size: 1.4rem;
  line-height: 1;
}

.stat-label {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.story-card-top,
.story-card-top,
.panel-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.story-category,
.panel-category {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(22, 19, 17, 0.08);
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.story-date,
.panel-date,
.section-note {
  color: var(--muted);
  font-size: 0.88rem;
}

.story-thumb-wrap,
.panel-image-wrap {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 320px;
  overflow: hidden;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(249, 242, 236, 0.92)),
    linear-gradient(90deg, rgba(22, 19, 17, 0.04) 1px, transparent 1px),
    linear-gradient(rgba(22, 19, 17, 0.04) 1px, transparent 1px);
  background-size: auto, 22px 22px, 22px 22px;
}

.hero-art-wrap::after,
.panel-image-wrap::after {
  content: none;
}

.story-thumb,
.panel-image {
  max-height: 100%;
  object-fit: contain;
}

.panel-title {
  margin: 0;
  font-family: "Archivo Expanded", sans-serif;
  font-size: clamp(1.5rem, 2vw, 2.3rem);
  line-height: 1.04;
  text-transform: uppercase;
}

.panel-summary,
.panel-angle {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.tag-source {
  border-style: dashed;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.section-head h2 {
  margin: 0;
  font-family: "Archivo Expanded", sans-serif;
  font-size: clamp(1.5rem, 2.4vw, 2.4rem);
  text-transform: uppercase;
}

.today-drop,
.archive-section {
  margin-top: 34px;
}

.drop-rail {
  display: block;
}

.hot-take-feature {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(22px, 4vw, 48px);
  align-items: start;
  padding: clamp(18px, 3vw, 34px);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 14% 18%, rgba(255, 95, 58, 0.16), transparent 34%),
    linear-gradient(135deg, #fffdf9 0%, #fff7ef 100%);
  box-shadow: var(--shadow);
}

.hot-take-sticker {
  display: grid;
  place-items: start center;
  align-self: start;
  min-height: clamp(280px, 38vw, 520px);
  padding: clamp(10px, 2vw, 22px);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(249, 242, 236, 0.9)),
    linear-gradient(90deg, rgba(22, 19, 17, 0.04) 1px, transparent 1px),
    linear-gradient(rgba(22, 19, 17, 0.04) 1px, transparent 1px);
  background-size: auto, 22px 22px, 22px 22px;
}

.hot-take-sticker img {
  width: min(100%, 520px);
  max-height: 520px;
  object-fit: contain;
  object-position: top center;
  filter: drop-shadow(0 22px 24px rgba(33, 24, 18, 0.14));
}

.hot-take-copy {
  min-width: 0;
}

.hot-take-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hot-take-kicker {
  margin: 22px 0 8px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.seo-story-document {
  margin: 34px 0 0;
}

.hot-take-feature h3,
.hot-take-feature h1 {
  margin: 0;
  font-family: "Archivo Expanded", sans-serif;
  font-size: clamp(2rem, 4.2vw, 4.7rem);
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: -0.04em;
}

.hot-take-summary {
  margin: 22px 0 0;
  font-family: "Newsreader", serif;
  color: #2b2421;
  font-size: clamp(1.1rem, 1.8vw, 1.38rem);
  line-height: 1.62;
}

.hot-take-summary a,
.panel-summary a {
  color: var(--accent);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

.drop-pill {
  display: grid;
  gap: 12px;
  min-width: 220px;
  padding: 16px;
  border-radius: 24px;
}

.drop-pill img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(248, 242, 236, 0.92)),
    linear-gradient(90deg, rgba(22, 19, 17, 0.04) 1px, transparent 1px),
    linear-gradient(rgba(22, 19, 17, 0.04) 1px, transparent 1px);
  background-size: auto, 18px 18px, 18px 18px;
}

.drop-pill button {
  border: 0;
  background: transparent;
  text-align: left;
  padding: 0;
  color: inherit;
  cursor: pointer;
}

.drop-pill h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 800;
}

.drop-pill p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.filters {
  margin-bottom: 18px;
  padding: 18px;
  border-radius: 28px;
}

.search-shell {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.search-shell input {
  width: 100%;
  padding: 16px 18px;
  border: 1px solid rgba(22, 19, 17, 0.1);
  border-radius: 18px;
  background: #fffdf9;
  color: var(--ink);
  font-size: 1rem;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-chip {
  border: 1px solid rgba(22, 19, 17, 0.08);
  border-radius: 999px;
  background: #fffdf9;
  color: var(--muted);
  min-height: 40px;
  padding: 0 14px;
  font-size: 0.88rem;
  font-weight: 800;
  cursor: pointer;
  transition:
    transform 160ms ease,
    background 160ms ease,
    color 160ms ease,
    border-color 160ms ease;
}

.filter-chip:hover,
.filter-chip.is-active {
  color: var(--ink);
  background: #ffffff;
  border-color: rgba(22, 19, 17, 0.18);
  transform: translateY(-1px);
}

.archive-layout {
  display: block;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.story-card {
  border-radius: 26px;
  overflow: hidden;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.story-card.is-selected {
  border-color: rgba(22, 19, 17, 0.2);
  transform: translateY(-2px);
}

.story-card-shell {
  padding: 18px;
}

.story-thumb-wrap {
  min-height: 160px;
  margin-top: 12px;
  border-radius: 22px;
}

.story-copy {
  margin-top: 14px;
}

.story-title {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.2;
}

.story-topic {
  margin: 8px 0 0;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.story-blurb {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.45;
  font-size: 0.82rem;
}

.panel-kicker {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.panel-quote {
  margin: 18px 0 0;
  padding: 18px 20px;
  border-radius: 24px;
  background: rgba(22, 19, 17, 0.05);
}

.panel-quote-label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.panel-quote-text {
  font-family: "Archivo Expanded", sans-serif;
  font-size: 1.3rem;
  line-height: 1.15;
  text-transform: uppercase;
}

.panel-summary {
  font-family: "Newsreader", serif;
  font-size: 1.1rem;
  line-height: 1.72;
  color: #2b2421;
}

.panel-angle {
  padding-top: 14px;
  border-top: 1px solid rgba(22, 19, 17, 0.08);
}

.story-detail {
  margin-top: 14px;
  padding: 18px;
  border-top: 1px solid rgba(22, 19, 17, 0.08);
  background: #fffaf4;
  border-radius: 24px;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.tag {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(22, 19, 17, 0.06);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.story-card-actions,
.story-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.button-card {
  min-height: 40px;
  padding: 0 14px;
  font-size: 0.82rem;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 48px 24px;
  border: 1px dashed rgba(22, 19, 17, 0.18);
  border-radius: 28px;
  background: #fffdf9;
  color: var(--muted);
  text-align: center;
}

.info-page {
  max-width: 860px;
  padding: clamp(28px, 4vw, 54px);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.info-page h1,
.info-page h2 {
  margin: 0;
  font-family: "Archivo Expanded", sans-serif;
  text-transform: uppercase;
}

.info-page h1 {
  font-size: clamp(2.2rem, 4vw, 4.4rem);
  line-height: 0.98;
}

.info-page h2 {
  margin-top: 28px;
  font-size: clamp(1.2rem, 2vw, 1.8rem);
}

.info-page p,
.info-page li {
  color: #2b2421;
  font-family: "Newsreader", serif;
  font-size: clamp(1.05rem, 1.6vw, 1.26rem);
  line-height: 1.7;
}

@media (max-width: 1080px) {
  .story-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .topbar {
    width: calc(100% - 20px);
    margin-top: 10px;
    padding: 12px 14px;
    border-radius: 24px;
  }

  .nav {
    display: none;
  }

  .page-shell {
    width: calc(100% - 20px);
    margin-top: 18px;
  }

  .hero-copy,
  .filters,
  .story-card,
  .drop-pill {
    border-radius: 24px;
  }

  .stat-strip {
    grid-template-columns: 1fr;
  }

  .story-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .story-detail {
    padding: 18px;
  }

  .story-thumb-wrap {
    min-height: 140px;
  }

  .drop-rail {
    display: block;
  }

  .hot-take-feature {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .story-grid {
    grid-template-columns: 1fr;
  }
}
