/* Umbra marketing site — console / brutalist aesthetic.
   Palette mirrors the iOS app: deep-space navy background, blue-grey
   (penumbra) rules and chrome, a signal-teal accent, and a sparing amber
   highlight (the eclipse-corona brand color). Monospace typewriter
   typography, sparse layout, no rounded chrome. Hex values are lifted
   straight from the app's BrandColor table. */

:root {
    --bg:            #0a0e1a;   /* deepSpace */
    --bg-elevated:   #121a2e;   /* between deepSpace and penumbraNavy */
    --text:          #f0ede0;   /* documentCream */
    --text-dim:      #6b7280;   /* shadowGray (blue-grey) */
    --text-mute:     #39415a;   /* dark blue-grey */
    --rule:          #1a2236;   /* penumbra hairline */
    --rule-strong:   #2d3561;   /* penumbraSlate */
    --accent:        #ffa500;   /* amberGlow — brand highlight */
    --accent-dim:    #6b4500;
    --teal:          #66d1d6;   /* signalTeal */
    --warn:          #dc2626;   /* classificationRed */
    --ok:            #66d1d6;   /* teal "operational", matching the app */

    --mono: "SF Mono", ui-monospace, "JetBrains Mono", "IBM Plex Mono",
            Menlo, Consolas, "Courier New", monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--mono);
    font-size: 14px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    padding: 0;
}

/* Very subtle scanline overlay — tasteful CRT echo, not a costume.
   Disabled in prefers-reduced-motion. */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background: repeating-linear-gradient(
        180deg,
        transparent 0,
        transparent 3px,
        rgba(255, 255, 255, 0.012) 3px,
        rgba(255, 255, 255, 0.012) 4px
    );
    z-index: 100;
    mix-blend-mode: overlay;
}
@media (prefers-reduced-motion: reduce) {
    body::before { display: none; }
}

a {
    color: var(--accent);
    text-decoration: none;
    border-bottom: 1px solid transparent;
}
a:hover {
    color: var(--text);
    border-bottom-color: var(--accent);
}

/* ---------- Top bar ---------- */

.topbar {
    /* Teal "file-edge" underline + diagonal blue/grey hazard stripes — the
       same masthead motif as the iOS app's // UMBRA bar. */
    border-bottom: 1px solid rgba(102, 209, 214, 0.45);
    background:
        repeating-linear-gradient(135deg,
            rgba(102, 209, 214, 0.07) 0px,
            rgba(102, 209, 214, 0.07) 14px,
            rgba(45, 53, 97, 0.18) 14px,
            rgba(45, 53, 97, 0.18) 28px),
        var(--bg);
    padding: 14px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    letter-spacing: 0.5px;
}
.topbar .left  { color: var(--text); }
.topbar .right { color: var(--text-dim); }
.topbar .prompt { color: var(--accent); margin-right: 6px; }
/* Freshness chip in the topbar — populated by releases-probe.js from the
   same-origin-gated /_r/latest.json (the data worker's on-change releases
   summary). Hidden until data loads; dropped on narrow screens. */
.topbar .release-chip {
    color: var(--text-dim);
    margin-left: 12px;
    padding-left: 12px;
    border-left: 1px solid var(--rule-strong);
    white-space: nowrap;
}
@media (max-width: 640px) { .topbar .release-chip { display: none; } }

.status-dot {
    display: inline-block;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--ok);
    box-shadow: 0 0 6px var(--ok);
    vertical-align: middle;
    margin-right: 6px;
    animation: pulse 2.4s ease-in-out infinite;
}
/* Set by status-probe.js when the U.S. government PURSUE source is unreachable
   from the visitor's browser — defaults to the green/operational state above. */
.status-dot.degraded {
    background: var(--accent);
    box-shadow: 0 0 6px var(--accent);
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.4; }
}

/* ---------- Hero ---------- */

.hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;             /* contain the video/scrim stack */
    padding: 36px 28px 60px;
    text-align: center;
    border-bottom: 1px solid var(--rule);
    /* Poster as the base layer → instant paint, and the still shown when the
       video is suppressed for prefers-reduced-motion. */
    background: var(--bg) url("/media/hero-pr060-poster.jpg") center / cover no-repeat;
}
/* Real PURSUE IR sensor footage, muted + looping, behind the wordmark. */
.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    /* Pull it toward the navy palette and dim it so the headline reads. */
    filter: saturate(0.8) contrast(1.05) brightness(0.6);
    pointer-events: none;
}
/* Brand-navy scrim + vignette for legibility. */
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        radial-gradient(ellipse 90% 72% at 50% 44%,
            rgba(10, 14, 26, 0.28), rgba(10, 14, 26, 0.82)),
        linear-gradient(180deg,
            rgba(10, 14, 26, 0.74) 0%,
            rgba(10, 14, 26, 0.40) 38%,
            rgba(10, 14, 26, 0.92) 100%);
}
.hero-inner {
    position: relative;
    z-index: 2;
    max-width: 720px;
    margin: 0 auto;
}
/* Tiny sensor-feed caption, lower-right — reads like a HUD frame label. */
.hero-feedtag {
    position: absolute;
    right: 14px;
    bottom: 11px;
    z-index: 2;
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.5px;
    color: var(--teal);
    opacity: 0.72;
    pointer-events: none;
    text-shadow: 0 0 6px rgba(10, 14, 26, 0.9);
}
@media (prefers-reduced-motion: reduce) {
    /* Fall back to the static poster background. */
    .hero-video { display: none; }
}

.ascii-frame {
    color: var(--text-dim);
    font-size: 12px;
    line-height: 1.2;
    white-space: pre;
    margin-bottom: 40px;
    user-select: none;
}

