/* =========================================================
   SOLAR INSTALLATION
   TECHNICAL ASSESSMENT & COMPLIANCE REVIEW
   Complete Report Stylesheet
   ========================================================= */


/* =========================================================
   1. ROOT VARIABLES
   ========================================================= */

:root {

    --navy: #132536;
    --navy-deep: #0b1824;
    --navy-light: #1e3a50;

    --blue: #3d7192;
    --blue-light: #7199af;
    --blue-pale: #eef4f7;

    --accent: #b98a45;
    --accent-light: #d3b37b;
    --accent-pale: #faf5ec;

    --text: #26333d;
    --text-light: #64717b;
    --text-muted: #87929a;

    --background: #f3f5f6;
    --paper: #ffffff;

    --border: #dfe4e7;
    --border-dark: #cbd3d8;

    --success: #48775d;
    --warning: #9a7136;
    --danger: #934b45;

    --shadow:
        0 18px 45px rgba(13, 29, 42, 0.08);

    --shadow-small:
        0 8px 25px rgba(13, 29, 42, 0.06);

    --content-width: 1180px;

    --serif:
        Georgia,
        "Times New Roman",
        serif;

    --sans:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;
}


/* =========================================================
   2. GLOBAL RESET
   ========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    margin: 0;
    padding: 0;

    background: var(--background);

    color: var(--text);

    font-family: var(--serif);

    font-size: 16px;

    line-height: 1.8;

    -webkit-font-smoothing: antialiased;

    text-rendering: optimizeLegibility;
}

img {
    display: block;

    max-width: 100%;

    height: auto;
}

video {
    display: block;

    width: 100%;

    max-width: 100%;

    height: auto;
}

a {
    color: inherit;
}

button,
input,
textarea,
select {
    font: inherit;
}


/* =========================================================
   3. HEADER / COVER
   ========================================================= */

.site-header {
    position: relative;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            rgba(11, 24, 36, 0.98),
            rgba(24, 52, 71, 0.96)
        );

    color: #ffffff;
}


/* Architectural background pattern */

.site-header::before {
    content: "";

    position: absolute;

    inset: 0;

    background-image:
        linear-gradient(
            30deg,
            rgba(255, 255, 255, 0.025) 12%,
            transparent 12.5%,
            transparent 87%,
            rgba(255, 255, 255, 0.025) 87.5%
        );

    background-size: 70px 120px;

    pointer-events: none;
}


.header-inner {
    position: relative;

    width: min(
        calc(100% - 48px),
        var(--content-width)
    );

    margin: 0 auto;

    padding: 95px 0 75px;
}


.report-label {
    display: inline-block;

    margin-bottom: 25px;

    color: var(--accent-light);

    font-family: var(--sans);

    font-size: 0.72rem;

    font-weight: 700;

    letter-spacing: 0.22em;

    text-transform: uppercase;
}


.site-header h1 {
    max-width: 950px;

    margin: 0;

    font-family: var(--serif);

    font-size: clamp(
        2.5rem,
        6vw,
        4.7rem
    );

    font-weight: 400;

    line-height: 1.08;

    letter-spacing: -0.025em;
}


.site-header h1 span {
    display: block;

    margin-top: 12px;

    color: #b9cad4;
}


.header-description {
    max-width: 720px;

    margin: 30px 0 0;

    color: #d2dde3;

    font-family: var(--sans);

    font-size: 1rem;

    letter-spacing: 0.02em;
}


.header-rule {
    width: 75px;

    height: 3px;

    margin-top: 38px;

    background: var(--accent);
}


.document-meta {
    display: flex;

    flex-wrap: wrap;

    gap: 30px;

    margin-top: 32px;

    color: #aebdc6;

    font-family: var(--sans);

    font-size: 0.72rem;

    font-weight: 600;

    letter-spacing: 0.13em;

    text-transform: uppercase;
}


/* =========================================================
   4. NAVIGATION
   ========================================================= */

.report-nav {
    position: sticky;

    top: 0;

    z-index: 100;

    background: rgba(255, 255, 255, 0.97);

    border-bottom: 1px solid var(--border);

    box-shadow:
        0 5px 20px rgba(0, 0, 0, 0.04);

    backdrop-filter: blur(12px);
}


