/* ============================================
   KabarKini — Editorial Indonesian Modern
   Aesthetic: serious magazine + modern web
   Palette: deep red, paper, ink black, accent yellow
   ============================================ */

:root {
  /* === Colors === */
  --ink: #0d0d0d;
  --ink-soft: #2a2a2a;
  --ink-mute: #6b6b6b;
  --ink-faint: #9a9a9a;
  --paper: #fdfcfa;
  --paper-warm: #f6f3ee;
  --paper-line: #e8e3da;
  --line: #d8d2c6;

  --red: #b91d3f;            /* deep editorial red, not pop */
  --red-deep: #8a1530;
  --red-soft: #fce8ec;
  --red-tint: #fff5f7;

  --yellow: #f5c518;          /* accent / highlight */
  --yellow-soft: #fef3c7;

  --green: #15803d;
  --green-soft: #dcfce7;

  --blue: #1e40af;
  --blue-soft: #dbeafe;

  /* category accents */
  --c-tren: #e11d48;
  --c-kebijakan: #1e3a8a;
  --c-karir: #b45309;
  --c-peluang: #7c2d12;
  --c-umkm: #047857;
  --c-ekonomi: #312e81;

  /* === Typography === */
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  /* === Layout === */
  --container-max: 1280px;
  --gap-xs: 8px;
  --gap-sm: 12px;
  --gap-md: 20px;
  --gap-lg: 32px;
  --gap-xl: 48px;
}

/* ============================================
   RESET
   ============================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; padding: 0; margin: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 700; line-height: 1.15; letter-spacing: -0.01em; }

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

/* ============================================
   BREAKING NEWS TICKER
   ============================================ */
.ticker {
  display: flex;
  align-items: center;
  background: var(--ink);
  color: var(--paper);
  font-size: 14px;
  height: 40px;
  overflow: hidden;
  border-bottom: 3px solid var(--red);
}
.ticker__label {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--red);
  height: 100%;
  padding: 0 18px;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.ticker__pulse {
  width: 8px; height: 8px;
  background: var(--paper);
  border-radius: 50%;
  animation: pulse 1.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}
.ticker__track {
  flex: 1;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(90deg, transparent 0, black 40px, black calc(100% - 40px), transparent 100%);
}
.ticker__content {
  display: inline-flex;
  gap: 28px;
  align-items: center;
  white-space: nowrap;
  padding-left: 24px;
  animation: tick 50s linear infinite;
}
.ticker__sep { color: var(--red); }
.ticker__item { font-weight: 500; }
@keyframes tick {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================
   MASTHEAD
   ============================================ */
.masthead {
  background: var(--paper);
  border-bottom: 1px solid var(--paper-line);
}
.masthead__top {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 22px 24px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}
.masthead__date {
  display: flex;
  flex-direction: column;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--ink-mute);
  text-transform: uppercase;
}
.masthead__day {
  color: var(--red);
  font-weight: 600;
  font-size: 12px;
}
.masthead__date-full { font-weight: 500; }

.masthead__brand {
  text-align: center;
}
.logo {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 38px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.logo__accent { color: var(--red); font-style: italic; }
.masthead__tagline {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.25em;
  color: var(--ink-mute);
  text-transform: uppercase;
  margin: 8px 0 0;
}

.masthead__actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
}
.icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--paper-warm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  transition: all 0.2s ease;
}
.icon-btn:hover {
  background: var(--ink);
  color: var(--paper);
  transform: scale(1.05);
}
.btn-primary {
  background: var(--ink);
  color: var(--paper);
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: all 0.2s ease;
}
.btn-primary:hover {
  background: var(--red);
  transform: translateY(-1px);
}

/* === Nav === */
.masthead__nav {
  border-top: 1px solid var(--paper-line);
  border-bottom: 1px solid var(--paper-line);
  background: var(--paper);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(8px);
}
.masthead__nav ul {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}
.masthead__nav ul::-webkit-scrollbar { display: none; }
.nav-link {
  display: inline-block;
  padding: 14px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
  white-space: nowrap;
  position: relative;
  transition: color 0.2s ease;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}
.nav-link:hover { color: var(--red); }
.nav-link:hover::after,
.nav-link.is-active::after { transform: scaleX(1); }
.nav-link.is-active { color: var(--red); }
.nav-link--accent {
  background: var(--yellow-soft);
  border-radius: 999px;
  padding: 8px 16px;
  margin: 0 8px;
}
.nav-link--accent::after { display: none; }
.nav__sep {
  width: 1px;
  height: 20px;
  background: var(--paper-line);
  margin: 0 8px;
}

/* ============================================
   STORY BADGES (kategori chips)
   ============================================ */
