/* /topics and /topics/<slug> (Rich, 2026-11-01).
 *
 * The site's own ground, type and accent (styles.css, DESIGN.md): night sky,
 * Playfair for everything read, one gold button. What is new is the artwork,
 * pastel crayon drawn for a light page and set here on a dark one. Each piece
 * sits on a soft lavender glow, round rather than a panel — the brief asks
 * for no rectangular backdrop — so the pastels read as lit, not as stickers.
 */

.tp .wrap{padding-bottom:40px}
.tp .top{padding-top:26px}

/* ── type ──────────────────────────────────────────────────────────── */
.tp .eyebrow,.tph1{text-align:left}
.tph1{margin:14px 0 0;text-wrap:balance;font-family:var(--serif);font-weight:400;line-height:1.1;
  font-size:clamp(31px,6vw,48px);color:var(--ink);letter-spacing:-.005em}
.tph2{margin:0 0 8px;font-family:var(--serif);font-weight:400;line-height:1.15;
  font-size:clamp(28px,4.6vw,33px);color:var(--ink)}
.tp .eyebrow{font-size:13px;letter-spacing:.24em;font-weight:600;color:var(--gold-soft)}

/* ── the main page, in SPIN order ─────────────────────────────────── */
.tphero{padding:56px 0 0}
.tplead{margin:20px 0 0;max-width:30ch;font-family:var(--serif);font-style:italic;
  font-size:23px;line-height:1.4;color:var(--gold-soft)}

/* Problem and implication: short lines, one thought each, the way somebody
   says it to themselves. The need is the turn, so it is the one that is lit. */
.tpspin{margin:48px 0 0;padding-left:20px;border-left:1px solid var(--edge-gold)}
.tpspin p{margin:0 0 14px;max-width:34em;font-family:var(--serif);font-size:19px;line-height:1.62;color:var(--ink-2)}
.tpcost{color:var(--ink) !important}
.tpneed{margin:22px 0 0 !important;font-family:var(--serif);font-size:23px !important;line-height:1.4 !important;
  color:var(--gold-soft) !important}

/* 48 WAS THE GAP AFTER A BLOCK THAT IS NO LONGER THERE (Rich, 2026-11-02:
   "there is too much copy overall"). .tpspin stood between the standfirst and
   this paragraph and 48 was the space under it; with it gone, 48 left a hole
   in the middle of the hero and the two halves of one sentence read as two
   unrelated things. 20 is the scale step DESIGN.md gives a paragraph gap, and
   it is what .tplead already uses above itself, so the title, the standfirst
   and this now step down at one rhythm.
   .tpspin's own rules stay: the eleven topic pages use .tpcost and .tpneed. */
.tpintro{margin:20px 0 0}
.tpintro p,.tpclose p{max-width:34em;font-family:var(--serif);font-size:19px;line-height:1.62;color:var(--ink-2)}

/* THE one gold button (dash.css .hookgo), as a link. 32 above it is the one
   spacing rule DESIGN.md states as a rule. */