.nav-inner {
    display: flex;

    width: min(
        calc(100% - 48px),
        var(--content-width)
    );

    margin: 0 auto;
}


.nav-link {
    display: flex;

    align-items: center;

    gap: 12px;

    padding: 17px 20px;

    border-bottom: 3px solid transparent;

    color: var(--text-light);

    font-family: var(--sans);

    font-size: 0.72rem;

    font-weight: 700;

    letter-spacing: 0.06em;

    text-decoration: none;

    text-transform: uppercase;

    transition:
        color 0.2s ease,
        border-color 0.2s ease,
        background 0.2s ease;
}


.nav-link:hover,
.nav-link.active {
    color: var(--navy);

    border-bottom-color: var(--accent);

    background: #fafbfb;
}


.nav-number {
    color: var(--accent);

    font-size: 0.66rem;

    font-weight: 800;

    letter-spacing: 0.1em;
}


/* =========================================================
   5. MAIN REPORT CONTAINER
   ========================================================= */

.report-container {
    width: min(
        calc(100% - 48px),
        var(--content-width)
    );

    margin: 55px auto 90px;
}


/* =========================================================
   6. REPORT SECTIONS
   ========================================================= */

.report-section {
    position: relative;

    padding: 70px 80px;

    background: var(--paper);

    border: 1px solid var(--border);

    box-shadow: var(--shadow);
}


.section-heading {
    display: flex;

    align-items: flex-start;

    gap: 28px;

    margin-bottom: 45px;

    padding-bottom: 32px;

    border-bottom: 1px solid var(--border);
}


.section-number {
    flex: 0 0 auto;

    display: flex;

    align-items: center;

    justify-content: center;

    width: 70px;

    height: 70px;

    background: var(--navy);

    color: var(--accent-light);

    font-family: var(--sans);

    font-size: 1.05rem;

    font-weight: 800;

    letter-spacing: 0.06em;
}


.section-heading-text {
    padding-top: 2px;
}


.section-kicker {
    margin: 0 0 7px;

    color: var(--accent);

    font-family: var(--sans);

    font-size: 0.7rem;

    font-weight: 800;

    letter-spacing: 0.17em;

    text-transform: uppercase;
}


.section-heading h2 {
    margin: 0;

    color: var(--navy);

    font-family: var(--serif);

    font-size: clamp(
        1.8rem,
        3vw,
        2.65rem
    );

    font-weight: 400;

    line-height: 1.2;

    letter-spacing: -0.015em;
}


/* =========================================================
   7. SECTION INTRODUCTION
   ========================================================= */

.section-introduction {
    position: relative;

    margin-bottom: 36px;

    padding: 25px 30px;

    background: #f6f8f9;

    border-left: 4px solid var(--accent);
}


.section-introduction p {
    margin: 0;

    color: var(--navy);

    font-size: 1.12rem;

    line-height: 1.75;
}


/* =========================================================
   8. REPORT BODY
   ========================================================= */

.report-content {
    max-width: 930px;
}


.report-content p {
    margin: 0 0 25px;

    color: var(--text);

    font-size: 1.03rem;

    line-height: 1.9;
}


.report-content p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   9. SUBSECTION HEADINGS
   ========================================================= */

.report-content h3 {
    margin: 48px 0 20px;

    padding-bottom: 10px;

    color: var(--navy);

    font-family: var(--serif);

    font-size: 1.55rem;

    font-weight: 500;

    line-height: 1.3;

    border-bottom: 1px solid var(--border);
}


.report-content h4 {
    margin: 35px 0 15px;

    color: var(--navy-light);

    font-family: var(--sans);

    font-size: 0.85rem;

    font-weight: 800;

    letter-spacing: 0.08em;

    text-transform: uppercase;
}


/* =========================================================
   10. TECHNICAL CALLOUT
   ========================================================= */

.technical-callout {
    margin: 35px 0;

    padding: 28px 32px;

    background:
        linear-gradient(
            135deg,
            #f5f8fa,
            #eef3f6
        );

    border: 1px solid var(--border);

    border-left: 5px solid var(--blue);

    box-shadow: var(--shadow-small);
}


