/* =================================================================
   GEOCHEMICAL SAMPLING PROGRAMMES PAGE
   ================================================================= */




/* ---------------------- 01. PAGE BASE ---------------------- */

/* 01.1. Page canvas */

.sampling-page {
    color: var(--gc-color-text);
    background-color: var(--gc-color-background);
}


/* 01.2. Shared section headings */

.sampling-section-title {
    max-width: 17ch;
    margin-top: var(--gc-space-3);

    color: var(--gc-color-heading);
    font-size: var(--gc-font-size-4xl);
    line-height: var(--gc-line-height-heading);
}

/* 01.3. Shared heading introductions */

.sampling-heading-intro {
    max-width: 36rem;
    margin-top: var(--gc-space-5);

    color: var(--gc-color-text-muted);
}

/* ---------------------- 02. HERO ---------------------- */

/* 02.1. Sampling-grid linework */

.sampling-hero-pattern svg {
    width: 100%;
    height: 100%;

    transform: rotate(-4deg) scale(1.08);
    transform-origin: center;
}

.sampling-hero-pattern path,
.sampling-hero-pattern circle {
    fill: none;
    stroke: rgb(217 119 43 / 35%);
    stroke-width: 1.25;
}

.sampling-hero-pattern circle {
    fill: rgb(217 119 43 / 14%);
    stroke: rgb(217 119 43 / 80%);
    stroke-width: 2;
}

/* 02.2. Other Sampling-specific eyebrow contexts */

.sampling-workflow .eyebrow {
    color: var(--gc-color-primary);
}

/* ---------------------- 03. SERVICE OVERVIEW ---------------------- */

/* 03.1. Section structure and station-grid decoration */

.sampling-overview {
    position: relative;
    isolation: isolate;

    padding-block: var(--gc-section-padding);
    overflow: hidden;
}

.sampling-overview::after {
    content: "";

    position: absolute;
    right: -8rem;
    bottom: -9rem;
    z-index: 0;

    width: clamp(25rem, 42vw, 44rem);
    aspect-ratio: 1;

    background-image:
        linear-gradient(
            rgb(23 32 31 / 6%) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgb(23 32 31 / 6%) 1px,
            transparent 1px
        ),
        radial-gradient(
            circle,
            rgb(217 119 43 / 26%) 0 4px,
            transparent 5px
        );
    background-position: center, center, 0 0;
    background-size:
        5rem 5rem,
        5rem 5rem,
        10rem 10rem;
    border-radius: 50%;

    opacity: 0.75;

    transform: rotate(-8deg);
    pointer-events: none;
}

.sampling-overview > .container {
    position: relative;
    z-index: 1;
}


/* 03.2. Overview copy */

.sampling-overview .sampling-section-title {
    max-width: 22ch;
}

.sampling-overview-lead {
    max-width: 44rem;
    margin: var(--gc-space-6) 0 0;

    color: var(--gc-color-heading);
}

.sampling-overview-support {
    position: relative;

    max-width: 46rem;
    margin: var(--gc-space-6) 0 0;
    padding-left: calc(var(--gc-space-5) + 0.25rem);

    color: var(--gc-color-text-muted);
}


/* 03.3. Supporting-copy marker */

.sampling-overview-support::before {
    content: "";

    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;

    width: 2px;

    background-color:
        color-mix(
            in srgb,
            var(--gc-color-primary) 65%,
            transparent
        );
}

.sampling-overview-support::after {
    content: "";

    position: absolute;
    top: 50%;
    left: 1px;

    width: 0.75rem;
    height: 0.75rem;

    background-color: var(--gc-color-primary);
    border-radius: 0.1rem;

    transform: translate(-50%, -50%);
}


/* 03.4. Flexible-delivery note */

.sampling-scope-note {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: var(--gc-space-4);
    align-items: start;

    max-width: 46rem;
    margin-top: var(--gc-space-6);
    padding-top: var(--gc-space-5);

    border-top:
        var(--gc-border-width)
        solid
        var(--gc-border-color-light);
}

