﻿/* ==========================================================================
   BenchOps product page · /benchops/index.html
   ========================================================================== */

.bo-holding {
  position: relative;
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
  background:
    radial-gradient(ellipse at 76% 20%, rgba(217,138,28,0.15) 0%, transparent 42%),
    linear-gradient(150deg, var(--canvas) 0%, var(--card) 100%);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.bo-holding::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(26,95,82,0.05) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
}

.bo-holding-rings {
  position: absolute;
  right: -120px;
  top: 50%;
  width: 520px;
  height: 520px;
  transform: translateY(-50%);
  pointer-events: none;
}

.bo-holding-rings div {
  position: absolute;
  inset: 50%;
  border: 1px solid rgba(217,138,28,0.18);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.bo-holding-rings div:nth-child(1) { width: 220px; height: 220px; }
.bo-holding-rings div:nth-child(2) { width: 360px; height: 360px; }
.bo-holding-rings div:nth-child(3) { width: 500px; height: 500px; }

.bo-holding-grid {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 96px var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 72px;
  align-items: center;
}

.bo-holding-eyebrow,
.bo-card-kicker {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber-deep);
}

.bo-holding-eyebrow {
  margin-bottom: 18px;
}

.bo-holding h1 {
  font-size: clamp(38px, 5vw, 68px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--text-strong);
  margin-bottom: 20px;
  max-width: 700px;
}

.bo-holding p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  max-width: 640px;
  margin-bottom: 34px;
}

.bo-holding-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.bo-holding-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
}

.bo-holding-link:hover {
  color: var(--teal-deep);
}

.bo-holding-card {
  background: rgba(255,255,255,0.84);
  border: 1px solid rgba(217,138,28,0.28);
  border-radius: var(--r-xl);
  padding: 32px;
  box-shadow: var(--shadow-card-hover);
  backdrop-filter: blur(10px);
}

.bo-card-title {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-strong);
  line-height: 1.12;
  margin: 18px 0 24px;
}

.bo-card-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border-radius: 999px;
  background: var(--amber-tint);
  color: var(--amber-deep);
  font-size: 12px;
  font-weight: 700;
}

.bo-card-status::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
}

.bo-contact {
  background: var(--ink);
  padding: 72px var(--gutter);
}

.bo-contact-card {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.bo-contact h2 {
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.bo-contact p {
  color: rgba(212,226,220,0.78);
  font-size: 15px;
  line-height: 1.6;
  margin: 0 auto 30px;
  max-width: 500px;
}

@media (max-width: 900px) {
  .bo-holding {
    min-height: auto;
  }

  .bo-holding-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 72px var(--gutter-mobile);
  }

  .bo-holding-card {
    max-width: 420px;
  }

  .bo-contact {
    padding: 64px var(--gutter-mobile);
  }
}

@media (max-width: 600px) {
  .bo-holding-actions {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* ==========================================================================
   BenchOps full page
   ========================================================================== */

.benchops-page {
  background: var(--canvas);
  color: var(--text);
}

.bo-context {
  position: sticky;
  top: 64px;
  z-index: 90;
  background: rgba(247,249,246,0.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

.bo-context-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  min-height: 52px;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  gap: 18px;
}

.bo-context-back {
  flex-shrink: 0;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-strong);
}

.bo-context-back strong {
  color: var(--amber-deep);
}

.bo-context-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.bo-context-links a,
.bo-context-cta {
  font-size: 12px;
  font-weight: 700;
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--text);
  transition: background 0.16s ease, color 0.16s ease;
}

.bo-context-links a:hover {
  background: rgba(217,138,28,0.10);
  color: var(--amber-deep);
}

.bo-context-cta {
  color: #fff;
  background: var(--amber);
}

.bo-context-cta:hover {
  background: var(--amber-deep);
}

.bo-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber-deep);
}

.bo-text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--text-strong);
  font-size: 13px;
  font-weight: 700;
  border-bottom: 1px solid rgba(15,28,26,0.26);
}

.bo-text-link:hover {
  color: var(--amber-deep);
  border-bottom-color: var(--amber);
}

/* ============================================================================
   Hero: type-led, single column. Headline carries the message; the
   storyboard below proves it. No diagrams, mockups, charts in the hero.
   ============================================================================ */

.bo-hero {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  color: rgba(247,249,246,0.92);
  background:
    radial-gradient(ellipse 88% 70% at 82% 14%, rgba(217,138,28,0.14) 0%, rgba(217,138,28,0) 58%),
    linear-gradient(180deg, #2d3333 0%, #272d2d 100%);
  border-bottom: 1px solid rgba(247,249,246,0.10);
}

.bo-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(247,249,246,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247,249,246,0.05) 1px, transparent 1px);
  background-size: 32px 32px, 32px 32px;
  pointer-events: none;
  z-index: 0;
}

.bo-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  min-height: 720px;
  padding: clamp(96px, 13vh, 130px) clamp(28px, 6vw, 80px) clamp(72px, 10vh, 100px);
  display: block;
}

.bo-hero-copy {
  max-width: 1100px;
}

.bo-hero .bo-eyebrow {
  display: inline-block;
  padding: 6px 12px;
  margin-bottom: 28px;
  border: 1px solid rgba(217,138,28,0.36);
  border-radius: 999px;
  background: rgba(217,138,28,0.08);
  color: #f1c47a;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.bo-hero-headline {
  margin: 0 0 28px;
  font-size: clamp(54px, 11vw, 118px);
  line-height: 0.95;
  letter-spacing: -0.035em;
  color: #ffffff;
  font-weight: 800;
  text-wrap: balance;
  max-width: 16ch;
}

.bo-hero-headline span {
  position: relative;
  display: inline-block;
  color: var(--amber);
}

.bo-hero-headline span::after {
  content: '';
  position: absolute;
  left: 0.02em;
  right: 0.06em;
  bottom: -0.04em;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(217,138,28,0), rgba(217,138,28,0.92) 50%, rgba(217,138,28,0));
}

.bo-hero-lede {
  max-width: 620px;
  margin: 0 0 56px;
  color: rgba(231,240,234,0.78);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
}

.bo-hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.bo-hero-actions .btn-amber {
  padding: 14px 22px;
  font-size: 14px;
}

.bo-hero-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #f1c47a;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  border-bottom: 1px solid rgba(241,196,122,0.36);
  transition: color 0.16s ease, border-color 0.16s ease;
}

.bo-hero-link:hover {
  color: #ffd896;
  border-bottom-color: rgba(255,216,150,0.74);
}

/* Marginalia: tiny numbered preview of the five layers, top-right corner.
   Previews the storyboard below without being a feature card. */
.bo-hero-marginalia {
  position: absolute;
  top: calc(clamp(96px, 13vh, 130px) + 14px);
  right: clamp(28px, 6vw, 80px);
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: right;
  font-family: var(--font);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(247,249,246,0.34);
  line-height: 2.4;
  pointer-events: none;
  z-index: 3;
}

