/* ============================================================================
   PRODUCT DEEP PAGE CHROME - 2026-05-28 BUILD_SPEC_2
   ----------------------------------------------------------------------------
   Per-product themed deep page. Body wears the theme; nav and footer are
   pinned to parent ThreatTape identity (forced overrides below). The .pd-*
   classes are the deep-page-specific layout chrome.
   ============================================================================ */

/* Force the nav and footer to keep parent identity regardless of body theme. */
.pd-body .cc-nav {
    background: var(--tt-ink-0) !important;
    border-bottom: 3px solid var(--tt-caution) !important;
    color: var(--tt-bone-1) !important;
}
.pd-body .cc-nav__logo {
    color: var(--tt-bone-0) !important;
    font-family: 'Anton', sans-serif !important;
}
.pd-body .cc-nav__cta {
    background: var(--tt-caution) !important;
    color: var(--tt-ink-0) !important;
    font-family: 'Big Shoulders Stencil Display', sans-serif !important;
}
.pd-body .cc-foot {
    background: var(--tt-ink-0) !important;
    border-top: 3px solid var(--tt-caution) !important;
    color: var(--tt-bone-1) !important;
}
.pd-body .cc-foot__copy,
.pd-body .cc-foot__creds {
    font-family: 'Nunito', system-ui, sans-serif !important;
}
.pd-body .cc-index {
    /* Side index always parent identity; tape colors are per-tab, not theme. */
    color: var(--tt-bone-0);
}
.pd-body .cc-index__tab {
    background: #f4f1ea !important;
    color: #08070a !important;
    font-family: 'IBM Plex Mono', ui-monospace, monospace !important;
}
.pd-body .cc-index__tab.is-active,
.pd-body .cc-index__tab[aria-current="page"] {
    background: #ffffff !important;
}
.pd-body .cc-mobile-nav {
    color: var(--tt-bone-0);
}
.pd-body .cc-mobile-nav__tab {
    background: #f4f1ea !important;
    color: #08070a !important;
    font-family: 'IBM Plex Mono', ui-monospace, monospace !important;
}

/* Page-level layout matches the side index gutter so deep pages line up with
   the rest of the IA. */
.pd-page {
    min-height: calc(100vh - 78px);
    padding: clamp(2.5rem, 4.5vw, 4rem) clamp(1rem, 4vw, 3rem) clamp(3rem, 6vw, 5rem);
    background: var(--pt-bg, #08070a);
    color: var(--pt-ink, #f0e8d8);
    display: flex;
    align-items: flex-start;
    justify-content: center;
}
@media (min-width: 901px) {
    .pd-page { padding-left: 250px; }
}

.pd-shell {
    width: 100%;
    max-width: 60rem;
    margin: 0 auto;
    background: var(--pt-surface, #14181f);
    color: var(--pt-ink, #f0e8d8);
    padding: clamp(2rem, 4vw, 3.5rem) clamp(1.5rem, 3.5vw, 3rem);
    box-shadow:
        0 12px 28px rgba(0, 0, 0, 0.32),
        0 28px 60px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Back-link breadcrumb */
.pd-back {
    font-family: 'IBM Plex Mono', ui-monospace, monospace;
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--pt-ink-muted, rgba(240, 232, 216, 0.55));
    margin: 0 0 1.5rem;
}
.pd-back a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px dashed currentColor;
}
.pd-back a:hover { color: var(--pt-accent, var(--tt-caution)); }

/* Hero */
.pd-title {
    font-family: var(--pt-display-font, 'Big Shoulders Stencil Display'), sans-serif;
    font-weight: 800;
    font-size: clamp(2.6rem, 6vw, 4.25rem);
    color: var(--pt-ink, #ffffff);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1;
    margin: 0 0 0.5rem;
}
.pd-tag {
    font-family: var(--pt-body-font, 'Newsreader', Georgia, serif);
    font-size: clamp(1.1rem, 1.8vw, 1.45rem);
    font-weight: 500;
    line-height: 1.4;
    color: var(--pt-accent, var(--tt-caution));
    margin: 0 0 2rem;
    max-width: 56ch;
}

/* Body prose */
.pd-body-prose {
    font-family: var(--pt-body-font, 'Newsreader', Georgia, serif);
    color: var(--pt-ink-dim, var(--pt-ink, #f0e8d8));
}
.pd-body-prose p {
    font-size: clamp(1.05rem, 1.4vw, 1.18rem);
    line-height: 1.65;
    margin: 0 0 1.2rem;
    color: inherit;
}
.pd-body-prose p:last-child { margin-bottom: 0; }
.pd-body-prose strong {
    color: var(--pt-ink, #ffffff);
    font-weight: 700;
}
.pd-body-prose a {
    color: var(--pt-accent, var(--tt-caution));
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* CTA row at the bottom */
.pd-cta-row {
    margin: 2.5rem 0 0;
    display: flex;
    justify-content: flex-start;
}
.pd-cta__btn {
    background: var(--pt-accent, var(--tt-caution));
    color: var(--pt-bg, var(--tt-ink-0));
    border-color: var(--pt-bg, var(--tt-ink-0));
}

/* Vector Death hero (uses supplied SVG wordmark) */
.pd-vd-hero {
    margin: 0 0 2rem;
}
.pd-vd-wordmark {
    display: block;
    width: 100%;
    max-width: 30rem;
    height: auto;
    margin: 0 0 1rem;
}
.pd-vd-hero .pd-tag {
    margin-top: 0;
}