.technical-callout h3,
.technical-callout h4 {
    margin-top: 0;

    border: 0;
}


.technical-callout p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   11. FINDING / WARNING CALLOUTS
   ========================================================= */

.finding {
    margin: 35px 0;

    padding: 28px 32px;

    background: var(--accent-pale);

    border: 1px solid #eadbc1;

    border-left: 5px solid var(--accent);
}


.finding-title {
    margin-bottom: 10px;

    color: var(--navy);

    font-family: var(--sans);

    font-size: 0.72rem;

    font-weight: 800;

    letter-spacing: 0.16em;

    text-transform: uppercase;
}


.finding p:last-child {
    margin-bottom: 0;
}


.warning {
    margin: 35px 0;

    padding: 28px 32px;

    background: #fbf5f4;

    border: 1px solid #ead4d1;

    border-left: 5px solid var(--danger);
}


.warning-title {
    margin-bottom: 10px;

    color: var(--danger);

    font-family: var(--sans);

    font-size: 0.72rem;

    font-weight: 800;

    letter-spacing: 0.16em;

    text-transform: uppercase;
}


/* =========================================================
   12. EXECUTIVE SUMMARY
   ========================================================= */

.executive-summary {
    margin-bottom: 45px;

    padding: 38px 42px;

    background:
        linear-gradient(
            135deg,
            var(--navy),
            var(--navy-light)
        );

    color: #ffffff;

    box-shadow: var(--shadow);
}


.executive-summary h2,
.executive-summary h3 {
    margin-top: 0;

    color: #ffffff;

    border: 0;
}


.executive-summary p {
    color: #dce6eb;
}


.executive-summary p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   13. OVERALL FINDING
   ========================================================= */

.overall-finding {
    margin: 35px 0;

    padding: 32px 36px;

    background: #f1f5f7;

    border-top: 4px solid var(--navy);

    border-bottom: 1px solid var(--border);
}


.overall-finding-title {
    margin-bottom: 12px;

    color: var(--accent);

    font-family: var(--sans);

    font-size: 0.7rem;

    font-weight: 800;

    letter-spacing: 0.17em;

    text-transform: uppercase;
}


.overall-finding p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   14. BULLET LISTS
   ========================================================= */

.report-content ul,
.report-content ol {
    margin: 25px 0 30px;

    padding-left: 28px;

    color: var(--text);
}


.report-content li {
    margin-bottom: 10px;

    padding-left: 6px;

    font-size: 1rem;

    line-height: 1.75;
}


.report-content li:last-child {
    margin-bottom: 0;
}


/* =========================================================
   15. TABLES
   ========================================================= */

.table-wrapper {
    width: 100%;

    margin: 35px 0;

    overflow-x: auto;

    border: 1px solid var(--border);

    box-shadow: var(--shadow-small);
}


.report-table {
    width: 100%;

    min-width: 600px;

    border-collapse: collapse;

    background: #ffffff;

    font-family: var(--sans);

    font-size: 0.88rem;

    line-height: 1.55;
}


.report-table th {
    padding: 15px 17px;

    background: var(--navy);

    color: #ffffff;

    font-size: 0.72rem;

    font-weight: 800;

    letter-spacing: 0.06em;

    text-align: left;

    text-transform: uppercase;
}


.report-table td {
    padding: 15px 17px;

    vertical-align: top;

    border-bottom: 1px solid var(--border);

    color: var(--text);
}


.report-table tr:nth-child(even) td {
    background: #f8fafb;
}


.report-table tr:last-child td {
    border-bottom: 0;
}


/* =========================================================
   16. KEY DATA / STATISTICS
   ========================================================= */

.data-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 18px;

    margin: 35px 0;
}


.data-card {
    padding: 25px;

    background: #f7f9fa;

    border: 1px solid var(--border);
}


.data-value {
    display: block;

    margin-bottom: 7px;

    color: var(--navy);

    font-family: var(--sans);

    font-size: 1.65rem;

    font-weight: 800;

    line-height: 1.2;
}


.data-label {
    display: block;

    color: var(--text-light);

    font-family: var(--sans);

    font-size: 0.72rem;

    font-weight: 700;

    letter-spacing: 0.07em;

    text-transform: uppercase;
}


