/* Page-local styles extracted from landing/use_cases.html */

/* =====================================================================
   USE CASES — "DOSSIER" REDESIGN
     1. Metadata strip + hairline section header
     2. Diptych: ledger stat + pull-quote (no cards)
     3. Document artifact (rotated, per-doc-type)
     4. Numbered capability list (table-of-contents feel)
     5. Sticky horizontal picker
   ===================================================================== */

/* ---- Section rhythm ---------------------------------------------- */
.usecase-panel {
    /* matches nav (72) + sticky picker (~64) so section tops align
       flush with the bottom of the stuck picker when clicked */
    scroll-margin-top: 136px;
    position: relative;
    overflow: hidden;
}
.usecase-panel + .usecase-panel {
    border-top: 1px solid var(--rule);
}
/* Inside padding: top padding matches the sticky bar's own py-3 (12px)
   so the space inside the bar mirrors the gap right below it. */
.usecase-panel-inner {
    padding-top: 3rem;     /* 48px above meta strip */
    padding-bottom: 4rem;
}
@media (min-width: 768px) {
    .usecase-panel-inner {
        padding-top: 4rem;     /* 64px above meta strip on desktop */
        padding-bottom: 6rem;
    }
}
.usecase-panel-last { padding-bottom: 5rem; }
@media (min-width: 768px) {
    .usecase-panel-last { padding-bottom: 7rem; }
}

.usecase-panel > .max-w-6xl {
    position: relative;
    z-index: 1;
}

/* ---- Chapter numerals (decorative watermark, left) --------------- */
.usecase-chapter-num {
    position: absolute;
    left: 1rem;
    top: 1.5rem;
    pointer-events: none;
    user-select: none;
    font-family: Georgia, 'Times New Roman', ui-serif, serif;
    font-style: italic;
    font-weight: 400;
    font-size: clamp(4.5rem, 14vw, 9rem);
    line-height: 1;
    color: rgba(15, 61, 46, 0.10);
    z-index: 0;
}
@media (min-width: 640px) { .usecase-chapter-num { left: 2.5rem; } }
.usecase-panel.bg-bone .usecase-chapter-num { color: rgba(15, 61, 46, 0.12); }

/* ---- 1. Metadata strip (section header) --------------------------- */
.dossier-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--stone);
}
.dossier-meta::before {
    content: "";
    display: inline-block;
    width: 28px;
    height: 1px;
    background: var(--stone);
    opacity: 0.5;
}
.dossier-meta-sep {
    opacity: 0.4;
}

/* ---- 2. Spec sheet + pitfalls diptych ---------------------------- */
.dossier-diptych {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 32px;
    padding-top: 28px;
    border-top: 1px solid var(--rule);
}
@media (min-width: 640px) {
    .dossier-diptych {
        grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
        gap: 44px;
    }
    .dossier-diptych > .dossier-pitfalls {
        padding-left: 44px;
        border-left: 1px solid var(--rule);
    }
}

/* Spec sheet (left) — "At a glance" dry facts, label / value rows */
.dossier-spec-title {
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--stone);
    padding-bottom: 12px;
    border-bottom: 1px solid var(--rule);
}
.dossier-spec-row {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 18px;
    padding: 10px 0;
    border-bottom: 1px dashed var(--rule);
    align-items: baseline;
}
.dossier-spec-row:last-child {
    border-bottom: none;
}
.dossier-spec-field {
    font-family: 'Inter', sans-serif;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--stone);
}
.dossier-spec-value {
    font-family: Georgia, 'Times New Roman', ui-serif, serif;
    font-size: 15px;
    line-height: 1.35;
    color: var(--ink);
}
.dossier-spec-value em {
    font-style: italic;
    color: var(--forest);
}

