/* ==========================================================================
   ESSAYS — the v3 design (site design v3 A7.5, gta-org
   openspec/changes/design-v3-essays). essays-v3.css at design pin d40fdfc,
   verbatim below this header; then one appended block (marked) that dresses
   the essay bodies' own furniture — the pull quotes, figures, drop caps,
   notes, the glossary's list, the shared essays' lists — which the draft did
   not draw, and the island variables the atlas's stylesheet reads. The
   essays index and the article template. Loaded last, after tokens/base/
   tracker-shell and (Power) power/assets/essays.css, so these rules win.
   ========================================================================== */

:root { --col: 52rem; }

.e-wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.e-col  { max-width: var(--col); margin-inline: auto; padding-inline: var(--gutter); }
.e-meta { font: 400 .78rem/1.4 var(--mono); color: var(--ink-3); }

/* ==========================================================================
   THE INDEX — all essays, not only Power
   ========================================================================== */
/* --- the lead -------------------------------------------------------------
   No page title and no rule above it (2026-09-11): the lead story opens the
   page, the way a front does. */
.e-lead { padding-block: clamp(28px, 4.5vw, 56px) clamp(26px, 4vw, 44px); }
.e-lead__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(24px, 4vw, 52px);
  align-items: center;
}
.e-lead figure { margin: 0; }
.e-lead img { width: 100%; height: auto; border: 1px solid var(--rule); }
.e-lead h2 {
  font: 600 clamp(2rem, 1.35rem + 2.8vw, 3.5rem)/1.04 var(--editorial);
  letter-spacing: -.035em;
}
.e-lead h2 a { text-decoration: none; }
.e-lead h2 a:hover { text-decoration: underline; text-underline-offset: 7px; text-decoration-thickness: 2px; }
.e-lead__stand {
  margin-top: 16px; max-width: 40rem;
  font: 400 clamp(1.08rem, 1rem + .45vw, 1.32rem)/1.5 var(--editorial);
  color: var(--ink-2);
}
.e-lead .e-meta { margin-top: 16px; }

/* --- the river ------------------------------------------------------------ */
.e-river { padding-bottom: clamp(30px, 4vw, 56px); }
.e-item {
  display: grid;
  grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  gap: clamp(18px, 3vw, 38px);
  padding-block: clamp(22px, 3vw, 32px);
  border-top: 1px solid var(--rule-2);
  align-items: start;
}
.e-item figure { margin: 0; }
.e-item img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border: 1px solid var(--rule); }
.e-item h3 {
  font: 600 clamp(1.45rem, 1.15rem + 1.3vw, 2.15rem)/1.1 var(--editorial);
  letter-spacing: -.03em;
}
.e-item h3 a { text-decoration: none; }
.e-item h3 a:hover { text-decoration: underline; text-underline-offset: 6px; }
.e-item p {
  margin-top: 10px; max-width: 44rem;
  font: 400 clamp(1rem, .96rem + .3vw, 1.12rem)/1.5 var(--editorial);
  color: var(--ink-2);
}
.e-item .e-meta { margin-top: 12px; }

/* the Atlas is a nine-case interactive, so it reads as a different object */
.e-atlas {
  margin-top: clamp(26px, 4vw, 44px);
  border: 3px solid var(--ink);
  background: var(--paper-hi);
  box-shadow: 10px 10px 0 rgba(17, 13, 8, .1);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .8fr);
}
.e-atlas__text { padding: clamp(22px, 3vw, 36px) clamp(18px, 2.4vw, 30px); }
.e-atlas h3 {
  font: 600 clamp(1.7rem, 1.25rem + 1.7vw, 2.6rem)/1.06 var(--editorial);
  letter-spacing: -.03em;
}
.e-atlas p { margin-top: 14px; font: 400 1.08rem/1.5 var(--editorial); color: var(--ink-2); }
.e-atlas figure { margin: 0; border-left: 3px solid var(--ink); overflow: hidden; }
.e-atlas img { width: 100%; height: 100%; min-height: 260px; object-fit: cover; }
.e-btn {
  display: inline-block; margin-top: 22px;
  padding: 12px 18px; border: 2px solid var(--ink);
  font: 700 .74rem/1 var(--display);
  letter-spacing: .1em; text-transform: uppercase; text-decoration: none;
}
.e-btn:hover { background: var(--ink); color: var(--paper); }

