/* =========================================
   PrEMReC
   Practical Electron Microscopy Resource Centre
   ========================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: #102f4d;
    background: #f5f7f9;
}


/* =========================================
   CONTAINER
   ========================================= */

.premrec-container {
    width: min(1200px, 90%);
    margin: 0 auto;
}


/* =========================================
   HERO
   ========================================= */

.premrec-hero {
    min-height: 720px;
    display: flex;
    align-items: center;
    padding: 80px 0;
    background:
        radial-gradient(
            circle at 78% 48%,
            rgba(212, 164, 54, 0.08),
            transparent 32%
        ),
        #f5f7f9;
}


.premrec-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
    gap: 40px;
    align-items: center;
}


/* =========================================
   HERO CONTENT
   ========================================= */

.premrec-hero-content {
    max-width: 620px;
}


.premrec-eyebrow {
    display: inline-block;
    margin-bottom: 22px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #b8871c;
}


.premrec-hero h1 {
    margin: 0 0 28px;
    font-size: clamp(48px, 4.3vw, 64px);
    line-height: 1.05;
    letter-spacing: -1.5px;
    color: #102f4d;
}


.premrec-hero-lead {
    margin: 0 0 25px;
    font-size: 24px;
    line-height: 1.55;
    color: #294866;
}


.premrec-hero-content p:not(.premrec-hero-lead) {
    max-width: 590px;
    margin: 0 0 32px;
    font-size: 17px;
    line-height: 1.8;
    color: #40566b;
}


/* =========================================
   BUTTON
   ========================================= */

.premrec-button {
    display: inline-block;
    padding: 16px 27px;
    border-radius: 5px;
    background: #102f4d;
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.25s ease;
}


.premrec-button:hover {
    background: #b8871c;
    transform: translateY(-2px);
}

/* =========================================
   TEM COLUMN
   ========================================= */

/* =========================================
   TEM SCIENTIFIC VISUAL
   ========================================= */

.premrec-hero-visual {
    position: relative;
    min-height: 570px;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* =========================================
   INSTRUMENT BODY
   ========================================= */

.tem-instrument {
    position: relative;
    width: 300px;
    height: 535px;
    display: flex;
    flex-direction: column;
    align-items: center;
}


/* =========================================
   ELECTRON SOURCE
   ========================================= */

.tem-source {
    position: relative;
    width: 108px;
    height: 72px;
    z-index: 3;
}


.source-cap {
    position: absolute;
    top: 0;
    left: 50%;
    width: 88px;
    height: 34px;
    transform: translateX(-50%);
    border: 2px solid #d4a436;
    border-radius: 48px 48px 10px 10px;
    background: #102f4d;
}


.source-tip {
    position: absolute;
    top: 29px;
    left: 50%;
    width: 28px;
    height: 32px;
    transform: translateX(-50%);
    border-left: 2px solid #d4a436;
    border-right: 2px solid #d4a436;
    background: #173c5c;
}


.source-tip::after {
    content: "";
    position: absolute;
    bottom: -3px;
    left: 50%;
    width: 8px;
    height: 8px;
    transform: translateX(-50%);
    border-radius: 50%;
    background: #d4a436;
    box-shadow: 0 0 12px rgba(212,164,54,0.75);
}


/* =========================================
   MAIN OPTICS COLUMN
   ========================================= */

.tem-optics-column {
    position: relative;
    width: 158px;
    height: 385px;
    margin-top: -2px;
    border: 2px solid #d4a436;
    border-top: none;
    border-radius: 0 0 78px 78px;

    background:
        linear-gradient(
            90deg,
            #102f4d 0%,
            #1b4568 48%,
            #102f4d 100%
        );

    box-shadow:
        0 20px 45px rgba(16,47,77,0.18);

    overflow: hidden;
}


/* =========================================
   ELECTRON BEAM
   ========================================= */

.electron-beam {
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 325px;
    transform: translateX(-50%);

    background:
        linear-gradient(
            to bottom,
            rgba(255,255,255,0.95),
            #d4a436 35%,
            rgba(255,255,255,0.85)
        );

    box-shadow:
        0 0 10px rgba(212,164,54,0.65);
}


/* Small electron markers */

.electron-beam::before,
.electron-beam::after {
    content: "";
    position: absolute;
    left: 50%;
    width: 5px;
    height: 5px;
    transform: translateX(-50%);
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 0 8px rgba(255,255,255,0.9);
}

.electron-beam::before {
    top: 55px;
}

.electron-beam::after {
    top: 180px;
}


/* =========================================
   ELECTROMAGNETIC LENSES
   ========================================= */

.tem-lens {
    position: absolute;
    left: 50%;
    width: 96px;
    height: 25px;
    transform: translateX(-50%);

    border: 2px solid #d4a436;
    border-radius: 50%;

    background:
        radial-gradient(
            ellipse,
            rgba(212,164,54,0.18),
            rgba(212,164,54,0.02) 70%
        );

    box-shadow:
        0 0 10px rgba(212,164,54,0.15);
}


.tem-lens span {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 42px;
    height: 8px;
    transform: translate(-50%, -50%);
    border-top: 1px solid rgba(255,255,255,0.55);
    border-bottom: 1px solid rgba(255,255,255,0.55);
}


.lens-one {
    top: 70px;
}


.lens-two {
    top: 145px;
}


.lens-three {
    top: 220px;
}


/* =========================================
   SPECIMEN PLANE
   ========================================= */

.tem-specimen-plane {
    position: absolute;
    top: 285px;
    left: 50%;
    width: 112px;
    height: 38px;
    transform: translateX(-50%);

    border: 2px solid #d4a436;

    background: #f5f7f9;

    box-shadow:
        0 0 18px rgba(212,164,54,0.35);
}


.specimen-grid {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 45px;
    height: 45px;
    transform: translate(-50%, -50%);

    border: 1px solid #d4a436;
    border-radius: 50%;
}


.specimen-grid::before,
.specimen-grid::after {
    content: "";
    position: absolute;
    background: rgba(184,135,28,0.45);
}


.specimen-grid::before {
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
}


.specimen-grid::after {
    left: 50%;
    top: 0;
    width: 1px;
    height: 100%;
}


/* =========================================
   IMAGE DETECTOR
   ========================================= */

.tem-detector {
    position: absolute;
    bottom: 20px;
    left: 50%;
    width: 72px;
    height: 42px;
    transform: translateX(-50%);

    border: 2px solid #d4a436;
    border-radius: 8px;

    background: #f5f7f9;
}


.detector-core {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    transform: translate(-50%, -50%);

    border: 2px solid #102f4d;
    border-radius: 50%;
}


.detector-core::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 6px;
    height: 6px;
    transform: translate(-50%, -50%);

    border-radius: 50%;
    background: #d4a436;
}


