/* =============================================================================
   Blackrock Drill & Blast · css/sections/flags.css · safety mentions (round 13, 2026-11-03, Iron City's one ask)
   Five small components on the site's tokens, used across pages (linked once in parts/head.html):
     .flags / .flag      A · a row of mono chips, one amber lead tag (hero foots, under leads, sector strip)
     .note               B · amber left rule + eyebrow + one or two sentences (hiring teaser)
     .plate              C · chamfered panel with corner brackets, title + text + flags (services 01, hiring hero)
     .stripe             D · hazard-tape top edge on a hairline panel (safety band, services 02)
     .readout            E · a mono amber line with · separators, like the band's readout (band crew line, About strip; the footer line went in round 14)
   ============================================================================= */

/* ---------- A · flags ---------- */
.flags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.flag { display: inline-flex; align-items: center; gap: 9px; min-height: 30px; padding: 0 11px; font: 500 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--fg); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 55%, transparent); white-space: nowrap; }
.flag::before { content: ""; flex: none; width: 8px; height: 8px; background: var(--accent); clip-path: polygon(3px 0, 100% 0, 100% calc(100% - 3px), calc(100% - 3px) 100%, 0 100%, 0 3px); }
.flag--lead { background: var(--accent); color: var(--ink-0); box-shadow: none; clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px); }
.flag--lead::before { display: none; }
.hero__foot .flags { flex: 1 1 100%; }

/* ---------- B · note ---------- */
.note { display: grid; gap: 8px; padding: 6px 0 6px 20px; border-left: 3px solid var(--accent); max-width: 64ch; }
.note__k { font: 500 11px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.note__t { font-size: 16px; line-height: 1.5; color: var(--fg-2); }
.note__t strong { color: var(--fg); font-weight: 500; }

/* ---------- C · plate ---------- */
.plate { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.8fr); gap: 16px clamp(24px, 4vw, 64px); padding: clamp(24px, 2.8vw, 36px); background: var(--bg-2); color: var(--fg);
  clip-path: polygon(var(--chamfer) 0, 100% 0, 100% calc(100% - var(--chamfer)), calc(100% - var(--chamfer)) 100%, 0 100%, 0 var(--chamfer)); }
.plate.brackets::after { inset: 10px; --l: 16px; }
.plate__head { display: grid; gap: 12px; align-content: start; }
.plate__k { font: 500 11px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.plate__t { font: 700 clamp(26px, 2.2vw, 36px)/.95 var(--display); text-transform: uppercase; letter-spacing: .01em; color: var(--fg); max-width: 16ch; text-wrap: balance; }
.plate__body { display: grid; gap: 16px; align-content: start; }
.plate__p { font-size: 15.5px; line-height: 1.5; color: var(--fg-2); max-width: 70ch; }
.page-hero .plate { background: color-mix(in srgb, var(--ink-2) 60%, transparent); }

/* ---------- D · stripe ---------- */
.stripe { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.8fr); gap: 16px clamp(24px, 4vw, 64px); padding: 30px clamp(20px, 2.4vw, 30px) 28px; box-shadow: inset 0 0 0 1px var(--rule); }
.stripe::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 7px; background: repeating-linear-gradient(-45deg, var(--amber) 0 10px, var(--ink-0) 10px 20px); }
.section--bone .stripe::before { background: repeating-linear-gradient(-45deg, var(--amber-deep) 0 10px, var(--ink-text) 10px 20px); }
.stripe--narrow { grid-template-columns: minmax(0, 1fr); }

/* ---------- E · readout ---------- */
.readout { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 0; font: 500 12px/1.5 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); font-variant-numeric: tabular-nums; }
.readout__k { color: var(--fg-3); }
.readout__sep { margin: 0 .8em; color: var(--fg-3); }


@media (max-width: 750px) {
  .plate, .stripe { grid-template-columns: minmax(0, 1fr); }
  .flag { white-space: normal; line-height: 1.3; padding-block: 7px; }
}