/* Pitfalls (right) — "Why it's hard" short numbered list */
.dossier-pitfalls-title {
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--stone);
    padding-bottom: 12px;
    border-bottom: 1px solid var(--rule);
}
.dossier-pitfalls-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.dossier-pitfalls-item {
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px dashed var(--rule);
    align-items: baseline;
}
.dossier-pitfalls-item:last-child {
    border-bottom: none;
}
.dossier-pitfalls-num {
    font-family: Georgia, 'Times New Roman', ui-serif, serif;
    font-style: italic;
    font-size: 16px;
    color: var(--forest);
    opacity: 0.7;
    line-height: 1;
}
.dossier-pitfalls-text {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    line-height: 1.5;
    color: var(--ink);
}
.dossier-pitfalls-text strong {
    font-weight: 600;
    color: var(--ink);
}

/* ---- 3. Two-column body: narrative + artifact ------------------- */
.dossier-body {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: start;
}
@media (min-width: 1024px) {
    .dossier-body {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 64px;
    }
    .usecase-panel[data-flip="true"] .dossier-body {
        direction: rtl;
    }
    .usecase-panel[data-flip="true"] .dossier-body > * {
        direction: ltr;
    }
}

/* ---- 4. "The Stepscale Way" banner (forest + gold) ---------------
   Full-width banner card that sits below the two-column body. The
   modern counterpart to the nostalgic "OLD WAY" callout. Compact
   strip on narrow viewports, expands to a headline + 4-step
   description grid on wide viewports. */
.stepscale-way {
    position: relative;
    margin-top: 56px;
    padding: 32px 28px;
    background:
        radial-gradient(ellipse at 85% 0%, rgba(217, 164, 65, 0.18) 0%, transparent 55%),
        radial-gradient(ellipse at 0% 100%, rgba(217, 164, 65, 0.08) 0%, transparent 50%),
        var(--forest);
    border-radius: 16px;
    overflow: hidden;
    box-shadow:
        inset 0 1px 0 rgba(232, 217, 184, 0.12),
        0 2px 4px rgba(15, 61, 46, 0.15),
        0 18px 48px -20px rgba(15, 61, 46, 0.4);
}
@media (min-width: 768px) {
    .stepscale-way {
        padding: 40px 44px;
        border-radius: 20px;
    }
}
@media (min-width: 1024px) {
    .stepscale-way {
        padding: 44px 48px;
    }
}
/* Fine gold hairline along the top */
.stepscale-way::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(217, 164, 65, 0.55) 15%,
        rgba(217, 164, 65, 0.55) 85%,
        transparent 100%);
}

/* Gold tag label */
.stepscale-way-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 12px 4px;
    border: 1px solid rgba(217, 164, 65, 0.55);
    border-radius: 9999px;
    font-family: 'Inter', sans-serif;
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: #D9A441;
}
.stepscale-way-tag::before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 9999px;
    background: #D9A441;
    box-shadow: 0 0 0 3px rgba(217, 164, 65, 0.18);
}

/* Banner headline */
.stepscale-way-head {
    margin: 16px 0 0;
    font-family: Georgia, 'Times New Roman', ui-serif, serif;
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    line-height: 1.18;
    letter-spacing: -0.015em;
    color: #F4EFE6;
    font-weight: 400;
    max-width: 40ch;
}
.stepscale-way-head em {
    font-style: italic;
    color: #E8C584;
}

/* Step grid: 2-col on small, 4-col on large. Same grid mechanics at
   every breakpoint so dots/alignment never break across wrapping. */
.stepscale-way-steps {
    margin: 22px 0 0;
    padding: 18px 0 0;
    border-top: 1px solid rgba(232, 217, 184, 0.14);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 18px;
    align-items: start;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}
@media (min-width: 768px) {
    .stepscale-way-steps {
        margin-top: 28px;
        padding-top: 22px;
        gap: 24px 32px;
        text-transform: none;
        letter-spacing: 0;
        font-size: 12px;
    }
}
@media (min-width: 1024px) {
    .stepscale-way-steps {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 0;
    }
}