/* ==========================================================================
   THE ARTICLE — one column, top to bottom
   ========================================================================== */
/* No back-to-Essays crumb (2026-09-11) — the masthead carries the navigation. */
.a-head { padding-block: clamp(28px, 4.5vw, 56px) 0; }
.a-head h1 {
  margin-top: 0;
  font: 600 clamp(2.6rem, 1.6rem + 4vw, 5rem)/1.0 var(--editorial);
  letter-spacing: -.04em;
  text-wrap: balance;
}
.a-stand {
  margin-top: 20px;
  font: 400 clamp(1.18rem, 1rem + .8vw, 1.6rem)/1.42 var(--editorial);
  color: var(--ink-2);
}

.a-lead { margin-top: clamp(24px, 3.5vw, 40px); }
.a-lead figure { margin: 0; }
.a-lead img { width: 100%; height: auto; }
.a-credit {
  margin-top: 8px;
  font: 400 .7rem/1.45 var(--mono);
  color: var(--ink-3);
}
.a-credit a { color: inherit; }

.a-body { margin-top: clamp(28px, 4vw, 44px); }
.a-body p {
  margin: 0 0 1.1em;
  font: 400 clamp(1.08rem, 1rem + .4vw, 1.24rem)/1.6 var(--editorial);
}
.a-body p b, .a-body p strong { font-weight: 650; }
.a-body a { text-underline-offset: 3px; }

/* Section titles: a real serif subhead, not a small red label. */
.a-body h2 {
  margin: clamp(36px, 4.5vw, 54px) 0 14px;
  font: 600 clamp(1.6rem, 1.25rem + 1.5vw, 2.3rem)/1.12 var(--editorial);
  letter-spacing: -.03em;
  color: var(--ink);
}

/* The drop cap: smaller than before, and the sentence beside it is no longer
   also bold — a giant cap plus a bold opening line was the thing that looked
   wrong. One emphasis at a time. */
.a-body .dropcap::first-letter {
  float: left;
  font-family: var(--editorial);
  font-weight: 600;
  font-size: 3.1em;
  line-height: .84;
  padding: .02em .07em 0 0;
  color: var(--ink);
}

/* --- the pull quote, second attempt --------------------------------------
   The full-width rules above and below were too loud and the breakout made
   the column wander. This sits inside the column, marked by a single red
   rule on the left, at a size close to the standfirst. */
.a-pull {
  margin: clamp(28px, 3.5vw, 40px) 0;
  padding: 4px 0 4px clamp(18px, 2.5vw, 28px);
  border-left: 4px solid var(--red);
}
.a-pull p {
  margin: 0;
  font: 400 clamp(1.3rem, 1.1rem + 1vw, 1.75rem)/1.34 var(--editorial);
  color: var(--ink);
  text-wrap: pretty;
}

.a-fig { margin: clamp(30px, 4vw, 44px) 0; }
.a-fig img { width: 100%; height: auto; }

.a-share { margin-top: clamp(32px, 4vw, 48px); padding-top: 22px; border-top: 3px solid var(--ink); }
.a-share .gshare { margin-top: 0; padding-top: 0; border-top: 0; }

@media (max-width: 860px) {
  .e-lead__grid { grid-template-columns: 1fr; gap: 18px; }
  .e-item { grid-template-columns: 1fr; gap: 14px; }
  .e-item figure { max-width: 420px; }
  .e-atlas { grid-template-columns: 1fr; }
  .e-atlas figure { order: -1; border-left: 0; border-bottom: 3px solid var(--ink); }
  .e-atlas img { min-height: 0; max-height: 260px; }
}

