/* ============================================
   Report v2 — Modern Editorial Styling
   Scoped under .report-v2
   ============================================ */

.report-v2 {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: #2d2a26;
    line-height: 1.7;
    max-width: 780px;
    margin: 0 auto;
    padding: 1rem 0 3rem;
}

/* --- Typography --- */

.report-v2 h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    font-size: 2rem;
    color: #2d2a26;
    margin-bottom: 0.25rem;
}

.report-v2 h4 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 500;
    font-size: 1.5rem;
    color: #2d2a26;
    margin-top: 2.5rem;
    margin-bottom: 0.75rem;
}

.report-v2 .section-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: #7a7168;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* --- Section Dividers --- */

.report-v2 .section-divider {
    border: none;
    height: 2px;
    width: 50px;
    background: #c4a87c;
    margin: 3rem auto;
    opacity: 1;
}

.report-v2 .section-divider-light {
    border: none;
    height: 1px;
    width: 100%;
    background: #e8e4de;
    margin: 1.5rem 0;
    opacity: 1;
}

/* --- Cover --- */

.report-v2 .report-cover {
    text-align: center;
    padding: 2.5rem 1.5rem;
    margin-bottom: 1rem;
}

.report-v2 .report-cover h4 {
    font-size: 1.75rem;
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.report-v2 .report-cover .cover-accent {
    display: inline-block;
    width: 50px;
    height: 2px;
    background: #c4a87c;
    margin: 1rem auto;
}

/* leading-identity styles moved to dedicated section below */

.report-v2 .report-cover .one-line {
    font-weight: 600;
    font-size: 1.05rem;
    color: #2d2a26;
    margin-bottom: 0.5rem;
}

.report-v2 .report-cover .big-idea {
    font-size: 0.95rem;
    color: #7a7168;
}

/* --- Rank Badge --- */

.report-v2 .rank-badge {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #c4a87c;
    margin-bottom: 0.25rem;
}

/* --- At a Glance Grid --- */

.report-v2 .glance-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

@media (max-width: 640px) {
    .report-v2 .glance-grid {
        grid-template-columns: 1fr;
    }
}

.report-v2 .glance-card {
    background: #f5f3ef;
    border: 1px solid #e8e4de;
    border-radius: 12px;
    padding: 1.25rem 1.25rem;
    transition: box-shadow 0.2s ease;
}

.report-v2 .glance-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.report-v2 .glance-card .identity-name {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 500;
    font-size: 1.1rem;
    color: #2d2a26;
    margin-bottom: 0.35rem;
}

.report-v2 .glance-card .identity-def {
    font-size: 0.85rem;
    color: #7a7168;
    line-height: 1.6;
}

/* --- Identity Deep Dive Cards --- */

.report-v2 .identity-card {
    background: #faf9f7;
    border: none;
    border-left: 3px solid #c4a87c;
    border-radius: 0 12px 12px 0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    padding: 2rem;
    margin-bottom: 2rem;
    transition: box-shadow 0.2s ease;
}

.report-v2 .identity-card:hover {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.07);
}

.report-v2 .identity-card .identity-name {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.4rem;
    font-weight: 500;
    color: #2d2a26;
    margin-bottom: 0.35rem;
}

.report-v2 .identity-card .identity-def {
    font-size: 0.95rem;
    color: #7a7168;
    line-height: 1.7;
    margin-bottom: 1rem;
}

/* --- Narrative Section (within cards) --- */

.report-v2 .narrative-block {
    margin-bottom: 1.5rem;
}

.report-v2 .narrative-block .narrative-title {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #8b7355;
    margin-bottom: 0.35rem;
}

.report-v2 .narrative-block .narrative-body {
    font-size: 0.95rem;
    color: #3d3930;
    line-height: 1.7;
}

/* --- Life Domains Sub-section --- */

.report-v2 .domains-section {
    background: #f0ede8;
    border-radius: 10px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.5rem;
}

.report-v2 .domains-section .domains-heading {
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #8b7355;
    margin-bottom: 1rem;
}

.report-v2 .domain-item {
    margin-bottom: 1rem;
}

.report-v2 .domain-item:last-child {
    margin-bottom: 0;
}

.report-v2 .domain-item .domain-label {
    font-weight: 600;
    font-size: 0.85rem;
    color: #2d2a26;
    margin-bottom: 0.15rem;
}

.report-v2 .domain-item .domain-body {
    font-size: 0.9rem;
    color: #5a5347;
    line-height: 1.65;
}

/* --- Clinical Toggle --- */

.report-v2 .clinical-toggle {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 500;
    color: #8b7355;
    letter-spacing: 0.03em;
    cursor: pointer;
    border: none;
    background: none;
    padding: 0.5rem 0;
    text-decoration: none;
    transition: color 0.15s ease;
}

.report-v2 .clinical-toggle:hover {
    color: #6b5740;
    text-decoration: underline;
}

.report-v2 .clinical-details {
    border-left: 2px solid #e8e4de;
    padding-left: 1.25rem;
    margin-top: 1rem;
}

.report-v2 .clinical-details .clinical-field {
    margin-bottom: 1rem;
}

