/* Homepage Verdict Wall — publication covers (markup: ct-cover.njk). Not cards: no frames, panels or boxes. A masthead, a kicker,
   one monumental numeral with its verdict word, the title and a deck line, then a colophon (primary failure, date, open).
   Fading orange spine on the left edge. MIXED is always the amber --ctai-orange token, never green. */
.rc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); grid-auto-rows: 1fr; gap: 28px; } /* 3 across on desktop, 2 on tablet, 1 on phones: the cover is always portrait and the same size */
.rc { container-type: inline-size; --rc-v: var(--ctai-orange); position: relative; isolation: isolate; display: flex; flex-direction: column; min-width: 0; padding: 26px 28px 22px 35px; border: 1px solid rgba(245,245,240,.2); border-left: 4px solid var(--ctai-yellow); color: var(--ctai-white);
  background: radial-gradient(130% 60% at 20% 0%, rgba(245,245,240,.075), transparent 60%), linear-gradient(170deg, #18191b 0%, #0e0f10 60%, #0a0b0b 100%);
  box-shadow: 0 1px 0 rgba(245,245,240,.08) inset, 0 30px 60px rgba(0,0,0,.5); transition: border-color .2s ease, transform .25s ease; }
.rc:hover { border-color: rgba(245,245,240,.38); transform: translateY(-3px); }
.rc[data-v="pass"] { --rc-v: var(--ctai-green); }
.rc[data-v="fail"] { --rc-v: var(--ctai-red); }
.rc-spine { position: absolute; inset: 0 auto 0 0; width: 5px; background: linear-gradient(180deg, var(--ctai-yellow) 0%, rgba(var(--ctai-yellow-rgb), .5) 50%, rgba(var(--ctai-yellow-rgb), 0) 100%); }
.rc-mast { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid rgba(245,245,240,.28); font: 700 9.5px/1.2 var(--font-mono); letter-spacing: .2em; text-transform: uppercase; color: rgba(245,245,240,.78); }
.rc-mast i { color: var(--ctai-yellow); font-style: normal; }
.rc-mast span:last-child { font-weight: 400; color: rgba(245,245,240,.5); white-space: nowrap; }
.rc-plate { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin-top: 8px; } /* the seal sits on the same line as REPORT */
.rc-seal { flex: none; width: clamp(44px, 22cqw, 78px); height: clamp(44px, 22cqw, 78px); margin-bottom: 1px; transform: rotate(-8deg); opacity: .95; pointer-events: none; } /* CTAI seal: larger, level with the REPORT line, right-aligned */
.rc-nameplate { margin-top: 12px; font: 800 clamp(24px, 10cqw, 38px)/.92 var(--font-display); letter-spacing: -.045em; text-transform: uppercase; color: var(--ctai-white); } /* the masthead: reads CRASH TEST REPORT on every cover, like the Section 00 cover */
.rc-nameplate em { display: block; color: var(--ctai-yellow); font-style: normal; }
.rc-mast { border-bottom: 0; padding-bottom: 0; }
.rc-cat { margin-top: 20px; padding-top: 16px; border-top: 1px solid rgba(245,245,240,.28); font: 400 9.5px/1.3 var(--font-mono); letter-spacing: .26em; text-transform: uppercase; color: var(--ctai-yellow); }
.rc-hero { display: flex; flex-wrap: nowrap; align-items: flex-end; justify-content: flex-start; gap: 14px; margin-top: 10px; min-width: 0; } /* the numeral */ /* numeral left, verdict word on the same row, right-aligned to the cover's text edge */
.rc-score { display: flex; align-items: baseline; gap: 6px; min-width: 0; }
.rc-score b { font: 400 clamp(44px, 16cqw, 68px)/.82 var(--font-stencil); letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: var(--ctai-white); }
.rc-score small { font: 400 11px/1 var(--font-mono); letter-spacing: .06em; color: rgba(245,245,240,.42); }
.rc-title { padding: 24px 0 20px; } /* titles follow the numeral so they sit on the same line across the row; the spare height goes above the colophon */
.rc-name { margin: 0; font: 800 clamp(24px, 9cqw, 32px)/.96 var(--font-display); letter-spacing: -.05em; text-transform: uppercase; }
.rc-rule { display: block; width: 40px; height: 2px; margin: 16px 0 12px; background: var(--ctai-yellow); }
.rc-head { margin: 0; font: 400 15px/1.45 var(--font-body); color: rgba(245,245,240,.82); }
.rc-colophon { margin-top: auto; padding-top: 14px; border-top: 1px solid rgba(245,245,240,.28); } /* spare height sits above the colophon */
.rc-fail-k { display: block; font: 400 9px/1 var(--font-mono); letter-spacing: .22em; text-transform: uppercase; color: rgba(245,245,240,.46); }
.rc-metric { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin-top: 9px; }
.rc-metric b { font: 600 18px/1 var(--font-display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: var(--ctai-white); }
.rc-metric i { font: 400 9.5px/1.3 var(--font-mono); font-style: normal; letter-spacing: .16em; text-transform: uppercase; color: rgba(245,245,240,.62); }
.rc-find { margin: 8px 0 0; color: rgba(245,245,240,.6); font: 400 13px/1.5 var(--font-body); }
.rc-foot { display: flex; align-items: baseline; justify-content: flex-end; gap: 12px; margin-top: 16px; font: 400 9.5px/1 var(--font-mono); letter-spacing: .18em; text-transform: uppercase; }
.rc-date { color: rgba(245,245,240,.5); }
.rc-open { position: static; display: inline-flex; align-items: baseline; gap: 10px; color: var(--ctai-white); font-weight: 700; letter-spacing: .2em; text-decoration: none; padding-bottom: 3px; border-bottom: 1px solid rgba(245,245,240,.5); transition: border-color .18s ease; }
.rc-open::after { content: ""; position: absolute; inset: 0; z-index: 3; } /* the whole cover is the link */
.rc-open span { color: var(--ctai-yellow); font: normal 14px/1 var(--font-body); }
.rc:hover .rc-open { border-bottom-color: var(--ctai-yellow); }
.rc-open:focus-visible { outline: 1px solid var(--ctai-yellow); outline-offset: 6px; }
/* Covers are always portrait. Below 1100px at most two across; on phones one, full width. */
@media (min-width: 1100px) { .rc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } } /* 3 across only where each cover is wide enough to stay portrait and readable (>= ~330px) */
@media (max-width: 599px) { .rc { padding: 22px 22px 20px 30px; } }
@media (prefers-reduced-motion: reduce) { .rc, .rc-open { transition: none; } .rc:hover { transform: none; } }

/* Narrow covers (3 across on small laptops): reserve the wrapped lines so every title, numeral and colophon sits on the same line across the row. */
@container (max-width: 330px) {
  .rc-cat { min-height: 2.65em; }
  .rc-find { min-height: 4.5em; }
}

/* The spine is the card's own left border (like the hero preview card): solid, top edge to bottom edge. */
.rc .rc-spine { display: none; }

/* Verdict Wall scale legend (Pass / Mixed / Fail ranges): same neutral ink as the "All public crash-tests" link. */
.lv2-wall-bands .pass, .lv2-wall-bands .mixed, .lv2-wall-bands .fail { color: var(--ctai-ink-82); }

/* The CTAI seal artwork (also used on the Section 00 cover). */
.ctai-seal { display: block; width: 100%; height: 100%; overflow: visible; }
.ctai-seal .seal-i { stroke: #454545; }
.ctai-seal--warn .seal-i { stroke: var(--ctai-orange); }
/* Layout modifiers for pages that show fewer covers: 2-up (method page) and single (commission evidence). */
@media (min-width: 700px) { .rc-grid.rc-2up { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 699px) { .rc-grid.rc-2up { grid-template-columns: 1fr; } }
.rc-grid.rc-one { grid-template-columns: minmax(0, 1fr); }
.rc-grid.rc-one > .rc { height: 100%; }
.rc-rig .rc-score b { color: rgba(245,245,240,.4); }

/* Share (X / LinkedIn / Reddit): the same links and pre-written post as the old card, as words; above the cover-wide link so they stay clickable. */
.rc-share { position: relative; z-index: 4; display: flex; align-items: baseline; gap: 12px; margin-top: 14px; font: 400 9px/1 var(--font-mono); letter-spacing: .16em; text-transform: uppercase; color: rgba(245,245,240,.46); }
.rc-share-links { display: inline-flex; gap: 14px; }
.rc-share-links a { color: rgba(245,245,240,.7); text-decoration: none; border-bottom: 1px solid transparent; transition: color .18s ease, border-color .18s ease; }
.rc-share-links a:hover, .rc-share-links a:focus-visible { color: var(--ctai-white); border-bottom-color: var(--ctai-yellow); }
.rc-latest { font-weight: 400; color: rgba(245,245,240,.5); }

/* The cover-wide link: the colophon is NOT a positioned box, so the Look inside link's ::after covers the whole cover; Share stays above it. */
.rc > .rc-colophon { position: static; z-index: auto; }
.rc-open::after { z-index: 3; }
.rc-share { z-index: 4; }