.story__badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 3px;
  background: var(--ink);
  color: var(--paper);
  margin-bottom: 12px;
}
.story__badge--karir { background: var(--c-karir); }
.story__badge--kebijakan { background: var(--c-kebijakan); }
.story__badge--umkm { background: var(--c-umkm); }
.story__badge--peluang { background: var(--c-peluang); }
.story__badge--tren { background: var(--c-tren); }
.story__badge--ekonomi { background: var(--c-ekonomi); }

/* ============================================
   HERO SECTION
   ============================================ */
.hero { padding: 40px 0; }
.hero__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 40px;
}

.story--lead .story__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 4px;
  margin-bottom: 20px;
  background: var(--paper-warm);
}
.story--lead .story__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.story--lead:hover .story__media img { transform: scale(1.04); }
.story--lead .story__media .story__badge {
  position: absolute;
  top: 16px; left: 16px;
  margin: 0;
  z-index: 2;
  backdrop-filter: blur(4px);
  background: rgba(180, 83, 9, 0.95);
}
.story--lead .story__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.3) 100%);
  pointer-events: none;
}
.story--lead .story__headline {
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.08;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}
.story--lead .story__excerpt {
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0 0 18px;
  max-width: 60ch;
}

.story__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 12px;
}
.story__source { color: var(--red); font-weight: 600; }
.story__viral {
  background: var(--yellow-soft);
  color: #92400e;
  padding: 2px 8px;
  border-radius: 3px;
  font-weight: 600;
}

.story__byline {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--ink-mute);
  padding-top: 16px;
  border-top: 1px solid var(--paper-line);
}
.byline__avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 14px;
}
.byline__name { color: var(--ink); font-weight: 600; }
.byline__sep { color: var(--ink-faint); }

/* === Side stories === */
.hero__side {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.story--side {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--paper-line);
}
.story--side:last-child { border-bottom: none; padding-bottom: 0; }
.story--side .story__headline {
  font-size: 22px;
  line-height: 1.2;
  margin: 8px 0 12px;
  transition: color 0.2s ease;
}
.story--side a:hover .story__headline { color: var(--red); }

/* ============================================
   DAILY BRIEF
   ============================================ */
.brief {
  background: var(--ink);
  color: var(--paper);
  padding: 56px 0;
  position: relative;
  overflow: hidden;
}
.brief::before {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--red) 0%, transparent 70%);
  opacity: 0.15;
  pointer-events: none;
}
.brief__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
}
.brief__kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--yellow);
  font-weight: 600;
  display: inline-block;
  margin-bottom: 16px;
}
.brief__title {
  font-size: clamp(28px, 3.5vw, 42px);
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}
.brief__list {
  margin-bottom: 28px;
  font-size: 16px;
  line-height: 1.9;
  color: rgba(253, 252, 250, 0.85);
}
.brief__list li {
  padding-left: 24px;
  position: relative;
}
.brief__list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--yellow);
  font-weight: 600;
}
.brief__list strong { color: var(--paper); font-weight: 700; }
.brief__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--yellow);
  color: var(--ink);
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  transition: all 0.2s ease;
}
.brief__cta:hover {
  background: var(--paper);
  transform: translateX(4px);
}

.brief__time-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 32px;
  text-align: center;
  backdrop-filter: blur(10px);
}
.brief__time-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--ink-faint);
  margin-bottom: 12px;
  text-transform: uppercase;
}
.brief__time-value {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--yellow);
  margin-bottom: 8px;
}
.brief__time-meta {
  font-size: 13px;
  color: rgba(253, 252, 250, 0.7);
  font-family: var(--font-mono);
}

/* ============================================
   GENERIC SECTION
   ============================================ */
.section { padding: 56px 0; }
.section--alt { background: var(--paper-warm); }

.section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--ink);
}
.section__title {
  font-size: 28px;
  display: flex;
  align-items: center;
  gap: 16px;
  letter-spacing: -0.01em;
}
.section__rule {
  width: 40px;
  height: 4px;
  background: var(--red);
  display: inline-block;
}
.section__title--karir .section__rule { background: var(--c-karir); }
.section__title--peluang .section__rule { background: var(--c-peluang); }
.section__title--ekonomi .section__rule { background: var(--c-ekonomi); }
.section__more {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-mute);
  transition: color 0.2s ease;
}
.section__more:hover { color: var(--red); }

/* ============================================
   TRENDING GRID
   ============================================ */
