/* ============================================================
   THE BENCH — Website V2 additive layer
   Loads after styles.css. Only V2-specific components live here;
   everything else reuses the launch-build classes.
   ============================================================ */

/* --- Text-led hero (no banner image) --- */
.v2-hero {
  padding: clamp(4rem, 9vw, 7.5rem) 0 clamp(3rem, 6vw, 5rem);
  border-bottom: 1px solid var(--bdr);
}
.v2-hero .hero-eyebrow { margin-bottom: 1.2rem; }
.v2-hero h1 {
  font-size: clamp(2.3rem, 5vw, 3.6rem);
  max-width: 17ch;
}
.v2-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.v2-hero-principle {
  margin-top: 2rem;
  padding-left: 1rem;
  border-left: 2px solid var(--accent);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--text-sec);
}
@media (max-width: 860px) {
  .v2-hero-grid { grid-template-columns: 1fr; }
}

/* --- What The Bench does: compact rule-led list, not oversized cards --- */
.v2-does-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem 2.5rem;
  margin-top: 2.5rem;
}
.v2-does-item {
  padding-left: 1.1rem;
  border-left: 2px solid var(--accent-line);
}
.v2-does-item h3 { font-size: 1rem; margin-bottom: 0.35rem; }
.v2-does-item p { font-size: 0.88rem; color: var(--text-sec); margin: 0; }
@media (max-width: 860px) {
  .v2-does-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .v2-does-grid { grid-template-columns: 1fr; }
}

/* --- Featured investigation --- */
.v2-investigation {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
  background: var(--bg-raised);
  border: 1px solid var(--bdr-light);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 3.5rem);
}
.v2-investigation-figure {
  margin: 0;
  background: #fff;
  border-radius: var(--radius);
  padding: 1rem;
}
.v2-investigation-figure img { width: 100%; }
.v2-investigation-figure figcaption {
  font-size: 0.78rem;
  color: #4a5568;
  padding-top: 0.75rem;
}
.v2-inv-ref {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--accent-line);
  border-radius: 2px;
  padding: 0.3rem 0.7rem;
  margin-bottom: 1.2rem;
}
.v2-investigation h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  line-height: 1.2;
  margin-bottom: 1rem;
}
.v2-inv-status {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 1.25rem;
}
.v2-inv-question {
  margin: 1.25rem 0;
  padding-left: 1rem;
  border-left: 2px solid var(--accent);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--text-pri);
}
.v2-investigation-figure--dark {
  background: transparent;
  border: 1px solid var(--bdr-light);
  padding: 0;
  max-width: 340px;
  justify-self: center;
}
.v2-investigation-figure--dark img { border-bottom: 1px solid var(--bdr-light); }
.v2-investigation-figure--dark figcaption {
  color: var(--text-muted);
  padding: 0.75rem 0.9rem;
}
.v2-inv-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  margin-top: 1.5rem;
  background: var(--bg-raised);
  border: 1px solid var(--bdr-light);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1.5rem, 4vw, 3.5rem);
}
.v2-inv-detail h4 { margin-bottom: 0.6rem; }
.v2-inv-detail p { font-size: 0.87rem; color: var(--text-sec); margin: 0; }
.v2-inv-detail .rf-card-route { display: inline-block; margin-top: 0.8rem; }
@media (max-width: 860px) {
  .v2-investigation { grid-template-columns: 1fr; }
  .v2-inv-details { grid-template-columns: 1fr; }
}

