/* ============================================================
   JM&W — HOMEPAGE COMPONENTS  (CLIENT — June 2026)
   Styles for the scaffolded homepage blocks that match the live
   site: (1) full-bleed PHOTO HEADER with a legible frosted panel,
   (2) CASE-RESULTS block on WHITE with a large gavel DIAMOND,
   (3) services rail arrows BELOW the cards, (4) rotating GOOGLE
   REVIEWS carousel. Loaded last so it wins the cascade.
   ============================================================ */

/* ===========================================================
   1 · PHOTO HEADER  — solid white nav bar on top, full firm photo
   below it, wide translucent label band (mirrors the live site)
   =========================================================== */

/* homepage: the fixed nav becomes a solid WHITE bar above the photo */
.site-header { background: #FFFFFF; border-bottom: 1px solid var(--color-line); }
.site-header.is-solid { background: #FFFFFF; }
/* brand name lines were white (for the dark header) — make ink on the white bar + light footer */
.site-header .brand-lockup .bl-1, .site-header .brand-lockup .bl-2,
.site-footer .brand-lockup .bl-1, .site-footer .brand-lockup .bl-2 { color: var(--color-ink); }

.hero--photo {
  position: relative;
  min-height: clamp(680px, 94vh, 1000px);
  display: block; padding: 0; padding-top: 84px;
  background: #FFFFFF;
  border-bottom: 5px solid var(--color-primary);
}
.hero--photo .hero-photo {
  position: absolute; top: 84px; left: 0; right: 0; bottom: 0; z-index: 0;
  width: 100%; height: calc(100% - 84px);
  object-fit: cover; object-position: center 32%;
}
.hero--photo .hero-photo-scrim {
  position: absolute; top: 84px; left: 0; right: 0; bottom: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(0deg, rgba(20,16,12,0.30) 0%, rgba(20,16,12,0.03) 30%, transparent 52%);
}

/* the wide translucent label band, near the bottom of the photo */
.hero-banner {
  position: absolute; left: 0; right: 0; bottom: clamp(8px, 1.5vh, 18px); z-index: 2;
  margin-inline: auto;
  width: min(1120px, 94vw); display: flex; justify-content: center;
}
.hero-banner-card {
  width: 100%; text-align: center;
  padding: clamp(26px, 3.2vw, 46px) clamp(32px, 5vw, 80px);
  background: rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-top: 4px solid var(--color-primary);
  box-shadow: 0 22px 56px rgba(20, 16, 12, 0.28);
}
.hero-banner-title {
  font-family: var(--font-display); font-weight: var(--weight-display);
  font-size: clamp(30px, 4vw, 60px); line-height: 1.1; letter-spacing: -0.01em;
  color: var(--color-ink); margin: 0;
}
.hero-banner-title em { font-style: normal; color: var(--color-primary); }
.hero-banner-title b {
  display: block; white-space: nowrap; margin-top: 2px; font-weight: var(--weight-display);
  text-transform: uppercase; letter-spacing: 0.01em;
}
.hero-banner-sub {
  margin: clamp(10px, 1.4vw, 16px) 0 0;
  font-family: var(--font-mono); font-size: clamp(10px, 1vw, 12.5px);
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--color-ink-soft);
}

/* ---- intro band below the photo: lede + CTAs + the two quick paths ---- */
.hero-intro { background: var(--color-paper); padding-top: clamp(36px, 5vw, 64px); }
.hero-intro-grid {
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 64px); align-items: center;
  padding-bottom: clamp(32px, 4vw, 56px);
}
.hero-intro .lede { color: var(--color-ink-soft); font-size: var(--text-lg); margin: 0; }
.hero-intro-actions { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.hero-intro-actions .hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-intro-actions .cta-micro {
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--color-muted); margin: 0;
}
/* ghost button on the white band: ink text, not the default paper-white */
.hero-intro .btn--ghost { color: var(--color-ink); border-color: color-mix(in srgb, var(--color-ink) 32%, transparent); }
.hero-intro .btn--ghost:hover { color: #FFFFFF; background: var(--color-primary); border-color: var(--color-primary); }
.hero-intro .hero-paths {
  position: relative; display: grid; grid-template-columns: 1fr 1fr;
  border-top: 1px solid color-mix(in srgb, var(--color-primary) 45%, transparent);
}
.hero-intro .hero-path { color: var(--color-ink); }
.hero-intro .hero-path b { color: var(--color-ink); }
.hero-intro .hero-path span { color: var(--color-muted); }
.hero-intro .hero-path + .hero-path { border-left: 1px solid var(--color-line); }
.hero-intro .hero-path:hover { background: rgba(var(--color-primary-rgb), 0.05); }
.hero-intro .hero-path .path-arr { border-color: var(--color-line); color: var(--color-ink); }

@media (max-width: 820px) {
  .hero--photo { min-height: clamp(500px, 72vh, 640px); }
  .hero-banner-title { font-size: clamp(26px, 7vw, 40px); }
  .hero-intro-grid { grid-template-columns: 1fr; }
}

/* ===========================================================
   MOLD SPOTLIGHT — scales-of-justice emblem (homepage)
   =========================================================== */
.mold-emblem {
  position: relative; display: grid; place-items: center;
  width: 100%; height: clamp(360px, 36vw, 520px);
  background:
    radial-gradient(ellipse 70% 60% at 50% 36%, rgba(var(--color-primary-rgb), 0.06), transparent 70%),
    var(--color-paper-deep);
  border: var(--hairline) solid color-mix(in srgb, var(--color-accent) 55%, transparent);
  border-radius: 4px; overflow: hidden;
}
.mold-emblem::after {
  content: ""; position: absolute; inset: 14px;
  border: 1px solid color-mix(in srgb, var(--color-primary) 22%, transparent);
  border-radius: 2px; pointer-events: none;
}
.mold-emblem .scales {
  position: relative; z-index: 1;
  width: min(58%, 300px); height: auto; aspect-ratio: 1;
  color: var(--color-primary);
  filter: drop-shadow(0 10px 22px rgba(var(--color-primary-rgb), 0.18));
}

/* ===========================================================
   2 · CASE RESULTS  — WHITE background, large gavel DIAMOND
   (replaces the crimson flood; red kept only as the accent)
   =========================================================== */
/* ===========================================================
   NOTABLE RESULTS — elevated light split (ink + paper, crimson accent only, no gold)
   =========================================================== */
.results-split {
  position: relative; overflow: hidden;
  padding: clamp(64px, 8vh, 120px) 0;
  background: var(--color-paper);
  color: var(--color-ink);
}
.results-split::before { /* faint crimson warmth in one corner — not a flood */
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(70% 60% at 100% 0%, rgba(var(--color-primary-rgb), 0.05), transparent 62%);
}
.results-split > * { position: relative; z-index: 1; }

.rs-grid {
  width: min(1280px, 92vw); margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(36px, 4.5vw, 84px); align-items: start;
}

/* ---- left editorial column ---- */
.rs-panel { position: relative; align-self: stretch; padding: 4px 0; }
.rs-watermark { /* one soft brand-diamond glow — a shape, not lines, so nothing crosses the text */
  position: absolute; z-index: 0; pointer-events: none;
  width: clamp(360px, 44vw, 540px); aspect-ratio: 1;
  left: 24%; top: 36%; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side,
    rgba(var(--color-primary-rgb), 0.07),
    rgba(var(--color-primary-rgb), 0.025) 64%, transparent 100%);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}