/* Each step is a 2-row internal grid at every breakpoint so num/verb
   share row 1 and the description sits on row 2 (hidden on the
   compact strip via .stepscale-way-step-text). */
.stepscale-way-step {
    color: #F4EFE6;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    column-gap: 10px;
    row-gap: 6px;
    align-content: start;
}
.stepscale-way-step-num {
    grid-row: 1;
    grid-column: 1;
    font-family: Georgia, 'Times New Roman', ui-serif, serif;
    font-style: italic;
    font-weight: 400;
    font-size: 13px;
    letter-spacing: 0;
    color: #D9A441;
    text-transform: none;
    opacity: 0.85;
}
.stepscale-way-step-verb {
    grid-row: 1;
    grid-column: 2;
    align-self: center;
}
.stepscale-way-step-text {
    /* Hidden on the compact strip, revealed at 768px+ */
    display: none;
}

/* Wide layout: row 1 = num + verb inline, row 2 = description.
   Headers sit on the same top line; descriptions all start on the
   same second line regardless of wrapping. */
@media (min-width: 768px) {
    .stepscale-way-step-num {
        align-self: baseline;
        font-size: 20px;
        line-height: 1;
        opacity: 0.95;
    }
    .stepscale-way-step-verb {
        align-self: baseline;
        font-family: 'Inter', sans-serif;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.2em;
        text-transform: uppercase;
        color: #F4EFE6;
    }
    .stepscale-way-step-text {
        display: block;
        grid-row: 2;
        grid-column: 1 / -1; /* span full width on row 2 */
        font-family: 'Inter', sans-serif;
        font-size: 13px;
        font-weight: 400;
        line-height: 1.55;
        letter-spacing: 0;
        text-transform: none;
        color: rgba(244, 239, 230, 0.72);
    }
}
@media (min-width: 1024px) {
    /* Column dividers: three vertical hairlines at 25%, 50%, 75%
       of the steps container, full-height regardless of per-step
       content height. */
    .stepscale-way-steps {
        position: relative;
    }
    .stepscale-way-steps::before {
        content: "";
        position: absolute;
        top: 22px;    /* matches .stepscale-way-steps padding-top */
        bottom: 0;
        left: 0;
        right: 0;
        pointer-events: none;
        background-image:
            linear-gradient(to bottom, rgba(232, 217, 184, 0.14), rgba(232, 217, 184, 0.14));
        background-repeat: no-repeat;
        background-size: 1px 100%;
        background-position:
            25% 0,
            50% 0,
            75% 0;
        /* Three stacked 1px backgrounds via background-image shorthand */
        background-image:
            linear-gradient(to bottom, rgba(232, 217, 184, 0.14), rgba(232, 217, 184, 0.14)),
            linear-gradient(to bottom, rgba(232, 217, 184, 0.14), rgba(232, 217, 184, 0.14)),
            linear-gradient(to bottom, rgba(232, 217, 184, 0.14), rgba(232, 217, 184, 0.14));
        background-size: 1px 100%, 1px 100%, 1px 100%;
        background-position: 25% 0, 50% 0, 75% 0;
    }
    .stepscale-way-step {
        padding: 0 20px;
    }
    .stepscale-way-step:first-child {
        padding-left: 0;
    }
}

