/* Trade War Times campaign page -- page-specific styles.
   Design system classes (.bs-page, .bs-ticker, .bs-rulepair, .bs-dateline,
   .rise, .reveal, .stamp-in, etc.) come from components.css. */

:root {
  --tw-ink-light: oklch(0.98 0.005 27);
}

/* ------------------------------------------------------------------ */
/* 1. Ticker band                                                     */
/* ------------------------------------------------------------------ */
.tw-ticker {
  background: var(--maple);
  color: var(--tw-ink-light);
}

/* ------------------------------------------------------------------ */
/* 2. Hero section                                                    */
/* ------------------------------------------------------------------ */
.tw-hero {
  padding: 80px 0 56px;
}

.tw-hero-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 56px;
  align-items: start;
}

.tw-hero-content {
  min-width: 0;
}

.tw-hero-badge {
  display: inline-block;
  border: 2px solid var(--maple);
  background: var(--maple-tint);
  color: var(--maple-deep);
  padding: 6px 16px;
  font-family: var(--scrawl);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transform: rotate(-2deg);
  margin-bottom: 42px;
}

.tw-hero-h1 {
  font-family: var(--shout);
  font-weight: 400;
  font-size: clamp(56px, 12vw, 140px);
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin: 0 0 28px;
}

.tw-hero-h1-line {
  display: block;
}

.tw-hero-h1-tilt {
  transform: rotate(-1deg);
}

.tw-hero-tagline {
  font-family: var(--scrawl);
  font-weight: 800;
  color: var(--maple-deep);
  font-size: clamp(15px, 1.8vw, 20px);
  line-height: 1.4;
  transform: rotate(-0.5deg);
  margin: 0 0 21px;
}

.tw-hero-body {
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.6;
  max-width: 60ch;
  margin: 0;
  opacity: 0.9;
}

.tw-hero-aside {
  position: sticky;
  top: 28px;
}

/* ------------------------------------------------------------------ */
/* 3. The front page section                                          */
/* ------------------------------------------------------------------ */
.tw-front {
  padding: 84px 0 0;
}

.tw-front-dateline {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.tw-front-dateline-issue {
  font-weight: 700;
  color: var(--maple-deep);
}

.tw-front-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 49px clamp(28px, 4vw, 64px);
}

.tw-article-cat {
  display: block;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--maple-deep);
}

.tw-article-head {
  font-family: var(--font-heading);
  font-weight: var(--font-heading-weight);
  font-size: 24px;
  line-height: 31px;
  margin: 12px 0 0;
}

.tw-article-body {
  font-size: 15px;
  line-height: 26px;
  margin: 14px 0 0;
  color: color-mix(in srgb, var(--color-text) 82%, transparent);
}

/* ------------------------------------------------------------------ */
/* 4. Editorial section                                               */
/* ------------------------------------------------------------------ */
.tw-editorial {
  padding: 84px 0 84px;
}

.tw-editorial-label {
  display: inline-block;
  font-family: var(--scrawl);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--color-text);
  color: var(--color-bg);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  margin-bottom: 35px;
}

.tw-quote {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: clamp(24px, 2.8vw, 36px);
  line-height: 1.45;
  margin: 0 0 14px;
  max-width: 32ch;
  border: 0;
  padding: 0;
  text-indent: -0.475em;
}

.tw-figcaption {
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--color-text) 55%, transparent);
}

/* ------------------------------------------------------------------ */
/* 5. Poster band (full-width)                                        */
/* ------------------------------------------------------------------ */
.tw-poster {
  background: var(--maple);
  color: var(--tw-ink-light);
  padding: 84px 0;
  margin-bottom: 84px;
  clear: both;
}

.tw-poster-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 72px);
}

.tw-poster-shout {
  font-family: var(--shout);
  font-weight: 400;
  font-size: clamp(36px, 6vw, 84px);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin: 0 0 21px;
}

.tw-poster-scrawl {
  font-family: var(--scrawl);
  font-weight: 800;
  font-size: clamp(14px, 1.4vw, 18px);
  margin: 0;
  opacity: 0.85;
}

/* ------------------------------------------------------------------ */
/* Responsive: 860px -- stack 2-column hero layout                    */
/* ------------------------------------------------------------------ */
@media (max-width: 860px) {
  .tw-hero-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .tw-hero-aside {
    position: static;
  }

  .tw-front-dateline {
    flex-direction: column;
    gap: 4px;
  }
}

/* ------------------------------------------------------------------ */
/* Responsive: 480px -- tighten spacing                               */
/* ------------------------------------------------------------------ */
@media (max-width: 480px) {
  .tw-hero {
    padding: 49px 0 42px;
  }

  .tw-hero-badge {
    font-size: 11px;
    padding: 5px 12px;
    margin-bottom: 28px;
  }
}