.rs-panel-body { position: relative; z-index: 1; max-width: 30rem; }
.rs-pill {
  display: inline-block; font-family: var(--font-mono); font-size: 12px;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--color-primary);
  border: 1px solid color-mix(in srgb, var(--color-primary) 40%, transparent);
  border-radius: 999px; padding: 7px 16px;
}
.rs-title {
  font-family: var(--font-display); font-weight: var(--weight-display);
  font-size: clamp(38px, 4.2vw, 58px); line-height: 1.04;
  letter-spacing: var(--tracking-display); margin-top: 22px; color: var(--color-ink);
  text-wrap: balance;
}
.rs-title em { font-style: italic; color: var(--color-primary); }
.rs-place {
  font-family: var(--font-display); font-style: italic;
  font-size: clamp(20px, 2vw, 27px); color: var(--color-muted); margin-top: 10px;
}
.rs-lede {
  font-size: var(--text-base); line-height: 1.7;
  color: var(--color-ink-soft); margin-top: 22px;
}
.rs-cta { margin-top: 30px; }
.rs-cta .btn {
  background: var(--color-ink); border-color: var(--color-ink); color: var(--color-paper);
  box-shadow: var(--shadow-2);
}
.rs-cta .btn:hover { background: var(--color-primary); border-color: var(--color-primary); }