/* ---- 5. Document artifact (the "paper on a desk") -------------- */
.artifact-wrap {
    position: relative;
    padding: 20px 0;
}
@media (min-width: 1024px) {
    .artifact-wrap {
        position: sticky;
        top: 7rem;
        padding: 0;
    }
}
.artifact {
    position: relative;
    background: #FFFFFF;
    border: 1px solid var(--rule);
    border-radius: 4px;
    padding: 28px 28px 32px;
    box-shadow:
        0 1px 2px rgba(15, 61, 46, 0.04),
        0 12px 32px -12px rgba(15, 61, 46, 0.14),
        0 24px 60px -24px rgba(15, 61, 46, 0.18);
    transform: rotate(-1.2deg);
    transform-origin: center center;
    transition: transform 500ms cubic-bezier(0.22, 1, 0.36, 1);
}
.usecase-panel[data-flip="true"] .artifact {
    transform: rotate(1.2deg);
}
@media (hover: hover) {
    .artifact:hover {
        transform: rotate(0deg) translateY(-2px);
    }
}
.usecase-panel.bg-bone .artifact {
    background: var(--paper);
}
/* Tape/clip decoration */
.artifact::before {
    content: "";
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%) rotate(-2deg);
    width: 68px;
    height: 16px;
    background: rgba(239, 230, 210, 0.85);
    border: 1px solid rgba(15, 61, 46, 0.06);
    border-radius: 1px;
}

.artifact-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--rule);
}
.artifact-stamp {
    font-family: 'Inter', sans-serif;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--stone);
}
.artifact-stamp-id {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 9px;
    color: var(--stone);
    opacity: 0.7;
}
.artifact-title {
    font-family: Georgia, 'Times New Roman', ui-serif, serif;
    font-size: 20px;
    line-height: 1.2;
    color: var(--ink);
    margin: 14px 0 4px;
}
.artifact-title em {
    color: var(--forest);
    font-style: italic;
}
.artifact-sub {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    color: var(--stone);
    margin-bottom: 16px;
}

.artifact-row {
    display: grid;
    grid-template-columns: 88px 1fr;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px dashed var(--rule);
    align-items: center;
}
.artifact-row:last-of-type {
    border-bottom: none;
}
.artifact-field {
    font-family: 'Inter', sans-serif;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--stone);
}
.artifact-value {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: var(--ink);
}
.artifact-value.mono {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 11px;
}

/* Redacted / filled bars */
.artifact-bar {
    display: block;
    height: 8px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--rule) 0%, var(--rule) 100%);
}
.artifact-bar + .artifact-bar {
    margin-top: 6px;
}
.artifact-bar.w-90 { width: 90%; }
.artifact-bar.w-75 { width: 75%; }
.artifact-bar.w-60 { width: 60%; }
.artifact-bar.w-45 { width: 45%; }
.artifact-bar.filled {
    background: linear-gradient(90deg, rgba(15, 61, 46, 0.12) 0%, rgba(15, 61, 46, 0.04) 100%);
}

/* Compliance matrix (RFP) */
.artifact-matrix {
    display: grid;
    grid-template-columns: 1fr 36px 36px 36px;
    gap: 0;
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    margin-top: 10px;
}
.artifact-matrix-head {
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--stone);
    font-size: 8px;
    padding: 6px 4px;
    border-bottom: 1px solid var(--rule);
    text-align: center;
}
.artifact-matrix-head:first-child { text-align: left; }
.artifact-matrix-cell {
    padding: 8px 4px;
    border-bottom: 1px dashed var(--rule);
    font-size: 10px;
    color: var(--ink);
}
.artifact-matrix-cell.center { text-align: center; color: var(--stone); }
.artifact-matrix-check {
    color: var(--forest);
    font-weight: 700;
}

/* ===== "Old way" callout — vintage dossier page =====================
   Sits beneath each artifact. Styled like an aged manila file page
   from a pre-software bid room: sepia paper, typed body copy,
   hand-set broadsheet headline, and a red rubber stamp in the
   corner. Deliberately nostalgic — represents the world Stepscale
   replaces. */
