/* The requests page. Builds on base.css (tokens, nav, button, the closing) and kit.css (the crayon
   drawings' frames and the keyword). Every card is the same: who asked and in which edition, the
   request's name, its words linked to where they were said, one line on how Par does it, the
   pages that go deeper and a picture that already exists on the site. The lead request, A Cloud
   for Small Software, gets the larger card. */

.rq-top { padding-top: clamp(40px, 8vh, 88px); }
.rq-top h1 { max-width: 17ch; font-size: clamp(40px, 5.6vw, 76px); }
.rq-top h1 .pil-key { display: block; }
.rq-answer { margin-top: 22px; max-width: 44ch; font-size: clamp(19px, 1.7vw, 22px); line-height: 1.45; }
/* what Par is, in two short lines on the paper's deeper tone, after the requests and before the funds:
   the opening stays short, and the close doesn't repeat the line the site map ends with */
.rq-whatis { margin-top: clamp(72px, 9vw, 128px); }
.rq-what { margin: 0; max-width: 46rem; display: flex; gap: 14px; align-items: flex-start; padding: 16px 20px 16px 16px; border-radius: 18px; background: var(--bg-deep); font-size: clamp(16px, 1.4vw, 18px); line-height: 1.45; }
.rq-what img { flex: none; width: 32px; height: 32px; }
.rq-what b { font-weight: 600; }
.rq-what a { white-space: nowrap; text-underline-offset: 3px; }
.rq-what a::after { content: "\00a0\2192"; }
.rq-toc ol { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; counter-reset: rq; }
.rq-toc li { counter-increment: rq; }
.rq-toc a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font: 500 15px/1 var(--font-body); color: var(--text); text-decoration: none; padding: 11px 14px; border: 1px solid var(--border-strong); border-radius: 999px; background: var(--surface); }
.rq-toc a::before { content: counter(rq, decimal-leading-zero); font: 12px var(--font-mono); color: var(--text-muted); }
.rq-toc a:hover, .rq-toc a:focus-visible { border-color: var(--text); }

/* ── A card ──────────────────────────────────────────────────── */
.rq-card { margin-top: clamp(72px, 9vw, 128px); padding-top: clamp(28px, 3vw, 40px); border-top: 1px solid var(--border-strong); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 24px clamp(28px, 4.4vw, 64px); align-items: center; scroll-margin-top: 24px; }
.rq-who { font: 13px var(--font-mono); color: var(--text-muted); }
.rq-card h2 { margin-top: 10px; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.06; }
.rq-card h2:focus:not(:focus-visible) { outline: none; }
.rq-quote { margin: 18px 0 0; font: italic 400 clamp(23px, 2.3vw, 30px)/1.25 var(--font-display); color: var(--pil-cobalt); }
.rq-quote a { color: inherit; text-decoration: none; }
.rq-quote a:hover, .rq-quote a:focus-visible { text-decoration: underline; text-underline-offset: 4px; }
.rq-cite { display: block; margin-top: 8px; font: 13px var(--font-mono); font-style: normal; color: var(--text-muted); }
.rq-par { margin-top: 20px; font-size: clamp(17px, 1.5vw, 19px); line-height: 1.45; max-width: 40ch; }
.rq-par b { font-weight: 600; }
.rq-kicker { margin-top: 14px; font: 400 clamp(22px, 2.2vw, 28px)/1.15 var(--font-display); }
.rq-go { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 15.5px; }
.rq-go a { text-underline-offset: 3px; }
.rq-go a:not(.rq-src)::after { content: "\00a0\2192"; }
.rq-go .rq-src { color: var(--text-muted); }
.rq-link { margin-top: 18px; display: flex; align-items: center; gap: 12px; }
.rq-art { margin: 0; }
.rq-art--screen { justify-self: center; width: min(100%, 340px); }
.rq-art--screen img { border-radius: 34px; border: 1px solid var(--border-strong); box-shadow: var(--shot-shadow); }

/* the lead request: what they asked on the left, what Par does on the right, the picture wide below */
.rq-card--lead { grid-template-columns: minmax(0, 1fr); }
.rq-card--lead .rq-text { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 20px clamp(28px, 4.4vw, 64px); align-items: end; }
.rq-card--lead h2 { font-size: clamp(36px, 4.4vw, 58px); }
.rq-card--lead .rq-quote { font-size: clamp(30px, 3.6vw, 48px); line-height: 1.12; }
.rq-card--lead .rq-do > .rq-par:first-child { margin-top: 0; }

/* ── What investors are writing ──────────────────────────────── */
.rq-voices { margin-top: clamp(84px, 11vw, 156px); padding-top: clamp(28px, 3vw, 40px); border-top: 1px solid var(--border-strong); scroll-margin-top: 24px; }
.rq-voices h2 { font-size: clamp(34px, 4.6vw, 60px); line-height: 1.04; }
.rq-voices h2:focus:not(:focus-visible) { outline: none; }
.rq-voices h2 .pil-key { display: inline; }
.rq-voices-sub { margin-top: 14px; max-width: 52ch; font-size: clamp(17px, 1.5vw, 19px); color: var(--text-muted); }
.rq-voices-list { list-style: none; margin: clamp(28px, 3.4vw, 44px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 3.4vw, 44px) clamp(28px, 4.4vw, 64px); }
.rq-voices-list li { padding-top: 18px; border-top: 1px solid var(--border); }
.rq-voice { margin: 0; font: italic 400 clamp(22px, 2.1vw, 28px)/1.25 var(--font-display); color: var(--pil-cobalt); }
.rq-voice a { color: inherit; text-decoration: none; }
.rq-voice a:hover, .rq-voice a:focus-visible { text-decoration: underline; text-underline-offset: 4px; }
.rq-voice-par { margin-top: 12px; font-size: 16.5px; line-height: 1.45; }
.rq-voice-par b { font-weight: 600; }
.rq-voice-par a { margin-left: 4px; text-underline-offset: 3px; }
.rq-voice-par a::after { content: "\00a0\2192"; }
.rq-toc .rq-toc-more a::before { content: "\2193"; }

.rq-foot { margin-top: 28px; max-width: 60ch; font-size: 14px; color: var(--text-muted); }

/* ── Phone ───────────────────────────────────────────────────── */
@media (max-width: 860px) {
  .rq-card, .rq-card--lead .rq-text { grid-template-columns: minmax(0, 1fr); }
  .rq-card--lead .rq-text { gap: 0; }
  .rq-card--lead .rq-do > .rq-par:first-child { margin-top: 20px; }
  .rq-toc ol { gap: 8px; }
  .rq-toc a { padding: 10px 12px; font-size: 14px; }
  .rq-voices-list { grid-template-columns: minmax(0, 1fr); }
}

.rq-access { margin-top: 14px; max-width: 40ch; font-size: 14.5px; line-height: 1.45; color: var(--text-muted); }
