/* =========================================================
   PROCESS PAGE
   Yuanyin Packaging — Process 2.0

   IMPORTANT:
   All styles are scoped to .process-page
   so they will NOT affect other pages.
========================================================= */


/* =========================================================
   ROOT
========================================================= */

.process-page {

    --process-ink: #171715;
    --process-soft-ink: #4f4942;
    --process-muted: #756b61;

    --process-paper: #f7f2ea;
    --process-paper-light: #fbf8f3;

    --process-gold: #ae8045;
    --process-gold-light: #c9a574;

    --process-line: rgba(35, 31, 27, 0.13);

    width: 100%;

    margin: 0;
    padding: 0;

    background: var(--process-paper);

    color: var(--process-ink);

    overflow: hidden;
}


/* =========================================================
   GLOBAL RESET INSIDE PROCESS PAGE
========================================================= */

.process-page *,
.process-page *::before,
.process-page *::after {
    box-sizing: border-box;
}


.process-page h1,
.process-page h2,
.process-page h3,
.process-page p {
    margin-top: 0;
}


/* =========================================================
   HERO
   NO IMAGE
========================================================= */

.process-page .process-hero {

    width: 100%;

    min-height: 410px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: var(--process-paper);

    border-bottom: 1px solid var(--process-line);

    text-align: center;

    padding: 78px 30px 72px;
}


.process-page .process-hero-content {

    width: 100%;

    max-width: 920px;

    margin: 0 auto;

    display: flex;

    flex-direction: column;

    align-items: center;
}


/* =========================================================
   HERO EYEBROW
========================================================= */

.process-page .process-eyebrow {

    margin-bottom: 20px;

    color: var(--process-gold);

    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 0.22em;

    line-height: 1.4;

    text-transform: uppercase;
}


/* =========================================================
   HERO TITLE
========================================================= */

.process-page .process-hero h1 {

    max-width: 850px;

    margin: 0;

    color: var(--process-ink);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: clamp(48px, 5.2vw, 76px);

    font-weight: 600;

    line-height: 1.03;

    letter-spacing: -0.035em;
}


/* =========================================================
   GOLD LINE
========================================================= */

.process-page .process-gold-line {

    width: 48px;

    height: 2px;

    margin: 27px auto 23px;

    background: var(--process-gold);

    flex-shrink: 0;
}


/* =========================================================
   HERO DESCRIPTION
========================================================= */

.process-page .process-hero-text {

    max-width: 660px;

    margin: 0;

    color: var(--process-soft-ink);

    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    font-size: 16px;

    line-height: 1.75;
}


/* =========================================================
   PROCESS STEPS CONTAINER
========================================================= */

.process-page .process-steps {

    width: 100%;

    max-width: 1180px;

    margin: 0 auto;

    padding: 10px 40px 90px;

    position: relative;
}


/* =========================================================
   CENTRAL TIMELINE
========================================================= */

.process-page .process-steps::before {

    content: "";

    position: absolute;

    top: 58px;
    bottom: 105px;

    left: 132px;

    width: 1px;

    background: var(--process-line);
}


/* =========================================================
   INDIVIDUAL STEP
========================================================= */

.process-page .process-step {

    position: relative;

    display: grid;

    grid-template-columns: 105px 55px minmax(0, 1fr);

    column-gap: 0;

    padding: 66px 0;

    border-bottom: 1px solid var(--process-line);

    min-height: 260px;
}


.process-page .process-step:last-child {

    border-bottom: none;

    padding-bottom: 35px;
}


/* =========================================================
   STEP NUMBER
========================================================= */

.process-page .process-step-number {

    position: relative;

    z-index: 2;

    color: var(--process-gold);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 47px;

    line-height: 1;

    letter-spacing: -0.025em;
}


.process-page .process-step-number span {

    display: block;

    margin-top: 9px;

    color: var(--process-gold);

    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        sans-serif;

    font-size: 8px;

    font-weight: 800;

    letter-spacing: 0.18em;

    line-height: 1.4;

    text-transform: uppercase;
}


/* =========================================================
   TIMELINE MARKER
========================================================= */

.process-page .process-step-marker {

    position: relative;

    display: flex;

    justify-content: center;

    align-items: flex-start;

    z-index: 3;
}


.process-page .process-step-marker span {

    display: block;

    width: 11px;

    height: 11px;

    margin-top: 12px;

    border: 2px solid var(--process-gold);

    border-radius: 50%;

    background: var(--process-paper);
}


/* =========================================================
   STEP CONTENT
========================================================= */

.process-page .process-step-content {

    max-width: 760px;

    padding-left: 30px;
}