.data-note {
    display: block;

    margin-top: 10px;

    color: var(--text-muted);

    font-family: var(--sans);

    font-size: 0.76rem;

    line-height: 1.5;
}


/* =========================================================
   17. FAILURE CHAIN
   ========================================================= */

.failure-chain {
    margin: 40px 0;
}


.failure-stage {
    position: relative;

    display: grid;

    grid-template-columns: 75px 1fr;

    gap: 22px;

    padding: 25px 0;

    border-bottom: 1px solid var(--border);
}


.failure-stage:last-child {
    border-bottom: 0;
}


.failure-number {
    display: flex;

    align-items: center;

    justify-content: center;

    width: 52px;

    height: 52px;

    background: var(--navy);

    color: var(--accent-light);

    font-family: var(--sans);

    font-size: 0.8rem;

    font-weight: 800;
}


.failure-stage h3 {
    margin: 0 0 8px;

    padding: 0;

    border: 0;

    font-size: 1.2rem;
}


.failure-stage p {
    margin-bottom: 12px;
}


.failure-stage ul {
    margin-top: 10px;
}


/* =========================================================
   18. EVIDENCE BLOCKS
   ========================================================= */

.evidence-block {
    margin: 40px 0;

    background: #f7f9fa;

    border: 1px solid var(--border);

    overflow: hidden;
}


.evidence-header {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    padding: 17px 22px;

    background: var(--navy);

    color: #ffffff;
}


.evidence-label {
    font-family: var(--sans);

    font-size: 0.68rem;

    font-weight: 800;

    letter-spacing: 0.15em;

    text-transform: uppercase;
}


.evidence-content {
    padding: 24px;
}


.evidence-content p:last-child {
    margin-bottom: 0;
}


.evidence-caption {
    margin-top: 12px;

    color: var(--text-light);

    font-family: var(--sans);

    font-size: 0.76rem;

    font-style: italic;

    line-height: 1.5;
}


/* =========================================================
   19. FIGURE / IMAGE BLOCK
   ========================================================= */

.figure-block {
    margin: 40px 0;

    text-align: center;
}


.figure-block img {
    width: 100%;

    border: 1px solid var(--border);

    box-shadow: var(--shadow-small);
}


.figure-caption {
    margin-top: 13px;

    color: var(--text-light);

    font-family: var(--sans);

    font-size: 0.76rem;

    font-style: italic;

    line-height: 1.5;
}


/* =========================================================
   20. VIDEO BLOCK
   ========================================================= */

.video-block {
    margin: 40px 0;

    background: #0d1b26;

    border: 1px solid #1f3545;

    box-shadow: var(--shadow);
}


.video-block video {
    width: 100%;

    background: #000000;
}


.video-description {
    padding: 17px 22px;

    color: #d3dee4;

    font-family: var(--sans);

    font-size: 0.78rem;

    line-height: 1.6;
}


/* =========================================================
   21. SUPPORTING LINK / ASSESSMENT LINK
   ========================================================= */

.assessment-link {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    margin: 8px 0 28px;

    padding: 10px 14px;

    color: var(--blue);

    background: var(--blue-pale);

    border: 1px solid #d5e2e9;

    font-family: var(--sans);

    font-size: 0.72rem;

    font-weight: 800;

    letter-spacing: 0.05em;

    text-decoration: none;

    text-transform: uppercase;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}


.assessment-link:hover {
    background: var(--blue);

    color: #ffffff;
}


/* =========================================================
   22. QUOTATIONS
   ========================================================= */

.report-quote {
    margin: 35px 0;

    padding: 28px 32px;

    background: #f7f8f9;

    border-left: 4px solid var(--accent);

    color: var(--navy);

    font-size: 1.12rem;

    font-style: italic;

    line-height: 1.75;
}


.report-quote p {
    margin-bottom: 12px;
}


.report-quote p:last-child {
    margin-bottom: 0;
}


.quote-source {
    display: block;

    margin-top: 12px;

    color: var(--text-light);

    font-family: var(--sans);

    font-size: 0.72rem;

    font-style: normal;

    font-weight: 700;

    letter-spacing: 0.05em;
}


