/* cop2.css — Epilogue page, uses site-wide CSS variables from theme.css */

.cop2-root {
    --page-accent: #c08642;
}

/* ─── Page intro ──────────────────────────────────────────── */
.cop2-intro {
    display: grid;
    gap: 12px;
    max-width: 720px;
    margin-bottom: 32px;
}

.cop2-eyebrow {
    margin: 0;
    color: var(--page-accent);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.cop2-title {
    margin: 0;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(3rem, 7vw, 5.8rem);
    font-weight: 600;
    line-height: 0.92;
    letter-spacing: 0;
    color: var(--paper);
}

.cop2-lede {
    margin: 0;
    max-width: 44ch;
    color: var(--paper-soft);
    font-size: 1.05rem;
    line-height: 1.5;
}

/* ─── Layout ──────────────────────────────────────────────── */
.cop2-layout {
    display: grid;
    gap: 18px;
}

.cop2-split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

/* ─── Cards ───────────────────────────────────────────────── */
.cop2-card {
    display: grid;
    align-content: start;
    gap: 22px;
    padding: clamp(22px, 3vw, 36px);
    border: 1px solid var(--line);
    border-radius: var(--radius, 22px);
    background: var(--glass-bg, rgba(255,255,255,0.02));
    box-shadow: var(--shadow);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

/* Alt card — slightly warmer tone */
.cop2-card--alt {
    background: rgba(192, 134, 66, 0.04);
    border-color: rgba(192, 134, 66, 0.18);
}

/* Essay card */
.cop2-card--essay {
    background: var(--glass-bg, rgba(255,255,255,0.02));
}

/* ─── Card header ─────────────────────────────────────────── */
.cop2-card__head {
    display: grid;
    gap: 8px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
}

.cop2-card__eyebrow {
    margin: 0;
    color: var(--page-accent);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.cop2-card__title {
    margin: 0;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    font-weight: 600;
    line-height: 0.96;
    letter-spacing: 0;
    color: var(--paper);
}

/* ─── Bullet list ─────────────────────────────────────────── */
.cop2-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 16px;
}

.cop2-list li {
    display: grid;
    grid-template-columns: 2px 1fr;
    gap: 0 14px;
    color: var(--paper-soft, rgba(255,255,255,0.72));
    font-size: 0.96rem;
    line-height: 1.6;
}

/* Accent bar instead of a bullet dot */
.cop2-list li::before {
    content: "";
    display: block;
    margin-top: 5px;
    width: 2px;
    height: 1em;
    border-radius: 2px;
    background: var(--page-accent);
    opacity: 0.7;
}

.cop2-list li strong {
    display: block;
    margin-bottom: 3px;
    color: var(--paper);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    grid-column: 2;
}

/* Re-flow so strong sits above the text inside the second column */
.cop2-list li {
    grid-template-columns: 2px 1fr;
    grid-template-rows: auto auto;
}

.cop2-list li::before {
    grid-row: 1 / 3;
    align-self: start;
}

.cop2-list li strong {
    grid-column: 2;
    grid-row: 1;
}

/* Text content — either a bare text node sibling or a <span> wrapper */
.cop2-list li > *:not(strong) {
    grid-column: 2;
    grid-row: 2;
}

/* Italic emphasis inside list items */
.cop2-list li em {
    font-style: italic;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 1.04em;
    color: var(--paper);
}

/* ─── Prose / Essay ───────────────────────────────────────── */
.cop2-prose {
    display: grid;
    gap: 18px;
    max-width: 72ch;
}

.cop2-prose p {
    margin: 0;
    color: var(--paper-soft, rgba(255,255,255,0.72));
    font-size: clamp(0.98rem, 1.4vw, 1.07rem);
    line-height: 1.8;
}

.cop2-prose em {
    color: var(--paper);
    font-style: italic;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 1.08em;
}

.cop2-prose p:last-child {
    margin-top: 6px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

/* ─── Comparison table ────────────────────────────────────── */
.cop2-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0 calc(-1 * clamp(22px, 3vw, 36px));
    padding: 0 clamp(22px, 3vw, 36px);
}

.cop2-table {
    width: 100%;
    min-width: 560px;
    border-collapse: collapse;
    font-size: 0.97rem;
    line-height: 1.6;
    color: var(--paper-soft);
}

/* Header row */
.cop2-table thead tr {
    border-bottom: 1px solid var(--line-strong, rgba(255,255,255,0.28));
}

.cop2-table thead th {
    padding: 0 16px 14px;
    color: var(--paper);
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0;
    text-align: left;
    white-space: nowrap;
}

.cop2-table thead th:first-child {
    padding-left: 0;
    width: 20%;
    color: var(--paper-faint, rgba(255,255,255,0.48));
    font-family: "Manrope", sans-serif;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* Body rows */
.cop2-table tbody tr {
    border-bottom: 1px solid var(--line, rgba(255,255,255,0.14));
}

.cop2-table tbody tr:last-child {
    border-bottom: none;
}

.cop2-table tbody td {
    padding: 20px 16px;
    vertical-align: top;
}

.cop2-table tbody td:first-child {
    padding-left: 0;
}

.cop2-table tbody td:last-child {
    padding-right: 0;
}

/* Dimension column */
.cop2-table__dim {
    color: var(--paper);
    font-weight: 700;
    font-size: 0.92rem;
    letter-spacing: 0.01em;
    min-width: 120px;
}

/* Bold emphasis inside cells */
.cop2-table strong {
    color: var(--paper);
    font-weight: 700;
}

/* Column 2 (original) — subtle left accent */
.cop2-table tbody td:nth-child(2) {
    border-left: 2px solid var(--line, rgba(255,255,255,0.14));
}

/* Column 3 (adapted) — gold left accent */
.cop2-table tbody td:nth-child(3) {
    border-left: 2px solid rgba(192, 134, 66, 0.36);
}

/* ─── Responsive ──────────────────────────────────────────── */
@media (max-width: 760px) {
    .cop2-split {
        grid-template-columns: 1fr;
    }

    .cop2-intro {
        margin-bottom: 24px;
    }
}

@media (max-width: 480px) {
    .cop2-card {
        padding: 20px;
        border-radius: 18px;
    }

    .cop2-card__title {
        font-size: 1.55rem;
    }
}