.sampling-scope-note > span {
    padding: 0.4rem 0.65rem;

    color: var(--gc-color-primary-on-light);
    background-color: var(--gc-color-primary-tint);
    border-radius: 999px;

    font-family: var(--gc-font-display);
    font-size: var(--gc-font-size-xs);
    font-weight: var(--gc-font-display-semibold);
    letter-spacing: var(--gc-letter-spacing-wide-2);
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
}

.sampling-scope-note p {
    margin: 0;

    color: var(--gc-color-text-muted);

    font-size: var(--gc-font-size-sm);
    line-height: var(--gc-line-height-body);
}


/* 03.5. Overview media frame */

.sampling-overview-media {
    position: relative;
    isolation: isolate;

    margin: 0;
    padding: 0 0 var(--gc-space-6) var(--gc-space-6);
}

.sampling-overview-media::before {
    content: "";

    position: absolute;
    inset:
        var(--gc-space-6)
        var(--gc-space-6)
        0
        0;
    z-index: -1;

    background-color: var(--gc-color-primary);
    border-radius: 0.875rem;
}

.sampling-overview-image,
.sampling-media-placeholder {
    display: block;

    width: 100%;
    aspect-ratio: 4 / 3;

    border-radius: 0.875rem;
    box-shadow: var(--gc-shadow-md);
}

.sampling-overview-image {
    object-fit: cover;

    transition:
        box-shadow var(--gc-transition-base),
        transform var(--gc-transition-base);
}


/* 03.6. Temporary media placeholder */

.sampling-media-placeholder {
    position: relative;

    display: grid;
    place-items: center;
    overflow: hidden;

    background:
        radial-gradient(
            circle at 72% 25%,
            rgb(217 119 43 / 22%),
            transparent 22%
        ),
        linear-gradient(
            135deg,
            #202b29,
            #101716
        );
}

.sampling-media-placeholder svg {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;
}