.artifact-note {
    position: relative;
    margin-top: 32px;
    padding: 30px 32px 32px;
    /* Aged-paper base: warm cream with a soft sepia vignette */
    background:
        radial-gradient(ellipse at 20% 10%, rgba(139, 94, 52, 0.05) 0%, transparent 60%),
        radial-gradient(ellipse at 85% 90%, rgba(139, 94, 52, 0.08) 0%, transparent 55%),
        #EFE6D2;
    color: #3A2E1F;
    border: 1px solid #C8B89A;
    border-radius: 2px;
    overflow: hidden;
    box-shadow:
        inset 0 0 0 1px rgba(255, 252, 245, 0.4),
        inset 0 -40px 80px -40px rgba(139, 94, 52, 0.15),
        0 1px 2px rgba(58, 46, 31, 0.08),
        0 12px 28px -16px rgba(58, 46, 31, 0.25);
}
@media (min-width: 768px) {
    .artifact-note {
        padding: 40px 48px 44px;
    }
}
/* Subtle paper-grain speckle via layered radial dots */
.artifact-note::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(rgba(139, 94, 52, 0.10) 1px, transparent 1.2px),
        radial-gradient(rgba(139, 94, 52, 0.06) 1px, transparent 1.2px);
    background-size: 7px 7px, 13px 13px;
    background-position: 0 0, 3px 5px;
    opacity: 0.6;
    mix-blend-mode: multiply;
    pointer-events: none;
}
/* Coffee-ring / aged stain in the upper-right corner */
.artifact-note::after {
    content: "";
    position: absolute;
    top: -30px;
    right: 24px;
    width: 110px;
    height: 110px;
    border-radius: 9999px;
    border: 2px solid rgba(139, 94, 52, 0.18);
    box-shadow:
        inset 0 0 20px rgba(139, 94, 52, 0.08),
        0 0 0 6px rgba(139, 94, 52, 0.04);
    transform: rotate(-8deg);
    pointer-events: none;
}

/* Red rubber ink stamp — "THE OLD WAY" */
.artifact-note-label {
    display: inline-block;
    padding: 8px 14px 7px;
    font-family: 'Courier New', 'IBM Plex Mono', Courier, monospace;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #8B2A1F;
    border: 2px solid #8B2A1F;
    border-radius: 2px;
    transform: rotate(-3deg);
    /* Faded, uneven ink look via layered shadow */
    background: transparent;
    box-shadow:
        inset 0 0 0 1px rgba(139, 42, 31, 0.15);
    opacity: 0.88;
    position: relative;
    z-index: 1;
    /* Slight smudge: soft outer glow mimics ink bleed into paper */
    filter: drop-shadow(0 0 1px rgba(139, 42, 31, 0.35));
}
/* Headline — hand-set broadsheet serif */
.artifact-note-head {
    margin: 22px 0 0;
    font-family: Georgia, 'Times New Roman', ui-serif, serif;
    font-size: clamp(1.5rem, 2.6vw, 1.875rem);
    line-height: 1.2;
    letter-spacing: -0.005em;
    color: #2B1F14;
    font-weight: 400;
    /* Double-rule underline, newspaper-dateline style */
    padding-bottom: 16px;
    border-bottom: 3px double #8B6E4A;
    position: relative;
    z-index: 1;
}
.artifact-note-head em {
    font-style: italic;
    color: #6B4A2B;
}
/* Body copy — typewriter monospace */
.artifact-note-sub {
    margin: 16px 0 0;
    font-family: 'Courier New', 'IBM Plex Mono', Courier, monospace;
    font-size: 12.5px;
    line-height: 1.75;
    color: #4A3A28;
    position: relative;
    z-index: 1;
    max-width: 54ch;
}
/* Leading typewriter-style bracket on body copy */
.artifact-note-sub::before {
    content: "— ";
    color: #8B6E4A;
}

/* Tender list rows */
.artifact-listing {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px dashed var(--rule);
    align-items: center;
}
.artifact-listing:last-child { border-bottom: none; }
.artifact-listing-title {
    font-family: Georgia, 'Times New Roman', ui-serif, serif;
    font-size: 13px;
    color: var(--ink);
    line-height: 1.3;
}
.artifact-listing-meta {
    font-family: 'Inter', sans-serif;
    font-size: 9px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--stone);
    margin-top: 3px;
}
.artifact-fit {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 10px;
    color: var(--forest);
    background: rgba(15, 61, 46, 0.07);
    padding: 3px 6px;
    border-radius: 2px;
    white-space: nowrap;
}