.report-v2 .clinical-details .clinical-label {
    font-weight: 600;
    font-size: 0.8rem;
    color: #7a7168;
    margin-bottom: 0.15rem;
}

.report-v2 .clinical-details .clinical-value {
    font-size: 0.88rem;
    color: #5a5347;
    line-height: 1.6;
}

.report-v2 .clinical-details .clinical-meta {
    font-size: 0.75rem;
    color: #a09888;
    margin-top: 1rem;
}

/* --- Loops --- */

.report-v2 .loop-card {
    background: #f5f3ef;
    border: 1px solid #e8e4de;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.report-v2 .loop-card.primary-loop {
    border-left: 3px solid #c4a87c;
}

.report-v2 .loop-card .loop-label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #c4a87c;
    margin-bottom: 0.35rem;
}

.report-v2 .loop-card .loop-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 500;
    font-size: 1.1rem;
    color: #2d2a26;
    margin-bottom: 0.5rem;
}

.report-v2 .loop-card .loop-body {
    font-size: 0.9rem;
    color: #5a5347;
    line-height: 1.65;
}

/* --- Overlay Cards --- */

.report-v2 .overlay-card {
    background: #f8f6f2;
    border: 1px solid #e8e4de;
    border-radius: 12px;
    padding: 1.75rem;
    margin-bottom: 1.25rem;
}

.report-v2 .overlay-card .overlay-name {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 500;
    font-size: 1.2rem;
    color: #2d2a26;
    margin-bottom: 0.75rem;
}

.report-v2 .overlay-card .consumer-narrative {
    font-size: 0.95rem;
    color: #5a5347;
    line-height: 1.75;
    font-style: italic;
    margin-bottom: 1.25rem;
}

/* --- Healing Cards --- */

.report-v2 .healing-card {
    background: #f6f8f5;
    border: none;
    border-left: 3px solid #8aaa7e;
    border-radius: 0 12px 12px 0;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.report-v2 .healing-card .healing-name {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 500;
    font-size: 1.05rem;
    color: #2d2a26;
    margin-bottom: 0.5rem;
}

.report-v2 .healing-card .healing-body {
    font-size: 0.92rem;
    color: #4a5e43;
    line-height: 1.7;
}

/* --- Prose Blocks (static sections without card wrapping) --- */

.report-v2 .prose-block {
    font-size: 0.95rem;
    color: #5a5347;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.report-v2 .prose-card {
    background: #f5f3ef;
    border: 1px solid #e8e4de;
    border-radius: 12px;
    padding: 1.75rem;
    margin-bottom: 2rem;
}

.report-v2 .prose-card h4 {
    margin-top: 0;
}

/* --- Action Plan --- */

.report-v2 .action-plan {
    background: #f5f3ef;
    border-radius: 12px;
    padding: 1.75rem;
    margin-bottom: 2rem;
}

.report-v2 .action-plan h4 {
    margin-top: 0;
    margin-bottom: 1rem;
}

.report-v2 .action-plan ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.report-v2 .action-plan ul li {
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    color: #3d3930;
    line-height: 1.65;
}

.report-v2 .action-plan ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #c4a87c;
}

.report-v2 .action-plan .plan-footnote {
    font-size: 0.82rem;
    color: #a09888;
    font-style: italic;
    margin-top: 1rem;
}

/* --- Back Button --- */

.report-v2 .back-bar {
    margin-bottom: 2rem;
}

.report-v2 .back-bar .btn {
    font-size: 0.85rem;
    color: #8b7355;
    border-color: #d4cec4;
    border-radius: 8px;
    padding: 0.4rem 1rem;
}

.report-v2 .back-bar .btn:hover {
    background: #f5f3ef;
    border-color: #c4a87c;
    color: #6b5740;
}

/* --- Alert Override --- */

.report-v2 .alert-warning {
    background: #fef9f0;
    border-color: #e8dcc8;
    color: #6b5740;
    border-radius: 12px;
}

/* --- Cover Key Question (Change 1) --- */

.report-v2 .cover-key-question {
    margin-top: 1.5rem;
    padding: 1.25rem 1.5rem;
    border-left: 3px solid currentColor;
    font-size: 15px;
    line-height: 1.7;
    font-style: italic;
}

/* --- Leading Identity Reveal (Change 2) --- */

.report-v2 .leading-identity {
    text-align: center;
    padding: 4rem 2rem 3rem;
}

.report-v2 .leading-name {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(42px, 6vw, 72px);
    font-weight: 400;
    line-height: 1.05;
    color: #2d2a26;
    margin: 0.5rem 0 1rem;
}

.report-v2 .leading-label {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    letter-spacing: 0.06em;
    opacity: 0.6;
    margin-bottom: 0.5rem;
}