.wordmark {
    font-family: var(--mono);
    font-weight: 700;
    font-size: 2.4rem;
    letter-spacing: 0.25rem;
    line-height: 1.12;
    color: var(--text);
    margin-bottom: 1.4rem;
    text-shadow: 0 0 30px rgba(255, 245, 230, 0.12);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: clip;
}
.wordmark .caret {
    display: inline-block;
    width: 0.45em;
    background: var(--accent);
    margin-left: 0.15em;
    animation: blink 1s steps(1) infinite;
    vertical-align: text-bottom;
    height: 0.85em;
}
@keyframes blink {
    0%, 50%   { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.tagline {
    font-size: 1.05rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.lede {
    font-size: 0.95rem;
    color: var(--text);
    max-width: 560px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
    /* Block stays centered (margin auto); text types left-to-right. */
    text-align: left;
}
.lede .prompt { color: var(--accent); }

/* ---------- Typewriter reveal ---------- */
/* Elements with .typewriter are hidden until the inline script either
   reveals them instantly (reduced-motion) or starts typing them.
   The no-JS fallback shows them immediately because the script-tag at
   the end of the document also flips this off. */
.typewriter:not(.tw-revealed) {
    visibility: hidden;
}
.tw-cursor {
    display: inline-block;
    width: 0.5em;
    height: 1em;
    background: var(--accent);
    margin-left: 2px;
    vertical-align: text-bottom;
    animation: blink 1s steps(1) infinite;
}
.tw-cursor.tw-fade {
    opacity: 0;
    transition: opacity 0.6s ease-out;
}

.cta {
    margin: 2.5rem 0 1.5rem;
}
/* Availability label above every App Store badge, site-wide. App is live on the
   App Store (App ID 6773161639); the badge below links straight to it. */
.cta::before {
    content: "◆ NOW ON THE APP STORE";
    display: block;
    color: var(--accent);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 14px;
}
.cta-prompt {
    color: var(--text-dim);
    font-size: 12px;
    margin-bottom: 14px;
    letter-spacing: 1px;
}
.app-store-badge { display: inline-block; line-height: 0; }
.app-store-badge:hover { opacity: 0.85; border-bottom: none; }
.app-store-badge img {
    height: 56px;
    width: auto;
    display: block;
    border: 1px solid var(--rule-strong);
}
.app-store-badge .badge-dark  { display: none; }
@media (prefers-color-scheme: dark) {
    .app-store-badge .badge-light { display: none; }
    .app-store-badge .badge-dark  { display: block; }
}

.disclaimer {
    font-size: 11px;
    color: var(--text-dim);
    margin-top: 1.5rem;
    letter-spacing: 0.5px;
}

/* ---------- Section primitives ---------- */

section.block {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 28px;
    border-bottom: 1px solid var(--rule);
}

.section-header {
    color: var(--accent);
    font-size: 12px;
    letter-spacing: 2px;
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.section-header::before { content: "//"; }
.section-header::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--rule);
}

.divider {
    color: var(--text-mute);
    font-size: 10px;
    white-space: pre;
    overflow: hidden;
    user-select: none;
    margin: 24px 0;
}

/* ---------- Capability rows ---------- */

.capability {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 24px;
    padding: 18px 0;
    border-bottom: 1px dashed var(--rule);
    align-items: baseline;
}
.capability:last-child { border-bottom: none; }
.capability .id {
    color: var(--accent);
    font-size: 12px;
    letter-spacing: 1px;
}
.capability h3 {
    font-size: 0.95rem;
    color: var(--text);
    margin-bottom: 6px;
    font-weight: 600;
}
.capability p {
    color: var(--text-dim);
    font-size: 0.85rem;
    line-height: 1.65;
}

/* ---------- Why section ---------- */

.why-body {
    max-width: 640px;
    color: var(--text);
    font-size: 0.9rem;
    line-height: 1.8;
}
.why-body p { margin-bottom: 1.1rem; }
.why-body .term {
    color: var(--accent);
    letter-spacing: 1px;
    border: 1px solid var(--accent-dim);
    padding: 1px 6px;
}

/* ---------- Content showcase (GIMBAL video + artifact list) ---------- */

.artifact-showcase {
    margin: 0 0 36px;
    padding: 0;
    display: flex;
    gap: 36px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}
.artifact-frame {
    position: relative;
    width: 100%;
    background: var(--bg-elevated);
    border: 1px solid var(--rule-strong);
    aspect-ratio: 16 / 9;
    overflow: hidden;
}
.artifact-frame video,
.artifact-frame .artifact-still {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}
/* Phone-proportioned variant for the self-hosted app-preview clip. */
.artifact-frame--phone {
    aspect-ratio: 600 / 1304;
    max-width: 300px;
    margin-inline: auto;
}
/* The still image is only the prefers-reduced-motion fallback (below). */
.preview-poster .artifact-still { display: none; }
@media (prefers-reduced-motion: reduce) {
    .preview-poster .artifact-video { display: none; }
    .preview-poster .artifact-still { display: block; }
}
.artifact-frame::before {
    /* Faint corner-bracket marks — like a HUD reticle */
    content: "";
    position: absolute;
    top: 8px; left: 8px;
    width: 20px; height: 20px;
    border-top: 1px solid var(--accent);
    border-left: 1px solid var(--accent);
    pointer-events: none;
    z-index: 2;
}
.artifact-frame::after {
    content: "";
    position: absolute;
    bottom: 8px; right: 8px;
    width: 20px; height: 20px;
    border-bottom: 1px solid var(--accent);
    border-right: 1px solid var(--accent);
    pointer-events: none;
    z-index: 2;
}
/* App-preview showcase: phone + metadata on the left, description on the right. */
.showcase-media { flex: 0 0 auto; width: 300px; max-width: 100%; }
.showcase-media .artifact-meta { justify-content: center; margin: 14px 0 0; }
.showcase-text {
    flex: 1 1 300px; min-width: 260px; max-width: 460px;
    border-left: 2px solid var(--rule-strong);
    padding: 4px 0 4px 26px;
}
.showcase-label { font-family: var(--mono); font-size: 12px; letter-spacing: 2px; color: var(--accent); margin-bottom: 16px; }
.showcase-text .artifact-desc { font-size: 1rem; line-height: 1.85; color: var(--text); }
.showcase-cta {
    display: inline-block; margin-top: 18px;
    font-family: var(--mono); font-size: 13px; letter-spacing: 0.5px;
    color: var(--teal); border-bottom: 1px solid transparent;
}
.showcase-cta:hover { color: var(--accent); border-bottom-color: var(--accent); }
.artifact-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 11px;
    letter-spacing: 1.5px;
    color: var(--text-dim);
    margin-bottom: 10px;
}
.artifact-meta .artifact-id {
    color: var(--accent);
    font-weight: 700;
}
.artifact-meta .artifact-sep { color: var(--text-mute); }
.artifact-desc {
    color: var(--text);
    font-size: 0.88rem;
    line-height: 1.7;
    max-width: 680px;
}

.content-list-intro {
    margin: 26px 0 14px;
    color: var(--text-dim);
    font-size: 0.82rem;
    letter-spacing: 0.5px;
}
.content-list-intro .prompt { color: var(--accent); }

/* A few real catalog entries, laid out as a responsive grid of small cards so
   they fill the width and read as a sample gallery (not a sparse two-column
   table). */
.content-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(248px, 1fr));
    gap: 12px;
}
.content-list li {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 14px;
    border: 1px solid var(--rule-strong);
    background: var(--bg-elevated);
}
.content-list li::before { content: ""; }
.content-list .cl-id {
    color: var(--accent);
    font-weight: 700;
    letter-spacing: 0.5px;
    font-size: 11px;
}
.content-list .cl-desc {
    color: var(--text-dim);
    font-size: 0.82rem;
    line-height: 1.5;
}