.sampling-placeholder-grid,
.sampling-placeholder-station,
.sampling-placeholder-bag,
.sampling-placeholder-label {
    fill: none;
    stroke: rgb(243 240 232 / 18%);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.sampling-placeholder-grid {
    stroke: rgb(243 240 232 / 10%);
}

.sampling-placeholder-station {
    fill: rgb(217 119 43 / 14%);
    stroke: var(--gc-color-primary);
    stroke-width: 3;
}

.sampling-placeholder-bag {
    stroke: rgb(243 240 232 / 34%);
    stroke-width: 3;
}

.sampling-placeholder-label {
    stroke: rgb(217 119 43 / 70%);
}

.sampling-media-placeholder span {
    position: relative;
    z-index: 1;

    align-self: end;
    margin-bottom: var(--gc-space-7);
    padding: 0.55rem 0.8rem;

    color: rgb(243 240 232 / 68%);
    background-color: rgb(23 32 31 / 75%);
    border:
        var(--gc-border-width)
        solid
        rgb(243 240 232 / 16%);
    border-radius: 999px;

    font-family: var(--gc-font-display);
    font-size: var(--gc-font-size-xs);
    letter-spacing: var(--gc-letter-spacing-wide-3);
    text-transform: uppercase;
}


/* 03.7. Media caption */

.sampling-overview-media figcaption {
    max-width: 29rem;
    margin: var(--gc-space-4) var(--gc-space-5) 0 auto;
    padding-inline: var(--gc-space-2);

    color: var(--gc-color-graphite);

    font-size: var(--gc-font-size-sm);
    line-height: var(--gc-line-height-snug);
}


/* 03.8. Desktop hover */

@media (hover: hover) {
    .sampling-overview-media.has-media:hover
    .sampling-overview-image {
        box-shadow: var(--gc-shadow-card-hover);

        transform: translateY(-0.25rem);
    }
}


/* 03.9. Small-screen adjustments */

@media (max-width: 575.98px) {
    .sampling-overview-support {
        padding-left: var(--gc-space-5);
    }

    .sampling-scope-note {
        gap: var(--gc-space-3);
    }

    .sampling-scope-note > span {
        width: fit-content;
    }

    .sampling-overview-media {
        padding-bottom: var(--gc-space-5);
        padding-left: var(--gc-space-4);
    }

    .sampling-overview-media::before {
        inset:
            var(--gc-space-4)
            var(--gc-space-4)
            0
            0;
    }

    .sampling-overview-media figcaption {
        margin-right: var(--gc-space-3);
        margin-left: var(--gc-space-3);
    }
}


/* 03.10. Reduced motion */

@media (prefers-reduced-motion: reduce) {
    .sampling-overview-image {
        transition: none;
    }
}

/* ---------------------- 04. SAMPLING METHODS ---------------------- */

/* 04.1. Section structure and subtle coordinate grid */

.sampling-methods {
    position: relative;
    isolation: isolate;

    padding-block: var(--gc-section-padding);
    overflow: hidden;

    background-color: var(--gc-color-background-alt);
}

.sampling-methods::before {
    content: "";

    position: absolute;
    inset: 0;
    z-index: -1;

    background-image:
        linear-gradient(rgb(23 32 31 / 3.5%) 1px, transparent 1px),
        linear-gradient(90deg, rgb(23 32 31 / 3.5%) 1px, transparent 1px);
    background-size: 4.5rem 4.5rem;

    -webkit-mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
}

.sampling-methods .sampling-section-title {
    max-width: 21ch;
}

/* 04.2. Methods grid */

.sampling-methods-grid {
    justify-content: center;
    margin-top: var(--gc-space-7);
}

.sampling-methods-grid > div {
    display: flex;
}

/* 04.3. Method cards */

.sampling-method-card {
    position: relative;

    width: 100%;
    min-height: 100%;
    padding: clamp(1.5rem, 1.1rem + 1.4vw, 2.35rem);
    overflow: hidden;

    background-color: var(--gc-color-surface);
    border: var(--gc-border-width) solid var(--gc-border-color-light);
    border-radius: 0.875rem;
    box-shadow: var(--gc-shadow-card);

    transition: transform var(--gc-transition-base), border-color var(--gc-transition-base), box-shadow var(--gc-transition-base);
}

.sampling-method-card::after {
    content: "";

    position: absolute;
    right: -2rem;
    bottom: -2rem;

    width: 6rem;
    height: 6rem;

    background-image: radial-gradient(circle, rgb(217 119 43 / 24%) 0 3px, transparent 4px);
    background-size: 1.2rem 1.2rem;
    border-radius: 50%;
}

/* 04.4. Card number and icon */

.sampling-card-number {
    position: absolute;
    top: var(--gc-space-5);
    right: var(--gc-space-5);

    color: color-mix(in srgb, var(--gc-color-graphite) 26%, transparent);
    font-family: var(--gc-font-display);
    font-size: var(--gc-font-size-sm);
    font-weight: var(--gc-font-display-semibold);
    letter-spacing: var(--gc-letter-spacing-wide-2);
}

.sampling-card-icon {
    display: grid;
    place-items: center;

    width: 3.25rem;
    height: 3.25rem;

    color: var(--gc-color-primary-on-light);
    background-color: var(--gc-color-primary-tint);
    border: var(--gc-border-width) solid color-mix(in srgb, var(--gc-color-primary) 28%, transparent);
    border-radius: 0.75rem;

    transition: color var(--gc-transition-base), background-color var(--gc-transition-base), transform var(--gc-transition-base);
}

.sampling-card-icon svg {
    width: 1.55rem;
    height: 1.55rem;

    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

/* 04.5. Card copy */

.sampling-method-card h3 {
    max-width: 16rem;
    margin-top: var(--gc-space-6);

    font-size: var(--gc-font-size-2xl);
}

.sampling-method-card p {
    margin-top: var(--gc-space-4);
    margin-bottom: 0;

    color: var(--gc-color-text-muted);
}

/* 04.6. Card hover response */

@media (hover: hover) {
    .sampling-method-card:hover {
        border-color: color-mix(in srgb, var(--gc-color-primary) 46%, transparent);
        box-shadow: var(--gc-shadow-card-hover);
        transform: translateY(-0.4rem);
    }

    .sampling-method-card:hover .sampling-card-icon {
        color: var(--gc-color-on-primary);
        background-color: var(--gc-color-primary);
        transform: rotate(-3deg) scale(1.05);
    }
}


/* ---------------------- 05. FIELD CONTROLS ---------------------- */

/* 05.1. Section introduction */

.sampling-controls {
    padding-block: var(--gc-section-padding);

    background-color: var(--gc-color-background);
}

.sampling-controls-intro {
    max-width: 38rem;
    margin-top: var(--gc-space-5);

    color: var(--gc-color-text-muted);
}

/* 05.2. Control list */

.sampling-controls-list {
    position: relative;

    display: grid;
    gap: var(--gc-space-4);
}

.sampling-controls-list::before {
    content: "";

    position: absolute;
    top: 2.8rem;
    bottom: 2.8rem;
    left: 2.75rem;

    width: 1px;

    background: linear-gradient(var(--gc-color-primary), rgb(217 119 43 / 12%));
}

.sampling-controls-list article {
    position: relative;

    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: var(--gc-space-5);
    align-items: start;
    padding: var(--gc-space-5);

    background-color: var(--gc-color-surface);
    border: var(--gc-border-width) solid var(--gc-border-color-light);
    border-radius: 0.875rem;

    transition: transform var(--gc-transition-base), border-color var(--gc-transition-base), box-shadow var(--gc-transition-base);
}

/* 05.3. Control markers */

.sampling-controls-list article > span {
    position: relative;
    z-index: 1;

    display: grid;
    place-items: center;

    width: 2.5rem;
    height: 2.5rem;

    color: var(--gc-color-primary-on-light);
    background-color: var(--gc-color-primary-soft);
    border: var(--gc-border-width) solid color-mix(in srgb, var(--gc-color-primary) 24%, transparent);
    border-radius: 50%;
    font-family: var(--gc-font-display);
    font-weight: var(--gc-font-display-semibold);
}

/* 05.4. Control copy */

.sampling-controls-list h3 {
    font-size: var(--gc-font-size-xl);
}

.sampling-controls-list p {
    margin-top: var(--gc-space-2);
    margin-bottom: 0;

    color: var(--gc-color-text-muted);
}

/* 05.5. Control-card hover response */

@media (hover: hover) {
    .sampling-controls-list article:hover {
        border-color: color-mix(in srgb, var(--gc-color-primary) 38%, transparent);
        box-shadow: var(--gc-shadow-card-hover);
        transform: translateX(0.35rem);
    }
}


/* ---------------------- 06. WORKFLOW ---------------------- */

/* 06.1. Section structure and data-chain background */

.sampling-workflow {
    position: relative;
    isolation: isolate;

    padding-block: var(--gc-section-padding);
    overflow: hidden;

    color: var(--gc-color-on-dark);
    background-color: var(--gc-color-graphite);
}

.sampling-workflow::before {
    content: "";

    position: absolute;
    top: -11rem;
    right: -7rem;
    z-index: -1;

    width: 30rem;
    height: 30rem;

    background-image: radial-gradient(circle, rgb(217 119 43 / 18%) 0 3px, transparent 4px);
    background-size: 2.4rem 2.4rem;
    border: 1px solid rgb(217 119 43 / 15%);
    border-radius: 50%;

    opacity: 0.8;
    transform: rotate(9deg);

    pointer-events: none;
}

/* 06.2. Workflow heading */

.sampling-workflow .sampling-section-title {
    color: var(--gc-color-on-dark);
}

.sampling-workflow-heading p {
    margin-top: var(--gc-space-5);

    color: rgb(243 240 232 / 66%);
}

/* 06.3. Workflow grid */

.sampling-workflow-list {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    margin: var(--gc-space-8) 0 0;
    padding: 0;

    list-style: none;
}

.sampling-workflow-list li {
    position: relative;

    display: grid;
    grid-template-rows: auto 1fr;
    gap: var(--gc-space-6);
    padding-right: clamp(1rem, 2vw, 2rem);
}

/* 06.4. Step connector and number */

.sampling-workflow-list li:not(:last-child)::before {
    content: "";

    position: absolute;
    top: 1.65rem;
    left: 3.6rem;
    right: 0;

    height: 1px;

    background: linear-gradient(90deg, rgb(217 119 43 / 74%), rgb(217 119 43 / 14%));
}

.sampling-workflow-number {
    position: relative;
    z-index: 1;

    display: grid;
    place-items: center;

    width: 3.3rem;
    height: 3.3rem;

    color: var(--gc-color-primary);
    background-color: color-mix(in srgb, var(--gc-color-primary) 10%, var(--gc-color-graphite));
    border: var(--gc-border-width) solid rgb(217 119 43 / 58%);
    border-radius: 50%;
    box-shadow: 0 0 0 0.45rem rgb(217 119 43 / 7%);
    font-family: var(--gc-font-display);
    font-size: var(--gc-font-size-sm);
    font-weight: var(--gc-font-display-semibold);
    letter-spacing: var(--gc-letter-spacing-wide-1);

    transition: color var(--gc-transition-base), background-color var(--gc-transition-base), transform var(--gc-transition-base);
}

/* 06.5. Step typography */

.sampling-workflow-label {
    color: var(--gc-color-primary);
    font-family: var(--gc-font-display);
    font-size: var(--gc-font-size-xs);
    font-weight: var(--gc-font-display-semibold);
    letter-spacing: var(--gc-letter-spacing-wide-3);
    text-transform: uppercase;
}

.sampling-workflow-list h3 {
    margin-top: var(--gc-space-3);

    color: var(--gc-color-on-dark);
    font-size: var(--gc-font-size-xl);
}

.sampling-workflow-list p {
    margin-top: var(--gc-space-4);
    margin-bottom: 0;

    color: rgb(243 240 232 / 65%);
    font-size: var(--gc-font-size-sm);
    line-height: var(--gc-line-height-body);
}

/* 06.6. Workflow hover response */

@media (hover: hover) {
    .sampling-workflow-list li:hover .sampling-workflow-number {
        color: var(--gc-color-on-primary);
        background-color: var(--gc-color-primary);
        transform: translateY(-0.2rem);
    }
}

/* 06.7. Smaller desktop layout */

@media (max-width: 1199.98px) {
    .sampling-workflow-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        row-gap: var(--gc-space-8);
    }

    /*
     * Steps 03 and 05 finish their respective rows.
     * Step 05 already has no connector because it is last.
     */

    .sampling-workflow-list li:nth-child(3n)::before {
        display: none;
    }
}


/* 06.8. Tablet layout */

@media (max-width: 767.98px) {
    .sampling-workflow-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    /*
     * Restore the step-03 connector for the two-column layout.
     */

    .sampling-workflow-list li:nth-child(3n)::before {
        display: block;
    }

    /*
     * Steps 02 and 04 finish their rows.
     */

    .sampling-workflow-list li:nth-child(even)::before {
        display: none;
    }
}


/* 06.9. Mobile layout */

@media (max-width: 575.98px) {
    .sampling-workflow-list {
        grid-template-columns: 1fr;
        row-gap: var(--gc-space-7);
        margin-top: var(--gc-space-7);
    }

    .sampling-workflow-list li {
        grid-template-columns: 3.3rem minmax(0, 1fr);
        grid-template-rows: auto;
        gap: var(--gc-space-5);
        align-items: start;

        padding-right: 0;
    }

    .sampling-workflow-list li:not(:last-child)::before {
        display: none;
    }
}


/* 06.10. Reduced motion */

@media (prefers-reduced-motion: reduce) {
    .sampling-workflow-number {
        transition: none;
    }

    .sampling-workflow-list li:hover .sampling-workflow-number {
        transform: none;
    }
}


/* ---------------------- 07. SAMPLE INTEGRITY ---------------------- */

/* 07.1. Section structure */

.sampling-integrity {
    position: relative;
    isolation: isolate;

    padding-block: var(--gc-section-padding);
    overflow: hidden;

    background-color: var(--gc-color-background);
}

.sampling-integrity::after {
    content: "";

    position: absolute;
    left: -7rem;
    bottom: -12rem;
    z-index: -1;

    width: 30rem;
    height: 30rem;

    border: 1px solid rgb(217 119 43 / 13%);
    border-radius: 50%;
    box-shadow: 0 0 0 4rem rgb(217 119 43 / 3%), 0 0 0 8rem rgb(217 119 43 / 2%);
}

.sampling-integrity .sampling-section-title {
    max-width: 21ch;
}

/* 07.2. Integrity grid */

.sampling-integrity-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--gc-space-4);
    margin-top: var(--gc-space-8);
}