.report-v2 .leading-badges {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.report-v2 .leading-badge {
    display: inline-block;
    font-family: 'DM Sans', 'Inter', sans-serif;
    font-size: 12px;
    padding: 5px 14px;
    border-radius: 2px;
    letter-spacing: 0.04em;
    border: 1px solid currentColor;
    opacity: 0.55;
    margin: 0.25rem;
}

/* --- Reality Check Block (Change 3) --- */

.report-v2 .reality-check-block {
    margin: 1.5rem 0 0.5rem;
    padding: 1.25rem 1.75rem;
    border-left: 3px solid currentColor;
    border-radius: 0 4px 4px 0;
    background: rgba(0,0,0,0.03);
}

.report-v2 .reality-check-block .narrative-title {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    letter-spacing: 0.1em;
    font-weight: 600;
    text-transform: uppercase;
    color: #8b7355;
    margin-bottom: 0.75rem;
}

.report-v2 .reality-check-block .narrative-body {
    font-size: 15px;
    line-height: 1.75;
    font-style: italic;
    color: #3d3930;
}

/* --- Loops Toggle (Change 4) --- */

.report-v2 .loops-toggle {
    display: block;
    margin: 1rem 0;
    padding: 8px 16px;
    background: none;
    border: 1px solid currentColor;
    border-radius: 2px;
    font-size: 13px;
    cursor: pointer;
    opacity: 0.5;
    font-family: inherit;
    color: inherit;
    transition: opacity 0.2s;
}

.report-v2 .loops-toggle:hover {
    opacity: 1;
}

/* --- Section Intro (Change 5) --- */

.report-v2 .section-intro {
    font-size: 14px;
    line-height: 1.75;
    max-width: 640px;
    margin-bottom: 2rem;
    opacity: 0.68;
    color: #5a5347;
}

/* --- Report Closing (Change 6) --- */

.report-v2 .report-closing {
    text-align: center;
    padding: 3rem 2rem 4rem;
    margin-top: 2rem;
    border-top: 1px solid currentColor;
    opacity: 0.85;
}

.report-v2 .closing-final {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 20px;
    font-style: italic;
    line-height: 1.6;
    max-width: 480px;
    margin: 0 auto 2rem;
    color: #2d2a26;
}

.report-v2 .closing-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.report-v2 .closing-btn-primary {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 2px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    letter-spacing: 0.04em;
    background-color: #6b4c2a;
    color: #fafafa;
}

.report-v2 .closing-btn-primary:hover {
    background-color: #7d5c38;
    color: #fafafa;
}

.report-v2 .closing-btn-secondary {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 2px;
    font-size: 13px;
    font-weight: 300;
    text-decoration: none;
    border: 1px solid currentColor;
    opacity: 0.6;
    color: #2d2a26;
}

.report-v2 .closing-btn-secondary:hover {
    opacity: 1;
}

/* --- Responsive --- */

@media (max-width: 640px) {
    .report-v2 {
        padding: 0.5rem 0 2rem;
    }

    .report-v2 .identity-card,
    .report-v2 .overlay-card,
    .report-v2 .healing-card,
    .report-v2 .loop-card,
    .report-v2 .prose-card,
    .report-v2 .action-plan {
        padding: 1.25rem;
    }

    .report-v2 .report-cover {
        padding: 1.5rem 1rem;
    }

    .report-v2 h3 {
        font-size: 1.6rem;
    }

    .report-v2 h4 {
        font-size: 1.3rem;
    }

    .report-v2 .identity-card .identity-name {
        font-size: 1.2rem;
    }

    .report-v2 .domains-section {
        padding: 1rem;
    }
}

/* --- Sample Banner --- */

.sample-banner {
    background: var(--a-gold);
    color: var(--a-bg);
    text-align: center;
    padding: 0.6rem 1.5rem;
    font-size: 12px;
    letter-spacing: 0.06em;
    font-weight: 500;
    position: sticky;
    top: 0;
    z-index: 200;
}

.sample-banner a {
    color: var(--a-bg);
    text-decoration: underline;
    text-underline-offset: 3px;
    margin-left: 0.75rem;
    font-weight: 400;
}

.sample-banner a:hover {
    opacity: 0.8;
}

/* --- Sample CTA --- */

.sample-cta {
    background: #f5f3ef;
    border: 1px solid #e8e4de;
    border-radius: 12px;
    padding: 2.5rem 2rem;
    text-align: center;
    margin: 3rem 0 2rem;
}

.sample-cta h4 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.4rem;
    font-weight: 500;
    color: #2d2a26;
    margin-bottom: 0.5rem;
    margin-top: 0;
}

.sample-cta p {
    font-size: 0.9rem;
    color: #7a7168;
    margin-bottom: 1.5rem;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.sample-cta a {
    display: inline-block;
    padding: 11px 28px;
    border-radius: 2px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    letter-spacing: 0.05em;
    background-color: #6b4c2a;
    color: #fafafa;
}

.sample-cta a:hover {
    background-color: #7d5c38;
}

/* --- Secondary Loops (hidden by default) --- */

.secondary-loops {
    display: none;
}

.secondary-loops.open {
    display: block;
}

/* --- Site Footer --- */

.site-footer {
    text-align: center;
    padding: 2rem 1rem 1.5rem;
    color: var(--a-hint);
    font-size: 11px;
    letter-spacing: 0.04em;
    border-top: 0.5px solid var(--a-border);
}

.site-footer a {
    color: var(--a-hint);
    text-decoration: none;
}

.site-footer a:hover {
    color: var(--a-gold);
}