/* =========================================
   INSTRUMENT BASE
   ========================================= */

.tem-base {
    width: 205px;
    height: 34px;
    margin-top: 0;

    border: 2px solid #d4a436;
    border-radius: 8px;

    background: #102f4d;

    box-shadow:
        0 12px 25px rgba(16,47,77,0.15);
}


/* =========================================
   SCIENTIFIC LABELS
   ========================================= */

.science-label {
    position: absolute;

    padding: 7px 11px;

    border-left: 2px solid #d4a436;

    background: rgba(245,247,249,0.94);

    font-size: 11px;
    font-weight: 700;
    line-height: 1.45;
    letter-spacing: 1px;

    color: #102f4d;

    white-space: nowrap;
}


.label-source {
    top: 58px;
    right: -15px;
}


.label-optics {
    top: 208px;
    left: 0px;
}


.label-specimen {
    top: 350px;
    right: 0;
}


.label-analysis {
    bottom: 8px;
    left: 0;
}


/* =========================================
   TECHNICAL CONNECTING LINES
   ========================================= */

.science-line {
    position: absolute;

    height: 1px;

    background: rgba(184,135,28,0.48);

    transform-origin: left center;
}


.line-source {
    width: 65px;
    top: 62px;
    right: 180px;
    transform: none;
}


.line-optics {
    width: 90px;
    top: 228px;
    left: 92px;
    transform: rotate(8deg);
}


.line-specimen {
    width: 70px;
    top: 365px;
    left: 310px;
    transform: none;
}


.line-analysis {
    width: 82px;
    bottom: 35px;
    left: 88px;
    transform: rotate(-18deg);
}

/* =========================================
   PREMREC KNOWLEDGE ECOSYSTEM
   ========================================= */

.premrec-knowledge {
    padding: 70px 0 75px;
    background: #ffffff;
}


/* =========================================
   SECTION HEADING
   ========================================= */

.premrec-knowledge-heading {
    max-width: 780px;
    margin: 0 auto 65px;
    text-align: center;
}


.premrec-section-label {
    display: inline-block;
    margin-bottom: 16px;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;

    color: #b8871c;
}


.premrec-knowledge-heading h2 {
    margin: 0 0 20px;

    font-size: clamp(32px, 3.5vw, 44px);
    line-height: 1.15;
    letter-spacing: -0.8px;

    color: #102f4d;
}


.premrec-knowledge-heading p {
    max-width: 700px;
    margin: 0 auto;

    font-size: 18px;
    line-height: 1.7;

    color: #52677a;
}


/* =========================================
   KNOWLEDGE GRID
   ========================================= */

.premrec-knowledge-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}


/* =========================================
   KNOWLEDGE CARD
   ========================================= */

