/* ============================================================
   THE NOON SOURCE — shared styles for landing + articles.
   Matches noon.bio premium ceremonial palette.
   ============================================================ */

:root {
  /* v2 editorial palette — warmer paper-feel under low light */
  --bg:        #14110D;
  --bg-2:      #1A1611;
  --bg-deep:   #0E0B08;
  --paper:     #F4ECD8;
  --paper-2:   #D8CFB7;
  --paper-3:   #9A9078;
  --paper-4:   #5A5343;
  --ember:     #E08545;
  --ember-2:   #B65A20;
  --brass:     #C9A868;
  --brass-2:   #8C6F2F;
  --rule:      rgba(244,236,216,0.07);
  --rule-2:    rgba(201,168,104,0.32);
  /* Newsreader body · Fraunces display · Inter UI */
  --serif:     'Newsreader', 'Source Serif Pro', Georgia, serif;
  --serif-display: 'Fraunces', 'Newsreader', Georgia, serif;
  --serif-italic: 'Newsreader', Georgia, serif;
  --sans:      'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --mono:      'Inter', ui-monospace, SFMono-Regular, monospace;
  --gutter:    clamp(28px, 5vw, 96px);
  --max:       1280px;
  --ease:      cubic-bezier(.2,.6,.2,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg-deep);
  color: var(--paper);
  font-family: var(--sans);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
::selection { background: var(--ember); color: var(--bg); }

/* ============================================================
   HEADER — slim brand bar (links back to noon.bio)
   ============================================================ */
.src-nav {
  position: absolute; top: 36px; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: center;
  padding: 0 var(--gutter);
  pointer-events: none;
}
.src-nav > * { pointer-events: auto; }
.src-brand {
  display: inline-flex; flex-direction: column; align-items: center; gap: 8px;
  text-decoration: none;
}
.src-glyph { width: 44px; height: 44px; overflow: visible; margin-bottom: 4px; }
.src-word {
  font-family: var(--serif); font-weight: 500;
  font-size: 30px; letter-spacing: -0.014em;
  color: var(--paper);
  line-height: 1;
}
.src-rule {
  display: block;
  width: 40px; height: 1px;
  background: var(--brass);
  opacity: 0.70;
  margin: 2px 0;
}
.src-eyebrow {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--brass);
}

.src-corner {
  position: absolute; top: 48px; z-index: 5;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--paper-3);
  line-height: 1.6;
  pointer-events: none;
}
.src-corner--l { left: var(--gutter); }
.src-corner--r { right: var(--gutter); text-align: right; }
.src-corner strong { color: var(--paper); font-weight: 500; }
@media (max-width: 720px) {
  .src-corner { display: none; }
}

/* ============================================================
   LANDING HERO
   ============================================================ */
.src-hero {
  min-height: 70vh;
  padding: 220px var(--gutter) 80px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  text-align: center;
  border-bottom: 1px solid var(--rule);
}
.src-hero__inner { max-width: 780px; }
.src-hero__kicker {
  font-family: var(--sans); font-size: 12px; font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--brass);
  display: inline-block;
  margin-bottom: 36px;
}
.src-hero__kicker::before, .src-hero__kicker::after { content: none; }
.src-hero__h1 {
  font-family: var(--serif-display); font-weight: 500;
  font-size: clamp(48px, 7vw, 88px);
  line-height: 1.02; letter-spacing: -0.024em;
  color: var(--paper); text-wrap: balance;
  margin-bottom: 36px;
}
.src-hero__h1 em {
  font-style: italic; font-weight: 400; color: var(--ember);
}
.src-hero__lede {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(20px, 2vw, 24px); line-height: 1.6;
  color: var(--paper-2); max-width: 34rem;
  margin: 0 auto;
  text-wrap: pretty;
}

/* ============================================================
   POST GRID
   ============================================================ */
