/* ══ TYPE STUDY (?test2, 2026-12-02) ═══════════════════════════════
   A typographic pass over studioross.com and lironross.com, linked last
   in every ?test2 copy (index-test2.html, index-v3-test2.html and
   projects/**/*-test2.html) so it wins over the study CSS before it.
   Production pages do not link this file.

   What it fixes, measured in the browser at 1440, 820 and 390px:
   1  Contrast. The dim ink (white at 40%) was 3.6 to 3.9:1 on #191919.
      Everything that carries meaning now clears 4.5:1 (dim is 60%, 6.2:1).
   2  Leading. Running copy sat at 1.22 to 1.3 for 5 to 7 line blocks.
      Paragraphs are now 1.45 to 1.5, short labels stay tight.
   3  Measure. Quotes and ledes ran 76 to 85 characters a line. Capped at
      34em (about 70 characters at 15px).
   4  Rag. text-wrap: pretty on running copy, balance on titles, short
      blurbs and card text, so no last line is one word. The HTML also
      carries a no-break space before every last word (Firefox ignores
      pretty).
   5  Titles. One weight (500) for every section and card title; the
      section titles were 450 and sat lighter than the names under them.
   6  Floor. Nothing below 12px (mono tags were 11px).
   7  Numerals. Years and counts in tabular figures.

   The lironross.com hero is out of scope: nothing here touches it. */

:root, .sheet, body {
  --dim: rgba(255,255,255,0.6);
}
html { text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

/* ── 1. contrast ─────────────────────────────────────────────────── */
.tm-role, .tm .tm-role,
.uc-tabs button:not([aria-selected="true"]),
.work .info .meta, .sheet .work .info .meta, #selected-list .work .info .meta,
.bg-row .k, .art-yr, .sheet #experiments .exp-strip .art-yr,
.kicker, .proj-header .kicker, body > footer.bot, body > footer.bot *,
dt, .sheet dt, .sr-field > span, .sr-status { color: rgba(255,255,255,0.62) !important; }
.uc-tabs button:hover, .uc-tabs button[aria-selected="true"] { color: rgba(255,255,255,0.92) !important; }
#services .of-for, #services .of-foot { color: rgba(255,255,255,0.7) !important; }
#services .of-foot button { color: #fff !important; }
#gravolo { --gv-dim: rgba(25,25,25,0.7); }

/* ── 2. leading ──────────────────────────────────────────────────── */
.tm blockquote p, .tm blockquote p:first-child { line-height: 1.5 !important; }
.tm blockquote p:first-child { line-height: 1.45 !important; }
#services .of-lede, #services .of-promise, #services .of-for,
#services .of-list li, #services .of-foot { line-height: 1.45 !important; }
.work .info p, .sheet .work .info p, #selected-list .work .info p,
.approach p, .approach-grid p, .sheet .wrap .approach .approach-grid p,
.art-desc, .bg-row .v, #gravolo .gv-sum { line-height: 1.45 !important; }
.id-desc, .sheet .wrap .id-desc, dd, .sheet .wrap dd { line-height: 1.45 !important; }
.id-desc, .sheet .wrap .id-desc { max-width: 34em; }
.sheet .wrap .approach .approach-grid .k { line-height: 1.3 !important; }
.lede:not(.hero *), .lede:not(.hero *) p, .prose, .prose p, .t2-lede .lede, .t2-lede .lede p, .t2-lede p.lede { line-height: 1.38 !important; }
.two-col p, .src p, .results p, .decision p { line-height: 1.5; }

/* the sheet pins every line to 15px / 1.3 with !important
   (.sheet .wrap *), so running copy needs a heavier selector to win */
.sheet .wrap .tm blockquote, .sheet .wrap .tm blockquote p { line-height: 1.5 !important; }
.sheet .wrap .tm blockquote p:first-child { line-height: 1.45 !important; }
.sheet .wrap #services :is(.of-lede, .of-promise, .of-for, .of-foot),
.sheet .wrap #services .of-list li,
.sheet .wrap #selected-list .work .info p,
.sheet .wrap .art-desc, .sheet #experiments .exp-strip .art-desc,
.sheet .wrap .approach-grid p, .sheet .wrap .bg-row .v,
.sheet .wrap #gravolo .gv-sum { line-height: 1.45 !important; }
#selected-list .work .info p { line-height: 1.45 !important; }
.sheet .wrap #selected-list .work .info p, .sheet .wrap .art-desc, .sheet .wrap .tm blockquote p { max-width: 34em; }

/* ── 3. measure ──────────────────────────────────────────────────── */
.tm blockquote, .tm blockquote p { max-width: 34em; }
#services .of-lede { max-width: 34em; }
.work .info p, .approach p, .art-desc, .bg-row .v { max-width: 34em; }
.lede:not(.hero *), .lede:not(.hero *) p { max-width: min(46ch, 34em); }

/* ── 4. rag ──────────────────────────────────────────────────────── */
p:not(.hero *), li:not(.hero *), figcaption, blockquote, dd { text-wrap: pretty; }
h1:not(.hero *), h2:not(.hero *), h3:not(.hero *), h4, .kicker, .lede:not(.hero *), .t2-lede p, .of-name, .of-promise, .of-for, .of-foot,
.gv-sum, .art-desc, .work .info p, .meta, .tm-role { text-wrap: balance; }
.tm blockquote p { text-wrap: pretty; }
.nowrap, .nw { white-space: nowrap; }

/* ── 5. titles ───────────────────────────────────────────────────── */
section h2:not(.gv-name), .sheet h2:not(.gv-name), main h2, .t2-head h2 { font-weight: 500 !important; }

/* ── 6. floor ────────────────────────────────────────────────────── */
#services .of-tag, .ns-list .ns-meta, .sr-field label, .sr-field > span { font-size: 12px !important; }

/* ── 7. numerals ─────────────────────────────────────────────────── */
.art-yr, .meta, .kicker, .stat, .stats, .stat *, .tm-role, .gv-spec, time { font-variant-numeric: tabular-nums; }

/* phones: the testimonial strip sets its quotes inline inside a clamped blockquote */
@media (max-width: 719px) {
  #testimonials .tm-strip .tm blockquote,
  #testimonials .tm-strip .tm blockquote p, #testimonials .tm-strip .tm blockquote p:first-child { line-height: 1.5 !important; }
}

/* the Info statement (22 to 28px, up to 16 lines on a phone): 1.2 reads as a block */
#info .grid > div:first-child p, #info .grid > div:first-child p * { line-height: 1.32 !important; }
#info .grid > div:first-child p { text-wrap: pretty; }

/* Identities categories (mono caps, were 11px at 3.8:1) and the Publications & Awards copy */
.index li .cat, .sheet .index li .cat, #identity li .cat { color: rgba(255,255,255,0.62) !important; font-size: 12px !important; }
.sheet .wrap .awards-grid p, .awards-grid p { line-height: 1.45 !important; max-width: 34em; text-wrap: pretty; }
.index .sec-head h2, .sec-head h2 { font-weight: 500 !important; }

/* project pages: the meta line under the title, and section titles of any markup */
.proj-meta, .proj-header .proj-meta, p.proj-meta, div.proj-meta { color: rgba(255,255,255,0.62) !important; }
h2.sec-title, .sec-title, .t2-head .sec-title { font-weight: 500 !important; }
span.n { color: rgba(255,255,255,0.62) !important; }