/* --- Four routes into the site --- */
.v2-routes {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.v2-route-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background: var(--bg-card);
  border: 1px solid var(--bdr);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.4rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.v2-route-card:hover,
.v2-route-card:focus-visible {
  border-color: var(--accent-line);
  transform: translateY(-2px);
}
.v2-route-card h3 { font-size: 1.05rem; color: var(--text-pri); }
.v2-route-card p { font-size: 0.85rem; color: var(--text-sec); margin: 0; flex-grow: 1; }
.v2-route-card .rf-card-route { margin-top: 0.75rem; }
@media (max-width: 960px) {
  .v2-routes { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .v2-routes { grid-template-columns: 1fr; }
}

/* --- Real work / artefact figures: light plates so documents read as documents --- */
.v2-artefact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.v2-artefact {
  margin: 0;
  background: var(--bg-card);
  border: 1px solid var(--bdr);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.v2-artefact-plate {
  background: #f5f1ec;
  padding: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 240px;
}
.v2-artefact-plate img { max-height: 320px; width: auto; max-width: 100%; }
.v2-artefact figcaption {
  padding: 1rem 1.25rem 1.2rem;
  font-size: 0.84rem;
  color: var(--text-sec);
  line-height: 1.5;
}
.v2-artefact figcaption strong {
  display: block;
  color: var(--text-pri);
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}
@media (max-width: 860px) {
  .v2-artefact-grid { grid-template-columns: 1fr; }
}

/* --- Evidence area link pills (used on Learn/investigation pages) --- */
.v2-evidence-area-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.75rem;
}
.v2-evidence-area-links a {
  font-size: 0.83rem;
  color: var(--text-sec);
  border: 1px solid var(--bdr-light);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.v2-evidence-area-links a:hover { color: var(--accent-lt); border-color: var(--accent-line); }

/* --- Products & Systems selected --- */
.v2-product-photo {
  background: #f5f1ec;
  border-radius: var(--radius);
  padding: 0.9rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 170px;
}
.v2-product-photo img { max-height: 100%; width: auto; }

/* --- People / network --- */
.v2-network-note {
  max-width: 760px;
  color: var(--text-sec);
  margin-top: 1.5rem;
}

/* --- Learn content types: compact structured list (Phase 1B) --- */
.v2-learn-list {
  margin-top: 2.5rem;
  border-top: 1px solid var(--bdr-light);
  max-width: 900px;
}
.v2-learn-row {
  display: grid;
  grid-template-columns: 11rem minmax(0, 1fr) auto;
  gap: 1rem 2rem;
  align-items: baseline;
  padding: 1rem 0;
  border-bottom: 1px solid var(--bdr);
}
.v2-learn-row h3 { font-size: 1rem; }
.v2-learn-row p { font-size: 0.88rem; color: var(--text-sec); margin: 0; }
.v2-learn-row .v2-learn-status {
  font-size: 0.78rem;
  color: var(--text-muted);
  white-space: nowrap;
}
.v2-learn-row .v2-learn-status--live { color: var(--st-impact); }
@media (max-width: 700px) {
  .v2-learn-row { grid-template-columns: 1fr; gap: 0.25rem; }
  .v2-learn-row .v2-learn-status { white-space: normal; }
}
.v2-learn-footnote {
  font-size: 0.83rem;
  color: var(--text-muted);
  margin-top: 1.25rem;
  max-width: 760px;
}

/* --- Investigation page (Learn content-model test) --- */
.v2-breadcrumb {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}
.v2-breadcrumb a { color: var(--text-sec); }
.v2-breadcrumb a:hover { color: var(--accent-lt); }
.v2-report-figure {
  margin: 2.5rem 0 0;
  background: #f5f1ec;
  border-radius: var(--radius-lg);
  padding: clamp(1rem, 3vw, 2rem);
  max-width: 900px;
}
.v2-report-figure img { width: 100%; }
.v2-report-figure figcaption {
  font-size: 0.82rem;
  color: #4a5568;
  padding-top: 0.9rem;
  line-height: 1.5;
}
.v2-findings {
  border-top: 1px solid var(--bdr-light);
  max-width: 980px;
}
.v2-finding {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem 2.5rem;
  align-items: start;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--bdr);
}
.v2-finding h3 { font-size: 1.02rem; margin-bottom: 0.45rem; }
.v2-finding p { font-size: 0.88rem; color: var(--text-sec); margin: 0; max-width: 70ch; }
.v2-verdict {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--accent-line);
  border-radius: 2px;
  padding: 0.3rem 0.65rem;
  white-space: nowrap;
  margin-top: 0.2rem;
}
@media (max-width: 700px) {
  .v2-finding { grid-template-columns: 1fr; gap: 0.75rem; }
  .v2-verdict { justify-self: start; }
}
.v2-resources {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
  max-width: 980px;
}
.v2-resources .v2-investigation-figure--dark { max-width: 260px; }
.v2-resource + .v2-resource { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--bdr); }
@media (max-width: 700px) {
  .v2-resources { grid-template-columns: 1fr; }
}