.src-grid-wrap {
  padding: clamp(72px, 10vh, 140px) var(--gutter) clamp(72px, 10vh, 140px);
  max-width: var(--max); margin: 0 auto;
}
.src-grid-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
  margin-bottom: 48px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--rule);
}
.src-grid-head h2 {
  font-family: var(--serif-display); font-weight: 500;
  font-size: clamp(30px, 3.4vw, 44px); letter-spacing: -0.018em;
  color: var(--paper);
}
.src-grid-head h2 em { font-style: italic; color: var(--ember); font-weight: 400; }
.src-grid-meta {
  font-family: var(--sans); font-size: 12px; letter-spacing: 0.02em;
  font-weight: 400; text-transform: none;
  color: var(--paper-3);
}

.src-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}
@media (max-width: 720px) {
  .src-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* Category section header between grids — quieter, no rule chrome */
.src-section-h {
  font-family: var(--sans); font-size: 12px; font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--brass);
  margin: 56px 0 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--rule);
  display: block;
}
.src-section-h::before { content: none; }
.src-section-h:first-of-type { margin-top: 0; }

.src-card {
  display: flex; flex-direction: column; gap: 14px;
  padding: 32px 28px;
  background: var(--bg);
  border: 1px solid var(--rule);
  text-decoration: none;
  transition: border-color 220ms, transform 220ms var(--ease), background 220ms;
}
.src-card:hover {
  border-color: var(--brass);
  background: rgba(184,153,104,0.04);
  transform: translateY(-2px);
}
.src-card__topic {
  font-family: var(--sans); font-size: 11px; font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--brass);
}
.src-card__h {
  font-family: var(--serif-display); font-weight: 500;
  font-size: 26px; line-height: 1.18; letter-spacing: -0.018em;
  color: var(--paper); text-wrap: balance;
}
.src-card__h em { font-style: italic; color: var(--ember); font-weight: 400; }
.src-card__dek {
  font-family: var(--serif); font-size: 15px; line-height: 1.6;
  color: var(--paper-3);
}
.src-card__foot {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 8px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--paper-4);
}
.src-card__foot .arrow {
  color: var(--brass);
  transition: gap 180ms, color 180ms;
  display: inline-flex; align-items: center; gap: 8px;
}
.src-card:hover .arrow { color: var(--ember); gap: 14px; }

/* ============================================================
   ARTICLE
   ============================================================ */
.art-hero {
  padding: clamp(140px, 18vh, 200px) var(--gutter) clamp(56px, 8vh, 96px);
  text-align: center;
  border-bottom: 1px solid var(--rule);
}
.art-hero__inner { max-width: 780px; margin: 0 auto; }
.art-breadcrumb {
  font-family: var(--sans); font-size: 12px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--paper-3);
  margin-bottom: 32px;
  display: inline-flex; align-items: center; gap: 10px;
}
.art-breadcrumb a { color: var(--brass); transition: color 180ms; }
.art-breadcrumb a:hover { color: var(--ember); }
.art-breadcrumb .sep { color: var(--paper-4); }
/* Topic eyebrow — clean, no flanking rule chrome */
.art-topic {
  font-family: var(--sans); font-size: 12px; font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--brass);
  display: inline-block;
  margin-bottom: 36px;
}
.art-topic::before, .art-topic::after { content: none; }
.art-h1 {
  font-family: var(--serif-display); font-weight: 500;
  font-size: clamp(42px, 5.8vw, 72px);
  line-height: 1.04; letter-spacing: -0.022em;
  color: var(--paper); text-wrap: balance;
  margin-bottom: 36px;
  max-width: 18ch;
  margin-left: auto; margin-right: auto;
}
.art-h1 em { font-style: italic; font-weight: 400; color: var(--ember); }
.art-lede {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(21px, 2.2vw, 26px); line-height: 1.55;
  color: var(--paper-2); max-width: 34rem; margin: 0 auto;
  text-wrap: pretty;
}
.art-meta {
  font-family: var(--sans); font-size: 12px; letter-spacing: 0.02em;
  font-style: normal; text-transform: none;
  color: var(--paper-3);
  margin-top: 32px;
}