/* ---------- Final conversion CTA section ---------- */

.conversion {
    text-align: center;
    padding: 60px 28px 80px;
}
.closer {
    max-width: 620px;
    margin: 0 auto 28px;
    color: var(--text);
    font-size: 0.95rem;
    line-height: 1.7;
}
.closer .prompt { color: var(--accent); }
.cta-final {
    margin: 0;
}

/* ---------- Capabilities header tweak after removing kill switch row ---------- */

.capabilities .capability:last-child {
    border-bottom: none;
}

/* ---------- Footer ---------- */

footer.bottom {
    border-top: 1px solid var(--rule);
    padding: 36px 28px 80px;
    text-align: center;
    color: var(--text-dim);
    font-size: 11px;
    line-height: 1.9;
    letter-spacing: 0.5px;
}
footer.bottom .prompt { color: var(--accent); }
footer.bottom a { color: var(--text-dim); }
footer.bottom a:hover { color: var(--accent); }
footer.bottom .legal-row {
    margin-top: 18px;
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
}
footer.bottom .legal-row a {
    border: 1px solid var(--rule-strong);
    padding: 4px 10px;
    letter-spacing: 1px;
}
footer.bottom .legal-row a:hover {
    border-color: var(--accent);
}

/* ---------- Legal pages ---------- */

article.legal {
    max-width: 760px;
    margin: 0 auto;
    padding: 60px 28px 40px;
    color: var(--text);
}

article.legal .back {
    margin-bottom: 28px;
    font-size: 12px;
    color: var(--text-dim);
}
article.legal .back a { color: var(--text-dim); }
article.legal .back a:hover { color: var(--accent); }

article.legal h1 {
    font-size: 1.6rem;
    color: var(--text);
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 6px;
    text-transform: uppercase;
}
article.legal h1::before {
    content: "// ";
    color: var(--accent);
}

article.legal .effective {
    color: var(--text-dim);
    font-size: 11px;
    letter-spacing: 1px;
    margin-bottom: 36px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--rule);
}

article.legal h2 {
    font-size: 0.95rem;
    color: var(--accent);
    margin: 36px 0 14px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}
article.legal h2::before { content: "> "; }

article.legal h3 {
    font-size: 0.9rem;
    color: var(--text);
    margin: 24px 0 8px;
    font-weight: 600;
}

article.legal p,
article.legal li {
    font-size: 0.88rem;
    line-height: 1.75;
    color: var(--text);
}
article.legal p { margin-bottom: 14px; }

article.legal ul {
    margin: 0 0 18px 24px;
    padding: 0;
}
article.legal ul li {
    margin-bottom: 8px;
    list-style: none;
    position: relative;
    padding-left: 18px;
}
article.legal ul li::before {
    content: "·";
    color: var(--accent);
    position: absolute;
    left: 0;
    font-weight: 700;
}

article.legal code {
    font-family: var(--mono);
    background: var(--bg-elevated);
    padding: 1px 5px;
    border: 1px solid var(--rule-strong);
    color: var(--accent);
    font-size: 0.85em;
}

article.legal strong {
    color: var(--text);
    font-weight: 700;
}

article.legal a {
    color: var(--accent);
    border-bottom: 1px dashed var(--accent-dim);
}
article.legal a:hover { border-bottom-style: solid; }

/* ---------- Responsive ---------- */

@media (max-width: 640px) {
    .artifact-showcase { gap: 22px; }
    .showcase-media { width: 100%; max-width: 320px; }
    .showcase-text { border-left: none; border-top: 1px solid var(--rule); padding: 20px 0 0; max-width: 440px; }
    .topbar { padding: 12px 16px; font-size: 11px; }
    .topbar .right span:not(.status-dot) { display: none; }
    .hero { padding: 24px 16px 40px; }
    .wordmark { font-size: 1.3rem; letter-spacing: 0.15rem; }
    section.block { padding: 40px 16px; }
    .capability { grid-template-columns: 70px 1fr; gap: 14px; }
    .ascii-frame { font-size: 9px; }
    .content-list { grid-template-columns: 1fr; }
    .artifact-meta { font-size: 10px; gap: 6px; }
    .shots { grid-template-columns: repeat(2, 1fr) !important; }
    .browse-grid { grid-template-columns: 1fr !important; }
    .page-head { padding: 50px 16px 24px; }
    .page-head h1 { font-size: 1.35rem !important; }
    .topic-body { padding: 10px 16px 20px; }
}

