/* =============================================================================
   Blackrock Drill & Blast · css/sections/safety.css · the safety band (dark --ink-0)
   One sentence left; right, a seismograph readout: the thread's trace (a [data-seismo] instrument mounted by
   js/sections/thread.js) under a dashed --signal-red site limit (no figure: the readout says MONITORED, not a
   number). The trace spikes once on entering the viewport and peaks well under the limit (17 px of 56 px).
   ============================================================================= */
.safety { --bg: var(--ink-0); border-block: 1px solid var(--line); }
.safety__grid {
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); align-items: center;
  gap: clamp(32px, 6vw, 112px);
}
.safety__line { font-size: var(--t-h3); line-height: 1.02; letter-spacing: .012em; color: var(--bone); max-width: 30ch; text-wrap: pretty; }
.safety__no { color: var(--stone); white-space: nowrap; }

/* the readout */
.safety__readout { position: relative; padding: 26px clamp(18px, 2vw, 28px) 20px; }
.safety__readout.brackets::after { --b: color-mix(in srgb, var(--bone) 42%, transparent); --l: 14px; }
.safety__plot {
  position: relative; height: 128px;
  --seismo-base: 92px;                                    /* the baseline, px from the plot's top */
  --thread-x: 63%; --thr-alpha: 32%; --thr-fade: 96px;
}
/* timescale ticks under the trace */
.safety__plot::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; pointer-events: none;
  background: repeating-linear-gradient(90deg, color-mix(in srgb, var(--bone) 24%, transparent) 0 1px, transparent 1px 20px);
}
/* the limit: 56px above the baseline (92 − 56 = 36) */
.safety__limit {
  position: absolute; left: 0; right: 0; top: 36px; height: 1px;
  background: repeating-linear-gradient(90deg, var(--signal-red) 0 7px, transparent 7px 12px);
}
.safety__limit-label {
  position: absolute; right: 0; top: 14px;
  font: 500 11px/1 var(--mono); letter-spacing: .12em; color: var(--signal-red); font-variant-numeric: tabular-nums;
}
.safety__meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; margin-top: 18px;
  font: 500 12px/1.4 var(--mono); letter-spacing: .1em; color: var(--amber); font-variant-numeric: tabular-nums;
}
.safety__k { color: var(--stone); }
.safety__sep { margin: 0 .8em; color: var(--muted); }

@media (max-width: 900px) {
  .safety__grid { grid-template-columns: minmax(0, 1fr); }
  .safety__line { max-width: 26ch; }
}
@media (max-width: 600px) {
  .safety__line { font-size: clamp(26px, 7.4vw, 32px); }
  .safety__readout { padding-inline: 14px; }
  .safety__meta { font-size: 11px; letter-spacing: .06em; }
  .safety__sep { margin: 0 .55em; }
}

/* round 13 (2026-11-03): the crew readout follows the shot readout. (The "what that means on site" stripe and its .safety__copy
   wrapper went in round 14, 2026-11-22: the headline is a direct grid child again.) */
.safety__crew { margin-top: 8px; }