.premrec-knowledge-card {
    position: relative;

    min-height: 320px;
    padding: 34px 28px 32px;

    border: 1px solid #e3e8ed;
    border-top: 3px solid #d4a436;
    border-radius: 6px;

    background: #f9fafb;

    box-shadow:
        0 8px 24px rgba(16,47,77,0.06);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}


.premrec-knowledge-card:hover {
    transform: translateY(-6px);

    border-color: #d4a436;

    box-shadow:
        0 16px 34px rgba(16,47,77,0.11);
}


/* =========================================
   KNOWLEDGE ICON / NUMBER
   ========================================= */

.premrec-knowledge-icon {
    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 28px;

    border: 1px solid #d4a436;
    border-radius: 50%;

    background: #102f4d;

    color: #ffffff;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
}


/* =========================================
   CARD TYPOGRAPHY
   ========================================= */

.premrec-knowledge-card h3 {
    margin: 0 0 16px;

    font-size: 21px;
    line-height: 1.3;

    color: #102f4d;
}


.premrec-knowledge-card p {
    margin: 0;

    font-size: 15.5px;
    line-height: 1.75;

    color: #52677a;
}


/* =========================================
   KNOWLEDGE RESPONSIVE
   ========================================= */

@media (max-width: 1000px) {

    .premrec-knowledge-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


@media (max-width: 600px) {

    .premrec-knowledge {
        padding: 80px 0 85px;
    }

    .premrec-knowledge-heading {
        margin-bottom: 45px;
    }

    .premrec-knowledge-heading h2 {
        font-size: 34px;
    }

    .premrec-knowledge-heading p {
        font-size: 16px;
    }

    .premrec-knowledge-grid {
        grid-template-columns: 1fr;
    }

    .premrec-knowledge-card {
        min-height: auto;
    }

}
/* =========================================
   RESPONSIVE — HERO
   ========================================= */

/* =========================================
   TABLET / SMALL DESKTOP
   ========================================= */

@media (max-width: 1250px) and (min-width: 901px) {

    .premrec-hero-grid {
        grid-template-columns: 0.92fr 0.78fr;
        gap: 40px;
    }

    .premrec-hero-content {
        max-width: 560px;
    }

    .premrec-hero h1 {
        font-size: clamp(46px, 4.5vw, 60px);
    }

    .premrec-hero-visual {
        transform: translateX(-35px) scale(0.88);
        transform-origin: center center;
    }

    /* Keep scientific labels inside the viewport */
    .label-source {
        right: 28px;
    }

    .label-optics {
        left: 18px;
    }

    .label-specimen {
        right: 24px;
    }

    .label-analysis {
        left: 18px;
    }

}


/* =========================================
   MOBILE / TABLET
   ========================================= */

@media (max-width: 900px) {

    .premrec-hero {
        padding: 70px 0;
    }

    .premrec-hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .premrec-hero-content {
        max-width: 700px;
    }

    .premrec-hero-visual {
        min-height: 520px;
    }

}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 600px) {

    .premrec-hero h1 {
        font-size: 43px;
    }

    .premrec-hero-lead {
        font-size: 20px;
    }

    .premrec-hero-content p:not(.premrec-hero-lead) {
        font-size: 16px;
    }

    .premrec-hero-visual {
        transform: scale(0.85);
        transform-origin: top center;
        min-height: 470px;
    }

}


@media (max-width: 600px) {

    .premrec-hero h1 {
        font-size: 43px;
    }

    .premrec-hero-lead {
        font-size: 20px;
    }

    .premrec-hero-content p:not(.premrec-hero-lead) {
        font-size: 16px;
    }

}

/* =========================================
   PrEMReC AUDIENCE SECTION
   ========================================= */

.premrec-audience {
    padding: 70px 0;
    background: #f7f8fa;
}

.premrec-section-heading {
    max-width: 900px;
    margin: 0 auto 65px;
    text-align: center;
}

.premrec-section-heading .premrec-eyebrow {
    display: block;
    margin-bottom: 18px;
}

.premrec-section-heading h2 {
    margin: 0 0 25px;
    color: #0f2f4f;
    font-size: 44px;
    line-height: 1.15;
    font-weight: 700;
}

.premrec-section-heading p {
    max-width: 800px;
    margin: 0 auto;
    color: #49627a;
    font-size: 19px;
    line-height: 1.7;
}


/* AUDIENCE GRID */

.premrec-audience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}


/* AUDIENCE CARD */

.premrec-audience-card {
    position: relative;
    padding: 38px 34px 40px;
    background: #ffffff;
    border: 1px solid #e1e6eb;
    border-top: 3px solid #d5a027;
    border-radius: 8px;
    box-shadow: 0 10px 28px rgba(15, 47, 79, 0.06);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.premrec-audience-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 35px rgba(15, 47, 79, 0.11);
}