/* ---------- App preview poster (placeholder) ---------- */

.preview-poster { position: relative; display: block; width: 100%; height: 100%; }
.preview-poster img { width: 100%; height: 100%; object-fit: cover; display: block; }
.play-badge {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 78px; height: 78px; border-radius: 50%;
    border: 2px solid var(--text); color: var(--text);
    font-size: 26px; display: grid; place-items: center;
    background: rgba(0, 0, 0, 0.45); z-index: 3; transition: border-color .15s, color .15s;
}
.preview-poster:hover .play-badge { border-color: var(--accent); color: var(--accent); }

/* "Footage locked" teaser — a stylized IR/sensor placeholder that drives to the
   App Store. We never embed the moving clip here; the still teases, the app
   delivers motion. Used on the sensor-footage / Navy-video articles. */
.footage {
    position: relative; display: block; aspect-ratio: 16 / 9;
    max-width: 560px; margin: 8px auto 4px;
    border: 1px solid var(--rule-strong); overflow: hidden; text-decoration: none;
    background:
        repeating-linear-gradient(0deg, rgba(102,209,214,0.06) 0 1px, transparent 1px 4px),
        radial-gradient(130% 95% at 50% 22%, rgba(40,90,120,0.5) 0%, rgba(10,14,26,0.97) 72%),
        var(--bg-elevated);
    transition: border-color .15s;
}
.footage::before, .footage::after { content: ""; position: absolute; width: 22px; height: 22px; z-index: 2; pointer-events: none; }
.footage::before { top: 9px; left: 9px; border-top: 1px solid var(--teal); border-left: 1px solid var(--teal); }
.footage::after  { bottom: 9px; right: 9px; border-bottom: 1px solid var(--teal); border-right: 1px solid var(--teal); }
.footage .desig { position: absolute; top: 11px; left: 14px; z-index: 2; font-family: var(--mono); font-size: 11px; letter-spacing: 1px; color: var(--teal); opacity: 0.85; }
.footage .desig-tech { color: var(--text-dim); }
.footage .watch-label { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 28px 12px 12px; text-align: center; font-family: var(--mono); font-size: 12px; letter-spacing: 1.5px; color: var(--text); background: linear-gradient(transparent, rgba(0,0,0,0.7)); }
.footage .watch-label b { color: var(--accent); font-weight: 600; }
.footage-frame { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; display: block; }
.footage-still { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; display: none; }
@media (prefers-reduced-motion: reduce) { .footage video.footage-frame { display: none; } .footage .footage-still { display: block; } }
.footage-scrim { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(102,209,214,0.05) 0 1px, transparent 1px 4px), linear-gradient(180deg, rgba(8,12,22,0.5) 0%, rgba(8,12,22,0) 24%, rgba(8,12,22,0) 56%, rgba(8,12,22,0.55) 100%); }
.footage .play-badge { transition: border-color .15s, color .15s, transform .15s; }
.footage:hover { border-color: var(--teal); }
.footage:hover .play-badge { border-color: var(--accent); color: var(--accent); transform: translate(-50%, -50%) scale(1.06); }
@media (prefers-reduced-motion: reduce) { .footage:hover .play-badge { transform: translate(-50%, -50%); } }

/* ---------- Screenshots strip ---------- */

.shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 8px; }
.shots img {
    width: 100%; height: auto; display: block;
    border: 1px solid var(--rule-strong); border-radius: 22px; background: #000;
}

/* ---------- Browse the archive (internal-link cards) ---------- */

.browse-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 8px; }
.browse-card {
    display: block; border: 1px solid var(--rule-strong);
    padding: 18px; color: var(--text); background: var(--bg-elevated);
    transition: border-color .15s; overflow: hidden;
}
.browse-card:hover { border-color: var(--accent); }
.browse-card .bc-id { color: var(--accent); font-size: 11px; letter-spacing: 1.5px; font-weight: 700; }
.browse-card h3 { font-size: 0.95rem; margin: 8px 0 6px; color: var(--text); font-weight: 700; }
.browse-card p { font-size: 0.8rem; color: var(--text-dim); line-height: 1.6; }
.browse-card .bc-count { display: block; color: var(--ok); font-size: 11px; margin-top: 10px; letter-spacing: 1px; }

/* Browse-card thumbnail strip — a compact IR/scanline band that breaks up the
   text. Negative margins bleed it to the card edges; the card keeps its 18px
   padding for the text below. Video cards (Notable Files) get a play glyph. */