.art-body {
  max-width: 40rem; margin: 0 auto;
  padding: clamp(96px, 14vh, 160px) clamp(24px, 5vw, 32px) clamp(72px, 10vh, 120px);
  font-family: var(--serif); font-size: 20px; line-height: 1.85;
  color: var(--paper);
  letter-spacing: -0.001em;
}
.art-body > * + * { margin-top: 1.45em; }
.art-body p { text-wrap: pretty; }
.art-body h2 {
  font-family: var(--serif-display); font-weight: 500;
  font-size: clamp(30px, 3.4vw, 42px); line-height: 1.12; letter-spacing: -0.020em;
  color: var(--paper); margin: 5rem 0 1.25rem;
  text-wrap: balance; max-width: 24ch;
}
/* Italic-ember restraint: only on H1 and pull quotes / principles.
   Body H2 em becomes regular paper italic. */
.art-body h2 em { font-style: italic; color: var(--paper); }
.art-body h3 {
  font-family: var(--serif-display); font-weight: 500;
  font-size: 22px; line-height: 1.3;
  color: var(--paper); margin: 2.5rem 0 0.6rem;
}
.art-body strong { color: var(--paper); font-weight: 600; }
.art-body em { font-style: italic; color: var(--paper); }
.art-body ul, .art-body ol {
  padding-left: 1.4em;
}
.art-body li + li { margin-top: 0.6em; }
.art-body li { line-height: 1.78; }
.art-body blockquote, .art-pull {
  border-left: 0;
  padding: 0;
  margin: 5rem auto;
  max-width: 30rem;
  font-family: var(--serif-display);
  font-style: italic; font-weight: 400;
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.3;
  letter-spacing: -0.014em;
  color: var(--ember);
  text-align: center;
  text-wrap: balance;
  position: relative;
}
.art-body blockquote::before, .art-body blockquote::after,
.art-pull::before, .art-pull::after {
  content: ''; display: block; width: 32px; height: 1px;
  background: var(--rule-2); margin: 28px auto;
}
.art-body a {
  color: var(--paper);
  border-bottom: 1px solid var(--brass);
  transition: color 180ms, border-color 180ms;
}
.art-body a:hover { color: var(--ember); border-color: var(--ember); }

/* ============================================================
   STANDARD ARTICLE FOOTER COMPONENTS
   Every Noon Source article carries these three blocks:
   - Resource Intelligence Principle (one-line takeaway, ember accent)
   - Sources (numbered list of factual references)
   - CTA back to site-read
   - FAQ
   ============================================================ */

/* Resource Intelligence Principle — quiet capstone, no slab */
.art-principle {
  max-width: 30rem; margin: 6rem auto 0;
  padding: 44px 0 0;
  border-top: 1px solid var(--rule-2);
  border-bottom: 0; background: none;
  text-align: center;
}
.art-principle__lbl {
  font-family: var(--sans); font-size: 11px; font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--brass);
  display: block;
  margin-bottom: 22px;
}
.art-principle__lbl::before { content: none; }
.art-principle__p {
  font-family: var(--serif-display); font-style: italic; font-weight: 400;
  font-size: clamp(22px, 2.4vw, 30px); line-height: 1.4;
  color: var(--paper); text-wrap: balance;
  margin: 0;
}
.art-principle__p em {
  font-style: italic; color: var(--ember); font-weight: 400;
}

/* Sources — quieter, tucked, smaller */
.art-sources {
  max-width: 40rem; margin: 5rem auto 0;
  padding: 40px clamp(24px,5vw,32px) 0;
  border-top: 1px solid var(--rule);
}
.art-sources__h {
  font-family: var(--sans); font-size: 11px; font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--brass);
  margin: 0 0 26px;
}
.art-sources__h::before { content: none; }
.art-sources__list {
  list-style: none; padding: 0; margin: 0;
  counter-reset: src;
  display: flex; flex-direction: column; gap: 14px;
}
.art-sources__list li {
  counter-increment: src;
  font-family: var(--serif); font-size: 14px; line-height: 1.72;
  color: var(--paper-3);
  padding-left: 34px;
  position: relative;
}
.art-sources__list li::before {
  content: counter(src);
  position: absolute; left: 0; top: 0.1em;
  font-family: var(--sans); font-size: 11px;
  color: var(--brass);
  width: 24px; text-align: right;
}
.art-sources__list a {
  color: var(--paper-2);
  border-bottom: 1px solid var(--rule);
  transition: color 180ms, border-color 180ms;
}
.art-sources__list a:hover { color: var(--ember); border-color: var(--ember); }
.art-sources__note {
  font-family: var(--serif); font-style: italic; font-size: 13px;
  color: var(--paper-4); margin-top: 28px; line-height: 1.65; max-width: 36rem;
}