/* ============================================================
   Phase 3 — Learn architecture + What We Do
   ============================================================ */

/* --- Learn hub: lead entry (single featured item, not a card grid) --- */
.v2-lead-entry {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
  max-width: 980px;
  padding-left: 1.25rem;
  border-left: 2px solid var(--accent);
}
.v2-lead-entry .rf-card-route { display: inline-block; margin-top: 1rem; }
@media (max-width: 860px) {
  .v2-lead-entry { grid-template-columns: 1fr; }
}

/* --- Learn rows: linked headings keep row styling --- */
.v2-learn-row h3 a { color: var(--text-pri); }
.v2-learn-row h3 a:hover { color: var(--accent-lt); }

/* --- Investigations register --- */
.v2-register { max-width: 900px; }
.v2-register-entry {
  border: 1px solid var(--bdr-light);
  border-radius: var(--radius-lg);
  background: var(--bg-raised);
  padding: clamp(1.5rem, 4vw, 2.75rem);
}
.v2-register-entry + .v2-register-entry { margin-top: 1.5rem; }
.v2-register-head h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
  line-height: 1.25;
  margin: 0.4rem 0 0.75rem;
}
.v2-register-head h3 a { color: var(--text-pri); }
.v2-register-head h3 a:hover { color: var(--accent-lt); }
.v2-register-entry .rf-card-route { display: inline-block; margin-top: 1rem; }

/* --- Evidence Areas index: theme groups --- */
.v2-area-group + .v2-area-group { margin-top: 4rem; }

/* --- Evidence area page: related investigation strip --- */
.v2-related-investigation {
  display: flex;
  align-items: baseline;
  gap: 1.25rem;
  flex-wrap: wrap;
  max-width: 900px;
  margin-bottom: 2rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--bdr-light);
  border-radius: var(--radius-lg);
  background: var(--bg-raised);
}
.v2-related-investigation .v2-inv-ref { margin-bottom: 0; flex-shrink: 0; }
.v2-related-investigation p { margin: 0; color: var(--text-sec); font-size: 0.9rem; max-width: 70ch; }

/* --- What We Do: "what is stuck" grid (launch styles scope this to
       #page-services; re-issued here for the V2 page) --- */
#page-what-we-do .stuck-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 2rem;
}
#page-what-we-do .stuck-item {
  background: var(--bg-card);
  border: 1px solid var(--bdr);
  border-left: 3px solid var(--accent-line);
  border-radius: var(--radius);
  padding: 0.9rem 1.2rem;
  font-size: 0.92rem;
  color: var(--text-sec);
}
@media (max-width: 720px) {
  #page-what-we-do .stuck-grid { grid-template-columns: 1fr; }
}

/* --- What We Do: six kinds of help as rule-led rows, not cards --- */
.v2-help-list {
  margin-top: 2.5rem;
  border-top: 1px solid var(--bdr-light);
  max-width: 980px;
}
.v2-help-row {
  display: grid;
  grid-template-columns: 15rem minmax(0, 1fr);
  gap: 1rem 3rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--bdr);
}
.v2-help-row h3 { font-size: 1.05rem; }
.v2-help-row p { font-size: 0.9rem; color: var(--text-sec); margin: 0 0 0.75rem; max-width: 75ch; }
.v2-help-row p:last-child { margin-bottom: 0; }
.v2-help-detail { color: var(--text-muted); font-size: 0.85rem; }
@media (max-width: 760px) {
  .v2-help-row { grid-template-columns: 1fr; gap: 0.5rem; }
}