/* 07.3. Integrity cards */

.sampling-integrity-grid article {
    position: relative;

    padding: clamp(1.4rem, 1rem + 1.3vw, 2.25rem);
    overflow: hidden;

    background-color: var(--gc-color-surface);
    border: var(--gc-border-width) solid var(--gc-border-color-light);
    border-radius: 0.875rem;
    box-shadow: var(--gc-shadow-card);

    transition: transform var(--gc-transition-base), border-color var(--gc-transition-base), box-shadow var(--gc-transition-base);
}

.sampling-integrity-grid article::before {
    content: "";

    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 3px;

    background: linear-gradient(90deg, var(--gc-color-primary), rgb(217 119 43 / 20%));
}

.sampling-integrity-grid article > span {
    color: var(--gc-color-primary-on-light);
    font-family: var(--gc-font-display);
    font-size: var(--gc-font-size-sm);
    font-weight: var(--gc-font-display-semibold);
    letter-spacing: var(--gc-letter-spacing-wide-2);
}

.sampling-integrity-grid h3 {
    margin-top: var(--gc-space-5);

    font-size: var(--gc-font-size-xl);
}

.sampling-integrity-grid p {
    margin-top: var(--gc-space-3);
    margin-bottom: 0;

    color: var(--gc-color-text-muted);
}