/* ==========================================================================
   APPENDED (A7.5, not in the draft): the bodies' island classes, aliased to
   the draft's rules above; explicit resets of the legacy island sheet
   (power/assets/essays.css) where it disagrees; the variables it reads.
   ========================================================================== */
/* (a) pull quotes — the essays carry nested paragraphs and direct text */
.a-body .equote, .a-body .epull, .a-body .essay-pull {
  margin: clamp(28px, 3.5vw, 40px) 0;
  padding: 4px 0 4px clamp(18px, 2.5vw, 28px);
  border-left: 4px solid var(--red);
  text-align: left; max-width: none;
}
.a-body .equote p, .a-body .epull p, .a-body .essay-pull p,
.a-body p.epull, .a-body blockquote.epull {
  font: 400 clamp(1.3rem, 1.1rem + 1vw, 1.75rem)/1.34 var(--editorial);
  color: var(--ink);
  text-wrap: pretty;
}
.a-body .equote p, .a-body .epull p, .a-body .essay-pull p { margin: 0; }
/* (b) figures */
.a-body .efig, .a-body .act-fig, .a-body .essay-figure { margin: clamp(30px, 4vw, 44px) 0; }
.a-body .efig img, .a-body .act-fig img, .a-body .essay-figure img { width: 100%; height: auto; border-radius: 0; }
.a-body .cred, .a-body .efig figcaption, .a-body .essay-figure figcaption {
  margin-top: 8px;
  font: 400 .7rem/1.45 var(--mono);
  color: var(--ink-3);
}
/* (c) the drop cap, at the draft's values, over the legacy sheet's initial-letter form */
.a-body .dropcap::first-letter {
  float: left;
  font-family: var(--editorial); font-weight: 600;
  font-size: 3.1em; line-height: .84;
  padding: .02em .07em 0 0;
  color: var(--ink);
}
@supports (initial-letter:3) or (-webkit-initial-letter:3) {
  .a-body .dropcap::first-letter { float: left; font-size: 3.1em; line-height: .84; padding: .02em .07em 0 0; -webkit-initial-letter: initial; initial-letter: initial; }
}
.a-body .dropcap > b:first-child { font-weight: inherit; }
/* (d) carried rules: the note, the glossary's list, the shared essays' lists, the art frame */
.a-body .enote {
  margin: clamp(28px, 3.5vw, 40px) 0;
  padding: 4px 0 4px clamp(18px, 2.5vw, 28px);
  border-left: 4px solid var(--ink);
  font: 400 clamp(1.08rem, 1rem + .4vw, 1.24rem)/1.6 var(--editorial);
  color: var(--ink-2);
}
.a-body dl.gloss { margin: 0; }
.a-body dl.gloss dt, .a-body .gterm { font: 700 .95rem/1.4 var(--display); letter-spacing: .02em; margin-top: 1.2em; }
.a-body dl.gloss dd { margin: .3em 0 0; font: 400 clamp(1.08rem, 1rem + .4vw, 1.24rem)/1.6 var(--editorial); }
.a-body .essay-receipts, .a-body .essay-sources { margin: clamp(28px, 3.5vw, 40px) 0 0; font: 400 .78rem/1.5 var(--mono); color: var(--ink-2); }
.a-body .essay-receipts ul, .a-body .essay-sources ul { list-style: none; margin: 0; padding: 0; }
.a-body .essay-receipts li, .a-body .essay-sources li { padding: 6px 0; border-top: 1px solid var(--rule-2); }
.a-body .frame--art img { width: 100%; height: auto; }
/* (e) the island variables the legacy sheet reads, at the values body.desk-power gave them (tracker-shell.css) */
.a-body { --line: rgba(17,13,8,.14); --ink2: rgba(17,13,8,.65); --ink3: rgba(17,13,8,.46); --bg2: var(--gta-paper-2); --green: var(--gta-blue); }