/* ---- right card stack ---- */
.rs-cards { display: flex; flex-direction: column; gap: 14px; }
.rs-card {
  position: relative;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center;
  gap: 22px; text-decoration: none; padding: 22px 24px 22px 26px; border-radius: 14px;
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  box-shadow: var(--shadow-1);
  transition: transform .26s var(--ease-out), border-color .26s var(--ease-out), box-shadow .26s var(--ease-out);
}
.rs-card::before { /* crimson accent edge, reveals on hover */
  content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px;
  border-radius: 0 3px 3px 0; background: var(--color-primary);
  opacity: 0; transition: opacity .26s var(--ease-out);
}
.rs-card:hover {
  transform: translateX(5px);
  border-color: color-mix(in srgb, var(--color-primary) 42%, var(--color-line));
  box-shadow: var(--shadow-3);
}
.rs-card:hover::before { opacity: 1; }
.rs-ico {
  width: 56px; height: 56px; flex: none; display: grid; place-items: center;
  border-radius: 12px; color: var(--color-primary);
  background: color-mix(in srgb, var(--color-primary) 8%, var(--color-paper));
  border: 1px solid color-mix(in srgb, var(--color-primary) 22%, transparent);
  transition: color .26s var(--ease-out), background .26s var(--ease-out), border-color .26s var(--ease-out);
}
.rs-ico svg { width: 27px; height: 27px; }
.rs-card:hover .rs-ico {
  color: var(--color-paper); background: var(--color-primary); border-color: var(--color-primary);
}
.rs-card-body { min-width: 0; }
.rs-tag {
  display: block; font-family: var(--font-mono); font-size: 10.5px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--color-muted); margin-bottom: 9px;
}
.rs-amt {
  display: inline; -webkit-box-decoration-break: clone; box-decoration-break: clone;
  font-family: var(--font-display); font-weight: var(--weight-display);
  font-size: clamp(26px, 2.3vw, 34px); line-height: 1.4; letter-spacing: -0.012em;
  color: var(--color-primary); padding: 0.02em 0.18em;
  background: linear-gradient(transparent 0 16%, color-mix(in srgb, var(--color-primary-deep) 17%, transparent) 16% 86%, transparent 86% 100%);
  transition: background .26s var(--ease-out);
}
.rs-card:hover .rs-amt {
  background: linear-gradient(transparent 0 11%, color-mix(in srgb, var(--color-primary-deep) 30%, transparent) 11% 91%, transparent 91% 100%);
}
.rs-card-body h3 {
  font-family: var(--font-body); font-weight: 600;
  font-size: 15px; line-height: 1.25; color: var(--color-ink); letter-spacing: 0.005em;
  margin-top: 12px;
}
.rs-card-body p {
  font-size: 13.5px; line-height: 1.5; color: var(--color-muted);
  margin-top: 5px; text-wrap: pretty;
}
.rs-go {
  flex: none; font-size: 18px; color: color-mix(in srgb, var(--color-ink) 35%, transparent);
  transition: transform .26s var(--ease-out), color .26s var(--ease-out);
}
.rs-card:hover .rs-go { color: var(--color-primary); transform: translateX(4px); }