/* =========================================================
   23. TECHNICAL NOTE
   ========================================================= */

.technical-note {
    margin: 30px 0;

    padding: 22px 25px;

    background: #f8fafb;

    border: 1px dashed var(--border-dark);
}


.technical-note-title {
    margin-bottom: 8px;

    color: var(--navy);

    font-family: var(--sans);

    font-size: 0.68rem;

    font-weight: 800;

    letter-spacing: 0.15em;

    text-transform: uppercase;
}


.technical-note p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   24. SECTION SUMMARY
   ========================================================= */

.section-summary {
    margin-top: 48px;

    padding: 28px 32px;

    background:
        linear-gradient(
            135deg,
            #f5f7f8,
            #eef2f4
        );

    border-top: 2px solid var(--accent);
}


.section-summary-title {
    margin-bottom: 10px;

    color: var(--accent);

    font-family: var(--sans);

    font-size: 0.7rem;

    font-weight: 800;

    letter-spacing: 0.16em;

    text-transform: uppercase;
}


.section-summary p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   25. ENGINEERING OPINION
   ========================================================= */

.engineering-opinion {
    margin: 45px 0;

    padding: 38px 42px;

    background: var(--navy);

    color: #ffffff;

    border-top: 5px solid var(--accent);

    box-shadow: var(--shadow);
}


.engineering-opinion h3 {
    margin: 0 0 20px;

    color: var(--accent-light);

    font-family: var(--sans);

    font-size: 0.72rem;

    font-weight: 800;

    letter-spacing: 0.16em;

    text-transform: uppercase;

    border: 0;
}


.engineering-opinion p {
    color: #e1e9ed;
}


.engineering-opinion p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   26. REQUIREMENTS / RESOLUTION LIST
   ========================================================= */

.resolution-list {
    margin: 35px 0;

    padding: 0;

    list-style: none;
}


.resolution-list li {
    position: relative;

    margin-bottom: 14px;

    padding: 18px 20px 18px 55px;

    background: #f7f9fa;

    border: 1px solid var(--border);

    font-size: 0.98rem;
}


.resolution-list li::before {
    content: "✓";

    position: absolute;

    left: 20px;

    top: 17px;

    color: var(--accent);

    font-family: var(--sans);

    font-weight: 800;
}


/* =========================================================
   27. TWO-COLUMN CONTENT
   ========================================================= */

.content-columns {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 35px;

    margin: 35px 0;
}


.content-column {
    min-width: 0;
}


/* =========================================================
   28. COMPARISON CARDS
   ========================================================= */

.comparison-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 20px;

    margin: 35px 0;
}


.comparison-card {
    padding: 28px;

    border: 1px solid var(--border);

    background: #ffffff;
}


.comparison-card.featured {
    border-top: 4px solid var(--accent);

    background: #fbfaf7;
}


.comparison-card h3 {
    margin: 0 0 15px;

    padding: 0;

    border: 0;

    color: var(--navy);

    font-size: 1.3rem;
}


.comparison-card p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   29. TECHNICAL METRICS
   ========================================================= */

.metric {
    display: inline-block;

    padding: 3px 8px;

    background: #edf2f4;

    color: var(--navy);

    border-radius: 2px;

    font-family: var(--sans);

    font-size: 0.82em;

    font-weight: 700;
}


/* =========================================================
   30. INLINE EMPHASIS
   ========================================================= */

.report-content strong {
    color: var(--navy);

    font-weight: 700;
}


.report-content em {
    color: var(--text-light);
}


/* =========================================================
   31. SECTION DIVIDER
   ========================================================= */

.section-divider {
    display: flex;

    align-items: center;

    gap: 18px;

    margin: 55px 20px;
}


.section-divider > span:not(.divider-diamond) {
    flex: 1;

    height: 1px;

    background: var(--border);
}


.divider-diamond {
    color: var(--accent);

    font-size: 0.65rem;
}


/* =========================================================
   32. REPORT END
   ========================================================= */

.report-end {
    display: flex;

    align-items: center;

    gap: 20px;

    margin-top: 65px;

    color: var(--text-light);

    font-family: var(--sans);

    font-size: 0.68rem;

    font-weight: 700;

    letter-spacing: 0.14em;

    text-transform: uppercase;
}