.process-page .process-step-content h2 {

    max-width: 720px;

    margin: 0 0 20px;

    color: var(--process-ink);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: clamp(28px, 3vw, 40px);

    font-weight: 600;

    line-height: 1.12;

    letter-spacing: -0.025em;
}


.process-page .process-step-content > p {

    max-width: 710px;

    margin: 0 0 18px;

    color: var(--process-soft-ink);

    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    font-size: 15px;

    line-height: 1.78;
}


/* =========================================================
   DELIVERABLES
========================================================= */

.process-page .process-deliverables {

    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 9px;

    margin-top: 25px;

    padding-top: 17px;

    border-top: 1px solid rgba(35, 31, 27, 0.09);
}


.process-page .process-deliverables span {

    color: var(--process-gold);

    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        sans-serif;

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 0.14em;

    line-height: 1.4;
}


.process-page .process-deliverables b {

    color: var(--process-gold-light);

    font-size: 13px;

    font-weight: 400;
}


/* =========================================================
   STEP 05 — SAMPLING
========================================================= */

.process-page .process-step-sampling {

    padding-top: 70px;

    padding-bottom: 75px;
}


/* =========================================================
   SAMPLE TYPES
========================================================= */

.process-page .process-testing-area {

    margin-top: 30px;

    padding: 25px 28px 27px;

    border: 1px solid rgba(174, 128, 69, 0.25);

    background: rgba(255, 252, 247, 0.55);
}


/* =========================================================
   SAMPLE FLOW
========================================================= */

.process-page .process-sample-types {

    display: flex;

    align-items: center;

    justify-content: flex-start;

    gap: 17px;

    padding-bottom: 22px;

    border-bottom: 1px solid rgba(35, 31, 27, 0.09);
}


.process-page .process-mini-item {

    display: flex;

    align-items: center;

    gap: 9px;
}


.process-page .process-mini-icon {

    display: flex;

    align-items: center;
    justify-content: center;

    width: 32px;
    height: 32px;

    color: var(--process-gold);
}


.process-page .process-mini-icon svg {

    width: 27px;
    height: 27px;

    fill: none;

    stroke: currentColor;

    stroke-width: 1.35;

    stroke-linecap: round;

    stroke-linejoin: round;
}


.process-page .process-mini-item span {

    color: var(--process-soft-ink);

    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        sans-serif;

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 0.11em;

    white-space: nowrap;
}


.process-page .process-mini-arrow {

    color: var(--process-gold-light);

    font-size: 17px;

    font-weight: 300;
}


/* =========================================================
   TESTING GRID
========================================================= */

.process-page .process-testing-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 18px;

    padding-top: 22px;
}


.process-page .process-test-item {

    display: flex;

    align-items: center;

    gap: 11px;
}


.process-page .process-test-icon {

    width: 31px;
    height: 31px;

    display: flex;

    align-items: center;
    justify-content: center;

    color: var(--process-gold);
}


.process-page .process-test-icon svg {

    width: 26px;
    height: 26px;

    fill: none;

    stroke: currentColor;

    stroke-width: 1.3;

    stroke-linecap: round;

    stroke-linejoin: round;
}


.process-page .process-test-item span {

    color: var(--process-muted);

    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        sans-serif;

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 0.1em;

    line-height: 1.4;
}


/* =========================================================
   FINAL SECTION
========================================================= */

.process-page .process-final {

    width: 100%;

    padding: 85px 6vw 90px;

    background: #eee4d8;

    text-align: center;
}


.process-page .process-final-title {

    max-width: 650px;

    margin: 0 auto 52px;
}


.process-page .process-final-title h2 {

    margin: 0;

    color: var(--process-ink);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: clamp(38px, 4.2vw, 58px);

    font-weight: 600;

    line-height: 1.08;

    letter-spacing: -0.03em;
}


.process-page .process-final-title .process-gold-line {

    margin-bottom: 0;
}


/* =========================================================
   FINAL FLOW
========================================================= */

.process-page .process-final-flow {

    max-width: 1250px;

    margin: 0 auto 50px;

    display: flex;

    align-items: center;

    justify-content: center;

    flex-wrap: wrap;

    gap: 13px;
}


.process-page .process-flow-item {

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 5px;

    min-width: 80px;
}


.process-page .process-flow-item span {

    color: var(--process-gold);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 18px;

    line-height: 1;
}


.process-page .process-flow-item strong {

    color: var(--process-soft-ink);

    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        sans-serif;

    font-size: 8px;

    font-weight: 800;

    letter-spacing: 0.11em;

    line-height: 1.3;
}