/* CTA — single quiet line, no slab */
.art-cta {
  max-width: 30rem; margin: 5rem auto 0;
  padding: 0;
  text-align: center;
  background: none;
}
.art-cta__h {
  font-family: var(--serif-display); font-weight: 500;
  font-size: 22px; line-height: 1.3; letter-spacing: -0.012em;
  color: var(--paper); margin-bottom: 14px;
}
.art-cta__h em { font-style: italic; color: var(--ember); font-weight: 400; }
.art-cta__p {
  font-family: var(--serif); font-style: italic; font-size: 17px; line-height: 1.65;
  color: var(--paper-3); max-width: 30rem; margin: 0 auto 22px;
}
.art-cta__btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 30px;
  background: var(--paper); color: var(--bg);
  font-family: var(--sans); font-size: 11px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  border-radius: 999px;
  transition: gap 180ms var(--ease), background 180ms, color 180ms;
}
.art-cta__btn:hover { gap: 18px; background: var(--ember); color: var(--paper); }

/* FAQ — minimal, no chrome */
.art-faq {
  max-width: 40rem; margin: 3.5rem auto 0;
  padding: 0 clamp(24px,5vw,32px);
  border-top: 0;
}
.art-faq__h {
  font-family: var(--sans); font-size: 11px; font-weight: 500;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--brass); margin-bottom: 26px;
}
.art-faq__h em { font-style: italic; color: var(--brass); }
.art-q {
  border-bottom: 1px solid var(--rule);
  padding: 24px 0;
}
.art-q summary {
  font-family: var(--serif); font-size: 18px; font-weight: 500;
  color: var(--paper); cursor: pointer;
  list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px;
}
.art-q summary {
  font-family: var(--serif); font-size: 19px; font-weight: 500;
  line-height: 1.45; color: var(--paper);
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; gap: 24px;
  text-wrap: balance;
}
.art-q summary::-webkit-details-marker { display: none; }
.art-q summary::after {
  content: '+'; font-family: var(--sans); color: var(--brass);
  font-size: 18px; line-height: 1; flex-shrink: 0;
}
.art-q[open] summary::after { content: '−'; }
.art-q p {
  font-family: var(--serif); font-size: 16px; line-height: 1.72;
  color: var(--paper-2); margin-top: 16px; max-width: 38rem;
}

/* ============================================================
   FOOTER — slim, matches the noon.bio main footer cadence
   ============================================================ */
.src-foot {
  border-top: 1px solid var(--rule);
  padding: 56px var(--gutter) 36px;
  background: var(--bg-deep);
}
.src-foot__inner {
  max-width: var(--max); margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  gap: 24px; flex-wrap: wrap;
}
.src-foot__brand {
  font-family: var(--serif); font-weight: 500;
  font-size: 20px; color: var(--paper);
  display: inline-flex; align-items: center; gap: 12px;
  text-decoration: none;
}
.src-foot__brand svg { width: 18px; height: 18px; overflow: visible; }
.src-foot__nav {
  display: flex; gap: 28px; flex-wrap: wrap;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.22em;
  text-transform: uppercase;
}
.src-foot__nav a {
  color: var(--paper-3);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: color 180ms, border-color 180ms;
}
.src-foot__nav a:hover { color: var(--ember); border-color: var(--ember); }
.src-foot__bottom {
  max-width: var(--max); margin: 32px auto 0;
  padding-top: 20px; border-top: 1px solid var(--rule);
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--paper-4);
  display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