.trending-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--paper-line);
}
.trend-card {
  border-right: 1px solid var(--paper-line);
  border-bottom: 1px solid var(--paper-line);
  transition: background 0.3s ease;
}
.trend-card:last-child { border-right: none; }
.trend-card:hover { background: var(--paper-warm); }
.trend-card a {
  display: flex;
  padding: 24px 20px;
  gap: 16px;
  height: 100%;
}
.trend-card__rank {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 900;
  font-style: italic;
  line-height: 1;
  color: var(--paper-line);
  flex-shrink: 0;
  transition: color 0.3s ease;
}
.trend-card:hover .trend-card__rank { color: var(--red); }
.trend-card__body { flex: 1; }
.trend-card__body h3 {
  font-size: 17px;
  line-height: 1.25;
  margin: 8px 0 14px;
  font-weight: 600;
}
.trend-card__stats {
  display: flex;
  gap: 14px;
  font-size: 12px;
  color: var(--ink-mute);
  font-family: var(--font-mono);
}

/* ============================================
   CATEGORY GRID
   ============================================ */
.cat-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 24px;
}
.cat-card { transition: transform 0.3s ease; }
.cat-card:hover { transform: translateY(-3px); }
.cat-card__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 4px;
  margin-bottom: 16px;
  background: var(--paper-warm);
}
.cat-card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.cat-card:hover .cat-card__media img { transform: scale(1.06); }
.cat-card__body h3 {
  font-size: 18px;
  line-height: 1.25;
  margin-bottom: 10px;
  transition: color 0.2s ease;
}
.cat-card:hover h3 { color: var(--red); }
.cat-card--featured .cat-card__body h3 { font-size: 26px; line-height: 1.18; }
.cat-card--featured .cat-card__body p {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.5;
  margin: 0 0 12px;
}
.cat-card__meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-mute);
  display: flex;
  gap: 6px;
}

/* ============================================
   LIST GRID
   ============================================ */
.list-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.list-card a {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 16px;
  padding: 16px;
  border-radius: 4px;
  transition: background 0.2s ease;
}
.list-card a:hover { background: var(--paper-warm); }
.list-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 3px;
  aspect-ratio: 1 / 1;
}
.list-card h3 {
  font-size: 17px;
  line-height: 1.25;
  margin: 6px 0 8px;
}

/* ============================================
   SPOTLIGHT (UMKM feature)
   ============================================ */
.section--spotlight {
  background:
    linear-gradient(135deg, var(--paper-warm) 0%, var(--paper) 100%);
  position: relative;
}
.spotlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--paper-line);
  border-radius: 6px;
  overflow: hidden;
  background: var(--paper);
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}
.spotlight__media {
  position: relative;
  min-height: 380px;
  background: var(--ink);
}
.spotlight__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}
.spotlight__tag {
  position: absolute;
  top: 24px; left: 24px;
  background: var(--paper);
  color: var(--c-umkm);
  padding: 6px 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  border-radius: 3px;
  z-index: 2;
}
.spotlight__body {
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.spotlight__kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--c-umkm);
  font-weight: 600;
  margin-bottom: 16px;
  text-transform: uppercase;
}
.spotlight__title {
  font-size: 32px;
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.spotlight__quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 18px;
  line-height: 1.5;
  color: var(--ink-soft);
  margin: 0 0 24px;
  padding-left: 20px;
  border-left: 3px solid var(--c-umkm);
}
.spotlight__meta {
  display: flex;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-mute);
  margin-bottom: 24px;
}

/* ============================================
   MARKET / EKONOMI
   ============================================ */
.market {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 32px;
}
.market__ticker {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-content: start;
}
.market__item {
  background: var(--paper-warm);
  border-left: 4px solid var(--ink);
  padding: 18px 20px;
  border-radius: 0 4px 4px 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.market__item--up { border-left-color: var(--green); }
.market__item--down { border-left-color: var(--red); }
.market__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--ink-mute);
  text-transform: uppercase;
}
.market__value {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.market__change {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
}
.market__item--up .market__change { color: var(--green); }
.market__item--down .market__change { color: var(--red); }

.market__news {
  background: var(--paper);
  border: 1px solid var(--paper-line);
  border-radius: 4px;
}
.news-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--paper-line);
  align-items: center;
  transition: background 0.2s ease;
}
.news-item:last-child { border-bottom: none; }
.news-item:hover { background: var(--paper-warm); }
.news-item__time {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--red);
}
.news-item a {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
}
.news-item:hover a { color: var(--red); }

/* ============================================
   NEWSLETTER
   ============================================ */