.process-page .process-flow-arrow {

    color: var(--process-gold-light);

    font-size: 18px;

    font-weight: 300;

    margin-top: -8px;
}


/* =========================================================
   CTA
========================================================= */

.process-page .process-cta {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 14px;

    min-height: 48px;

    padding: 0 25px;

    border-radius: 3px;

    background: #9b6b32;

    color: #ffffff;

    text-decoration: none;

    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        sans-serif;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 0.14em;

    transition:
        background 0.25s ease,
        transform 0.25s ease;
}


.process-page .process-cta span {

    font-size: 16px;

    font-weight: 400;
}


.process-page .process-cta:hover {

    background: #7e5427;

    color: #ffffff;

    transform: translateY(-2px);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .process-page .process-hero {

        min-height: 380px;

        padding: 70px 30px 65px;
    }


    .process-page .process-hero h1 {

        font-size: clamp(44px, 7vw, 62px);
    }


    .process-page .process-steps {

        padding-left: 30px;
        padding-right: 30px;
    }


    .process-page .process-steps::before {

        left: 105px;
    }


    .process-page .process-step {

        grid-template-columns: 80px 50px minmax(0, 1fr);
    }


    .process-page .process-step-content {

        padding-left: 22px;
    }


    .process-page .process-step-content h2 {

        font-size: 31px;
    }


    .process-page .process-sample-types {

        flex-wrap: wrap;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 640px) {

    .process-page .process-hero {

        min-height: 340px;

        padding: 58px 22px 55px;

        text-align: left;

        justify-content: flex-start;
    }


    .process-page .process-hero-content {

        align-items: flex-start;

        margin: 0;
    }


    .process-page .process-eyebrow {

        font-size: 10px;

        margin-bottom: 17px;
    }


    .process-page .process-hero h1 {

        font-size: 42px;

        line-height: 1.05;

        letter-spacing: -0.03em;
    }


    .process-page .process-gold-line {

        margin-left: 0;

        margin-right: 0;

        margin-top: 24px;

        margin-bottom: 20px;
    }


    .process-page .process-hero-text {

        font-size: 14px;

        line-height: 1.7;
    }


    .process-page .process-steps {

        padding: 0 20px 55px;
    }


    /* Remove central desktop timeline */

    .process-page .process-steps::before {

        display: none;
    }


    .process-page .process-step {

        display: block;

        min-height: 0;

        padding: 45px 0;

        border-bottom: 1px solid var(--process-line);
    }


    .process-page .process-step:last-child {

        padding-bottom: 30px;
    }


    .process-page .process-step-number {

        display: flex;

        align-items: baseline;

        gap: 11px;

        margin-bottom: 15px;

        font-size: 39px;
    }


    .process-page .process-step-number span {

        display: inline-block;

        margin: 0;

        font-size: 8px;
    }


    .process-page .process-step-marker {

        display: none;
    }


    .process-page .process-step-content {

        padding-left: 0;

        max-width: none;
    }


    .process-page .process-step-content h2 {

        font-size: 29px;

        line-height: 1.1;

        margin-bottom: 17px;
    }


    .process-page .process-step-content > p {

        font-size: 14px;

        line-height: 1.72;

        margin-bottom: 16px;
    }


    .process-page .process-deliverables {

        gap: 7px;

        margin-top: 22px;

        padding-top: 15px;
    }


    .process-page .process-deliverables span {

        font-size: 8px;
    }


    .process-page .process-deliverables b {

        font-size: 11px;
    }


    /* STEP 05 */

    .process-page .process-testing-area {

        margin-top: 25px;

        padding: 20px 18px;
    }


    .process-page .process-sample-types {

        display: grid;

        grid-template-columns: 1fr;

        gap: 13px;

        padding-bottom: 20px;
    }


    .process-page .process-mini-arrow {

        display: none;
    }


    .process-page .process-testing-grid {

        grid-template-columns: 1fr;

        gap: 14px;

        padding-top: 20px;
    }


    /* FINAL */

    .process-page .process-final {

        padding: 65px 20px 70px;
    }


    .process-page .process-final-title {

        margin-bottom: 38px;
    }


    .process-page .process-final-title h2 {

        font-size: 39px;

        line-height: 1.08;
    }


    .process-page .process-final-flow {

        display: grid;

        grid-template-columns: repeat(2, 1fr);

        gap: 23px 10px;

        margin-bottom: 40px;
    }


    .process-page .process-flow-arrow {

        display: none;
    }


    .process-page .process-flow-item {

        min-width: 0;
    }


    .process-page .process-cta {

        width: 100%;

        min-height: 50px;
    }

}