.bo-hero-marginalia li {
  display: block;
}

.bo-hero-marginalia li span {
  display: inline-block;
  margin-right: 10px;
  color: rgba(247,249,246,0.5);
  font-variant-numeric: tabular-nums;
}

.bo-hero-marginalia li.is-accent,
.bo-hero-marginalia li.is-accent span {
  color: var(--amber);
}

@media (max-width: 720px) {
  .bo-hero-marginalia { display: none; }
  .bo-hero-headline {
    font-size: clamp(44px, 12vw, 64px);
    letter-spacing: -0.025em;
  }
  .bo-hero-inner {
    min-height: 560px;
    padding-top: clamp(80px, 11vh, 100px);
  }
}

/* shared chart svg sizing (used by story) */
.bo-hero-card-bull {
  width: 100%;
  height: auto;
  display: block;
}

.bohc-axis { stroke: rgba(15,28,26,0.30); stroke-width: 1.2; }
.bohc-tol  { stroke: rgba(26,95,82,0.55); stroke-width: 1.2; stroke-dasharray: 3 3; }
.bohc-tol-label {
  fill: rgba(26,95,82,0.78);
  font-size: 8.5px;
  font-weight: 700;
  text-anchor: middle;
  font-family: inherit;
}
.bohc-bar { rx: 2.5; }
.bohc-bar.good     { fill: #1a5f52; }
.bohc-bar.moderate { fill: #d98a1c; }
.bohc-bar.poor     { fill: #c14a2b; }
.bohc-x {
  fill: rgba(15,28,26,0.5);
  font-size: 8.5px;
  font-weight: 700;
  text-anchor: middle;
  font-family: inherit;
}

.bohb-ring { fill: none; stroke: rgba(15,28,26,0.18); stroke-width: 1.2; }
.bohb-axis { fill: none; stroke: rgba(15,28,26,0.14); stroke-width: 1; }
.bohb-rock { stroke: rgba(255,255,255,0.92); stroke-width: 1.6; }
.bohb-rock.good     { fill: #1a5f52; }
.bohb-rock.moderate { fill: #d98a1c; }
.bohb-rock.poor     { fill: #c14a2b; }
.bohb-band {
  fill: none;
  stroke-width: 22;
  opacity: 0.22;
}
.bohb-band.good { stroke: #1a5f52; }
.bohb-band.moderate { stroke: #d98a1c; }
.bohb-band.poor { stroke: #c14a2b; }
.bohb-zone {
  opacity: 0.34;
  stroke: none;
}
.bohb-zone.zone-loss-above,
.bohb-zone.zone-gain-below { fill: #f5e4cc; }
.bohb-zone.zone-gain-above { fill: #cfe9dc; }
.bohb-zone.zone-loss-below { fill: #f2c9bf; }
.bohb-zone-label,
.bohb-axis-label {
  fill: rgba(15,28,26,0.52);
  font-family: inherit;
  font-size: 7.2px;
  font-weight: 700;
  text-anchor: middle;
  text-transform: uppercase;
}
.bohb-axis-label {
  fill: rgba(15,28,26,0.66);
  font-size: 8px;
}
.bohb-cross {
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
}
.bohb-cross.good     { stroke: #1a5f52; }
.bohb-cross.moderate { stroke: #d98a1c; }
.bohb-cross.poor     { stroke: #c14a2b; }

.bo-hero-retention-chart {
  width: 100%;
  height: auto;
  display: block;
}

.bohr-axis {
  stroke: rgba(15,28,26,0.30);
  stroke-width: 1.2;
}

.bohr-target {
  stroke: rgba(193,74,43,0.58);
  stroke-width: 1.2;
  stroke-dasharray: 4 4;
}

.bohr-target-label,
.bohr-value,
.bohr-x {
  font-family: inherit;
  font-weight: 700;
  text-anchor: middle;
}

.bohr-target-label {
  fill: rgba(193,74,43,0.75);
  font-size: 8.5px;
  text-anchor: end;
}

.bohr-value {
  fill: rgba(26,95,82,0.88);
  font-size: 10px;
}

.bohr-x {
  fill: rgba(15,28,26,0.55);
  font-size: 9px;
}

.bohr-bar { rx: 3; }
.bohr-bar.good     { fill: #1a5f52; }
.bohr-bar.moderate { fill: #d98a1c; }
.bohr-bar.poor     { fill: #c14a2b; }
.bohr-bar.bench1   { fill: #2c8c4f; }
.bohr-bar.bench2   { fill: #d4a017; }
.bohr-bar.bench3   { fill: #b86932; }
.bohr-bar.bench4   { fill: #c14a2b; }

.bo-summary-bars {
  display: grid;
  gap: 8px;
}

.bo-summary-bar h6 {
  margin: 0 0 6px;
  color: var(--text-strong);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0;
}

.bo-stack {
  display: flex;
  height: 15px;
  overflow: hidden;
  border-radius: 3px;
  background: rgba(15,28,26,0.08);
}

.bo-stack span {
  display: block;
}

.bo-stack .good { background: #25bf5b; }
.bo-stack .moderate { background: #e7b707; }
.bo-stack .poor { background: #ef4146; }

.bo-summary-bar p {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  margin: 6px 0 0;
  color: var(--text);
  font-size: 9px;
  line-height: 1.25;
}

.bo-summary-bar p span {
  min-width: 0;
  white-space: nowrap;
}

.bo-summary-bar p b {
  font-weight: 600;
}

.bo-summary-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  margin-top: 11px;
}

.bo-summary-stats div {
  padding: 8px 9px;
  border: 1px solid rgba(15,28,26,0.08);
  border-radius: 4px;
  background: rgba(247,249,246,0.84);
}

.bo-summary-stats span,
.bo-summary-stats small {
  display: block;
  color: var(--text);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.bo-summary-stats b {
  display: block;
  margin: 4px 0 2px;
  color: var(--text-strong);
  font-size: 14px;
  line-height: 1;
  font-weight: 600;
}

.bo-report-hist {
  width: 100%;
  height: auto;
  display: block;
}

.bohist-grid path {
  fill: none;
  stroke: rgba(15,28,26,0.08);
  stroke-width: 1;
}

.bohist-axis {
  fill: none;
  stroke: rgba(15,28,26,0.34);
  stroke-width: 1.2;
}

.bohist-bar { rx: 3; }
.bohist-bar.good { fill: #1a5f52; }
.bohist-bar.moderate { fill: #d98a1c; }
.bohist-bar.poor { fill: #c14a2b; }

.bohist-cdf {
  fill: none;
  stroke: #2458b8;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bohist-dot {
  fill: #2458b8;
  stroke: #fff;
  stroke-width: 1.4;
}

.bohist-label,
.bohist-x,
.bohist-cdf-label {
  fill: rgba(15,28,26,0.56);
  font-family: inherit;
  font-size: 8.8px;
  font-weight: 600;
  text-anchor: middle;
}

.bohist-cdf-label {
  fill: rgba(36,88,184,0.78);
  font-size: 8px;
}

.bo-report-section-chart,
.bo-report-face-chart {
  width: 100%;
  height: auto;
  display: block;
}

.borx-title {
  fill: #0b2a4f;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
}

.borx-grid path,
.borf-grid path {
  fill: none;
  stroke: rgba(15,28,26,0.10);
  stroke-width: 1;
}

.borx-area {
  fill: rgba(15,28,26,0.12);
  stroke: none;
}

.borx-design {
  fill: none;
  stroke: rgba(15,28,26,0.88);
  stroke-width: 1.6;
}

.borx-built {
  fill: none;
  stroke: rgba(15,28,26,0.48);
  stroke-width: 1.6;
  stroke-dasharray: 6 5;
}

.borx-point.poor {
  fill: #c14a2b;
  stroke: rgba(15,28,26,0.9);
  stroke-width: 0.8;
}

.borx-tri {
  stroke: rgba(15,28,26,0.9);
  stroke-width: 0.8;
}

.borx-tri.over { fill: #7bcf88; }
.borx-tri.under { fill: #f3aa3d; }

.borx-label,
.borx-legend text {
  font-family: inherit;
  font-size: 8.5px;
  font-weight: 700;
}

.borx-label.good { fill: #38a55d; }
.borx-label.moderate { fill: #d98a1c; }
.borx-legend text { fill: rgba(15,28,26,0.72); font-size: 7.5px; }

.borx-dev-label {
  fill: rgba(15,28,26,0.78);
  font-family: inherit;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.borx-point-tag {
  fill: rgba(15,28,26,0.62);
  font-family: inherit;
  font-size: 7.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.borf-frame {
  fill: rgba(255,255,255,0.72);
  stroke: rgba(15,28,26,0.20);
  stroke-width: 1;
}

.borf-q { stroke: none; }
.borf-q.good { fill: rgba(26,95,82,0.18); }
.borf-q.watch,
.borf-q.geom { fill: rgba(217,138,28,0.15); }
.borf-q.poor { fill: rgba(193,74,43,0.15); }

.borf-axis {
  fill: none;
  stroke: rgba(15,28,26,0.46);
  stroke-width: 1.2;
}

.borf-threshold {
  fill: none;
  stroke: rgba(15,28,26,0.34);
  stroke-width: 1.1;
  stroke-dasharray: 4 4;
}

.borf-zone,
.borf-axis-label {
  fill: rgba(15,28,26,0.56);
  font-family: inherit;
  font-size: 8.4px;
  font-weight: 600;
  text-anchor: middle;
}

.borf-axis-label {
  fill: rgba(15,28,26,0.70);
  font-size: 9.2px;
  font-weight: 600;
}

.borf-dot {
  fill: #1d5f91;
  stroke: #fff;
  stroke-width: 1.2;
}

.bo-report-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  margin-bottom: 10px;
}

.bo-report-metrics div {
  min-width: 0;
  padding: 8px 7px;
  border: 1px solid rgba(15,28,26,0.08);
  border-radius: 4px;
  background: rgba(247,249,246,0.82);
  text-align: center;
}

.bo-report-metrics b {
  display: block;
  color: var(--text-strong);
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
}

.bo-report-metrics span {
  display: block;
  margin-bottom: 5px;
  color: var(--text);
  font-size: 9px;
  font-weight: 600;
  line-height: 1.25;
  text-transform: none;
}

.bo-report-metrics:not(.bo-report-metrics--blast) span {
  margin-top: 5px;
  margin-bottom: 0;
}

.bo-report-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 10.8px;
}

.bo-report-table th,
.bo-report-table td {
  padding: 6px 4px;
  border-bottom: 1px solid rgba(15,28,26,0.09);
  text-align: left;
  color: var(--text);
  line-height: 1.25;
}

.bo-report-table th {
  color: rgba(15,28,26,0.48);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.bo-report-table td.good { color: #1a5f52; font-weight: 600; }
.bo-report-table td.moderate { color: #a6630f; font-weight: 600; }

/* ---- Hero stat strip ---- */

.bo-hero .bo-stat-strip {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 22px var(--gutter) 28px;
  border-top: 1px solid rgba(247,249,246,0.10);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}

.bo-hero .bo-stat {
  padding: 4px 24px;
  min-height: 72px;
  border-right: 1px solid rgba(247,249,246,0.10);
}

.bo-hero .bo-stat:first-child {
  padding-left: 0;
}

.bo-hero .bo-stat:last-child {
  border-right: 0;
}

.bo-hero .bo-stat b {
  display: block;
  color: #ffffff;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-weight: 700;
}

.bo-hero .bo-stat:first-child b {
  color: var(--amber);
}

.bo-hero .bo-stat span {
  display: block;
  margin-top: 8px;
  max-width: 220px;
  color: rgba(231,240,234,0.74);
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.bo-band {
  position: relative;
  overflow: hidden;
  background: var(--canvas);
  border-bottom: 1px solid var(--border);
}

.bo-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(26,95,82,0.045) 1px, transparent 1px);
  background-size: 26px 26px;
  pointer-events: none;
}

.bo-section {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 96px var(--gutter);
}

.bo-section-head {
  max-width: 780px;
  margin-bottom: 42px;
}

.bo-section-head h2,
.bo-story-intro h2,
.bo-pricing-copy h2 {
  margin: 12px 0 14px;
  color: var(--text-strong);
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  font-weight: 700;
}

.bo-section-head p,
.bo-story-intro p,
.bo-pricing-copy p {
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
  max-width: 700px;
  font-weight: 500;
}

.bo-band--layers {
  overflow: visible;
  background: linear-gradient(180deg, #f7f9f6 0%, #eef1ed 100%);
  border-bottom: 1px solid var(--border);
}

.bo-band--layers::before {
  background-image:
    linear-gradient(rgba(26,95,82,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,95,82,0.06) 1px, transparent 1px);
  background-size: 32px 32px, 32px 32px;
}

.bo-band--layers .bo-eyebrow {
  color: var(--amber-deep);
}

.bo-band--layers .bo-section-head h2 {
  color: var(--text-strong);
}

.bo-band--layers .bo-section-head p {
  color: var(--text);
  max-width: 780px;
}

.bo-layers-carousel {
  position: relative;
}

.bo-layers-head {
  margin-bottom: 28px;
}

.bo-layers-head p {
  font-size: 14.5px;
  line-height: 1.55;
  max-width: 560px;
}

.bo-layers-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  width: 100%;
}

.bo-pillar-card {
  padding: 18px 18px 20px;
  background: #ffffff;
  border: 1px solid rgba(15,28,26,0.10);
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(15,28,26,0.05);
  transition: border-color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

.bo-pillar-card:hover {
  transform: translateY(-2px);
  border-color: rgba(217,138,28,0.55);
  box-shadow: 0 12px 24px rgba(15,28,26,0.10);
}

.bo-pillar-icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: var(--amber-deep);
  background: rgba(217,138,28,0.10);
  border: 1px solid rgba(217,138,28,0.28);
  border-radius: 8px;
  margin-bottom: 12px;
}

.bo-pillar-icon svg {
  width: 16px;
  height: 16px;
}

.bo-pillar-card > span {
  display: block;
  color: var(--amber-deep);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.2em;
  margin-bottom: 6px;
}

.bo-pillar-card h3 {
  color: var(--text-strong);
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 6px;
  letter-spacing: -0.005em;
}

.bo-pillar-card p {
  color: var(--text);
  font-size: 12px;
  line-height: 1.45;
  margin: 0;
}

.bo-layers-cta {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.bo-layers-cta .btn-amber {
  padding: 13px 22px;
  font-size: 14px;
}

.bo-layers-cta-helper {
  color: rgba(15,28,26,0.55);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

@media (max-width: 1100px) {
  .bo-layers-track {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 720px) {
  .bo-layers-track {
    display: flex;
    grid-template-columns: none;
    gap: 14px;
    margin-right: calc(var(--gutter-mobile) * -1);
    padding: 4px var(--gutter-mobile) 12px 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .bo-layers-track .bo-pillar-card {
    flex: 0 0 min(82vw, 320px);
    scroll-snap-align: start;
  }

  .bo-layers-track .bo-pillar-card:hover {
    transform: none;
    border-color: rgba(15,28,26,0.10);
    box-shadow: 0 4px 14px rgba(15,28,26,0.05);
  }

  .bo-blast-card .bo-mini-bull-row {
    display: flex;
    grid-template-columns: none;
    gap: 12px;
    margin-right: -10px;
    padding: 4px 10px 10px 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .bo-blast-card .bo-mini-bull-row .bo-mini-bull {
    flex: 0 0 min(78vw, 280px);
    scroll-snap-align: start;
  }

  .bo-geology-card {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .bo-geology-card .bo-geology-table {
    min-width: 480px;
  }

  .bo-geology-card .bo-geology-hist {
    min-width: 0;
  }

  .bo-story-visual {
    display: none;
  }

  .bo-story-result {
    display: none;
  }

  .bo-story-toolbar {
    display: none;
  }

  .bo-story .bo-story-layout {
    gap: 0;
  }

  .bo-story-layout .bo-story-chapters {
    gap: 8px;
    min-width: 0;
  }

  .bo-story-chapters .bo-story-chapter {
    padding-top: 24px;
    padding-bottom: 22px;
    min-height: auto;
    min-width: 0;
  }

  .bo-story-chapters .bo-story-chapter:first-of-type {
    border-top: 0;
    padding-top: 8px;
  }

  .bo-story-chapters .bo-story-chapter,
  .bo-story-chapters .bo-story-chapter.is-active {
    opacity: 1;
    transform: none;
  }

  .bo-story-chapter .bo-chapter-slides {
    display: flex;
    align-items: stretch;
    gap: 12px;
    margin-right: calc(var(--gutter-mobile) * -1);
    padding: 20px var(--gutter-mobile) 8px 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .bo-story-chapter .bo-chapter-slides > * {
    flex: 0 0 min(85vw, 360px);
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    margin: 0;
    max-width: none;
  }

  .bo-story-chapter .bo-chapter-slides .bo-mini-card {
    margin-top: 0;
  }

  .bo-story-chapter .bo-pit-slot {
    display: block;
    min-height: 240px;
    border-radius: 12px;
    border: 1px solid rgba(15,28,26,0.18);
    background:
      radial-gradient(ellipse at 74% 24%, rgba(26,95,82,0.28), transparent 58%),
      linear-gradient(180deg, rgba(15,28,26,0.52), rgba(15,28,26,0.9)),
      #0f1c1a;
    position: relative;
    overflow: hidden;
  }

  .bo-pit-slot .bo-story-canvas-wrap {
    position: absolute;
    inset: 0;
    min-height: 0;
    height: 100%;
    border-radius: inherit;
  }

  .bo-pit-slot #benchops-story-canvas {
    height: 100%;
    min-height: 0;
  }

  .bo-blast-card .bo-report-metrics--blast {
    flex-wrap: wrap;
    gap: 14px 22px;
  }

  .bo-blast-card .bo-report-table {
    font-size: 12.5px;
    width: 100%;
  }

  .bo-blast-card {
    overflow-x: hidden;
  }

  .bo-blast-card .bo-mini-bull-row {
    min-width: 0;
  }
}

.bo-story {
  position: relative;
  background:
    linear-gradient(rgba(15,28,26,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,28,26,0.035) 1px, transparent 1px),
    #f2f5f1;
  background-size: 32px 32px;
  border-bottom: 1px solid var(--border);
  padding: 96px var(--gutter) 110px;
}

.bo-story-intro,
.bo-story-layout {
  max-width: var(--max-w);
  margin: 0 auto;
}

.bo-chapter-slides {
  display: contents;
}

.bo-pit-slot {
  display: none;
}

.bo-story-intro {
  margin-bottom: 54px;
}

.bo-story-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(390px, 1.08fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}

.bo-story-chapters {
  display: flex;
  flex-direction: column;
  gap: 44px;
}

.bo-story-chapter {
  padding: 38px 0 42px;
  min-height: 76vh;
  border-top: 1px solid rgba(15,28,26,0.22);
  opacity: 0.52;
  transform: translateX(-4px);
  transition: opacity 0.24s ease, transform 0.24s ease;
}

.bo-story-chapter.is-active {
  opacity: 1;
  transform: translateX(0);
}

.bo-chapter-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  color: var(--text);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.bo-chapter-kicker span {
  color: var(--amber);
}

.bo-story-chapter h3 {
  max-width: 560px;
  margin-bottom: 16px;
  color: var(--text-strong);
  font-size: clamp(28px, 3.4vw, 46px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  font-weight: 700;
}

.bo-story-chapter p {
  max-width: 560px;
  color: var(--text);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 500;
}

.bo-story-chapter p + p {
  margin-top: 14px;
}

.bo-story-visual {
  position: sticky;
  top: 138px;
}

.bo-story-frame {
  background: rgba(255,255,255,0.84);
  border: 1px solid rgba(15,28,26,0.22);
  box-shadow: 0 18px 44px rgba(16,35,31,0.10);
  overflow: hidden;
}

.bo-story-toolbar {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.bo-story-toolbar i {
  color: var(--amber);
  font-style: normal;
}

.bo-story-canvas-wrap {
  position: relative;
  min-height: 430px;
  background:
    radial-gradient(ellipse at 74% 24%, rgba(26,95,82,0.28), transparent 58%),
    linear-gradient(180deg, rgba(15,28,26,0.52), rgba(15,28,26,0.9)),
    #0f1c1a;
  overflow: hidden;
}

.bo-story-canvas-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(183,216,201,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(183,216,201,0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 1;
}

#benchops-story-canvas {
  display: block;
  width: 100%;
  height: 430px;
  position: relative;
  z-index: 0;
  cursor: default;
}

#benchops-story-canvas.is-fallback {
  background:
    linear-gradient(rgba(15,28,26,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,28,26,0.05) 1px, transparent 1px),
    var(--canvas);
  background-size: 24px 24px;
}

.bo-story-loader,
.bo-layer-tag {
  position: absolute;
  z-index: 3;
  border: 1px solid rgba(183,216,201,0.25);
  background: rgba(15,28,26,0.74);
  color: rgba(231,240,234,0.88);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  box-shadow: 0 10px 22px rgba(0,0,0,0.26);
}

.bo-story-loader {
  left: 50%;
  top: 50%;
  padding: 10px 14px;
  transform: translate(-50%, -50%);
}

.bo-story-loader.hidden {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.bo-layer-tag {
  right: 18px;
  bottom: 18px;
  padding: 9px 12px;
  color: var(--amber-soft);
}

.bo-compliance-legend {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border: 1px solid rgba(183,216,201,0.24);
  background: rgba(15,28,26,0.7);
  color: rgba(231,240,234,0.82);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.bo-compliance-legend[hidden] {
  display: none;
}

.bo-compliance-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.bo-compliance-legend i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.bo-compliance-legend i.good {
  background: var(--teal);
}

.bo-compliance-legend i.moderate {
  background: #d4a017;
}

.bo-compliance-legend i.poor {
  background: #c14a2b;
}

.bo-compliance-legend i.blast1 {
  background: #1a5f52;
}

.bo-compliance-legend i.blast2 {
  background: #d98a1c;
}

/* Absolute mode legend: gradient bar with min/max value labels. */
.bo-absolute-legend {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(183,216,201,0.24);
  background: rgba(15,28,26,0.7);
  color: rgba(231,240,234,0.92);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.bo-absolute-legend[hidden] {
  display: none;
}

.bo-absolute-legend-metric {
  padding-right: 8px;
  margin-right: 2px;
  border-right: 1px solid rgba(247,249,246,0.18);
  color: rgba(247,249,246,0.62);
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

.bo-absolute-legend-min,
.bo-absolute-legend-max {
  font-variant-numeric: tabular-nums;
  color: rgba(247,249,246,0.86);
  font-weight: 700;
}

.bo-absolute-legend-bar {
  display: inline-block;
  width: 110px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg,
    #c14a2b 0%,
    #d98a1c 25%,
    #2c8c4f 50%,
    #d98a1c 75%,
    #c14a2b 100%
  );
  box-shadow: 0 0 0 1px rgba(247,249,246,0.10) inset;
}

/* Compliance / Absolute toggle on the pit (geometry chapter only) */
.bo-pit-toggle {
  position: absolute;
  left: 18px;
  top: 18px;
  z-index: 4;
  display: inline-flex;
  padding: 3px;
  border: 1px solid rgba(183,216,201,0.28);
  background: rgba(15,28,26,0.78);
  border-radius: 999px;
  backdrop-filter: blur(6px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.28);
}

.bo-pit-toggle[hidden] {
  display: none;
}

.bo-pit-toggle button {
  appearance: none;
  border: 0;
  padding: 6px 12px;
  background: transparent;
  color: rgba(231,240,234,0.78);
  font-family: inherit;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.bo-pit-toggle button:hover {
  color: #fff;
}

.bo-pit-toggle button.is-active {
  background: var(--amber);
  color: #221604;
}

.bo-section-popout {
  position: absolute;
  z-index: 4;
  width: min(300px, calc(100% - 24px));
  padding: 14px 14px 12px;
  border: 1px solid rgba(183,216,201,0.35);
  background: rgba(15,28,26,0.92);
  box-shadow: 0 16px 34px rgba(0,0,0,0.34);
  backdrop-filter: blur(8px);
  transform: translate(-50%, calc(-100% - 16px));
  pointer-events: auto;
}

.bo-section-popout::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -9px;
  width: 14px;
  height: 14px;
  background: rgba(15,28,26,0.92);
  border-right: 1px solid rgba(183,216,201,0.35);
  border-bottom: 1px solid rgba(183,216,201,0.35);
  transform: translateX(-50%) rotate(45deg);
}

.bo-popout-close {
  position: absolute;
  top: 6px;
  right: 8px;
  width: 20px;
  height: 20px;
  border: 0;
  background: transparent;
  color: rgba(231,240,234,0.66);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}

.bo-popout-close:hover {
  color: #fff;
}

.bo-popout-kicker {
  margin-bottom: 8px;
  color: var(--amber-soft);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.bo-section-popout h5 {
  color: #fff;
  font-size: 16px;
  line-height: 1.2;
  margin-bottom: 10px;
}

.bo-popout-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.bo-popout-grid > div {
  padding: 9px;
  border: 1px solid rgba(183,216,201,0.2);
  background: rgba(183,216,201,0.08);
}

.bo-popout-grid span {
  display: block;
  color: rgba(212,226,220,0.82);
  font-size: 9px;
  font-weight: 700;
  line-height: 1.25;
}

.bo-popout-grid b {
  display: block;
  margin-top: 4px;
  color: #fff;
  font-size: 13px;
  line-height: 1.3;
}

.bo-popout-rockfall b {
  color: var(--amber-soft);
}

.bo-story-result {
  padding: 22px;
  border-top: 1px solid var(--border);
}

.bo-result-kicker {
  margin-bottom: 8px;
  color: var(--amber-deep);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.bo-story-result h4 {
  color: var(--text-strong);
  font-size: 22px;
  line-height: 1.18;
  margin-bottom: 10px;
}

.bo-story-result p {
  color: var(--text);
  font-size: 13.5px;
  line-height: 1.58;
  margin-bottom: 18px;
}

.bo-result-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.bo-result-metrics div {
  background: var(--amber-tint);
  border: 1px solid var(--amber-soft);
  border-radius: 10px;
  padding: 12px;
}

.bo-result-metrics b {
  display: block;
  color: var(--amber-deep);
  font-size: 18px;
  line-height: 1;
  margin-bottom: 7px;
}

.bo-result-metrics span {
  display: block;
  color: var(--text);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.35;
}

.bo-result-metrics div.poor {
  background: rgba(193,74,43,0.10);
  border-color: rgba(193,74,43,0.32);
}
.bo-result-metrics div.poor b { color: #8a2f1c; }

.bo-result-metrics div.moderate {
  background: var(--amber-tint);
  border-color: var(--amber-soft);
}
.bo-result-metrics div.moderate b { color: var(--amber-deep); }

.bo-result-metrics div.good {
  background: rgba(26,95,82,0.10);
  border-color: rgba(26,95,82,0.30);
}
.bo-result-metrics div.good b { color: #1a5f52; }

.bo-mini-card {
  margin-top: 26px;
  max-width: 560px;
  padding: 16px;
  background: rgba(255,255,255,0.84);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 2px 14px rgba(16,35,31,0.05);
}

.bo-mini-head {
  color: var(--text-strong);
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 14px;
}

.bo-cross-section svg,
.bo-bullseye svg {
  width: 100%;
  height: auto;
}

.bo-quadrant-chart {
  width: 100%;
  height: auto;
  display: block;
}

.bo-quadrant-chart .q {
  stroke: none;
}

.bo-quadrant-chart .q.good {
  fill: rgba(31,189,98,0.25);
}

.bo-quadrant-chart .q.attention {
  fill: rgba(217,138,28,0.24);
}

.bo-quadrant-chart .q.geometry {
  fill: rgba(217,138,28,0.22);
}

.bo-quadrant-chart .q.poor {
  fill: rgba(238,67,70,0.27);
}

.bo-quadrant-chart .grid path {
  fill: none;
  stroke: rgba(255,255,255,0.58);
  stroke-width: 1;
}

.bo-quadrant-chart .axis {
  fill: none;
  stroke: rgba(15,28,26,0.46);
  stroke-width: 1.2;
}

.bo-quadrant-chart text {
  font-family: inherit;
}

.bo-quadrant-chart .ticks text {
  fill: rgba(15,28,26,0.58);
  font-size: 9px;
  text-anchor: middle;
}

.bo-quadrant-chart .ticks.y text {
  text-anchor: end;
}

.bo-quadrant-chart .label {
  fill: rgba(15,28,26,0.68);
  font-size: 12px;
  font-weight: 700;
  text-anchor: middle;
}

.bo-quadrant-chart .zone {
  fill: rgba(15,28,26,0.42);
  font-size: 10px;
  font-weight: 700;
  text-anchor: middle;
}

.bo-quadrant-chart .zone-good {
  fill: rgba(26,95,82,0.64);
}

.bo-quadrant-chart .zone-attention,
.bo-quadrant-chart .zone-geometry {
  fill: rgba(132,82,16,0.58);
}

.bo-quadrant-chart .zone-poor {
  fill: rgba(122,42,38,0.52);
}

.bo-quadrant-chart .dots circle {
  fill: var(--accent-dark);
  stroke: rgba(255,255,255,0.86);
  stroke-width: 1.4;
}

.bo-cross-section .axis {
  fill: none;
  stroke: rgba(15,28,26,0.52);
  stroke-width: 1.4;
}

.bo-cross-section .grid {
  fill: none;
  stroke: rgba(15,28,26,0.08);
  stroke-width: 1;
}

.bo-cross-section .design {
  fill: none;
  stroke: var(--ink);
  stroke-width: 2.2;
}

.bo-cross-section .actual {
  fill: none;
  stroke: #7f8b85;
  stroke-width: 2;
  stroke-dasharray: 6 6;
}

.bo-cross-section .area {
  fill: rgba(15,28,26,0.08);
  stroke: none;
}

.bo-cross-section .pt.good,
.bo-bullseye .fall.good {
  fill: var(--teal);
}

.bo-cross-section .pt.moderate,
.bo-bullseye .fall.moderate {
  fill: #d4a017;
}

.bo-cross-section .pt.poor,
.bo-bullseye .fall.poor {
  fill: #c14a2b;
}

.bo-bar-group {
  margin-bottom: 16px;
}

.bo-bar-group:last-child {
  margin-bottom: 0;
}

.bo-bar-group span {
  display: block;
  color: var(--text-strong);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 9px;
}

.bo-stack-bar {
  display: flex;
  height: 20px;
  overflow: hidden;
  border-radius: 5px;
  border: 1px solid rgba(15,28,26,0.08);
}

.bo-stack-bar i {
  display: block;
}

.bo-stack-bar .good {
  background: #1fbd62;
}

.bo-stack-bar .moderate {
  background: #e2bb12;
}

.bo-stack-bar .poor {
  background: #ee4346;
}

.bo-bar-group small {
  display: block;
  margin-top: 8px;
  color: var(--text);
  font-size: 10px;
}

.bo-table {
  display: grid;
  gap: 8px;
}

.bo-table div,
.bo-unit-row,
.bo-platform-card li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  font-size: 12px;
}

.bo-table div:last-child,
.bo-unit-row:last-child,
.bo-platform-card li:last-child {
  border-bottom: 0;
}

.bo-table strong,
.bo-unit-row b {
  color: var(--text-strong);
}

.bo-unit-row {
  justify-content: flex-start;
}

.bo-unit-row i {
  margin-left: auto;
  font-style: normal;
}

.unit {
  width: 12px;
  height: 12px;
  border-radius: 3px;
}

.unit.sandstone {
  background: var(--teal-mid);
}

.unit.shale {
  background: var(--amber-soft);
}

.unit.dyke {
  background: #c14a2b;
}

.bo-bullseye circle,
.bo-bullseye path {
  fill: none;
  stroke: rgba(15,28,26,0.16);
  stroke-width: 1.2;
}

.bo-bullseye .fall {
  stroke: #fff;
  stroke-width: 2;
}

.bo-platform-card ul {
  list-style: none;
}

/* Story chapter list (geometry bullets) */
.bo-chapter-list {
  margin: 8px 0 14px 18px;
  padding: 0;
  color: var(--text);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 500;
  list-style: disc;
}

.bo-chapter-list li {
  margin-bottom: 4px;
}

.bo-story-chapter em {
  font-style: italic;
  color: var(--text-strong);
}

.bo-story-chapter > p b {
  color: var(--amber-deep);
  font-weight: 700;
}

/* Geometry mini-cards (one per substep — catchwidth / bfa / crosssection) */
.bo-geom-card .bo-report-hist,
.bo-geom-card .bo-report-section-chart {
  margin-top: 10px;
}

.bo-geom-card + .bo-geom-card {
  position: relative;
  margin-top: 56px;
}

/* Thin fading hairline between geometry sub-charts: a quiet transition cue
   that mirrors the pit changing on the right as you scroll. */
.bo-geom-card + .bo-geom-card::before {
  content: '';
  position: absolute;
  top: -28px;
  left: 50%;
  width: 72px;
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg,
    rgba(217,138,28,0) 0%,
    rgba(217,138,28,0.55) 50%,
    rgba(217,138,28,0) 100%);
  pointer-events: none;
}

/* Cross-section chart redesign (clean two-triangle deviation per point) */
.bo-xs-chart .borx-grid path {
  stroke: rgba(15,28,26,0.10);
  stroke-width: 1;
}

.bo-xs-chart .borx-axis {
  fill: none;
  stroke: rgba(15,28,26,0.42);
  stroke-width: 1.2;
}

.bo-xs-chart .borx-area {
  fill: rgba(15,28,26,0.10);
  stroke: none;
}

.bo-xs-chart .borx-design {
  fill: none;
  stroke: rgba(15,28,26,0.92);
  stroke-width: 1.6;
}

.bo-xs-chart .borx-built {
  fill: none;
  stroke: rgba(15,28,26,0.52);
  stroke-width: 1.4;
  stroke-dasharray: 5 4;
}

.bo-xs-chart .borx-point {
  fill: #2458b8;
  stroke: #ffffff;
  stroke-width: 1;
}

.bo-xs-chart .borx-yt,
.bo-xs-chart .borx-xt {
  fill: rgba(15,28,26,0.56);
  font-family: inherit;
  font-size: 8.5px;
  font-weight: 600;
  text-anchor: end;
}

.bo-xs-chart .borx-xt {
  text-anchor: middle;
}

.bo-xs-chart .borx-axis-label {
  fill: rgba(15,28,26,0.62);
  font-family: inherit;
  font-size: 9.5px;
  font-weight: 700;
  text-anchor: middle;
}

.bo-xs-chart .borx-mark-tri {
  stroke: rgba(15,28,26,0.78);
  stroke-width: 0.6;
}

.bo-xs-chart .borx-mark.good .borx-mark-tri { fill: #2c8c4f; }
.bo-xs-chart .borx-mark.moderate .borx-mark-tri { fill: #d98a1c; }
.bo-xs-chart .borx-mark.poor .borx-mark-tri { fill: #c14a2b; }

.bo-xs-chart .borx-mark-label {
  font-family: inherit;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.bo-xs-chart .borx-mark.good .borx-mark-label { fill: #2c8c4f; }
.bo-xs-chart .borx-mark.moderate .borx-mark-label { fill: #d98a1c; }
.bo-xs-chart .borx-mark.poor .borx-mark-label { fill: #c14a2b; }

.bo-story-chapter .bo-mini-foot,
.bo-mini-foot {
  margin-top: 10px;
  color: var(--text);
  font-size: 11px;
  line-height: 1.4;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bo-mini-foot b {
  color: var(--text-strong);
  font-weight: 700;
}

.bo-story-chapter p.bo-rockfall-foot {
  font-size: 11px;
  line-height: 1.35;
  text-align: center;
  margin-top: 8px;
}

/* Blast mini-card */
.bo-blast-card .bo-report-metrics--blast,
.bo-blast-card .bo-report-table {
  margin-top: 12px;
}

.bo-mini-bull-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 16px;
}

.bo-mini-bull {
  margin: 0;
  padding: 10px;
  background: rgba(247,249,246,0.86);
  border: 1px solid rgba(15,28,26,0.10);
  border-radius: 8px;
}

.bo-mini-bull figcaption {
  color: var(--text-strong);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 6px;
}

.bo-mini-bull .bo-hero-card-bull {
  width: 100%;
  height: auto;
  display: block;
}

.bo-mini-bull-legend {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  color: var(--text);
  font-size: 10px;
  font-weight: 700;
}

.bo-mini-bull-legend i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #1a5f52;
}

/* Geology table */
.bo-geology-table {
  width: 100%;
  margin-top: 6px;
  border-collapse: collapse;
  color: var(--text);
  font-size: 12px;
}

.bo-geology-table th,
.bo-geology-table td {
  text-align: left;
  padding: 8px 6px;
  border-bottom: 1px solid rgba(15,28,26,0.08);
}

.bo-geology-table th {
  color: var(--text);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.bo-geology-table td:first-child {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-strong);
  font-weight: 600;
}

.bo-geology-table tr:last-child td {
  border-bottom: 0;
}

.bo-geology-hist {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(15,28,26,0.08);
}

.bo-geology-bars {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 4px;
}

.bog-row-label {
  fill: var(--text-strong);
  font-size: 10.5px;
  font-weight: 700;
}

.bog-pct {
  fill: var(--text);
  font-size: 10.5px;
  font-weight: 700;
  text-anchor: end;
}

.bog-track {
  fill: rgba(15,28,26,0.06);
  rx: 2;
}

.bo-mini-subhead {
  color: var(--text-strong);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

/* Rockfall placeholder note (chapter 05) */
.bo-rockfall-note {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  width: min(360px, calc(100% - 32px));
  padding: 14px 16px;
  border: 1px dashed rgba(245,228,204,0.55);
  background: rgba(15,28,26,0.82);
  color: rgba(231,240,234,0.92);
  border-radius: 8px;
  text-align: center;
  backdrop-filter: blur(6px);
}

.bo-rockfall-note-tag {
  display: inline-block;
  padding: 3px 8px;
  margin-bottom: 8px;
  border-radius: 4px;
  background: var(--amber);
  color: #2a1d05;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.bo-rockfall-note p {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(231,240,234,0.9);
}

/* Trend overlay (chapter 06 swap) */
.bo-trend-chart {
  width: 100%;
  height: auto;
  display: block;
}

.botr-grid path {
  fill: none;
  stroke: rgba(15,28,26,0.08);
  stroke-width: 1;
}

.botr-axis {
  fill: none;
  stroke: rgba(15,28,26,0.46);
  stroke-width: 1.2;
}

.botr-bar { rx: 2; }
.botr-bar.good { fill: #1a5f52; }
.botr-bar.moderate { fill: #d98a1c; }
.botr-bar.poor { fill: #c14a2b; }

.botr-x,
.botr-y {
  fill: rgba(15,28,26,0.58);
  font-family: inherit;
  font-size: 9.5px;
  font-weight: 600;
  text-anchor: middle;
}

.botr-y {
  text-anchor: end;
}

.botr-legend text {
  fill: rgba(15,28,26,0.62);
  font-family: inherit;
  font-size: 9.5px;
  font-weight: 600;
}

#benchops-story-canvas {
  transition: opacity 0.25s ease;
}

.bo-how-band {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 88% 70% at 82% 14%, rgba(217,138,28,0.14) 0%, rgba(217,138,28,0) 58%),
    linear-gradient(180deg, #2d3333 0%, #272d2d 100%);
  border-top: 1px solid rgba(247,249,246,0.10);
  color: rgba(247,249,246,0.92);
}

.bo-how-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(247,249,246,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247,249,246,0.05) 1px, transparent 1px);
  background-size: 32px 32px, 32px 32px;
  pointer-events: none;
  z-index: 0;
}

.bo-how-band .bo-section {
  position: relative;
  z-index: 1;
}

.bo-how-band .bo-eyebrow {
  color: var(--amber-soft);
}

.bo-how-band .bo-section-head h2 {
  color: #fff;
}

.bo-how-band .bo-section-head p {
  color: rgba(231,240,234,0.78);
}


.bo-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}


.bo-step {
  position: relative;
  z-index: 1;
  padding: 26px;
  background: rgba(255,255,255,0.88);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 2px 14px rgba(16,35,31,0.05);
}

.bo-step span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin: 0 auto 24px;
  color: #fff;
  background: var(--amber);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 800;
}

.bo-step h3,
.bo-integration-card h3 {
  color: var(--text-strong);
  font-size: 20px;
  margin-bottom: 12px;
}

.bo-step p {
  color: var(--text);
  font-size: 13.5px;
  line-height: 1.62;
}

.bo-integrations-band {
  position: relative;
  overflow: hidden;
  background: var(--canvas);
}

.bo-int-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(16,35,31,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16,35,31,0.04) 1px, transparent 1px);
  background-size: 32px 32px, 32px 32px;
  pointer-events: none;
  z-index: 0;
}

.bo-integrations-band .bo-section {
  position: relative;
  z-index: 1;
}

.bo-integration-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.bo-integration-card {
  padding: 26px;
  background: rgba(255,255,255,0.88);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 2px 14px rgba(16,35,31,0.05);
}

.bo-integration-card ul {
  list-style: none;
}

.bo-integration-card li {
  position: relative;
  padding: 10px 0 10px 24px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  font-size: 13px;
  line-height: 1.45;
}

.bo-integration-card li:last-child {
  border-bottom: 0;
}

.bo-integration-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 17px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
}

.bo-pricing {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 88% 70% at 82% 14%, rgba(217,138,28,0.14) 0%, rgba(217,138,28,0) 58%),
    linear-gradient(180deg, #2d3333 0%, #272d2d 100%);
  border-top: 1px solid rgba(247,249,246,0.10);
  padding: 72px var(--gutter);
}

.bo-pricing-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(247,249,246,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247,249,246,0.05) 1px, transparent 1px);
  background-size: 32px 32px, 32px 32px;
  pointer-events: none;
  z-index: 0;
}

.bo-pricing-inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
}

.bo-pricing .bo-eyebrow,
.bo-contact-card .bo-eyebrow {
  color: var(--amber-soft);
}

.bo-pricing .bo-contact-card {
  max-width: 640px;
  margin: 0 auto;
  text-align: left;
  padding: 32px;
  background: rgba(15,28,26,0.52);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 18px;
  box-shadow: 0 20px 46px rgba(0,0,0,0.22);
}

.bo-pricing .bo-contact-card .bo-eyebrow {
  margin-bottom: 10px;
}

.bo-pricing .bo-contact-card h2 {
  margin: 0 0 12px;
  color: #fff;
  font-size: clamp(26px, 2.8vw, 36px);
  line-height: 1.12;
  letter-spacing: -0.01em;
}

.bo-pricing .bo-contact-card p {
  color: rgba(231,240,234,0.78);
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 22px;
}

.bo-pricing .bo-contact-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.bo-contact-card .cta-form {
  display: grid;
  gap: 10px;
}

.bo-contact-card .cta-input {
  width: 100%;
}

@media (max-width: 1080px) {
  .bo-context-links {
    overflow-x: auto;
    white-space: nowrap;
  }

  .bo-hero-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .bo-review-card {
    margin: 0;
    max-width: 540px;
  }

  .bo-hero-copy {
    max-width: 100%;
  }

  .bo-hero-copy h1 {
    font-size: clamp(38px, 6vw, 56px);
    text-wrap: balance;
  }

  .bo-story-layout {
    grid-template-columns: 1fr;
  }

  .bo-story-visual {
    position: relative;
    top: auto;
    order: -1;
  }

  .bo-story-chapter {
    min-height: auto;
  }
}

@media (max-width: 820px) {
  .bo-context-inner {
    padding: 8px var(--gutter-mobile);
    flex-wrap: wrap;
  }

  .bo-context-links {
    order: 3;
    width: 100%;
    margin-left: 0;
  }

  .bo-hero-inner,
  .bo-section,
  .bo-story,
  .bo-pricing {
    padding-left: var(--gutter-mobile);
    padding-right: var(--gutter-mobile);
  }

  .bo-hero-inner {
    padding-top: 96px;
    padding-bottom: 36px;
  }

  .bo-hero .bo-stat-strip,
  .bo-pillar-grid,
  .bo-result-metrics {
    grid-template-columns: 1fr;
  }

  .bo-steps,
  .bo-integration-grid {
    display: flex;
    grid-template-columns: none;
    gap: 14px;
    margin-right: calc(var(--gutter-mobile) * -1);
    padding: 4px var(--gutter-mobile) 12px 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .bo-steps .bo-step,
  .bo-integration-grid .bo-integration-card {
    flex: 0 0 min(82vw, 320px);
    scroll-snap-align: start;
    margin: 0;
  }

  .bo-hero .bo-stat-strip {
    padding-left: var(--gutter-mobile);
    padding-right: var(--gutter-mobile);
  }

  .bo-hero .bo-stat {
    padding: 14px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(247,249,246,0.08);
  }

  .bo-hero .bo-stat:last-child {
    border-bottom: 0;
  }

  .bo-steps::before {
    display: none;
  }

  .bo-story-canvas-wrap,
  #benchops-story-canvas {
    height: 340px;
    min-height: 340px;
  }
}

@media (max-width: 560px) {
  .bo-hero-copy h1 {
    font-size: 38px;
    text-wrap: balance;
  }

  .bo-hero-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .bo-context-inner {
    align-items: flex-start;
  }

  .bo-review-card {
    max-width: 100%;
  }

  .bo-review-geom {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 14px;
  }

  .bo-review-condition {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .bo-review-score {
    border-right: 0;
    padding-right: 0;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(15,28,26,0.10);
    width: 100%;
  }

  .bo-review-trend {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .bo-review-trend-chart {
    width: 100%;
  }

  .bo-review-trend-legend {
    flex-direction: row;
    gap: 12px;
    padding-bottom: 0;
  }

  .bo-review-retention-legend {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bo-context-cta {
    margin-left: auto;
  }

  .bo-story {
    padding-top: 72px;
    padding-bottom: 76px;
  }

  .bo-story-chapter h3 {
    font-size: 28px;
  }

  .bo-mini-card {
    padding: 18px 16px 16px;
  }

  .bo-mini-head {
    font-size: 11.5px;
  }

  .bo-story-toolbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
    padding: 12px 14px;
  }

  .bo-compliance-legend {
    font-size: 8.5px;
    gap: 8px;
  }

  .bo-section-popout {
    width: calc(100% - 16px);
    transform: translate(-50%, calc(-100% - 10px));
  }

  .bo-popout-grid {
    grid-template-columns: 1fr;
  }

  .bo-contact-card {
    padding: 22px;
  }

  .bo-pricing .bo-contact-fields {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 380px) {
  .bo-hero-copy h1 {
    font-size: 36px;
  }

  .bo-story-chapter h3 {
    font-size: 26px;
  }

  .bo-chapter-kicker {
    font-size: 10.5px;
  }
}