.newsletter {
  padding: 64px 0;
  background:
    repeating-linear-gradient(45deg, transparent, transparent 20px, rgba(185,29,63,0.02) 20px, rgba(185,29,63,0.02) 40px),
    var(--paper);
  border-top: 1px solid var(--paper-line);
  border-bottom: 1px solid var(--paper-line);
}
.newsletter__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 48px;
  align-items: center;
}
.newsletter__kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--red);
  font-weight: 600;
  display: inline-block;
  margin-bottom: 12px;
}
.newsletter h2 {
  font-size: 32px;
  line-height: 1.15;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.newsletter p {
  color: var(--ink-soft);
  margin: 0;
  max-width: 56ch;
}
.newsletter__form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.newsletter__form input {
  padding: 16px 20px;
  border: 1.5px solid var(--paper-line);
  border-radius: 999px;
  font-size: 15px;
  font-family: inherit;
  background: var(--paper);
  transition: all 0.2s ease;
}
.newsletter__form input:focus {
  outline: none;
  border-color: var(--ink);
  background: var(--paper-warm);
}
.newsletter__form .btn-primary {
  padding: 16px;
  font-size: 15px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--ink);
  color: rgba(253, 252, 250, 0.7);
  padding: 64px 0 32px;
  font-size: 14px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer__brand p {
  margin: 16px 0 24px;
  line-height: 1.6;
  max-width: 40ch;
}
.footer .logo { color: var(--paper); font-size: 28px; }
.footer h4 {
  font-family: var(--font-body);
  color: var(--paper);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer ul li { margin-bottom: 10px; }
.footer ul a { transition: color 0.2s ease; }
.footer ul a:hover { color: var(--yellow); }

.footer__social { display: flex; gap: 16px; }
.footer__social a {
  padding: 8px 14px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s ease;
}
.footer__social a:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--paper);
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
}

/* ============================================
   RESPONSIVE — TABLET
   ============================================ */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1.4fr 1fr; gap: 32px; }
  .brief__inner { grid-template-columns: 1fr; gap: 32px; }
  .trending-grid { grid-template-columns: repeat(2, 1fr); }
  .trend-card:nth-child(2) { border-right: none; }
  .cat-grid { grid-template-columns: 1fr 1fr; }
  .cat-card--featured { grid-column: 1 / -1; }
  .cat-card--featured .cat-card__body h3 { font-size: 22px; }
  .spotlight { grid-template-columns: 1fr; }
  .spotlight__media { min-height: 280px; }
  .market { grid-template-columns: 1fr; }
  .newsletter__inner { grid-template-columns: 1fr; gap: 24px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================
   RESPONSIVE — MOBILE
   ============================================ */
@media (max-width: 720px) {
  .container { padding: 0 16px; }

  .ticker { font-size: 13px; height: 36px; }
  .ticker__label { padding: 0 12px; font-size: 11px; }

  .masthead__top {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "brand actions"
      "date date";
    padding: 16px;
    gap: 8px;
  }
  .masthead__brand { grid-area: brand; text-align: left; }
  .masthead__actions { grid-area: actions; }
  .masthead__date { grid-area: date; flex-direction: row; gap: 8px; }
  .logo { font-size: 28px; }
  .btn-primary { padding: 8px 14px; font-size: 13px; }

  .nav-link { padding: 12px 10px; font-size: 13px; }

  .hero { padding: 24px 0; }
  .hero__grid { grid-template-columns: 1fr; gap: 32px; }
  .story--lead .story__headline { font-size: 26px; }
  .story--lead .story__excerpt { font-size: 15px; }
  .story--side .story__headline { font-size: 19px; }

  .brief { padding: 40px 0; }
  .brief__title { font-size: 24px; }
  .brief__time-value { font-size: 48px; }

  .section { padding: 40px 0; }
  .section__head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .section__title { font-size: 22px; }

  .trending-grid { grid-template-columns: 1fr; }
  .trend-card { border-right: none; }

  .cat-grid { grid-template-columns: 1fr; }
  .cat-card--featured .cat-card__body h3 { font-size: 20px; }

  .list-grid { grid-template-columns: 1fr; }
  .list-card a { grid-template-columns: 100px 1fr; gap: 12px; padding: 12px; }
  .list-card h3 { font-size: 15px; }

  .spotlight__body { padding: 28px 24px; }
  .spotlight__title { font-size: 24px; }
  .spotlight__quote { font-size: 16px; }

  .market__ticker { grid-template-columns: 1fr; }

  .newsletter h2 { font-size: 24px; }

  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; gap: 8px; text-align: center; }
}

/* ============================================
   ANIMATIONS — entrance
   ============================================ */
@media (prefers-reduced-motion: no-preference) {
  .hero, .brief, .section { opacity: 0; transform: translateY(20px); animation: fadeUp 0.6s ease-out forwards; }
  .brief { animation-delay: 0.05s; }
  .section:nth-of-type(2) { animation-delay: 0.1s; }
  @keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
  }
}

/* ============================================
   PRINT
   ============================================ */
@media print {
  .ticker, .masthead__nav, .newsletter, .footer, .icon-btn, .btn-primary { display: none; }
}