.report-end-line {
    flex: 1;

    height: 1px;

    background: var(--border);
}


.report-end p {
    margin: 0;

    white-space: nowrap;
}


/* =========================================================
   33. FOOTER
   ========================================================= */

.site-footer {
    background: var(--navy-deep);

    color: #ffffff;
}


.footer-inner {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

    width: min(
        calc(100% - 48px),
        var(--content-width)
    );

    margin: 0 auto;

    padding: 35px 0;
}


.footer-inner strong {
    display: block;

    margin-bottom: 3px;

    font-family: var(--sans);

    font-size: 0.75rem;

    letter-spacing: 0.1em;

    text-transform: uppercase;
}


.footer-inner span {
    color: #91a2ad;

    font-family: var(--sans);

    font-size: 0.72rem;
}


.footer-section {
    color: var(--accent-light);

    font-family: var(--sans);

    font-size: 0.68rem;

    font-weight: 700;

    letter-spacing: 0.12em;

    text-transform: uppercase;
}


/* =========================================================
   34. RESPONSIVE — TABLET
   ========================================================= */

@media (max-width: 950px) {

    .report-section {
        padding: 55px 50px;
    }


    .data-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }


    .content-columns,
    .comparison-grid {
        grid-template-columns: 1fr;
    }


    .nav-link {
        padding-left: 14px;

        padding-right: 14px;
    }
}


/* =========================================================
   35. RESPONSIVE — SMALL TABLET
   ========================================================= */

@media (max-width: 850px) {

    .header-inner {
        padding: 65px 0 55px;
    }


    .report-section {
        padding: 45px 40px;
    }


    .section-heading {
        gap: 20px;
    }


    .section-number {
        width: 58px;

        height: 58px;

        font-size: 0.9rem;
    }


    .report-content p {
        font-size: 1rem;

        line-height: 1.82;
    }


    .failure-stage {
        grid-template-columns: 60px 1fr;
    }


    .data-grid {
        gap: 14px;
    }
}


/* =========================================================
   36. RESPONSIVE — MOBILE
   ========================================================= */

@media (max-width: 650px) {

    .header-inner,
    .nav-inner,
    .report-container,
    .footer-inner {
        width: min(
            calc(100% - 30px),
            var(--content-width)
        );
    }


    .site-header h1 {
        font-size: 2.45rem;
    }


    .header-description {
        font-size: 0.92rem;
    }


    .document-meta {
        gap: 15px;
    }


    .report-nav {
        position: relative;
    }


    .nav-inner {
        overflow-x: auto;

        scrollbar-width: none;
    }


    .nav-inner::-webkit-scrollbar {
        display: none;
    }


    .nav-link {
        flex: 0 0 auto;

        padding: 14px 17px;

        font-size: 0.68rem;
    }


    .report-container {
        margin-top: 25px;

        margin-bottom: 45px;
    }


    .report-section {
        padding: 35px 25px;
    }


    .section-heading {
        display: block;

        margin-bottom: 30px;
    }


    .section-number {
        margin-bottom: 20px;
    }


    .section-heading h2 {
        font-size: 1.9rem;
    }


    .section-introduction {
        padding: 20px 22px;

        margin-bottom: 28px;
    }


    .section-introduction p {
        font-size: 1rem;
    }


    .report-content p {
        font-size: 0.98rem;

        line-height: 1.8;

        margin-bottom: 22px;
    }


    .report-content h3 {
        margin-top: 38px;

        font-size: 1.35rem;
    }


    .data-grid {
        grid-template-columns: 1fr;
    }


    .technical-callout,
    .finding,
    .warning,
    .engineering-opinion,
    .overall-finding {
        padding: 24px 22px;
    }


    .failure-stage {
        grid-template-columns: 1fr;

        gap: 15px;
    }


    .failure-number {
        width: 46px;

        height: 46px;
    }


    .resolution-list li {
        padding-left: 48px;
    }


    .content-columns,
    .comparison-grid {
        grid-template-columns: 1fr;
    }


    .section-divider {
        margin: 35px 10px;
    }


    .report-end {
        gap: 12px;
    }


    .footer-inner {
        display: block;
    }


    .footer-section {
        margin-top: 18px;
    }
}