/* ---- 6. Sticky horizontal pill nav (matches product_section) ---- */
.usecases-nav-row {
    display: flex;
    width: 100%;
    justify-content: flex-start;
}
.product-tabs {
    display: inline-flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 1px;
    width: max-content;
    max-width: 100%;
    box-sizing: border-box;
    padding: 3px;
    background: var(--bone);
    border: 1px solid var(--rule);
    border-radius: 9999px;
    box-shadow:
        0 1px 2px rgba(15, 61, 46, 0.05),
        0 4px 12px -4px rgba(15, 61, 46, 0.08);
    transition:
        background-color 200ms ease,
        box-shadow 200ms ease,
        transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
@media (prefers-reduced-motion: reduce) {
    .product-tabs {
        transition:
            background-color 200ms ease,
            box-shadow 200ms ease;
    }
}
.product-tab {
    flex: 0 1 auto;
    padding: 6px 8px;
    border-radius: 9999px;
    border: 1px solid transparent;
    background: transparent;
    color: var(--stone);
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 400;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: background-color 200ms ease, color 200ms ease, box-shadow 200ms ease;
    white-space: nowrap;
}
@media (min-width: 480px) {
    .product-tabs { gap: 2px; padding: 4px; }
    .product-tab { padding: 8px 12px; font-size: 12px; }
}
@media (min-width: 768px) {
    .product-tab { padding: 9px 14px; font-size: 13px; }
}
@media (hover: hover) {
    .product-tab:not(.is-active):hover { color: var(--ink); }
}
.product-tab.is-active {
    background: #ffffff;
    color: var(--ink);
    font-weight: 600;
    box-shadow: 0 1px 4px rgba(15, 61, 46, 0.10);
}

/* ---- Hero dossier index (table-of-contents card) ---------------- */
.hero-index {
    background: #FFFFFF;
    border: 1px solid var(--rule);
    border-radius: 4px;
    padding: 22px 24px 10px;
    box-shadow:
        0 1px 2px rgba(15, 61, 46, 0.04),
        0 14px 34px -16px rgba(15, 61, 46, 0.18);
    position: relative;
}
.hero-index::before {
    content: "";
    position: absolute;
    top: -8px;
    left: 36px;
    width: 64px;
    height: 14px;
    background: rgba(239, 230, 210, 0.9);
    border: 1px solid rgba(15, 61, 46, 0.06);
    border-radius: 1px;
    transform: rotate(-2deg);
}
.hero-index-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--rule);
}
.hero-index-eyebrow {
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--stone);
}
.hero-index-count {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 10px;
    color: var(--stone);
    opacity: 0.75;
}
.hero-index-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.hero-index-list li + li {
    border-top: 1px dashed var(--rule);
}
.hero-index-list a {
    display: grid;
    grid-template-columns: 32px 60px 1fr;
    align-items: baseline;
    gap: 12px;
    padding: 11px 0;
    text-decoration: none;
    transition: padding-left 240ms cubic-bezier(0.22, 1, 0.36, 1), color 200ms ease;
}
@media (hover: hover) {
    .hero-index-list a:hover {
        padding-left: 6px;
    }
    .hero-index-list a:hover .full {
        color: var(--ink);
    }
    .hero-index-list a:hover .num {
        opacity: 1;
    }
}
.hero-index-list .num {
    font-family: Georgia, 'Times New Roman', ui-serif, serif;
    font-style: italic;
    font-size: 14px;
    color: var(--forest);
    opacity: 0.55;
    line-height: 1;
    transition: opacity 200ms ease;
}
.hero-index-list .abbr {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink);
}
.hero-index-list .full {
    font-family: Georgia, 'Times New Roman', ui-serif, serif;
    font-style: italic;
    font-size: 13px;
    color: var(--stone);
    transition: color 200ms ease;
}
    