/* 07.4. Integrity-card hover response */

@media (hover: hover) {
    .sampling-integrity-grid article:hover {
        border-color: color-mix(in srgb, var(--gc-color-primary) 38%, transparent);
        box-shadow: var(--gc-shadow-card-hover);
        transform: translateY(-0.35rem);
    }
}


/* ---------------------- 08. DELIVERABLES ---------------------- */

/* 08.1. Section structure and traceability decoration */

.sampling-deliverables {
    position: relative;
    isolation: isolate;

    padding-block: var(--gc-section-padding);
    overflow: hidden;

    background-color: var(--gc-color-background-alt);
}

.sampling-deliverables::after {
    content: "";

    position: absolute;
    top: -7rem;
    right: -6rem;
    z-index: 0;

    width: clamp(24rem, 42vw, 44rem);
    aspect-ratio: 1;

    background:
        radial-gradient(circle at 22% 72%, transparent 0 1.5rem, rgb(217 119 43 / 12%) 1.55rem 1.7rem, transparent 1.75rem),
        radial-gradient(circle at 52% 40%, transparent 0 1.5rem, rgb(217 119 43 / 12%) 1.55rem 1.7rem, transparent 1.75rem),
        radial-gradient(circle at 80% 64%, transparent 0 1.5rem, rgb(217 119 43 / 12%) 1.55rem 1.7rem, transparent 1.75rem),
        linear-gradient(145deg, transparent 35%, rgb(217 119 43 / 10%) 35.2% 35.5%, transparent 35.7% 55%, rgb(217 119 43 / 10%) 55.2% 55.5%, transparent 55.7%);

    opacity: 0.9;
    transform: rotate(-8deg);
    pointer-events: none;
}