/* --- Footer: contact hours line + social channel links (V2 chrome only).
       Restrained treatment: small monochrome marks in the Contact column,
       inheriting the footer's muted link colours — no platform branding. --- */
.footer-hours {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.footer-col ul.footer-social {
  flex-direction: row;
  gap: 0.9rem;
  margin-top: 1.1rem;
}
.footer-social a {
  display: inline-flex;
  padding: 0.15rem;
  color: var(--text-muted);
  transition: color 0.15s;
}
.footer-social a:hover,
.footer-social a:focus {
  color: var(--text-sec);
}
.footer-social svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* --- Figure enlargement: detailed report figures only (homepage artefacts
       + investigation report figures). The link is the whole plate image
       with a persistent, restrained "Enlarge" chip; the dialog is native,
       so Escape, focus trap and focus restoration need no extra script. --- */
.v2-figure-zoom {
  position: relative;
  display: block;
  cursor: zoom-in;
}
.v2-figure-zoom img { display: block; }
.v2-figure-zoom-hint {
  position: absolute;
  right: 0.6rem;
  bottom: 0.6rem;
  padding: 0.2rem 0.55rem 0.2rem 1.5rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-sec);
  background:
    rgba(8, 13, 18, 0.82)
    no-repeat 0.5rem center / 0.75rem 0.75rem
    url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%238a97a8" stroke-width="2.4"><circle cx="10.5" cy="10.5" r="6.5"/><line x1="15.5" y1="15.5" x2="21" y2="21"/><line x1="10.5" y1="7.5" x2="10.5" y2="13.5"/><line x1="7.5" y1="10.5" x2="13.5" y2="10.5"/></svg>');
  border: 1px solid var(--bdr);
  border-radius: 3px;
  pointer-events: none;
}
.v2-figure-zoom:hover .v2-figure-zoom-hint,
.v2-figure-zoom:focus-visible .v2-figure-zoom-hint {
  color: var(--text-pri);
  border-color: var(--bdr-light);
}
.v2-figure-zoom:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.v2-figure-dialog {
  padding: 0;
  border: 1px solid var(--bdr-light);
  border-radius: var(--radius);
  background: #0c1118;
  max-width: min(96vw, 1400px);
  max-height: 92vh;
  overflow: auto;
}
.v2-figure-dialog::backdrop {
  background: rgba(4, 7, 10, 0.85);
}
.v2-figure-dialog img {
  display: block;
  width: 100%;
  height: auto;
}
.v2-figure-dialog-caption {
  margin: 0;
  padding: 0.8rem 3rem 0.9rem 1rem;
  font-size: 0.85rem;
  color: var(--text-sec);
}
.v2-figure-dialog-caption:empty { display: none; }
.v2-figure-dialog-close {
  position: sticky;
  top: 0.6rem;
  float: right;
  margin: 0.6rem 0.6rem 0 0;
  width: 2.2rem;
  height: 2.2rem;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--text-pri);
  background: rgba(8, 13, 18, 0.85);
  border: 1px solid var(--bdr-light);
  border-radius: 3px;
  cursor: pointer;
}
.v2-figure-dialog-close:hover,
.v2-figure-dialog-close:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
}

/* --- Nav CTA current-page state (contact shell migration): the lighter
       gold marks "you are here" on the page the CTA itself links to. --- */
.nav-links a.nav-cta.active { background: var(--accent-lt); }

/* ============================================================
   Phase 5 — Evidence Note family, Learn publication cards,
   About video integration
   ============================================================ */