.tpgo{display:inline-flex;align-items:center;justify-content:center;min-height:52px;margin-top:32px;
  padding:0 30px;border-radius:99px;text-decoration:none;text-align:center;
  font-family:var(--serif);font-style:italic;font-size:19px;line-height:1.2;color:#1a1640;
  background:linear-gradient(180deg,#f2dcc4,#cba26b);box-shadow:0 10px 40px -12px rgba(226,200,141,.55);
  transition:transform .2s,box-shadow .2s}
.tpgo:hover{transform:translateY(-1px);box-shadow:0 14px 44px -10px rgba(226,200,141,.7)}
.tpgo:focus-visible{outline:2px solid var(--gold-soft);outline-offset:3px}

/* ── the topics ───────────────────────────────────────────────────── */
.tptopics{margin:80px 0 0;scroll-margin-top:24px}
.tpgroup{margin:36px 0 0}
.tpghead{display:flex;align-items:center;gap:12px;margin:0 0 14px;
  font-family:var(--sans);font-size:13px;font-weight:600;letter-spacing:.24em;
  text-transform:uppercase;color:var(--gold-soft)}
.tpghead::after{content:'';flex:1 1 auto;height:1px;background:var(--edge-gold)}

.tpcards{display:grid;grid-template-columns:1fr;gap:14px}
.tpcard{display:flex;gap:18px;align-items:flex-start;padding:18px;border-radius:20px;
  border:1px solid var(--edge);background:var(--panel);color:inherit;text-decoration:none;
  transition:border-color .25s,background .25s,transform .25s}
.tpcard:hover{border-color:var(--edge-gold);background:var(--panel-2);transform:translateY(-2px)}
.tpcard:focus-visible{outline:2px solid var(--gold);outline-offset:3px}

/* Every art slot the same size (the brief), finished artwork or stand-in. */
.tpart{flex:0 0 auto;display:grid;place-items:center;width:96px;height:96px;border-radius:50%;
  background:radial-gradient(closest-side,rgba(205,186,240,.20),rgba(205,186,240,.06) 70%,transparent)}
.tpimg{width:86%;height:86%;object-fit:contain;transition:transform .5s cubic-bezier(.2,.7,.2,1)}
.tpcard:hover .tpimg{transform:scale(1.06) rotate(-2deg)}

.tptext{display:flex;flex-direction:column;min-width:0}
.tptitle{font-family:var(--serif);font-size:23px;line-height:1.2;color:var(--ink)}
.tpline{margin-top:8px;font-family:var(--serif);font-size:16px;line-height:1.55;color:var(--ink-2)}
.tpmore{margin-top:12px;font-family:var(--serif);font-style:italic;font-size:16px;color:var(--gold-soft)}
.tpcard:hover .tpmore{color:#fff}

@media (min-width:700px){
  .tpcards{grid-template-columns:1fr 1fr}
  .tpcard{flex-direction:column;align-items:center;text-align:center;padding:26px 22px 24px}
  .tpart{width:136px;height:136px}
  .tptext{align-items:center}
  /* A group with an odd number of topics ends on a card alone in its row; it
     takes the whole row, laid flat, rather than leaving a hole beside it. */
  .tpcard:last-child:nth-child(odd){grid-column:1/-1;flex-direction:row;align-items:center;text-align:left;gap:28px}
  .tpcard:last-child:nth-child(odd) .tptext{align-items:flex-start}
}
/* On a phone the art sits beside the title, and the sentence that sells the
   topic runs the full width of the card under both: beside a 96px picture it
   was a column five words wide. */
@media (max-width:699px){
  .tpcard{display:grid;grid-template-columns:72px 1fr;column-gap:16px;align-items:center}
  .tpcard .tpart{width:72px;height:72px}
  .tptext{display:contents}
  .tpline,.tpmore{grid-column:1/-1}
}


/* ── how it works: the two stages, then what they buy you ────────── */
.tphow{margin:80px 0 0}
.tpstages{list-style:none;margin:20px 0 0;padding:0;display:grid;gap:14px}
.tpstages li{display:flex;gap:16px;align-items:flex-start;padding:18px 20px;border-radius:18px;
  border:1px solid var(--edge);background:var(--panel);
  font-family:var(--serif);font-size:16px;line-height:1.6;color:var(--ink-2)}
.tpstages b{display:block;margin-bottom:4px;font-weight:500;font-size:19px;line-height:1.35;color:var(--ink)}
.tpn{flex:0 0 auto;display:grid;place-items:center;width:34px;height:34px;border-radius:50%;
  border:1px solid var(--edge-gold);font-family:var(--serif);font-style:italic;font-size:16px;color:var(--gold-soft)}
.tpgains{list-style:none;margin:28px 0 0;padding:0;display:grid;gap:16px}
.tpgains li{padding-left:22px;position:relative;font-family:var(--serif);font-size:16px;line-height:1.6;color:var(--ink-2)}
.tpgains li::before{content:'';position:absolute;left:2px;top:.62em;width:7px;height:7px;border-radius:50%;
  background:var(--gold);box-shadow:0 0 10px rgba(197,160,89,.8)}
.tpgains b{font-weight:500;color:var(--ink)}

.tpclose{margin:80px 0 0;padding:36px 0 0;border-top:1px solid var(--edge)}
.tpcloser{margin:14px 0 0 !important;font-family:var(--serif);font-style:italic;font-size:16px !important;
  color:var(--ink-3) !important}

/* ── a supporting page ────────────────────────────────────────────── */
.tpback{margin:28px 0 0}
.tpback a,.tpall{display:inline-flex;align-items:center;gap:6px;min-height:44px;
  font-family:var(--sans);font-size:13px;letter-spacing:.04em;color:var(--gold-soft);text-decoration:none}
.tpback a:hover,.tpall:hover{color:#fff}

.tpone{margin:12px 0 0}
.tponehead{display:flex;flex-direction:column;gap:18px}
.tpartlg{width:168px;height:168px}
@media (min-width:700px){
  .tponehead{flex-direction:row-reverse;align-items:center;justify-content:space-between;gap:28px}
  .tpartlg{width:200px;height:200px}
}
.tpsit{margin:36px 0 0;max-width:34em;font-family:var(--serif);font-size:19px;line-height:1.62;color:var(--ink)}
.tpone .tpcost{margin:16px 0 0;max-width:34em;font-family:var(--serif);font-style:italic;font-size:19px;line-height:1.62;color:var(--ink-2) !important}
.tpone .tpneed{margin:36px 0 0 !important;max-width:24em;padding-left:18px;border-left:2px solid var(--gold)}
.tphowp,.tpgain{margin:24px 0 0;max-width:34em;font-family:var(--serif);font-size:19px;line-height:1.62;color:var(--ink-2)}
.tpgain{margin-top:16px}

/* THE WAY IN, where a member gets the interview (public/topics-page.js).
   It reads as the same beat the interview occupies, so the page has one
   ending either way: the sentence in .tphowp's voice, the gold control that
   every other start control on the site already is, and the cost under it in
   the closer's whisper. */
.tpstart{margin:32px 0 0;display:flex;flex-direction:column;align-items:flex-start}
.tpstartp{margin:0;max-width:34em;font-family:var(--serif);font-size:19px;line-height:1.62;color:var(--ink-2)}
.tpstartfine{margin:14px 0 0;font-family:var(--serif);font-style:italic;font-size:16px;color:var(--ink-3)}
.tpact{margin:8px 0 0}
.tpone .tphow{margin-top:56px}

.tpothers{margin:72px 0 0;padding-top:28px;border-top:1px solid var(--edge)}
.tpothers ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.tpothers li a{display:inline-flex;align-items:center;min-height:44px;padding:0 16px;border-radius:99px;
  border:1px solid var(--edge);font-family:var(--serif);font-size:16px;color:var(--ink-2);text-decoration:none}
.tpothers li a:hover{border-color:var(--edge-gold);color:var(--ink)}
.tpall{margin-top:14px}

/* The brief's shared footer line. */
.tpfine{margin:64px auto 0;max-width:36em;text-align:center;font-family:var(--serif);font-style:italic;
  font-size:13px;line-height:1.6;color:var(--ink-3)}

@media (prefers-reduced-motion:reduce){
  .tpcard,.tpimg,.tpgo{transition:none}
  .tpcard:hover,.tpgo:hover{transform:none}
  .tpcard:hover .tpimg{transform:none}
}