.sampling-deliverables > .container {
    position: relative;
    z-index: 1;
}

.sampling-deliverables .sampling-section-title {
    max-width: 22ch;
}

/* 08.2. Deliverables grid */

.sampling-deliverables-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--gc-space-4);
    margin-top: var(--gc-space-8);
}

/* 08.3. Deliverable cards */

.sampling-deliverables-grid article {
    padding: clamp(1.4rem, 1rem + 1.3vw, 2.25rem);

    background-color: var(--gc-color-surface);
    border-top: 3px solid var(--gc-color-primary);
    border-radius: 0 0 0.875rem 0.875rem;
    box-shadow: var(--gc-shadow-card);

    transition: transform var(--gc-transition-base), box-shadow var(--gc-transition-base);
}

.sampling-deliverables-grid article > span {
    color: var(--gc-color-primary-on-light);
    font-family: var(--gc-font-display);
    font-size: var(--gc-font-size-sm);
    font-weight: var(--gc-font-display-semibold);
    letter-spacing: var(--gc-letter-spacing-wide-2);
}

.sampling-deliverables-grid h3 {
    margin-top: var(--gc-space-5);

    font-size: var(--gc-font-size-xl);
}

.sampling-deliverables-grid p {
    margin-top: var(--gc-space-3);
    margin-bottom: 0;

    color: var(--gc-color-text-muted);
}

