/* CBRNE red teaming page (Full Score method). Uses the shared tokens from /styles/system.css. */
.cb-page { background: var(--sy-black); color: var(--sy-white); }
.cb-wrap { width: var(--sy-container); margin: 0 auto; }
.cb-grid-bg { background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px); background-size: 48px 48px; }
.cb-mono { font-family: var(--sy-mono); }
.cb-eyebrow { margin: 0 0 16px; font: 500 11.5px var(--sy-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--sy-blue-text); }
.cb-eyebrow.is-red { color: #ff8a8a; }
.cb-h2 { margin: 0 0 22px; font-family: var(--sy-display); font-size: clamp(32px, 4.4vw, 54px); font-weight: 500; line-height: 1.05; letter-spacing: -.035em; max-width: 22ch; }
.cb-lead { margin: 0 0 48px; font-size: 18px; line-height: 1.65; color: #b9bcc4; max-width: 64ch; }
.cb-section { padding: clamp(64px, 9vw, 112px) 0; border-top: 1px solid var(--sy-line); }
.cb-section.is-alt { background: #070708; }

/* Restricted banner */
.cb-banner { display: flex; justify-content: center; align-items: center; gap: 12px; flex-wrap: wrap; padding: 10px var(--sy-gutter); background: #140708; border-bottom: 1px solid #3a1418; font: 500 11.5px var(--sy-mono); letter-spacing: .16em; text-transform: uppercase; color: #ff8a8a; text-align: center; }
.cb-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sy-red); flex: none; }
.cb-pulse { animation: cb-pulse 2.4s ease-in-out infinite; }
@keyframes cb-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }

/* Hero */
.cb-hero { padding: clamp(56px, 8vw, 104px) 0 clamp(64px, 9vw, 120px); }
.cb-hero-inner { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.cb-crumb { margin: 0 0 26px; font: 500 11.5px var(--sy-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--sy-gray); }
.cb-crumb a { color: var(--sy-gray); text-decoration: none; }
.cb-crumb a:hover { color: var(--sy-white); }
.cb-pre { margin: 0 0 16px; font-family: var(--sy-display); font-size: clamp(19px, 2vw, 24px); line-height: 1.35; font-weight: 500; color: #9a9da6; max-width: 34ch; }
.cb-hero h1 { margin: 0 0 30px; font-family: var(--sy-display); font-size: clamp(42px, 6.2vw, 84px); line-height: .98; letter-spacing: -.045em; font-weight: 600; }
.cb-hero h1 span { color: var(--sy-blue-text); }
.cb-hero-copy { margin: 0 0 36px; font-size: 18px; line-height: 1.65; color: #b9bcc4; max-width: 58ch; }
.cb-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }
.cb-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 0; padding: 0; list-style: none; font: 500 11.5px var(--sy-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--sy-gray-dim); }
.cb-radar-wrap { display: grid; justify-items: center; gap: 14px; }
.cb-radar { width: 100%; max-width: 520px; height: auto; }
.cb-radar-caption { display: flex; align-items: center; gap: 10px; margin: 0; padding: 8px 12px; border: 1px solid #3a1418; background: #140708; font: 500 11px var(--sy-mono); letter-spacing: .12em; text-transform: uppercase; color: #ff8a8a; }
.cb-sweep { transform-origin: 260px 260px; animation: cb-spin 9s linear infinite; }
@keyframes cb-spin { to { transform: rotate(360deg); } }
.cb-blip { animation: cb-blip 9s linear infinite both; }
@keyframes cb-blip { 0% { opacity: 1; } 55% { opacity: .15; } 100% { opacity: .15; } }
.cb-ping { transform-box: fill-box; transform-origin: center; animation: cb-ping 9s ease-out infinite both; }
@keyframes cb-ping { 0% { transform: scale(1); opacity: .9; } 18% { transform: scale(5); opacity: 0; } 100% { transform: scale(5); opacity: 0; } }

/* Domain marquee */
.cb-marquee { overflow: hidden; border-top: 1px solid var(--sy-line); border-bottom: 1px solid var(--sy-line); padding: 18px 0; background: #070708; }
.cb-marquee-track { display: flex; gap: .45em; width: max-content; animation: cb-marquee 48s linear infinite; font-family: var(--sy-display); font-weight: 700; font-size: clamp(56px, 9vw, 132px); line-height: 1; letter-spacing: -.04em; text-transform: uppercase; }
.cb-marquee-track span { color: transparent; -webkit-text-stroke: 1px #3a3a42; white-space: nowrap; }
.cb-marquee-track span.is-solid { color: #121a3d; -webkit-text-stroke: 1px #264ded; }
.cb-marquee-track span::after { content: "/"; margin-left: .45em; -webkit-text-stroke: 1px #26262b; color: transparent; }
@keyframes cb-marquee { to { transform: translateX(-50%); } }

/* Harm path track */
.cb-track { display: block; width: 100%; height: auto; }
.cb-track-fill { stroke-dasharray: 1000; stroke-dashoffset: 0; transition: stroke-dashoffset 2s cubic-bezier(.2,.7,.2,1); }
.cb-js .cb-track:not(.is-in) .cb-track-fill { stroke-dashoffset: 1000; }

/* Scroll reveal (only when JS is running) */
.cb-js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.cb-js [data-reveal].is-in { opacity: 1; transform: none; }

/* Harm path */
.cb-legend { display: flex; flex-wrap: wrap; gap: 12px 28px; margin: 0 0 22px; padding: 0; list-style: none; font: 500 11.5px var(--sy-mono); letter-spacing: .08em; text-transform: uppercase; color: #b9bcc4; }
.cb-legend li { display: flex; align-items: center; gap: 10px; }
.cb-swatch { width: 28px; height: 4px; display: inline-block; }
.cb-swatch.is-typical, .cb-bar.is-typical { background: #5e6068; }
.cb-swatch.is-full, .cb-bar.is-full { background: var(--sy-blue); }
.cb-path { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 2px; background: var(--sy-line); border: 1px solid var(--sy-line); }
.cb-path li { background: var(--sy-black); padding: 22px 20px 26px; display: flex; flex-direction: column; min-width: 0; }
.cb-path li.is-common { background: #0d0f16; }
.cb-bar { height: 4px; margin-bottom: 4px; }
.cb-bar.is-full { margin-bottom: 26px; }
.cb-bar.is-empty { background: transparent; }
.cb-stage { margin: 0 0 8px; font: 500 11px var(--sy-mono); letter-spacing: .1em; color: var(--sy-gray-dim); }
.cb-path h3 { margin: 0 0 10px; font-family: var(--sy-display); font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.cb-path p { margin: 0 0 18px; font-size: 14px; line-height: 1.55; color: #a9acb5; flex: 1; }
.cb-path .cb-cover { margin: 0; flex: none; font: 500 12px var(--sy-mono); color: var(--sy-blue-text); }

/* Movements */
.cb-movements { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cb-move { background: #0b0b0d; border: 1px solid var(--sy-line); padding: clamp(24px, 2.4vw, 32px); display: flex; flex-direction: column; min-width: 0; transition: border-color .15s; }
.cb-move:hover { border-color: var(--sy-line-strong); }
.cb-move-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 20px; }
.cb-numeral { font-family: var(--sy-display); font-size: 46px; font-weight: 600; line-height: 1; color: #1f2b5c; letter-spacing: -.02em; transition: color .2s; }
.cb-move:hover .cb-numeral { color: var(--sy-blue-text); }
.cb-icon { width: 48px; height: 48px; fill: none; stroke: var(--sy-blue-text); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cb-icon .is-alert { stroke: var(--sy-red); }
.cb-move-stage { margin: 0 0 8px !important; flex: none !important; font: 500 10.5px var(--sy-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--sy-gray-dim) !important; }
.cb-move h3 { margin: 0 0 12px; font-family: var(--sy-display); font-size: 24px; font-weight: 600; letter-spacing: -.025em; }
.cb-move p { margin: 0 0 20px; font-size: 15px; line-height: 1.65; color: #b2b5bd; flex: 1; }
.cb-move ul { margin: 0; padding: 18px 0 0; list-style: none; display: grid; gap: 9px; border-top: 1px solid var(--sy-line); }
.cb-move li { display: flex; gap: 10px; font-size: 14px; line-height: 1.45; color: #d6d8dd; }
.cb-move li::before { content: "+"; font-family: var(--sy-mono); color: var(--sy-blue-text); flex: none; }

/* Clean room */
.cb-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 5vw, 72px); align-items: center; }
.cb-split .cb-lead { margin-bottom: 32px; }
.cb-controls { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.cb-controls li { border: 1px solid var(--sy-line); padding: 18px; font-size: 15px; line-height: 1.45; color: #e2e4e8; }
.cb-room { margin: 0; border: 1px dashed var(--sy-line-strong); padding: clamp(18px, 2.4vw, 26px); }
.cb-room-label { margin: 0 0 16px; font: 500 11px var(--sy-mono); letter-spacing: .14em; color: var(--sy-gray); }
.cb-enclave { border: 1px solid var(--sy-blue); background: #070b1c; padding: clamp(16px, 2vw, 22px); }
.cb-enclave .cb-room-label { color: var(--sy-blue-text); }
.cb-enclave-parts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.cb-enclave-parts span { background: #0c1228; border: 1px solid #1c2752; padding: 14px 8px; text-align: center; font-size: 13px; line-height: 1.3; color: #dfe3f2; }
.cb-blocked { position: relative; margin: 16px 0 0; display: flex; align-items: center; gap: 10px; font: 500 12px var(--sy-mono); color: #ff8a8a; }
.cb-bounce { position: absolute; left: 50%; bottom: -12px; width: 7px; height: 7px; border-radius: 50%; background: var(--sy-red); animation: cb-bounce 1.6s ease-in-out infinite; }
@keyframes cb-bounce { 0%, 100% { transform: translateY(-14px); opacity: .2; } 50% { transform: translateY(0); opacity: 1; } }
.cb-flow { position: relative; height: 64px; margin: 0 auto; width: 24px; }
.cb-flow i { position: absolute; left: 11px; top: 4px; bottom: 4px; width: 2px; background: #1f2d63; }
.cb-flow span { position: absolute; left: 8px; top: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--sy-blue-text); box-shadow: 0 0 10px rgba(91,125,255,.8); animation: cb-flow 1.8s linear infinite; z-index: 1; }
.cb-flow span:nth-child(2) { animation-delay: .6s; }
.cb-flow span:nth-child(3) { animation-delay: 1.2s; }
@keyframes cb-flow { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { transform: translateY(56px); opacity: 0; } }
.cb-out { margin: 0 0 14px; text-align: center; font: 500 12px var(--sy-mono); color: #b9bcc4; }
.cb-workspace { border: 1px solid var(--sy-line-strong); background: var(--sy-panel); padding: 18px; text-align: center; font-family: var(--sy-display); font-size: 17px; font-weight: 600; }

/* Engagement steps */
.cb-steps { position: relative; margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-top: 2px solid var(--sy-line-strong); }
.cb-steps::before { content: ""; position: absolute; left: 0; right: 0; top: -2px; height: 2px; background: var(--sy-blue); transform-origin: left; transition: transform 1.6s cubic-bezier(.2,.7,.2,1) .2s; }
.cb-js .cb-steps:not(.is-in)::before { transform: scaleX(0); }
.cb-steps li { position: relative; padding: 26px 20px 0 0; min-width: 0; }
.cb-steps li::before { content: ""; position: absolute; left: 0; top: -7px; width: 12px; height: 12px; border-radius: 50%; background: var(--sy-black); border: 2px solid var(--sy-blue-text); }
.cb-steps .cb-num { margin: 0 0 12px; font: 500 14px var(--sy-mono); color: var(--sy-blue-text); }
.cb-steps h3 { margin: 0 0 10px; font-family: var(--sy-display); font-size: 18px; font-weight: 600; letter-spacing: -.02em; }
.cb-steps p { margin: 0 0 20px; font-size: 14px; line-height: 1.55; color: #a9acb5; }

/* Evidence */
.cb-evidence { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 5vw, 72px); align-items: start; }
.cb-evidence .cb-lead { margin-bottom: 30px; }
.cb-chips { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.cb-chips li { border: 1px solid var(--sy-line-strong); border-radius: 999px; padding: 9px 16px; font: 500 12px var(--sy-mono); color: #d6d8dd; }
.cb-report { background: #0b0b0d; border: 1px solid var(--sy-line-strong); }
.cb-report-head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--sy-line-strong); font: 500 12px var(--sy-mono); letter-spacing: .12em; }
.cb-report-head span:last-child { font-size: 10.5px; letter-spacing: .1em; color: var(--sy-gray); border: 1px solid var(--sy-line-strong); padding: 4px 8px; }
.cb-gauge { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding: 18px 22px; border-bottom: 1px solid var(--sy-line-strong); }
.cb-gauge div { display: grid; gap: 8px; }
.cb-gauge-label { font: 500 10.5px var(--sy-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--sy-gray); }
.cb-gauge-bar { position: relative; display: block; height: 6px; background: #17171a; overflow: hidden; }
.cb-gauge-bar::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); transition: width 1.2s cubic-bezier(.2,.7,.2,1) .3s; }
.cb-js .cb-report:not(.is-in) .cb-gauge-bar::after { width: 0; }
.cb-gauge-bar.is-high::after { background: var(--sy-red); }
.cb-gauge-bar.is-medium::after { background: #ffb547; }
.cb-gauge-bar.is-low::after { background: #6b6b73; }
.cb-table-wrap { overflow-x: auto; }
.cb-report table { width: 100%; min-width: 480px; border-collapse: collapse; }
.cb-report th { text-align: left; padding: 12px 22px; font: 500 11px var(--sy-mono); letter-spacing: .1em; color: var(--sy-gray); border-bottom: 1px solid var(--sy-line-strong); }
.cb-report td { padding: 16px 22px; font-size: 14px; color: #e2e4e8; border-bottom: 1px solid var(--sy-line); }
.cb-report tr:last-child td { border-bottom: 0; }
.cb-report td:first-child { font-family: var(--sy-display); font-size: 15px; font-weight: 600; color: var(--sy-blue-text); }
.cb-sev { display: inline-block; font: 500 11px var(--sy-mono); padding: 4px 10px; border: 1px solid; }
.cb-sev.is-high { color: #ff8a8a; border-color: #5a1f26; background: #1a0a0d; }
.cb-sev.is-medium { color: #ffc46b; border-color: #4d3a17; background: #17110a; }
.cb-sev.is-low { color: #b9bcc4; border-color: var(--sy-line-strong); background: #111113; }
.cb-report-foot { display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 16px 22px; border-top: 1px solid var(--sy-line-strong); font: 500 11px var(--sy-mono); color: var(--sy-gray); }

/* Audiences and team */
.cb-audiences { margin: 0 0 56px; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2px; background: var(--sy-line); border: 1px solid var(--sy-line); }
.cb-audiences li { background: #0b0b0d; padding: 26px 22px; font-family: var(--sy-display); font-size: 18px; font-weight: 600; line-height: 1.3; letter-spacing: -.015em; }
.cb-team { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.cb-team-quote { margin: 0; font-family: var(--sy-display); font-size: clamp(22px, 2.4vw, 30px); line-height: 1.35; font-weight: 500; letter-spacing: -.02em; color: #eceef1; }
.cb-team p:last-child { margin: 0; font-size: 16px; line-height: 1.65; color: #b2b5bd; }

/* Bolerophone */
.cb-bolero { border: 1px solid #1f2d63; background: #060812; padding: clamp(28px, 5vw, 64px); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(32px, 5vw, 56px); align-items: center; }
.cb-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.cb-tag { font: 500 11px var(--sy-mono); letter-spacing: .14em; padding: 6px 10px; border: 1px solid var(--sy-blue); color: var(--sy-blue-text); }
.cb-tag.is-red { border-color: #5a1f26; color: #ff8a8a; }
.cb-bolero h2 { margin: 0 0 16px; font-family: var(--sy-display); font-size: clamp(42px, 5.4vw, 72px); line-height: 1; font-weight: 600; letter-spacing: -.045em; }
.cb-bolero-sub { margin: 0 0 22px; font-family: var(--sy-display); font-size: clamp(19px, 2vw, 24px); line-height: 1.35; font-weight: 500; color: #c9d3ff; max-width: 36ch; }
.cb-bolero-body { margin: 0 0 18px; font-size: 16px; line-height: 1.7; color: #b2b5bd; max-width: 64ch; }
.cb-bolero-name { margin: 0 0 30px; font-family: var(--sy-serif); font-style: italic; font-size: 17px; line-height: 1.55; color: #9a9da6; max-width: 56ch; }
.cb-loop { width: 100%; max-width: 380px; height: auto; justify-self: center; }
.cb-node { animation: cb-node 8s ease-in-out infinite; }
@keyframes cb-node { 0%, 20%, 100% { fill: #0a1030; } 5% { fill: #1c2f8a; } }
.cb-crescendo { grid-column: 1 / -1; display: flex; align-items: flex-end; gap: 4px; height: 88px; padding-top: 12px; border-top: 1px solid #1a2350; }
.cb-crescendo span { flex: 1; min-width: 2px; background: linear-gradient(to top, var(--sy-blue), #7d97ff); transform-origin: bottom; animation: cb-swell 2.4s ease-in-out infinite alternate; }
@keyframes cb-swell { from { transform: scaleY(.55); opacity: .55; } to { transform: scaleY(1); opacity: 1; } }

/* Request form */
.cb-request { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(36px, 5vw, 64px); align-items: start; }
.cb-request-note { margin: 0; font-size: 15px; line-height: 1.6; color: var(--sy-gray); }
.cb-form { background: #0b0b0d; border: 1px solid var(--sy-line-strong); padding: clamp(22px, 3.4vw, 40px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.cb-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.cb-field.is-wide, .cb-form .is-wide { grid-column: 1 / -1; }
.cb-field label { font: 500 11.5px var(--sy-mono); letter-spacing: .1em; text-transform: uppercase; color: #b9bcc4; }
.cb-field label span { color: var(--sy-gray-dim); text-transform: none; letter-spacing: 0; }
.cb-field input, .cb-field select, .cb-field textarea { width: 100%; box-sizing: border-box; background: var(--sy-black); border: 1px solid var(--sy-line-strong); color: var(--sy-white); padding: 14px; font: 400 16px var(--sy-body); border-radius: 0; }
.cb-field textarea { resize: vertical; min-height: 120px; }
.cb-field input:focus, .cb-field select:focus, .cb-field textarea:focus, .cb-consent input:focus { outline: 2px solid var(--sy-blue-text); outline-offset: 2px; }
.cb-consent { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.5; color: #cfd2d8; }
.cb-consent input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--sy-blue); }
.cb-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.cb-submit-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.cb-submit-row p { margin: 0; font-size: 13px; color: var(--sy-gray); }
.cb-status { margin: 0; font-size: 14px; line-height: 1.5; color: #b9bcc4; }
.cb-status[data-state="success"] { color: #8fd1a6; }
.cb-status[data-state="error"] { color: #ff8a8a; }
.cb-status:empty { display: none; }
.cb-fallback { justify-self: start; background: none; border: 0; padding: 0; color: var(--sy-blue-text); font: 500 13px var(--sy-body); text-decoration: underline; cursor: pointer; }

@media (max-width: 1100px) {
  .cb-track { display: none; }
  .cb-path { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cb-movements { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cb-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cb-audiences { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .cb-hero-inner, .cb-split, .cb-evidence, .cb-team, .cb-bolero, .cb-request { grid-template-columns: minmax(0, 1fr); }
  .cb-radar { max-width: 420px; }
  .cb-loop { max-width: 300px; }
}
@media (max-width: 620px) {
  .cb-path, .cb-movements, .cb-controls, .cb-form { grid-template-columns: minmax(0, 1fr); }
  .cb-steps, .cb-audiences { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cb-enclave-parts { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 620px) {
  .cb-gauge { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .cb-crescendo { gap: 2px; height: 64px; }
  .cb-steps li:nth-child(n+3) { margin-top: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .cb-sweep, .cb-pulse, .cb-blip, .cb-ping, .cb-marquee-track, .cb-flow span, .cb-bounce, .cb-node, .cb-crescendo span { animation: none; }
  .cb-js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .cb-steps::before, .cb-gauge-bar::after, .cb-track-fill { transition: none; }
}