/* ---- footer strip ---- */
.rs-foot {
  width: min(1280px, 92vw); margin: clamp(32px, 4vh, 52px) auto 0;
  display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--color-line); padding-top: 22px;
}
.rs-foot-note { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.04em; color: var(--color-muted); }
.rs-foot-link {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--color-ink); text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, var(--color-ink) 35%, transparent); padding-bottom: 3px;
}
.rs-foot-link:hover { color: var(--color-primary); border-bottom-color: var(--color-primary); }
.rs-foot-link .arr, .rs-cta .arr { display: inline-block; transition: transform .2s var(--ease-out); }
.rs-foot-link:hover .arr, .rs-cta .btn:hover .arr { transform: translateX(3px); }

@media (max-width: 920px) {
  .rs-grid { grid-template-columns: 1fr; gap: 30px; }
  .rs-panel-body { max-width: none; }
  .rs-watermark { display: none; }
}
@media (max-width: 540px) {
  .rs-card { grid-template-columns: auto 1fr; gap: 14px; padding: 16px 16px 16px 18px; }
  .rs-go { display: none; }
  .rs-ico { width: 46px; height: 46px; }
  .rs-ico svg { width: 23px; height: 23px; }
}

/* ===========================================================
   3 · SERVICES RAIL — counter row below the cards
   (the rail, cards, arrows + auto-rotate live in jmw-services-rail.*)
   =========================================================== */
.svc-gallery .section-head { align-items: flex-start; }
.svc-nav-row {
  display: flex; justify-content: center; align-items: center; gap: 18px;
  margin-top: var(--sp-4);
}
.svc-nav-row .svc-count {
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.18em;
  color: var(--color-muted); min-width: 70px; text-align: center;
}
.svc-nav-row .svc-count b { font-weight: 500; color: var(--color-primary); }

/* ===========================================================
   4 · GOOGLE REVIEWS — rotating carousel (dummy API data in JS)
   sits below the main testimonial the client likes
   =========================================================== */
.reviews {
  margin-top: clamp(54px, 7vw, 92px);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--color-line);
  text-align: left;
}
.reviews-head { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: var(--sp-4); }
.reviews-brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--color-muted);
}
.reviews-g {
  display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  background: #FFFFFF; border: 1px solid var(--color-line);
  font-family: var(--font-display); font-weight: 700; font-size: 15px; color: #4285F4;
}
.reviews-summary { display: inline-flex; align-items: center; gap: 9px; }
.reviews-summary b { font-family: var(--font-display); font-weight: var(--weight-display); font-size: 22px; color: var(--color-ink); }
.reviews-stars { color: #F4B400; letter-spacing: 2px; font-size: 15px; }
.reviews-count { font-size: 13px; color: var(--color-muted); }
.reviews-nav { margin-left: auto; display: flex; gap: 10px; }

/* arrows grouped with the dots, centered below the track */
.reviews-controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: var(--sp-4); }
.reviews-controls .reviews-dots { margin-top: 0; }
.reviews-controls .rv-prev, .reviews-controls .rv-next {
  width: 40px; height: 40px; border-radius: 50%; flex: none;
  border: 1px solid color-mix(in srgb, var(--color-ink) 28%, transparent);
  background: none; color: var(--color-ink); font-size: 16px; cursor: pointer;
  display: grid; place-items: center;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}
.reviews-controls .rv-prev:hover, .reviews-controls .rv-next:hover { background: var(--color-primary); border-color: var(--color-primary); color: #FFFFFF; transform: scale(1.06); }
.reviews-nav button {
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--color-ink) 30%, transparent);
  background: none; color: var(--color-ink); font-size: 17px; cursor: pointer;
  display: grid; place-items: center;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}