/* =========================================================
   37. VERY SMALL MOBILE
   ========================================================= */

@media (max-width: 420px) {

    .site-header h1 {
        font-size: 2.15rem;
    }


    .header-inner {
        padding-top: 50px;

        padding-bottom: 45px;
    }


    .report-section {
        padding: 30px 20px;
    }


    .section-heading h2 {
        font-size: 1.7rem;
    }


    .section-introduction {
        padding: 18px;
    }


    .report-content p {
        font-size: 0.95rem;
    }


    .report-table {
        min-width: 520px;

        font-size: 0.82rem;
    }


    .report-table th,
    .report-table td {
        padding: 12px;
    }


    .report-quote {
        padding: 22px;
    }
}


/* =========================================================
   38. PRINT STYLES
   ========================================================= */

@media print {

    @page {
        size: A4;

        margin: 16mm 15mm;
    }


    html {
        scroll-behavior: auto;
    }


    body {
        background: #ffffff;

        color: #000000;

        font-size: 10.5pt;

        line-height: 1.6;
    }


    .site-header {
        background: #ffffff;

        color: #000000;

        border-bottom: 2px solid var(--navy);
    }


    .site-header::before {
        display: none;
    }


    .report-label,
    .header-description,
    .document-meta {
        color: #444444;
    }


    .site-header h1 span {
        color: #333333;
    }


    .header-rule {
        background: #000000;
    }


    .report-nav {
        display: none;
    }


    .report-container {
        width: 100%;

        margin: 0;
    }


    .report-section {
        padding: 30px 0;

        border: 0;

        box-shadow: none;

        page-break-inside: auto;
    }


    .section-heading {
        page-break-after: avoid;
    }


    .section-number {
        background: #eeeeee;

        color: #333333;

        border: 1px solid #999999;
    }


    .section-introduction {
        background: #f5f5f5;

        border-left-color: #555555;

        page-break-inside: avoid;
    }


    .report-content {
        max-width: none;
    }


    .report-content p {
        color: #000000;

        font-size: 10.5pt;

        line-height: 1.65;
    }


    .report-content h3,
    .report-content h4 {
        page-break-after: avoid;
    }


    .technical-callout,
    .finding,
    .warning,
    .overall-finding,
    .executive-summary,
    .engineering-opinion,
    .section-summary,
    .evidence-block,
    .figure-block,
    .video-block,
    .comparison-card,
    .data-card {
        box-shadow: none;

        break-inside: avoid;

        page-break-inside: avoid;
    }


    .executive-summary,
    .engineering-opinion {
        background: #f3f3f3;

        color: #000000;

        border: 1px solid #999999;
    }


    .executive-summary h2,
    .executive-summary h3,
    .executive-summary p,
    .engineering-opinion h3,
    .engineering-opinion p {
        color: #000000;
    }


    .table-wrapper {
        overflow: visible;

        box-shadow: none;

        break-inside: avoid;
    }


    .report-table {
        min-width: 0;

        font-size: 8.5pt;
    }


    .report-table th {
        background: #eeeeee;

        color: #000000;

        border: 1px solid #999999;
    }


    .report-table td {
        border: 1px solid #cccccc;
    }


    .report-table tr:nth-child(even) td {
        background: #fafafa;
    }


    .assessment-link {
        color: #000000;

        background: #ffffff;

        border: 1px solid #999999;
    }


    .video-block {
        background: #ffffff;

        border: 1px solid #999999;
    }


    .video-description {
        color: #000000;
    }


    .section-divider {
        margin: 25px 0;
    }


    .site-footer {
        background: #ffffff;

        color: #000000;

        border-top: 1px solid #999999;
    }


    .footer-inner {
        width: 100%;

        padding: 15px 0;
    }


    .footer-inner span {
        color: #555555;
    }


    .footer-section {
        color: #444444;
    }


    .report-end {
        display: none;
    }


    a {
        text-decoration: none;
    }


    /* Avoid awkward page breaks */

    h1,
    h2,
    h3,
    h4 {
        break-after: avoid;

        page-break-after: avoid;
    }


    p,
    li {
        orphans: 3;

        widows: 3;
    }
}
