
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@300;400;500;600;700&display=swap');


/* =================================
   GLOBAL STYLING
================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #000000;
    color: #ffffff;
    font-family: 'Oswald', sans-serif;
    padding: 28px;
}


/* =================================
   S.H.I.E.L.D. HEADER
================================= */

.shield-header {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    background: #080808;
    border: 2px solid #333333;
    padding: 22px 25px 0;
}


/* TOP HEADER */

.header-top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 150px minmax(0, 1fr);
    align-items: center;
    gap: 25px;
    min-height: 180px;
}

.header-left,
.header-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 17px;
    min-width: 0;
}

.agent-label {
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 1px;
    margin-bottom: 3px;
}

.agent-name {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(25px, 4vw, 48px);
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    white-space: nowrap;
    border-bottom: 3px solid #ffffff;
    padding-bottom: 5px;
}

.address {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.address-label,
.info-label {
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 0.6px;
}

.classified {
    color: #e53935;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 1px;
}


/* CENTRE EMBLEM */

.shield-emblem {
    display: flex;
    justify-content: center;
    align-items: center;
}

.shield-emblem img {
    width: 130px;
    height: 130px;
    object-fit: contain;
}


/* RIGHT-SIDE INFORMATION */

.info-row {
    display: grid;
    grid-template-columns: 105px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #aaaaaa;
    padding-bottom: 8px;
}

.info-value {
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}


/* =================================
   BOTTOM HEADER STRIP
================================= */

.header-bottom {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;
    align-items: center;
    border-top: 3px solid #ffffff;
    margin-top: 15px;
    min-height: 65px;
}

.barcode-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 8px;
    border-right: 3px solid #ffffff;
    height: 100%;
}

.barcode {
    width: 100%;
    max-width: 190px;
    height: 35px;

    background: repeating-linear-gradient(
        90deg,
        #ffffff 0px,
        #ffffff 2px,
        #000000 2px,
        #000000 4px,
        #ffffff 5px,
        #ffffff 6px,
        #000000 6px,
        #000000 8px
    );
}

.barcode-number {
    font-size: 7px;
    letter-spacing: 1px;
    margin-top: 3px;
}

.shield-wordmark {
    text-align: center;
    font-family: 'Oswald', sans-serif;
    font-size: clamp(22px, 3vw, 37px);
    font-weight: 900;
    letter-spacing: 5px;
    padding: 8px;
    border-right: 3px solid #ffffff;
    white-space: nowrap;
}

.file-number {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 8px;
}

.file-label {
    font-size: 10px;
    font-weight: bold;
}

.file-value {
    font-family: 'Oswald', sans-serif;
    font-size: 21px;
    font-weight: 900;
    white-space: nowrap;
}


/* =================================
   DOSSIER BODY
================================= */

.dossier-divider {
    width: 100%;
    max-width: 1200px;
    height: 9px;
    background: #ffffff;
    margin: 18px auto 28px;
}

.dossier-content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 12px 40px;
}


/* TWO-COLUMN LAYOUT */

.dossier-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(240px, 0.85fr);
    gap: 32px;
    align-items: start;
}

.dossier-left {
    min-width: 0;
}

.dossier-right {
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-width: 0;
}


/* AGENT PHOTOGRAPHS */

.agent-photo {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    border: 2px solid #ffffff;
}

.agent-photo.portrait {
    aspect-ratio: 4 / 5;
}

.agent-photo.field {
    aspect-ratio: 4 / 5;
    filter: grayscale(100%);
}


/* =================================
   PERSONNEL DETAILS
================================= */

.personnel-details {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 25px;
    margin-bottom: 30px;
}

.details-column {
    display: flex;
    flex-direction: column;
    gap: 13px;
    min-width: 0;
}


    .person-row {
        grid-template-columns: minmax(115px, 0.8fr) minmax(0, 1.2fr);
    }

 /* END OF MOBILE RESPONSIVE LAYOUT */


/* =================================
   FINAL DOSSIER FONT SIZE ADJUSTMENTS
================================= */

.detail-label {
    font-size: 15px;
}

.detail-value {
    font-size: 17px;
}

.person-row {
    font-size: 17px;
    line-height: 1.55;
}

.record-section {
    font-size: 17px;
    line-height: 1.65;
}

.record-section h3 {
    font-size: 16px;
    letter-spacing: 1px;
}

.record-section p {
    font-size: 16px;
    line-height: 1.65;
}


/* =================================
   MISSION QUALIFICATIONS
================================= */

.mission-section {
    margin-top: 35px;
    padding-top: 10px;
}

.mission-section p {
    margin-bottom: 13px;
    text-align: justify;
}


.detail-label {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.4px;
    color: #dddddd;
}

.detail-value {
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    overflow-wrap: anywhere;
}


/* =================================
   OTHER RECORD SECTIONS
================================= */

.record-section {
    max-width: 100%;
    margin: 23px 0;
    font-size: 15px;
    line-height: 1.55;
}

.record-section h3 {
    font-size: 14px;
    letter-spacing: 0.8px;
    margin-bottom: 8px;
    padding-bottom: 5px;
    border-bottom: 1px solid #777777;
}

.record-section p {
    margin: 4px 0;
    line-height: 1.55;
}


/* =================================
   RESPONSIVE LAYOUT
================================= */

@media (max-width: 700px) {

    body {
        padding: 10px;
    }

    .shield-header {
        padding: 15px 12px 0;
    }

    .header-top {
        grid-template-columns: minmax(0, 1fr) 75px;
        gap: 12px;
        min-height: 140px;
    }

    .shield-emblem img {
        width: 75px;
        height: 75px;
    }

    .agent-name {
        font-size: 21px;
        white-space: normal;
    }

    .header-right {
        grid-column: 1 / -1;
    }

    .info-row {
        grid-template-columns: 105px minmax(0, 1fr);
    }

    .info-value {
        font-size: 13px;
    }

    .header-bottom {
        grid-template-columns: 1fr 1.3fr 1fr;
    }

    .shield-wordmark {
        font-size: 17px;
        letter-spacing: 2px;
    }

    .file-value {
        font-size: 13px;
    }

    .dossier-content {
        padding: 0 4px 30px;
    }

    .dossier-layout {
        grid-template-columns: 1fr;
    }

    .dossier-right {
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }

    .personnel-details {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .person-row {
        grid-template-columns: minmax(115px, 0.8fr) minmax(0, 1.2fr);
    }


/* FINAL DOSSIER FONT SIZE ADJUSTMENTS */

.detail-label {
    font-size: 15px;
}

.detail-value {
    font-size: 17px;
}

.person-row {
    font-size: 17px;
    line-height: 1.55;
}

.record-section {
    font-size: 17px;
    line-height: 1.65;
}

.record-section h3 {
    font-size: 16px;
    letter-spacing: 1px;
}

.record-section p {
    font-size: 16px;
    line-height: 1.65;
}

/* MISSION QUALIFICATIONS */

.mission-section {
    margin-top: 35px;
    padding-top: 10px;
}

.mission-section p {
    margin-bottom: 13px;
    text-align: justify;
}


}