.reviews-nav button:hover { background: var(--color-primary); border-color: var(--color-primary); color: #FFFFFF; transform: scale(1.06); }

.reviews-viewport { position: relative; }
.reviews-track {
  display: flex; gap: var(--sp-3);
  overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 6px; scrollbar-width: none;
}
.reviews-track::-webkit-scrollbar { display: none; }

.rv-card {
  flex: 0 0 min(384px, 84vw); scroll-snap-align: start;
  background: #FFFFFF; border: 1px solid var(--color-line); border-radius: 8px;
  padding: 22px 24px 24px; margin: 0;
  display: flex; flex-direction: column; gap: 14px;
  box-shadow: 0 6px 20px rgba(20, 16, 12, 0.06);
  transition: box-shadow 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}
.rv-card.is-current { box-shadow: 0 14px 36px rgba(20, 16, 12, 0.12); }
.rv-top { display: flex; align-items: center; gap: 12px; }
.rv-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none; }
.rv-avatar--initial {
  display: grid; place-items: center; color: #FFFFFF;
  font-family: var(--font-display); font-weight: 700; font-size: 18px;
}
.rv-id { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.rv-id b { font-family: var(--font-display); font-weight: 600; font-size: 16px; color: var(--color-ink); }
.rv-meta { display: flex; align-items: center; gap: 8px; }
.rv-stars { color: #F4B400; font-size: 13px; letter-spacing: 1px; }
.rv-time { font-size: 12px; color: var(--color-muted); }
.rv-g { margin-left: auto; align-self: flex-start; font-family: var(--font-display); font-weight: 700; font-size: 18px; color: #4285F4; }
.rv-text { font-size: 15px; line-height: 1.62; color: var(--color-ink-soft); }

.reviews-dots { display: flex; gap: 8px; justify-content: center; margin-top: var(--sp-4); }
.rv-dot {
  width: 8px; height: 8px; border-radius: 50%; border: none; padding: 0;
  background: var(--color-line); cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.rv-dot.is-on { background: var(--color-primary); transform: scale(1.35); }

@media (max-width: 720px) {
  .reviews-nav { margin-left: 0; }
}

/* ===========================================================
   CTA STRIP  — crimson band between the 14 services & case results
   =========================================================== */
.cta-strip {
  position: relative; overflow: hidden;
  background: linear-gradient(118deg, var(--color-primary-deep) 0%, var(--color-primary) 64%);
  color: #FFFFFF; padding: clamp(40px, 5vw, 64px) 0;
}
.cta-strip::before {
  content: ""; position: absolute; top: 50%; right: -90px; width: 320px; height: 320px;
  transform: translateY(-50%) rotate(45deg);
  border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 18px; pointer-events: none;
}
.cta-strip::after {
  content: ""; position: absolute; top: 50%; right: 10px; width: 150px; height: 150px;
  transform: translateY(-50%) rotate(45deg);
  border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 12px; pointer-events: none;
}
.cta-strip-inner {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: space-between;
  gap: clamp(28px, 5vw, 72px); flex-wrap: wrap;
}
.cta-strip-dmd {
  position: absolute; left: -52px; bottom: -52px; width: 130px; height: 130px;
  transform: rotate(45deg); background: rgba(255, 255, 255, 0.06); pointer-events: none;
}
.cta-strip-copy { max-width: 33em; }
.cta-strip .eyebrow { color: rgba(255, 255, 255, 0.78); }
.cta-strip .eyebrow::before { background: #FFFFFF; }
.cta-strip-title {
  font-family: var(--font-display); font-weight: var(--weight-display);
  font-size: clamp(28px, 3.4vw, 46px); line-height: 1.08; letter-spacing: -0.01em;
  margin: var(--sp-3) 0 0; color: #FFFFFF;
}
.cta-strip-title em { font-style: italic; color: color-mix(in srgb, var(--color-glow) 55%, #FFFFFF); }
.cta-strip-sub { font-size: var(--text-base); line-height: 1.6; color: rgba(255, 255, 255, 0.88); margin: var(--sp-3) 0 0; }
.cta-strip-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; flex: none; }
.cta-strip-btn {
  background: #FFFFFF; color: var(--color-primary-deep); border: none;
  font-size: 15px; padding: 17px 28px;
  box-shadow: 0 16px 40px rgba(20, 16, 12, 0.26);
}
.cta-strip-btn:hover { background: var(--color-ink); color: #FFFFFF; }
.cta-strip-btn .arr { transition: transform 0.2s var(--ease-out); }
.cta-strip-btn:hover .arr { transform: translateX(4px); }
.cta-strip-call { font-size: 14px; color: rgba(255, 255, 255, 0.9); text-decoration: none; align-self: center; }
.cta-strip-call b { font-family: var(--font-display); font-weight: 600; border-bottom: 1px solid rgba(255, 255, 255, 0.4); }
.cta-strip-call:hover b { border-bottom-color: #FFFFFF; }
@media (max-width: 760px) {
  .cta-strip-actions { align-items: stretch; width: 100%; }
  .cta-strip-btn { justify-content: center; }
  .cta-strip-call { align-self: center; }
}

/* ===========================================================
   MAD-SCIENCE DIVIDER + CASE-CARD AURA  (case results)
   =========================================================== */
.lab-divider {
  display: flex; align-items: center; gap: 12px;
  max-width: 460px; margin: var(--sp-4) 0 var(--sp-2); height: 16px;
}
.lab-divider .lab-line {
  position: relative; height: 12px; flex: 1;
}
.lab-divider .lab-line::before { /* baseline */
  content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px;
  background: color-mix(in srgb, var(--color-ink) 26%, transparent);
}
.lab-divider .lab-line::after { /* ruler ticks */
  content: ""; position: absolute; left: 0; right: 0; top: 1px; bottom: 1px;
  background-image: repeating-linear-gradient(to right,
    color-mix(in srgb, var(--color-ink) 30%, transparent) 0 1px, transparent 1px 12px);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 30%);
  mask-image: linear-gradient(to right, transparent, #000 30%);
}
.lab-divider .lab-line--r::after {
  -webkit-mask-image: linear-gradient(to left, transparent, #000 30%);
  mask-image: linear-gradient(to left, transparent, #000 30%);
}
.lab-divider .lab-node {
  position: relative; width: 14px; height: 14px; flex: none;
  background: var(--color-primary); transform: rotate(45deg);
}
.lab-divider .lab-node::before {
  content: ""; position: absolute; inset: -5px;
  border: 1px solid color-mix(in srgb, var(--color-primary) 50%, transparent);
}
.lab-divider .lab-tag {
  flex: none; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--color-primary-deep); white-space: nowrap;
}
@media (prefers-reduced-motion: no-preference) {
  html.motion-ready:not(.motion-off) .lab-divider .lab-node::after {
    content: ""; position: absolute; inset: -5px; border: 1px solid var(--color-primary);
    animation: labPing 2.6s var(--ease-out) infinite;
  }
}
@keyframes labPing {
  0% { transform: scale(0.6); opacity: 0.9; }
  100% { transform: scale(2.2); opacity: 0; }
}

/* ---- aura / glow around every notable-case card ---- */
.verdicts .verdict-card {
  box-shadow: 0 12px 34px rgba(20, 16, 12, 0.10),
              0 0 22px rgba(var(--color-primary-rgb), 0.16);
}
@media (prefers-reduced-motion: no-preference) {
  html.motion-ready:not(.motion-off) .verdicts .verdict-card {
    animation: caseAura 3.8s var(--ease-inout) infinite;
  }
  html.motion-ready:not(.motion-off) .verdicts .verdict-card:nth-child(2) { animation-delay: 0.5s; }
  html.motion-ready:not(.motion-off) .verdicts .verdict-card:nth-child(3) { animation-delay: 1s; }
  html.motion-ready:not(.motion-off) .verdicts .verdict-card:nth-child(4) { animation-delay: 1.5s; }
  html.motion-ready:not(.motion-off) .verdicts .verdict-card:nth-child(5) { animation-delay: 2s; }
}
@keyframes caseAura {
  0%, 100% { box-shadow: 0 12px 34px rgba(20,16,12,0.10), 0 0 16px rgba(var(--color-primary-rgb), 0.12); }
  50%      { box-shadow: 0 14px 40px rgba(20,16,12,0.12), 0 0 36px rgba(var(--color-primary-rgb), 0.32); }
}
.verdicts .verdict-card:hover {
  animation: none;
  box-shadow: 0 22px 56px rgba(20,16,12,0.18), 0 0 46px rgba(var(--color-primary-rgb), 0.42);
}