/* 08.4. Deliverable-card hover response */

@media (hover: hover) {
    .sampling-deliverables-grid article:hover {
        box-shadow: var(--gc-shadow-card-hover);
        transform: translateY(-0.35rem);
    }
}


/* ---------------------- 09. RELATED SERVICES ---------------------- */

/* 09.1. Section structure and copy */

.sampling-related {
    padding-block: var(--gc-section-padding-compact);

    background-color: var(--gc-color-surface);
}

.sampling-related h2 {
    max-width: 18ch;
    margin-top: var(--gc-space-3);

    font-size: var(--gc-font-size-3xl);
}

.sampling-related p {
    max-width: 45rem;
    margin-top: var(--gc-space-4);

    color: var(--gc-color-text-muted);
}

/* 09.2. Related-service links */

.sampling-related-links {
    display: grid;
}

.sampling-related-links a {
    display: flex;
    gap: var(--gc-space-4);
    align-items: center;
    justify-content: space-between;
    padding-block: var(--gc-space-4);

    border-bottom: var(--gc-border-width) solid var(--gc-border-color-light);
    font-family: var(--gc-font-display);
    font-size: var(--gc-font-size-lg);
    font-weight: var(--gc-font-display-semibold);
}

.sampling-related-links a:first-child {
    border-top: var(--gc-border-width) solid var(--gc-border-color-light);
}

.sampling-related-links span {
    color: var(--gc-color-primary-on-light);

    transition: transform var(--gc-transition-fast);
}

/* 09.3. Related-link hover response */

@media (hover: hover) {
    .sampling-related-links a:hover span {
        transform: translateX(0.3rem);
    }
}


/* ---------------------- 10. CTA ---------------------- */

/* 10.1. CTA structure */