/* NUMBER */

.premrec-audience-number {
    width: 54px;
    height: 54px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 24px;

    background: #0f2f4f;
    color: #ffffff;

    border: 1px solid #d5a027;
    border-radius: 50%;

    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.04em;
}


/* CARD CONTENT */

.premrec-audience-card h3 {
    margin: 0 0 18px;

    color: #0f2f4f;

    font-size: 25px;
    line-height: 1.25;
    font-weight: 700;
}

.premrec-audience-card p {
    margin: 0;

    color: #49627a;

    font-size: 17px;
    line-height: 1.75;
}


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

@media (max-width: 900px) {

    .premrec-audience {
        padding: 85px 0;
    }

    .premrec-section-heading h2 {
        font-size: 40px;
    }

    .premrec-audience-grid {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 600px) {

    .premrec-section-heading h2 {
        font-size: 34px;
    }

    .premrec-section-heading p {
        font-size: 17px;
    }

    .premrec-audience-card {
        padding: 32px 28px;
    }

}
/* =========================================
   PrEMReC FEATURED LEARNING
   ========================================= */

.premrec-learning {
    padding: 70px 0;
    background: #ffffff;
}


/* SECTION HEADING */

.premrec-learning .premrec-section-heading {
    max-width: 900px;
    margin: 0 auto 75px;
    text-align: center;
}

.premrec-learning .premrec-section-heading h2 {
    margin: 0 0 25px;
    color: #0f2f4f;
    font-size: 44px;
    line-height: 1.15;
    font-weight: 700;
}

.premrec-learning .premrec-section-heading p {
    max-width: 820px;
    margin: 0 auto;
    color: #49627a;
    font-size: 19px;
    line-height: 1.7;
}


/* =========================================
   LEARNING PATHWAY
   ========================================= */

.premrec-learning-pathway {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: center;
    gap: 22px;
}


/* STAGE */

.premrec-learning-stage {
    min-height: 280px;
    padding: 35px 32px;

    background: #f7f8fa;

    border: 1px solid #e1e6eb;
    border-top: 3px solid #d5a027;
    border-radius: 8px;

    box-shadow: 0 10px 28px rgba(15, 47, 79, 0.05);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.premrec-learning-stage:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 35px rgba(15, 47, 79, 0.10);
}


/* NUMBER MARKER */

.premrec-learning-marker {
    width: 54px;
    height: 54px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 28px;

    background: #0f2f4f;
    color: #ffffff;

    border: 1px solid #d5a027;
    border-radius: 50%;

    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.04em;
}


/* STAGE LABEL */

.premrec-stage-label {
    display: block;

    margin-bottom: 12px;

    color: #c18b16;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
}


/* STAGE HEADING */

.premrec-learning-stage h3 {
    margin: 0 0 17px;

    color: #0f2f4f;

    font-size: 25px;
    line-height: 1.25;
    font-weight: 700;
}


/* STAGE DESCRIPTION */

.premrec-learning-stage p {
    margin: 0;

    color: #49627a;

    font-size: 17px;
    line-height: 1.7;
}


/* =========================================
   PATHWAY CONNECTOR
   ========================================= */

.premrec-learning-connector {
    position: relative;

    width: 46px;
    height: 2px;

    background: #d5a027;
}

.premrec-learning-connector::after {
    content: "";

    position: absolute;

    right: -1px;
    top: 50%;

    width: 8px;
    height: 8px;

    border-top: 2px solid #d5a027;
    border-right: 2px solid #d5a027;

    transform: translateY(-50%) rotate(45deg);
}


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

@media (max-width: 1050px) {

    .premrec-learning-pathway {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .premrec-learning-connector {
        width: 2px;
        height: 35px;
        margin: 0 auto;
    }

    .premrec-learning-connector::after {
        right: auto;
        left: 50%;
        top: auto;
        bottom: -1px;

        transform: translateX(-50%) rotate(135deg);
    }

}


@media (max-width: 900px) {

    .premrec-learning {
        padding: 85px 0;
    }

    .premrec-learning .premrec-section-heading h2 {
        font-size: 40px;
    }

}


@media (max-width: 600px) {

    .premrec-learning .premrec-section-heading h2 {
        font-size: 34px;
    }

    .premrec-learning .premrec-section-heading p {
        font-size: 17px;
    }

    .premrec-learning-stage {
        padding: 30px 26px;
    }

}
/* Equal-height learning pathway cards */

.premrec-learning-pathway {
    align-items: stretch;
}

.premrec-learning-stage {
    height: 100%;
}

.premrec-learning-connector {
    align-self: center;
}
/* =========================================
   PrEMReC KNOWLEDGE DOMAINS
   ========================================= */

.premrec-domains {
    padding: 70px 0;
    background: #f7f8fa;
}


/* SECTION HEADING */

.premrec-domains .premrec-section-heading {
    max-width: 900px;
    margin: 0 auto 65px;
    text-align: center;
}

.premrec-domains .premrec-section-heading h2 {
    margin: 0 0 25px;

    color: #0f2f4f;

    font-size: 44px;
    line-height: 1.15;
    font-weight: 700;
}

.premrec-domains .premrec-section-heading p {
    max-width: 820px;
    margin: 0 auto;

    color: #49627a;

    font-size: 19px;
    line-height: 1.7;
}


/* =========================================
   DOMAIN GRID
   ========================================= */

.premrec-domains-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}


/* =========================================
   DOMAIN CARD
   ========================================= */

.premrec-domain-card {
    display: flex;
    align-items: flex-start;
    gap: 22px;

    min-height: 230px;
    padding: 30px 28px;

    background: #ffffff;

    border: 1px solid #e1e6eb;
    border-left: 3px solid #d5a027;
    border-radius: 8px;

    box-shadow:
        0 8px 24px rgba(15, 47, 79, 0.05);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}


.premrec-domain-card:hover {
    transform: translateY(-5px);

    border-color: #d5a027;

    box-shadow:
        0 15px 32px rgba(15, 47, 79, 0.10);
}


/* =========================================
   DOMAIN NUMBER
   ========================================= */

.premrec-domain-number {
    flex: 0 0 50px;

    width: 50px;
    height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #d5a027;
    border-radius: 50%;

    background: #0f2f4f;

    color: #ffffff;

    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
}


/* =========================================
   DOMAIN CONTENT
   ========================================= */

.premrec-domain-content {
    flex: 1;
}


.premrec-domain-content h3 {
    margin: 0 0 14px;

    color: #0f2f4f;

    font-size: 21px;
    line-height: 1.3;
    font-weight: 700;
}


.premrec-domain-content p {
    margin: 0;

    color: #49627a;

    font-size: 15.5px;
    line-height: 1.7;
}


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

@media (max-width: 1000px) {

    .premrec-domains-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


@media (max-width: 700px) {

    .premrec-domains {
        padding: 85px 0;
    }

    .premrec-domains .premrec-section-heading h2 {
        font-size: 40px;
    }

    .premrec-domains .premrec-section-heading p {
        font-size: 17px;
    }

    .premrec-domains-grid {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 600px) {

    .premrec-domains .premrec-section-heading h2 {
        font-size: 34px;
    }

    .premrec-domain-card {
        min-height: auto;
        padding: 28px 24px;
    }

}
/* =========================================
   PrEMReC PRACTICAL RESOURCES
   ========================================= */

.premrec-resources {
    padding: 70px 0;
    background: #ffffff;
}


/* =========================================
   SECTION HEADING
   ========================================= */

.premrec-resources .premrec-section-heading {
    max-width: 900px;
    margin: 0 auto 65px;
    text-align: center;
}

.premrec-resources .premrec-section-heading h2 {
    margin: 0 0 25px;

    color: #0f2f4f;

    font-size: 44px;
    line-height: 1.15;
    font-weight: 700;
}

.premrec-resources .premrec-section-heading p {
    max-width: 820px;
    margin: 0 auto;

    color: #49627a;

    font-size: 19px;
    line-height: 1.7;
}


/* =========================================
   RESOURCE GRID
   ========================================= */

.premrec-resources-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}


/* =========================================
   RESOURCE CARD
   ========================================= */

.premrec-resource-card {
    display: flex;
    align-items: flex-start;
    gap: 24px;

    min-height: 220px;
    padding: 32px;

    background: #f7f8fa;

    border: 1px solid #e1e6eb;
    border-top: 3px solid #d5a027;
    border-radius: 8px;

    box-shadow:
        0 8px 24px rgba(15, 47, 79, 0.04);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}


.premrec-resource-card:hover {
    transform: translateY(-5px);

    border-color: #d5a027;

    box-shadow:
        0 15px 32px rgba(15, 47, 79, 0.09);
}


/* =========================================
   RESOURCE NUMBER
   ========================================= */

.premrec-resource-number {
    flex: 0 0 52px;

    width: 52px;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #d5a027;
    border-radius: 50%;

    background: #0f2f4f;

    color: #ffffff;

    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
}


/* =========================================
   RESOURCE CONTENT
   ========================================= */

.premrec-resource-content {
    flex: 1;
}


.premrec-resource-label {
    display: block;

    margin-bottom: 10px;

    color: #c58d13;

    font-size: 12px;
    line-height: 1.4;
    font-weight: 700;

    letter-spacing: 0.16em;
}


.premrec-resource-content h3 {
    margin: 0 0 14px;

    color: #0f2f4f;

    font-size: 23px;
    line-height: 1.3;
    font-weight: 700;
}


.premrec-resource-content p {
    margin: 0;

    color: #49627a;

    font-size: 15.5px;
    line-height: 1.7;
}


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

@media (max-width: 800px) {

    .premrec-resources-grid {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 700px) {

    .premrec-resources {
        padding: 85px 0;
    }

    .premrec-resources .premrec-section-heading h2 {
        font-size: 40px;
    }

    .premrec-resources .premrec-section-heading p {
        font-size: 17px;
    }

}


@media (max-width: 600px) {

    .premrec-resources .premrec-section-heading h2 {
        font-size: 34px;
    }

    .premrec-resource-card {
        min-height: auto;
        padding: 28px 24px;
    }

}
/* =========================================
   SECTION 7 — FROM KNOWLEDGE TO PRACTICE
   ========================================= */

.practice-bridge {
    padding: 80px 0;
    background: #f7f8fa;
}

.practice-bridge .section-heading {
    max-width: 900px;
    margin: 0 auto 70px;
    text-align: center;
}

.practice-bridge .section-eyebrow {
    display: block;
    margin-bottom: 18px;
    color: #c58b12;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 3px;
}

.practice-bridge .section-heading h2 {
    margin: 0 0 28px;
    color: #123456;
    font-size: 44px;
    line-height: 1.15;
    font-weight: 700;
}

.practice-bridge .section-heading p {
    max-width: 820px;
    margin: 0 auto;
    color: #31577d;
    font-size: 19px;
    line-height: 1.8;
}


/* FLOW */

.practice-flow {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: center;
    gap: 24px;
}


/* CARDS */

.practice-card {
    min-height: 330px;
    padding: 42px 36px;
    background: #ffffff;
    border: 1px solid #dfe5eb;
    border-top: 3px solid #d6a11e;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(18, 52, 86, 0.06);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.practice-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(18, 52, 86, 0.12);
}


/* NUMBER */

.practice-number {
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;

    background: #123456;
    color: #ffffff;

    border: 1px solid #d6a11e;
    border-radius: 50%;

    font-size: 16px;
    font-weight: 700;
}


/* LABEL */

.practice-label {
    display: block;
    margin-bottom: 12px;

    color: #c58b12;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
}


/* TITLE */

.practice-card h3 {
    margin: 0 0 18px;

    color: #123456;
    font-size: 27px;
    line-height: 1.25;
}


/* DESCRIPTION */

.practice-card p {
    margin: 0;

    color: #31577d;
    font-size: 17px;
    line-height: 1.75;
}


/* ARROWS */

.practice-arrow {
    color: #d6a11e;
    font-size: 34px;
    font-weight: 400;
}


/* RESPONSIVE */

@media (max-width: 900px) {

    .practice-flow {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .practice-arrow {
        text-align: center;
        transform: rotate(90deg);
    }

    .practice-card {
        min-height: auto;
    }

}


@media (max-width: 600px) {

    .practice-bridge {
        padding: 80px 0;
    }

    .practice-bridge .section-heading h2 {
        font-size: 36px;
    }

    .practice-bridge .section-heading p {
        font-size: 17px;
    }

    .practice-card {
        padding: 32px 28px;
    }

}
/* =========================================
   SECTION 7 — PROGRESSION HEIGHT
   ========================================= */

.practice-card:nth-child(1) {
    min-height: 300px;
}

.practice-card:nth-child(3) {
    min-height: 350px;
}

.practice-card:nth-child(5) {
    min-height: 400px;
}
/* =========================================
   PrEMReC HEADER / NAVIGATION
   ========================================= */

.premrec-header {
    position: relative;
    z-index: 1000;

    background: #ffffff;

    border-bottom: 1px solid #e5e9ed;

    box-shadow:
        0 4px 16px rgba(15, 47, 79, 0.04);
}


.premrec-nav {
    min-height: 82px;

    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;

    column-gap: 28px;
}


/* =========================================
   PrEMReC BRAND
   ========================================= */

.premrec-brand {
    display: flex;
    flex-direction: column;

    flex-shrink: 0;

    text-decoration: none;
}


.premrec-brand-main {
    color: #0f2f4f;

    font-size: 24px;
    line-height: 1.1;

    font-weight: 800;

    letter-spacing: 0.02em;
}


.premrec-brand-sub {
    margin-top: 5px;

    color: #6a7d8f;

    font-size: 9px;
    line-height: 1.2;

    font-weight: 600;

    letter-spacing: 0.09em;
    text-transform: uppercase;
}


/* =========================================
   NAVIGATION
   ========================================= */

.premrec-navigation {
    display: flex;
    align-items: center;
    justify-content: flex-end;

    gap: 22px;

    min-width: 0;
}


.premrec-navigation a {
    position: relative;

    padding: 8px 0;

    color: #314e68;

    font-size: 13px;
    font-weight: 600;

    text-decoration: none;

    transition:
        color 0.25s ease;
}


.premrec-navigation a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 2px;

    width: 0;
    height: 2px;

    background: #d5a027;

    transition:
        width 0.25s ease;
}


.premrec-navigation a:hover {
    color: #0f2f4f;
}


.premrec-navigation a:hover::after {
    width: 100%;
}


/* =========================================
   YSG RETURN BUTTON
   ========================================= */

.premrec-nav-button {
    flex-shrink: 0;

    padding: 11px 18px;

    border: 1px solid #d5a027;
    border-radius: 4px;

    background: #0f2f4f;

    color: #ffffff;

    font-size: 12px;
    font-weight: 700;

    text-decoration: none;

    white-space: nowrap;

    transition:
        background 0.25s ease,
        transform 0.25s ease;
}


.premrec-nav-button:hover {
    background: #173e60;

    transform: translateY(-2px);
}


/* =========================================
   HEADER RESPONSIVE
   ========================================= */

@media (max-width: 1250px) and (min-width: 901px) {

    .premrec-header {
        padding-left: 28px;
        padding-right: 28px;
    }

    .premrec-navigation {
        gap: 14px;
    }

    .premrec-navigation a {
        font-size: 12px;
    }

    .premrec-nav-button {
        padding: 10px 14px;
        font-size: 11px;
        white-space: nowrap;
    }

    .premrec-hero-grid {
        gap: 10px;
    }

    .premrec-hero-visual {
        transform: translateX(-70px) scale(0.80);
        transform-origin: center center;
    }

}


@media (max-width: 850px) {

    .premrec-navigation {
        display: none;
    }

    .premrec-nav {
        min-height: 74px;
    }

}


@media (max-width: 600px) {

    .premrec-nav {
        min-height: 74px;
        grid-template-columns: minmax(0, 1fr) auto;
        column-gap: 14px;
    }

    .premrec-brand {
        min-width: 0;
    }

    .premrec-brand-main {
        font-size: 21px;
    }

    .premrec-brand-sub {
        max-width: 100%;
        font-size: 8px;
        letter-spacing: 0.07em;
        white-space: normal;
    }

    .premrec-nav-button {
        padding: 9px 11px;
        font-size: 10px;
    }

}
/* =========================================
   PrEMReC FOOTER
   ========================================= */

.premrec-footer {
    margin-top: 0;

    background: #0f2f4f;

    color: #ffffff;
}


/* =========================================
   FOOTER GRID
   ========================================= */

.premrec-footer-grid {

    display: grid;

    grid-template-columns:
        1.6fr
        1fr
        1fr
        1fr;

    gap: 55px;

    padding-top: 65px;
    padding-bottom: 55px;
}


/* =========================================
   FOOTER BRAND
   ========================================= */

.premrec-footer-brand {
    max-width: 360px;
}


.premrec-footer-title {

    color: #ffffff;

    font-size: 30px;
    line-height: 1;

    font-weight: 800;

    letter-spacing: 0.02em;
}


.premrec-footer-subtitle {

    margin-top: 8px;

    color: #d5a027;

    font-size: 10px;
    line-height: 1.4;

    font-weight: 700;

    letter-spacing: 0.10em;

    text-transform: uppercase;
}


.premrec-footer-brand p {

    margin-top: 22px;

    color: #c8d4df;

    font-size: 14px;
    line-height: 1.8;
}


/* =========================================
   RETURN TO YSG
   ========================================= */

.premrec-footer-home {

    display: inline-block;

    margin-top: 18px;

    color: #ffffff;

    font-size: 13px;
    font-weight: 700;

    text-decoration: none;

    transition:
        color 0.25s ease;
}


.premrec-footer-home:hover {

    color: #d5a027;
}


/* =========================================
   FOOTER COLUMNS
   ========================================= */

.premrec-footer-column {

    display: flex;

    flex-direction: column;

    align-items: flex-start;
}


.premrec-footer-column h3 {

    margin: 0 0 18px;

    color: #d5a027;

    font-size: 12px;
    line-height: 1.4;

    font-weight: 700;

    letter-spacing: 0.10em;

    text-transform: uppercase;
}


.premrec-footer-column a {

    margin-bottom: 11px;

    color: #d7e0e8;

    font-size: 13px;
    line-height: 1.5;

    text-decoration: none;

    transition:
        color 0.25s ease,
        transform 0.25s ease;
}


.premrec-footer-column a:hover {

    color: #ffffff;

    transform: translateX(3px);
}


/* =========================================
   FOOTER BOTTOM
   ========================================= */

.premrec-footer-bottom {

    border-top: 1px solid rgba(255, 255, 255, 0.12);
}


.premrec-footer-bottom .premrec-container {

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding-top: 18px;
    padding-bottom: 18px;
}


.premrec-footer-bottom p {

    margin: 0;

    color: #9fb1c1;

    font-size: 11px;
    line-height: 1.5;
}


/* =========================================
   FOOTER RESPONSIVE
   ========================================= */

@media (max-width: 900px) {

    .premrec-footer-grid {

        grid-template-columns:
            1.5fr
            1fr
            1fr;

    }

}


@media (max-width: 650px) {

    .premrec-footer-grid {

        grid-template-columns: 1fr;

        gap: 35px;

        padding-top: 50px;
        padding-bottom: 40px;

    }


    .premrec-footer-brand {

        max-width: 100%;

    }


    .premrec-footer-bottom .premrec-container {

        flex-direction: column;

        align-items: flex-start;

    }

}
/* =========================================
   PrEMReC FINAL CTA
   ========================================= */

.premrec-final-cta {

    padding: 90px 20px;

    text-align: center;

    background: #f5f7f9;

    border-top: 1px solid #e4e9ee;
}


.premrec-final-cta .premrec-container {

    max-width: 850px;

    margin: 0 auto;
}


/* =========================================
   CTA EYEBROW
   ========================================= */

.premrec-final-eyebrow {

    display: block;

    margin-bottom: 18px;

    color: #d5a027;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 0.16em;

    text-transform: uppercase;
}


/* =========================================
   CTA HEADING
   ========================================= */

.premrec-final-cta h2 {

    margin: 0;

    color: #0f2f4f;

    font-size: clamp(32px, 4vw, 48px);

    line-height: 1.15;

    font-weight: 800;
}


/* =========================================
   CTA DESCRIPTION
   ========================================= */

.premrec-final-cta p {

    max-width: 700px;

    margin: 24px auto 0;

    color: #49657e;

    font-size: 17px;

    line-height: 1.8;
}


/* =========================================
   CTA ACTIONS
   ========================================= */

.premrec-final-actions {

    display: flex;

    justify-content: center;
    align-items: center;

    flex-wrap: wrap;

    gap: 14px;

    margin-top: 35px;
}


/* Primary CTA */

.premrec-final-actions .premrec-button {

    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-width: 190px;

    padding: 14px 22px;

    border-radius: 5px;

    background: #0f2f4f;

    color: #ffffff;

    font-size: 13px;
    font-weight: 700;

    text-decoration: none;

    transition:
        background 0.25s ease,
        transform 0.25s ease;
}


.premrec-final-actions .premrec-button:hover {

    background: #173e60;

    transform: translateY(-2px);
}


/* Secondary CTA */

.premrec-final-actions .premrec-button.secondary {

    background: transparent;

    color: #0f2f4f;

    border: 1px solid #0f2f4f;
}


.premrec-final-actions .premrec-button.secondary:hover {

    background: #0f2f4f;

    color: #ffffff;
}


/* =========================================
   CTA RESPONSIVE
   ========================================= */

@media (max-width: 600px) {

    .premrec-final-cta {

        padding: 70px 20px;

    }


    .premrec-final-cta p {

        font-size: 15px;

    }


    .premrec-final-actions {

        flex-direction: column;

        width: 100%;

    }


    .premrec-final-actions .premrec-button {

        width: 100%;

        max-width: 300px;

    }

}

/* =========================================
   PrEMReC — 1200px HEADER REFINEMENT
   ========================================= */

@media (max-width: 1250px) and (min-width: 1051px) {

    .premrec-nav {
        gap: 12px;
    }

    .premrec-navigation {
        gap: 12px;
    }

    .premrec-navigation a {
        font-size: 11px;
    }

    .premrec-nav-button {
        padding: 8px 12px;
        font-size: 10px;
        white-space: nowrap;
    }

}

/* =========================================
   PrEMReC — MOBILE HERO VISUAL CALIBRATION
   ========================================= */

@media (max-width: 600px) {

    .premrec-hero-visual {
        width: 100%;
        min-height: 500px;
        overflow: visible;
    }

    /* Scientific labels */

    .label-source {
        top: 58px;
        right: 8px;
    }

    .label-optics {
        top: 208px;
        left: 8px;
    }

    .label-specimen {
        top: 350px;
        right: 8px;
    }

    .label-analysis {
        bottom: 8px;
        left: 8px;
    }

    /* Connecting lines */

    .line-source {
        width: 14px;
        top: 62px;
        right: 145px;
    }

    .line-optics {
        width: 55px;
        top: 228px;
        left: 78px;
        transform: rotate(8deg);
    }

    .line-specimen {
        width: 14px;
        top: 365px;
        left: 235px;
        transform: none;
    }

    .line-analysis {
        width: 55px;
        bottom: 35px;
        left: 78px;
        transform: rotate(-18deg);
    }

}