/* --- Investigation / Evidence Note hero subtitle (the memorable second
       line under the public H1 — the number/badge stays secondary) --- */
.v2-inv-subtitle {
  margin-top: 0.6rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--text-sec);
}

/* --- Evidence Note badge: distinct from the Investigation ref badge so the
       two publication families read as visually related but not identical --- */
.v2-note-ref {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-pri);
  background: var(--accent-line);
  border-radius: 2px;
  padding: 0.3rem 0.7rem;
  margin-bottom: 1.2rem;
}

/* --- Publication card grid (Learn hub): scalable across both families.
       Title carries the visual weight; the type badge stays a small label. --- */
.v2-pub-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.v2-pub-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-raised);
  border: 1px solid var(--bdr-light);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
}
.v2-pub-card-type {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.v2-pub-card-date {
  font-size: 0.78rem;
  color: var(--text-muted);
}
.v2-pub-card h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.25;
  margin-bottom: 0.4rem;
}
.v2-pub-card h3 a { color: var(--text-pri); }
.v2-pub-card h3 a:hover { color: var(--accent-lt); }
.v2-pub-card-subtitle {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--text-sec);
  margin-bottom: 0.85rem;
}
.v2-pub-card p.v2-pub-card-desc {
  font-size: 0.88rem;
  color: var(--text-sec);
  margin: 0 0 1.25rem;
  flex-grow: 1;
}
.v2-pub-card-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
@media (max-width: 860px) {
  .v2-pub-grid { grid-template-columns: 1fr; }
}

/* --- Self-hosted vertical video (About: "What Is The Bench?") ---
       Constrained phone-proportioned frame; native controls, no autoplay. --- */
.v2-video-feature {
  display: grid;
  grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.v2-video-frame {
  position: relative;
  aspect-ratio: 9 / 16;
  background: #0c1118;
  border: 1px solid var(--bdr-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(8, 13, 18, 0.28);
}
.v2-video-frame video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Native fullscreen: the inline frame's `object-fit: cover` (correct for the
   fixed 9:16 card) keeps applying once the video is promoted to the
   fullscreen top layer, so a widescreen display crops most of the portrait
   composition away. Override to `contain` only while fullscreen, so the
   whole film shows letterboxed/pillarboxed instead. Written as two separate
   rules (not one comma-joined selector list) so an unsupported pseudo-class
   in one engine cannot invalidate the other's rule. */
.v2-video-frame video:fullscreen {
  width: 100vw;
  height: 100vh;
  object-fit: contain;
  background: #000;
}
.v2-video-frame video:-webkit-full-screen {
  width: 100vw;
  height: 100vh;
  object-fit: contain;
  background: #000;
}
.v2-video-caption {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.9rem;
  text-align: center;
}
.v2-video-copy .hero-eyebrow { margin-bottom: 0.6rem; }
@media (max-width: 760px) {
  .v2-video-feature { grid-template-columns: 1fr; justify-items: center; }
  .v2-video-frame { width: 100%; max-width: 320px; }
}

/* --- Evidence Note: twelve-question framework / "what you will find" list --- */
.v2-find-list {
  columns: 2;
  column-gap: 3rem;
  max-width: 900px;
  margin-top: 1.5rem;
}
.v2-find-list li {
  break-inside: avoid;
  margin-bottom: 0.6rem;
  font-size: 0.92rem;
  color: var(--text-sec);
}
@media (max-width: 700px) {
  .v2-find-list { columns: 1; }
}

/* --- Boundary / commercial disclosure block: quiet, framed, never styled
       to look like a warning — it is a routine editorial control. --- */
.v2-boundary-block {
  max-width: 820px;
  padding: 1.5rem 1.75rem;
  background: var(--bg-raised);
  border: 1px solid var(--bdr-light);
  border-left: 3px solid var(--accent-line);
  border-radius: var(--radius);
}
.v2-boundary-block p {
  font-size: 0.86rem;
  color: var(--text-sec);
  margin: 0 0 0.75rem;
}
.v2-boundary-block p:last-child { margin-bottom: 0; }

/* ============================================================
   Phase 5B — Evidence Note graphics, publication-card type/number
   split, two-column resources, About video captions note
   ============================================================ */

/* --- Publication family label (TYPE), separated from the ref/number
       chip so the number reads as a secondary token, never the type --- */
.v2-pub-type-label {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-sec);
  font-weight: 600;
}