.sampling-cta {
    position: relative;
    isolation: isolate;

    overflow: hidden;

    padding-block: var(--gc-section-padding-compact);
    
    color: var(--gc-color-on-primary);
    
    background:
        radial-gradient(circle at 88% 10%, color-mix(in srgb, var(--gc-color-white) 18%, transparent) 0%, transparent 22rem),
        var(--gc-color-primary);
}

/* 10.2. CTA background detail */

.sampling-cta::before {
    content: "";
    position: absolute;
    top:-80%;
    right: 8%;
    z-index: -1;
    width: 18rem;
    height: 250%;
    border-inline: 1px solid rgb(23 32 31 / 14%);
    
    transform: skewX(-12deg);
    pointer-events: none;
}

/* 10.3. CTA typography */

.sampling-cta .eyebrow {
    color: var(--gc-color-graphite);
}


.sampling-cta h2 {
    max-width: 24ch;
    margin-top: var(--gc-space-3);

    color: var(--gc-color-on-primary);
    font-size: var(--gc-font-size-4xl);
}

.sampling-cta p {
    max-width: 50rem;
    margin-top: var(--gc-space-4);

    color: color-mix(in srgb, var(--gc-color-on-primary) 74%, transparent);
}

/* 10.4. CTA action alignment */

.sampling-cta-action {
    display: flex;
    justify-content: flex-end;
}


/* ---------------------- 11. RESPONSIVE ---------------------- */

/* 11.1. Small desktop and large tablet */

@media (max-width: 1199.98px) {
    .sampling-workflow-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: var(--gc-space-7) var(--gc-space-5);
    }

    .sampling-integrity-grid,
    .sampling-deliverables-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* 11.2. Tablet and collapsed navigation range */

@media (max-width: 991.98px) {
    .sampling-hero::before,
    .sampling-hero.has-media::before {
        background: linear-gradient(90deg, rgb(23 32 31 / 95%), rgb(23 32 31 / 70%));
    }

    .sampling-workflow-heading p,
    .sampling-heading-intro {
        margin-top: var(--gc-space-4);
    }

    .sampling-related-links {
        margin-top: var(--gc-space-4);
    }

    .sampling-cta-action {
        justify-content: flex-start;
    }
}

/* 11.3. Mobile layout */

@media (max-width: 767.98px) {
    .sampling-hero-title {
        font-size: var(--gc-font-size-5xl);
    }

    .sampling-scope-note {
        grid-template-columns: 1fr;
    }

    .sampling-overview-media {
        padding: 0 0 var(--gc-space-4) var(--gc-space-4);
    }

    .sampling-overview-media::before {
        inset: var(--gc-space-4) var(--gc-space-4) 0 0;
    }

    .sampling-workflow-list,
    .sampling-integrity-grid,
    .sampling-deliverables-grid {
        grid-template-columns: 1fr;
    }

    .sampling-workflow-list {
        gap: 0;
    }

    .sampling-workflow-list li {
        grid-template-columns: auto minmax(0, 1fr);
        grid-template-rows: auto;
        gap: var(--gc-space-5);
        padding: 0 0 var(--gc-space-7);
    }

    .sampling-workflow-list li:not(:last-child)::before {
        top: 3.5rem;
        bottom: 0;
        left: 1.65rem;
        right: auto;

        display: block;
        width: 1px;
        height: auto;

        background: linear-gradient(180deg, rgb(217 119 43 / 74%), rgb(217 119 43 / 14%));
    }
}

/* 11.4. Small mobile actions and controls */

@media (max-width: 575.98px) {
    .sampling-hero-actions .btn,
    .sampling-cta-action .btn {
        width: 100%;
    }

    .sampling-controls-list article {
        grid-template-columns: 1fr;
    }

    .sampling-controls-list::before {
        display: none;
    }
}


/* ---------------------- 12. REDUCED MOTION ---------------------- */

/* 12.1. Motion preference override */

@media (prefers-reduced-motion: reduce) {
    .sampling-page *,
    .sampling-page *::before,
    .sampling-page *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
