/* Additions for the October 2026 rebuild. site.css is the kept register; this file holds only what the rebuild adds. */

[hidden] { display: none !important; }

/* Two columns from 1100px on every desktop band, never left-heavy (memory calder-desktop-drafting-table). */
#problem .stage, #belief .stage, #ways .stage, #who .stage { display: block; }
@media (min-width: 1100px) {
  #problem .stage, #belief .stage, #ways .stage, #who .stage {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start;
  }
}
.stage > * { min-width: 0; }
.ledger-row .line em, .ledger-row .line i { font-style: normal; }
#ways h3 { margin: 1.6rem 0 .4rem; font-weight: 700; }
#ways h3:first-child { margin-top: 0; }
#ways .link { margin-top: .4rem; }
#practitioner .stage { align-items: start; }

/* A quiet portrait tile for the practitioner band. */
.portrait-tile { max-width: 320px; }
.portrait-tile img { display: block; width: 100%; height: auto; border-radius: 18px; }

/* Fee line under the three ways. */
.fee-line { margin-top: 2rem; padding-top: 1.4rem; border-top: 1px solid rgba(20,25,28,.12); }
.band-dark .fee-line { border-top-color: rgba(255,255,255,.18); }

/* Writing shelf. */
.shelf { display: grid; gap: 1.2rem; }
@media (min-width: 900px) { .shelf { grid-template-columns: repeat(3, 1fr); } }
.shelf a { text-decoration: none; color: inherit; }
.shelf h3 { margin: 0 0 .4rem; font-weight: 700; line-height: 1.15; }

/* Page header for the inside pages: dark band, no hero hunt. */
.page-top { padding: clamp(5rem, 12vh, 8rem) 0 clamp(3rem, 7vh, 5rem); }
.page-top .body-lede { max-width: 64ch; }
#record .stage { display: block; }
@media (min-width: 1100px) { #record .stage { display: grid; grid-template-columns: minmax(0, 1.4fr) 320px; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; } }
.page-top h1 { font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; font-size: clamp(2.2rem, 5vw, 3.6rem); margin: .4rem 0 1.2rem; }

/* Footer fine print on petrol: brand-200 clears 4.5:1, brand-500 did not (Lighthouse 2026-09-30). */
.site-foot .fine, .site-foot .fine a { color: #9FC9D3; }

/* Unattended-run flags never ship: make them loud in the prototype. */
[data-flag] { background: #FFE9A8; color: #14191C; padding: 0 .3em; border-radius: 4px; }

/* Inside pages (2026-09-30): two columns from 1100px, never left-heavy (memory calder-desktop-drafting-table). */
.stage-2 { display: block; }
@media (min-width: 1100px) {
  .stage-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
}
.stage-2 h3 { margin: 1.6rem 0 .4rem; font-weight: 700; }
.stage-2 h3:first-child { margin-top: 0; }
.stage-2 .link { margin-top: .4rem; }
#record .ledger { margin-top: 1.8rem; margin-bottom: 1.8rem; }

/* About hero: the tick field and the hunt, the copy column as on the home hero. */
#hero .hunt-field { z-index: 1; }
#hero .hero-copy .actions-col .fine { display: block; margin-top: .6rem; }

/* Perspectives pieces (2026-10-01): one measure, sentence headings on the two-tone device, ledgers inside the article. */
.article { max-width: 72ch; }
@media (min-width: 1100px) { .article { margin-left: 0; } }
.article p { font-size: clamp(1.05rem, 1.1vw, 1.18rem); line-height: 1.7; margin: 0 0 1.25em; }
.article h2 { margin: 2.6rem 0 1rem; font-size: clamp(1.5rem, 2.2vw, 2rem); line-height: 1.15; }
.article h2:first-child { margin-top: 0; }
.article .ledger { margin: 1.6rem 0 2rem; }
.article-links { display: flex; flex-wrap: wrap; gap: .6rem 2rem; margin-top: 2rem; }
.article-links .link { margin: 0; }

/* Article rail (article.js): two columns from 1100px, the rail sticky. */
.article-grid { display: block; }
.article-rail { margin: 0 0 2rem; }
.rail-list { list-style: none; margin: .9rem 0 0; padding: 0; }
.rail-list li { padding: .45rem 0; border-top: 1px solid rgba(20,25,28,.12); font-size: .98rem; line-height: 1.35; }
.rail-list li:last-child { border-bottom: 1px solid rgba(20,25,28,.12); }
.rail-list a { color: inherit; text-decoration: none; }
.rail-list a:hover { color: var(--action-ink); }
@media (min-width: 1100px) {
  .article-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
  .article-rail { position: sticky; top: 6rem; margin: 0; }
  .article { max-width: 72ch; }
}
.article h2 { scroll-margin-top: 6rem; }

/* Perspectives index: the shelf titles are h2 for heading order, styled as the shelf's h3. */
.shelf .shelf-title { margin: 0 0 .4rem; font-weight: 700; line-height: 1.15; font-size: 1.25rem; }

/* Contrast raises within tokens (site-qa 2026-10-01, pre-approved by the design canon): kickers and fine print on the light bands, the dimension label on the Hiring Check. The clay button stays at 3.33:1 by Fraser's call. */
.band-light .kicker, .band-paper .kicker { color: var(--brand-700); }
.band-light .fine, .band-paper .fine, .band-light .fine a, .band-paper .fine a { color: rgba(20,25,28,.76); }
.band-light .ledger-row .detail, .band-paper .ledger-row .detail { color: rgba(20,25,28,.76); }
.q .q-dim { color: #8F4E20; }