.bc-thumb {
    display: block; height: 96px; margin: -18px -18px 14px;
    border-bottom: 1px solid var(--rule-strong); position: relative;
    background:
        repeating-linear-gradient(0deg, rgba(102,209,214,0.06) 0 1px, transparent 1px 4px),
        radial-gradient(120% 150% at 50% -20%, rgba(40,90,120,0.5) 0%, rgba(10,14,26,0.92) 72%);
}
.bc-thumb::before {
    content: ""; position: absolute; top: 7px; left: 8px; width: 14px; height: 14px;
    border-top: 1px solid var(--teal); border-left: 1px solid var(--teal); opacity: .55;
}
.browse-card--video .bc-thumb::after {
    content: "\25B6"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--text);
    color: var(--text); font-size: 10px; display: grid; place-items: center;
    background: rgba(0, 0, 0, 0.45); transition: border-color .15s, color .15s;
}
.browse-card--video:hover .bc-thumb::after { border-color: var(--accent); color: var(--accent); }

/* Disclosure / testimony cards — a "redacted dossier" band instead of the IR
   strip: faint ruled-transcript lines with blacked-out redaction bars, so the
   people/hearing cards read as personnel files rather than sensor footage. */
.browse-card--dossier .bc-thumb {
    background:
        repeating-linear-gradient(0deg, rgba(102,209,214,0.05) 0 1px, transparent 1px 12px),
        linear-gradient(180deg, rgba(45,53,97,0.40) 0%, rgba(10,14,26,0.94) 90%);
}
.browse-card--dossier .bc-thumb::after {
    content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .9;
    background:
        linear-gradient(90deg, #05070c 0 42%, transparent 42%) 0 20px / 100% 8px no-repeat,
        linear-gradient(90deg, transparent 0 14%, #05070c 14% 70%, transparent 70%) 0 38px / 100% 8px no-repeat,
        linear-gradient(90deg, #05070c 0 30%, transparent 30%) 0 56px / 100% 8px no-repeat,
        linear-gradient(90deg, transparent 0 10%, #05070c 10% 52%, transparent 52%) 0 74px / 100% 8px no-repeat;
}
.browse-card--dossier:hover .bc-thumb { border-bottom-color: var(--teal); }


/* FAQ — native expandable accordion (was a wall of text). */
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
    cursor: pointer; list-style: none; padding: 15px 0;
    font-size: 0.95rem; color: var(--text); font-weight: 600;
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    transition: color .15s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--teal); font-size: 20px; font-weight: 400; flex: none; }
.faq details[open] summary::after { content: "\2212"; color: var(--accent); }
.faq summary:hover { color: var(--accent); }
.faq details p { margin: 0; padding: 0 0 16px; color: var(--text-dim); font-size: 0.85rem; line-height: 1.7; max-width: 72ch; }

/* ---------- Topic / agency content pages ---------- */

.page-head { padding: 70px 28px 26px; max-width: 860px; margin: 0 auto; }
.crumb { font-size: 11px; color: var(--text-dim); letter-spacing: 1px; margin-bottom: 22px; }
.crumb a { color: var(--text-dim); }
.crumb a:hover { color: var(--accent); }
.crumb .sep { color: var(--text-mute); margin: 0 7px; }
.page-head h1 { font-size: 1.95rem; letter-spacing: 1px; line-height: 1.2; margin-bottom: 14px; color: var(--text); font-weight: 700; }
.page-head h1::before { content: "// "; color: var(--accent); }
.page-head .lede { font-size: 0.95rem; line-height: 1.75; color: var(--text); max-width: 720px; }
.topic-body { max-width: 860px; margin: 0 auto; padding: 8px 28px 10px; }
.topic-body h2 { font-size: 0.98rem; color: var(--accent); letter-spacing: 1.5px; text-transform: uppercase; margin: 42px 0 14px; }
.topic-body h2::before { content: "> "; }
.topic-body p { font-size: 0.9rem; line-height: 1.8; color: var(--text); margin-bottom: 16px; max-width: 720px; }
.topic-body strong { color: var(--text); font-weight: 700; }
.tagrow { margin: 6px 0 8px; }
.tagchip { display: inline-block; border: 1px solid var(--rule-strong); color: var(--accent); font-size: 10px; letter-spacing: 1px; padding: 3px 8px; margin: 0 6px 6px 0; }
.midcta { text-align: center; padding: 44px 28px; }
.related { max-width: 860px; margin: 0 auto; padding: 16px 28px 0; }
}