/* --- R120 diagram: centred badge + wrapping variable chips. Readable
       down to 360px — chips wrap, badge scales with clamp(). --- */
.v2-r120-diagram {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
  margin: 2rem auto 0;
  max-width: 720px;
  text-align: center;
}
.v2-r120-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  width: clamp(128px, 30vw, 168px);
  aspect-ratio: 1;
  border: 2px solid var(--gold);
  border-radius: 50%;
  background: var(--bg-raised);
  padding: 1rem;
}
.v2-r120-value {
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 5vw, 2.3rem);
  color: var(--gold);
  line-height: 1;
}
.v2-r120-caption {
  font-size: 0.68rem;
  line-height: 1.3;
  color: var(--text-muted);
  max-width: 11ch;
}
.v2-r120-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 640px;
}
.v2-r120-chips li {
  font-size: 0.76rem;
  color: var(--text-sec);
  background: var(--bg-raised);
  border: 1px solid var(--bdr-light);
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
}

/* --- Assessed vs actual conditions strip: gold vertical divider on
       desktop; stacks to labelled rows on mobile. --- */
.v2-conditions-strip { margin-top: 2rem; max-width: 900px; }
.v2-conditions-strip-head {
  display: grid;
  grid-template-columns: minmax(0,150px) minmax(0,1fr) minmax(0,1fr);
  gap: 1.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--bdr-light);
}
.v2-conditions-strip-head span:nth-child(2) { padding-left: 1.25rem; border-left: 2px solid var(--gold); }
.v2-conditions-strip-row {
  display: grid;
  grid-template-columns: minmax(0,150px) minmax(0,1fr) minmax(0,1fr);
  gap: 1.5rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--bdr-light);
  font-size: 0.86rem;
}
.v2-conditions-strip-label { color: var(--text-pri); font-weight: 500; }
.v2-conditions-strip-assessed,
.v2-conditions-strip-actual { color: var(--text-sec); }
.v2-conditions-strip-row > .v2-conditions-strip-assessed { padding-left: 1.25rem; border-left: 2px solid var(--gold); }
.v2-conditions-strip-tag { display: none; }
.v2-conditions-strip-caption {
  margin-top: 1rem;
  font-size: 0.82rem;
  font-style: italic;
  color: var(--text-muted);
}
@media (max-width: 560px) {
  .v2-conditions-strip-head { display: none; }
  .v2-conditions-strip-row { grid-template-columns: 1fr; gap: 0.4rem; }
  .v2-conditions-strip-row > .v2-conditions-strip-assessed { padding-left: 0; border-left: none; }
  .v2-conditions-strip-tag {
    display: inline-block;
    font-size: 0.68rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-right: 0.5rem;
  }
}

/* --- Evidence Note resources: video and report as equal columns on
       desktop; video first as the entry point, report equally prominent. --- */
.v2-note-resources {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}
@media (max-width: 860px) {
  .v2-note-resources { grid-template-columns: 1fr; }
}
.v2-note-video-embed {
  position: relative;
  width: 100%;
  max-width: 360px;
  aspect-ratio: 9 / 16;
  margin: 1rem 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--bdr-light);
  background: #0c1118;
}
.v2-note-video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
@media (max-width: 760px) {
  .v2-note-video-embed { max-width: none; }
}

/* --- About video: note shown only while no captions track exists --- */
.v2-video-caption-note {
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-top: 0.4rem;
  text-align: center;
}
