/* ==========================================================
   PROJECT WITNESS — Article Design Tokens
   Shared across all Microshort Stories feature articles.
   ========================================================== */

:root {
  /* Palette */
  --cream: #faf8f4;
  --warm-card: #f0ebe0;
  --gold: #c9a84c;
  --dark-gold: #8b7d3c;
  --near-black: #1a1a1a;
  --body-text: #444;
  --secondary-text: #555;
  --muted-text: #888;
  --light-border: #e8e4dc;
  --highlight-bg: #fdf8ed;

  /* Typography */
  --font-display: Georgia, 'Times New Roman', serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;

  /* Font sizes */
  --fs-body: 17px;
  --fs-lede: 21px;
  --fs-eyebrow: 12px;
  --fs-caption: 13px;
  --fs-h2: 32px;
  --fs-h3: 24px;
  --fs-display: 56px;

  /* Spacing scale */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 40px;
  --space-2xl: 64px;
  --space-3xl: 96px;

  /* Reading widths */
  --read-width: 680px;
  --wide-width: 1080px;

  /* Radius */
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --radius-pill: 100px;

  /* Shadows */
  --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-elevated: 0 4px 12px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.06);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
}

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

a {
  color: var(--dark-gold);
}
a:hover {
  color: var(--gold);
}

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dark-gold);
}

.editorial {
  max-width: var(--read-width);
  margin: 0 auto;
}

.editorial h2 {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 700;
  color: var(--near-black);
  line-height: 1.25;
  margin: 0 0 var(--space-md);
}

.editorial h3 {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 700;
  color: var(--near-black);
  line-height: 1.3;
  margin: var(--space-xl) 0 var(--space-sm);
}

.editorial p {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.75;
  color: var(--body-text);
  margin: 0 0 var(--space-md);
}

.editorial blockquote {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--secondary-text);
  border-left: 3px solid var(--gold);
  padding-left: var(--space-md);
  margin: var(--space-lg) 0;
}

.cite-source {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--dark-gold);
  background: var(--warm-card);
  border-radius: var(--radius-sm);
  padding: 1px 5px;
  margin-left: 3px;
  text-decoration: none;
  vertical-align: super;
  line-height: 1;
}
.cite-source:hover {
  background: var(--gold);
  color: #fff;
}

/* Reveal-on-scroll classes — JS opt-in; default to no animation if JS off */
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
