/* ==========================================================================
   WHC homepage — section styles
   Loaded only on the front page (see whc_enqueue_assets in functions.php).
   ========================================================================== */

/* ============================================================
   Hero
   ============================================================ */
.whc-hero {
    position: relative;
    background: var(--whc-orange-2);
    overflow: hidden;
    min-height: 684px;
}
.whc-hero__inner {
    position: relative;
    height: 684px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
}
.whc-hero__content {
    position: relative;
    z-index: 2;
    color: var(--whc-white);
    padding-left: var(--container-pad);
    width: 100%;
    max-width: calc(477px + var(--container-pad));
    display: flex;
    flex-direction: column;
    gap: 32px;
}
.whc-hero__text { display: flex; flex-direction: column; gap: 15px; }
.whc-hero__title {
    font-size: 48px;
    line-height: 1.2;
    letter-spacing: -0.96px;
    margin: 0;
    color: var(--whc-white);
    font-weight: 400;
}
.whc-hero__title strong { font-weight: 600; }
.whc-hero__subtitle {
    margin: 0;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.5;
    max-width: 448px;
    color: var(--whc-white);
}
.whc-hero__cta { width: 153px; padding-left: 0; padding-right: 0; }
.whc-hero__pattern {
    position: absolute;
    top: 0;
    left: calc(50% - 172px);
    width: 684px;
    height: 684px;
    overflow: hidden;
    opacity: 0.10;
    pointer-events: none;
    z-index: 1;
}
.whc-hero__pattern img {
    width: 100%; height: 100%; object-fit: cover;
    filter: brightness(0) invert(1);
}
.whc-hero__visual {
    position: relative;
    z-index: 2;
    align-self: stretch;
    overflow: hidden;
}
.whc-hero__visual img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ============================================================
   Intro transition + stats zoom (Figma 3548:2066 -> 3548:2067)
   A pinned stage holds two layers. On scroll the hero (layer 1) slides UP
   while the white petal panel (layer 2) is revealed beneath it; once the panel
   fills the viewport the petals converge into the WHC mark and the six stats
   resolve. Driven by the front-page inline JS (see functions.php).
   ============================================================ */
.whc-intro {
    position: relative;
    height: 460vh;                 /* scroll runway for the pin */
    z-index: 1;
}
.whc-intro__stage {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
    background: var(--whc-white);
}
/* Two stacked, full-stage layers. The hero sits on top and lifts up to uncover
   the petal panel beneath, so no white background ever sweeps over the orange
   hero during the transition. */
.whc-intro__hero,
.whc-intro__panel {
    position: absolute;
    inset: 0;
    will-change: transform;
}
.whc-intro__hero { z-index: 2; }   /* on top — lifts away */
.whc-intro__hero .whc-hero { width: 100%; }
.whc-intro__panel {                /* revealed beneath the rising hero */
    z-index: 1;
    background: var(--whc-white);
    overflow: hidden;              /* clip the spread petals to the panel */
    display: grid;
    place-items: center;
}
.whc-zoom__grid {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-pad);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 1fr 1fr;
    gap: 48px 24px;
    align-items: center;
    justify-items: center;
}
.whc-stat {
    text-align: center;
    color: var(--whc-black);
    opacity: 0;                    /* revealed by JS as the mark zooms out */
    transform: translateY(14px);
    will-change: opacity, transform;
}
.whc-stat__number { font-size: 75px; font-weight: 600; line-height: 1.2; letter-spacing: -3px; margin: 0 0 8px; }
.whc-stat__label  { font-size: 23px; font-weight: 500; line-height: 1.2; margin: 0; }

/* Flower mark — a normal grid cell (top-centre), built from its 16 petals so
   the JS can spread them apart (zoomed-in) and slide them together (compact).
   transform doesn't affect layout, so the big spread state just overflows the
   clipped panel. */
.whc-zoom__flower {
    position: relative;
    width: 200px;
    height: 200px;
    opacity: 0;                    /* hidden until the section pins */
    transform: scale(4);           /* JS overrides on first frame */
    transform-origin: center;
    will-change: transform, opacity;
}
.whc-zoom__flower .petal {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    will-change: transform;
}
.whc-zoom__flower .petal path { fill: var(--whc-orange-2); }

/* Static fallback: no pin, layers stack normally (hero, then the petal panel
   with the compact mark + stats). Used for reduced motion and on small screens
   where the pinned transition is awkward. The JS mirrors this by skipping the
   scroll animation. */
@media (prefers-reduced-motion: reduce), (max-width: 991px) {
    .whc-intro { height: auto; }
    .whc-intro__stage {
        position: static;
        height: auto;
        overflow: visible;
    }
    .whc-intro__hero,
    .whc-intro__panel {
        position: relative;
        inset: auto;
        transform: none !important;
    }
    .whc-intro__hero .whc-hero { height: auto; min-height: 684px; }
    .whc-intro__panel { padding: 76px 0; }
    .whc-stat { opacity: 1; transform: none; }
    .whc-zoom__flower { opacity: 1; transform: scale(1); }
    .whc-zoom__flower .petal { transform: none; }
}

/* ============================================================
   About
   ============================================================ */
.whc-about { position: relative; background: var(--whc-red-dark); overflow: hidden; }
.whc-about::before {
    content: "";
    position: absolute;
    top: -10%; bottom: -10%; left: 0;
    width: 57.08%;
    background: var(--whc-about-pattern, none) no-repeat center / contain;
    opacity: 0.42;
    filter: brightness(0) invert(1);
    pointer-events: none;
    z-index: 0;
}
.whc-about__row {
    position: relative; z-index: 1;
    display: grid;
    grid-template-columns: 1fr 50%;
    align-items: center;
    min-height: 684px;
}
.whc-about__copy {
    width: 100%;
    max-width: calc(615px + var(--container-pad));
    padding: 80px var(--container-pad);
    color: var(--whc-white);
    display: flex; flex-direction: column; gap: 35px;
}
.whc-about__visual { align-self: stretch; overflow: hidden; }
.whc-about__visual img { width: 100%; height: 100%; object-fit: cover; display: block; }
.whc-about__lead {
    margin: 0; font-size: 40px; font-weight: 500;
    line-height: 1.2; letter-spacing: -0.8px; max-width: 596px;
}
.whc-about__lead .accent { color: var(--whc-orange-bright); }
.whc-about__text { margin: 0; font-size: 22px; font-weight: 400; line-height: 1.5; }

/* ============================================================
   Products
   ============================================================ */
.whc-products { background: var(--whc-white); padding: 78px 0 80px; position: relative; }
.whc-products__inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-pad);
    position: relative; z-index: 1;
}
.whc-products::after {
    content: "";
    position: absolute;
    bottom: 96px; left: 0; right: 0; height: 342px;
    background: linear-gradient(180deg, rgba(236, 99, 45, 0.1) 0%, rgba(236, 99, 45, 0) 100%);
    pointer-events: none;
}

.whc-section-title {
    font-size: 48px; font-weight: 400;
    line-height: 1.2; letter-spacing: -0.96px;
    text-align: center; margin: 0 auto 56px;
    max-width: 720px; color: var(--whc-black);
}
.whc-section-title strong { font-weight: 600; color: var(--whc-orange-2); }

.whc-products__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 22px;
    margin-bottom: 56px;
}
.whc-product-card {
    position: relative; height: 379px;
    border-radius: 10.6px; overflow: hidden;
    display: grid; grid-template-columns: 50% 50%;
    color: var(--whc-white);
    border: 1px solid transparent;
    transition: box-shadow 0.8s ease, border-color 0.8s ease, transform 0.8s ease;
}

.whc-product-card:hover {
    border-color: #dfdfdf;
    box-shadow: 0 65px 100px 0 rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

.whc-product-card__media { position: relative; overflow: hidden; background: #f3f3f3; }
.whc-product-card__media img { width: 100%; height: 100%; object-fit: cover; }

.whc-product-card__body {
    position: relative; padding: 36px 28px;
    display: flex; flex-direction: column;
    justify-content: center; overflow: hidden;
    transition: background-color 0.8s ease, color 0.8s ease;
}

/* workspace-pattern overlay — sits in the body behind the text.
   SVG is hardcoded #FF5A5A so we normalize to a black silhouette and
   per-variant filters below shift it to the card's accent color. */
.whc-product-card__pattern {
    position: absolute;
    bottom: -145px;
    right: -64px;
    width: 320px;
    height: 320px;
    object-fit: contain;
    opacity: 0.18;
    pointer-events: none;
    user-select: none;
    z-index: 0;
    filter: brightness(0) saturate(100%);
    transition: opacity 0.8s ease, width 0.8s ease, height 0.8s ease,
                right 0.8s ease, bottom 0.8s ease, left 0.8s ease,
                transform 0.8s ease, filter 0.8s ease;
}

.whc-product-card:hover .whc-product-card__pattern {
    width: 460px;
    height: 460px;
    left: 0;
    bottom: -145px;
    opacity: 0.55;
}

/* per-variant filter recipes — silhouette → accent color */
.whc-product-card--pink   .whc-product-card__pattern {
    filter: brightness(0) saturate(100%) invert(50%) sepia(74%) saturate(2104%) hue-rotate(330deg) brightness(102%) contrast(101%);
}
.whc-product-card--blue   .whc-product-card__pattern {
    filter: brightness(0) saturate(100%) invert(36%) sepia(91%) saturate(469%)  hue-rotate(166deg) brightness(91%)  contrast(89%);
}
.whc-product-card--green  .whc-product-card__pattern {
    filter: brightness(0) saturate(100%) invert(42%) sepia(11%) saturate(2122%) hue-rotate(133deg) brightness(89%)  contrast(83%);
}
.whc-product-card--orange .whc-product-card__pattern {
    filter: brightness(0) saturate(100%) invert(48%) sepia(94%) saturate(1620%) hue-rotate(348deg) brightness(97%)  contrast(89%);
}
.whc-product-card--red    .whc-product-card__pattern {
    filter: brightness(0) saturate(100%) invert(7%)  sepia(94%) saturate(5825%) hue-rotate(1deg)   brightness(96%)  contrast(117%);
}
.whc-product-card--grey   .whc-product-card__pattern {
    filter: brightness(0) saturate(100%) invert(29%) sepia(0%)  saturate(0%)    hue-rotate(0deg)   brightness(99%)  contrast(91%);
}

.whc-product-card__title { font-size: 28px; font-weight: 600; line-height: 1.2; margin: 0 0 12px; }
.whc-product-card__text  { margin: 0; font-size: 18px; font-weight: 400; line-height: 1.5; opacity: 0.95; }

.whc-product-card__body > :not(.whc-product-card__pattern):not(.whc-product-card__cta) {
    position: relative;
    z-index: 1;
    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1),
                color 0.8s ease,
                opacity 0.8s ease;
}

/* on hover, slide title + subtitle up to make room for the "Learn more" CTA */
.whc-product-card:hover .whc-product-card__body > :not(.whc-product-card__pattern):not(.whc-product-card__cta) {
    transform: translateY(-70px);
}

/* "Learn more" CTA — pinned to the lower-left, revealed on hover (desktop).
   Lives in the negative space opened up when the title/subtitle slide up. */
.whc-product-card__cta {
    position: absolute;
    left: 28px;
    bottom: 28px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    color: var(--whc-white);
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: opacity 0.5s ease, transform 0.5s ease, color 0.5s ease;
}
.whc-product-card__cta svg { width: 18px; height: 18px; }
.whc-product-card:hover .whc-product-card__cta {
    opacity: 1;
    transform: none;
    pointer-events: auto;
}
/* on hover the body turns white, so the CTA takes the card's accent colour */
.whc-product-card--blue:hover   .whc-product-card__cta { color: var(--whc-blue-dark); }
.whc-product-card--pink:hover   .whc-product-card__cta { color: var(--whc-pink); }
.whc-product-card--green:hover  .whc-product-card__cta { color: var(--whc-green-dark); }
.whc-product-card--orange:hover .whc-product-card__cta { color: var(--whc-orange-2); }
.whc-product-card--red:hover    .whc-product-card__cta { color: var(--whc-red-dark); }
.whc-product-card--grey:hover   .whc-product-card__cta { color: var(--whc-grey-dark); }
.whc-product-card__cta:hover { text-decoration: underline; }

/* Touch / mobile: no hover, so the "Learn more" CTA sits statically under the
   copy and the slide-up reveal is disabled. */
@media (hover: none), (max-width: 600px) {
    .whc-product-card__cta {
        position: static;
        margin-top: 20px;
        opacity: 1;
        transform: none;
        pointer-events: auto;
        color: var(--whc-white);
    }
    .whc-product-card:hover .whc-product-card__body > :not(.whc-product-card__pattern):not(.whc-product-card__cta) {
        transform: none;
    }
}

/* color variants — default body backgrounds */
.whc-product-card--blue   .whc-product-card__body { background: var(--whc-blue-dark); }
.whc-product-card--pink   .whc-product-card__body { background: var(--whc-pink); }
.whc-product-card--green  .whc-product-card__body { background: var(--whc-green-dark); }
.whc-product-card--orange .whc-product-card__body { background: var(--whc-orange-2); }
.whc-product-card--red    .whc-product-card__body { background: var(--whc-red-dark); }
.whc-product-card--grey   .whc-product-card__body { background: var(--whc-grey-dark); }

/* hover state — body turns white, title takes variant accent, subtitle goes black */
.whc-product-card:hover .whc-product-card__body { background: var(--whc-white); }
.whc-product-card:hover .whc-product-card__text { color: var(--whc-black); opacity: 1; }
.whc-product-card--blue:hover   .whc-product-card__title { color: var(--whc-blue-dark); }
.whc-product-card--pink:hover   .whc-product-card__title { color: var(--whc-pink); }
.whc-product-card--green:hover  .whc-product-card__title { color: var(--whc-green-dark); }
.whc-product-card--orange:hover .whc-product-card__title { color: var(--whc-orange-2); }
.whc-product-card--red:hover    .whc-product-card__title { color: var(--whc-red-dark); }
.whc-product-card--grey:hover   .whc-product-card__title { color: var(--whc-grey-dark); }

.whc-products__cta { text-align: center; }

/* ============================================================
   Industries
   ============================================================ */
.whc-industries {
    background: var(--whc-orange-tint);
    padding: 77px 0 86px;
    overflow: hidden;
}
.whc-industries__inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-pad);
}
.whc-industries__title {
    text-align: left;
    margin: 0 0 56px;
    font-size: 48px; font-weight: 400;
    line-height: 1.2; letter-spacing: -0.96px;
    max-width: 535px; color: var(--whc-black);
}
.whc-industries__title strong { font-weight: 600; color: var(--whc-orange-2); }
.whc-industries__track {
    display: flex; gap: 24px;
    overflow-x: auto;
    padding-bottom: 16px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}
.whc-industries__track::-webkit-scrollbar { display: none; }
.whc-industry-card {
    flex: 0 0 302px;
    scroll-snap-align: start;
    position: relative;
}
.whc-industry-card__media {
    width: 302px; height: 235px;
    border-radius: 12px; overflow: hidden;
    margin-bottom: 26px; background: #f3f3f3;
}
.whc-industry-card__media img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.whc-industry-card:hover .whc-industry-card__media img {
    transform: translateY(100%);
}
.whc-industry-card__title {
    font-size: 28px; font-weight: 600;
    line-height: 1.2; margin: 0;
    color: var(--whc-black);
    position: relative;
    z-index: 2;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
                color 0.25s ease;
}

/* hover overlay — orange backdrop; title travels in from outside */
.whc-industry-card__hover {
    position: absolute;
    inset: 0;
    background: var(--whc-orange-2);
    border-radius: 12px;
    opacity: 0;
    z-index: 1;
    pointer-events: none;
    transition: opacity 0.22s ease;
}

/* duplicated title in the overlay is invisible — the real title moves into position */
.whc-industry-card__hover-title {
    visibility: hidden;
    font-size: 28px;
    font-weight: 600;
    line-height: 1.2;
    margin: 0;
}

/* description sits in the slot where the moving title lands */
.whc-industry-card__hover-text {
    position: absolute;
    left: 24px;
    right: 24px;
    top: 168px;
    margin: 0;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--whc-white);
    z-index: 2;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.25s ease 0.08s,
                transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) 0.08s;
}

.whc-industry-card:hover .whc-industry-card__hover {
    opacity: 1;
    pointer-events: auto;
}

.whc-industry-card:hover .whc-industry-card__title {
    transform: translate(24px, -136px);
    color: var(--whc-white);
}

.whc-industry-card:hover .whc-industry-card__hover-text {
    opacity: 1;
    transform: translateY(0);
}

.whc-industries__nav { display: flex; justify-content: center; gap: 8px; margin-top: 24px; }
.whc-industries__btn {
    width: 35px; height: 35px;
    border-radius: 50%;
    background: var(--whc-white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    display: inline-flex; align-items: center; justify-content: center;
    color: var(--whc-orange-2);
    transition: transform 0.2s var(--ease), background 0.2s var(--ease);
}
.whc-industries__btn:hover {
    background: var(--whc-orange-2); color: var(--whc-white); transform: scale(1.05);
}
.whc-industries__btn svg { width: 18px; height: 18px; }

/* ============================================================
   Why choose us
   ============================================================ */
.whc-why { background: var(--whc-white); position: relative; padding-bottom: 80px; }
.whc-why__top { position: relative; height: 533px; overflow: hidden; }
.whc-why__top img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.whc-why__top::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.0) 55%);
}
.whc-why__copy {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-pad);
    position: relative; z-index: 1;
    height: 100%;
    display: flex; flex-direction: column; justify-content: center;
}
.whc-why__copy-inner { max-width: 622px; color: var(--whc-black); }
.whc-why__heading {
    font-size: 40px; font-weight: 600;
    line-height: 1.2; letter-spacing: -0.8px;
    margin: 0 0 24px;
}
.whc-why__lead {
    margin: 0;
    font-size: 18px; font-weight: 500;
    line-height: 1.5; letter-spacing: -0.36px;
    max-width: 497px;
}
.whc-why__cards {
    max-width: var(--container-max);
    margin: -124px auto 0;
    padding: 0 var(--container-pad);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    position: relative; z-index: 2;
}
.whc-why-card {
    border-radius: 12px;
    padding: 32px 16px;
    color: var(--whc-white);
    display: flex; flex-direction: column;
    gap: 20px; min-height: 258px;
}
.whc-why-card--pink   { background: var(--whc-pink); }
.whc-why-card--green  { background: var(--whc-green-dark); }
.whc-why-card--blue   { background: var(--whc-blue-dark); }
.whc-why-card__icon { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; }
.whc-why-card__icon img { width: 40px; height: 40px; filter: brightness(0) invert(1); }
.whc-why-card__title { font-size: 28px; font-weight: 600; line-height: 1.2; margin: 0 0 12px; }
.whc-why-card__text  { font-size: 18px; font-weight: 400; line-height: 1.5; margin: 0; }

/* ============================================================
   Carbon neutral
   ============================================================ */
.whc-carbon { background: var(--whc-white); padding: 80px 0; }
.whc-carbon__inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-pad);
    display: grid;
    grid-template-columns: 1fr 580px;
    gap: 85px;
    align-items: center;
}
.whc-carbon__copy { color: var(--whc-black); display: flex; flex-direction: column; gap: 23px; max-width: 615px; }
.whc-carbon__lead { font-size: 28px; font-weight: 500; line-height: 1.3; letter-spacing: -0.56px; margin: 0; }
.whc-carbon__lead .accent { color: var(--whc-orange-2); }
.whc-carbon__text { margin: 0; font-size: 18px; font-weight: 400; line-height: 1.5; }

.whc-carbon__media { position: relative; height: 438px; border-radius: var(--radius-xl); overflow: hidden; }
.whc-carbon__media img.bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.whc-carbon__video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; background: #000; }
.whc-carbon__media.is-playing::after { display: none; }
.whc-carbon__media.is-playing .whc-carbon__video { object-fit: contain; z-index: 2; }
.whc-carbon__media::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.25) 60%, rgba(0, 0, 0, 0.4) 100%);
    pointer-events: none;
}
.whc-carbon__media-frame {
    position: absolute;
    top: 64px; left: 64px; right: 64px; bottom: 64px;
    border: 2px solid rgba(255, 255, 255, 0.55);
    border-radius: 12px;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 18px; z-index: 1;
}
.whc-carbon__play {
    width: 78px; height: 78px;
    padding: 0; background: transparent; border: none;
    display: inline-flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: transform 0.2s var(--ease);
}
.whc-carbon__play:hover { transform: scale(1.06); }
.whc-carbon__play img { width: 78px; height: 78px; }
/* ============================================================
   Final CTA
   ============================================================ */
.whc-cta {
    position: relative;
    background: var(--whc-orange-2);
    overflow: hidden;
    min-height: 580px;
}
.whc-cta__inner {
    position: relative;
    height: 580px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
}
.whc-cta__pattern {
    position: absolute;
    top: -9px;
    left: calc(50% - 270px);
    width: 598px; height: 598px;
    opacity: 0.10;
    pointer-events: none;
    z-index: 1;
}
.whc-cta__pattern img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0) invert(1); }
.whc-cta__copy {
    position: relative; z-index: 2;
    width: 100%;
    max-width: calc(424px + var(--container-pad));
    padding-left: var(--container-pad);
    color: var(--whc-white);
    display: flex; flex-direction: column; gap: 32px;
}
.whc-cta__text { display: flex; flex-direction: column; gap: 24px; }
.whc-cta__title { margin: 0; font-size: 40px; font-weight: 600; line-height: 1.2; color: var(--whc-white); }
.whc-cta__sub   {
    margin: 0;
    font-size: 18px; font-weight: 600; line-height: 1.2;
    max-width: 380px; color: var(--whc-white);
}
.whc-cta__cta { width: 153px; padding-left: 0; padding-right: 0; }
.whc-cta__visual { position: relative; z-index: 2; align-self: stretch; overflow: hidden; }
.whc-cta__visual img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ============================================================
   Homepage responsive
   ============================================================ */
@media (max-width: 1280px) {
    .whc-hero__inner,
    .whc-cta__inner { grid-template-columns: 1fr 1fr; }
    .whc-hero__pattern { display: none; }
    .whc-about__row { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 991px) {
    .whc-hero__inner,
    .whc-cta__inner,
    .whc-carbon__inner {
        grid-template-columns: 1fr;
        height: auto;
    }
    .whc-hero { min-height: auto; }
    .whc-hero__inner { padding-top: 64px; padding-bottom: 0; }
    .whc-hero__visual { position: relative; width: 100%; height: 320px; }
    .whc-hero__content { padding: 64px var(--container-pad) 48px; max-width: none; }

    .whc-about::before { display: none; }
    .whc-about__row { grid-template-columns: 1fr; min-height: 0; }
    .whc-about__copy { max-width: none; padding: 64px var(--container-pad); }
    .whc-about__visual { height: 320px; }
    .whc-about__lead { font-size: 32px; }

    /* Intro un-pins via the reduced-motion / ≤991 block above; here just
       reflow the stats grid and place the flower mark on its own top row. */
    .whc-zoom__grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
        gap: 32px;
    }
    .whc-zoom__flower { grid-column: 1 / -1; grid-row: 1; order: -1; }

    .whc-products__grid { grid-template-columns: 1fr; }

    /* Industries: drop the hover overlay on mobile and show each card's
       description statically below its heading. */
    .whc-industry-card__hover {
        position: static;
        inset: auto;
        opacity: 1;
        background: none;
        border-radius: 0;
        pointer-events: none;
    }
    .whc-industry-card__hover-title { display: none; }
    .whc-industry-card__hover-text {
        position: static;
        left: auto; right: auto; top: auto;
        opacity: 1;
        transform: none;
        margin-top: 10px;
        color: var(--whc-black);
    }
    .whc-industry-card__media { margin-bottom: 16px; }
    .whc-industry-card:hover .whc-industry-card__media img { transform: none; }
    .whc-industry-card:hover .whc-industry-card__title { transform: none; color: var(--whc-black); }
    .whc-industry-card:hover .whc-industry-card__hover { opacity: 1; }
    .whc-industry-card:hover .whc-industry-card__hover-text { transform: none; }

    /* Tighten the oversized desktop section spacing on smaller screens. */
    .whc-products   { padding: 48px 0 52px; }
    .whc-industries { padding: 48px 0 52px; }
    .whc-section-title,
    .whc-industries__title { margin-bottom: 32px; }

    .whc-why__cards { grid-template-columns: 1fr; margin-top: 32px; }
    .whc-why__top { height: 360px; }
    /* Cut the doubled 80px+80px padding gap between the Why cards and Carbon. */
    .whc-why { padding-bottom: 40px; }
    .whc-carbon { padding: 40px 0; }

    .whc-carbon__inner { gap: 40px; }
    .whc-carbon__media { height: 320px; }

    .whc-cta__visual { height: 280px; }
    .whc-cta__copy { padding: 64px var(--container-pad); }
    .whc-cta { min-height: auto; }
    .whc-cta__inner { height: auto; }
    .whc-cta__pattern { display: none; }
}

@media (max-width: 600px) {
    .whc-hero__title       { font-size: 36px; }
    .whc-hero__subtitle    { font-size: 18px; }
    .whc-section-title     { font-size: 36px; }
    .whc-industries__title { font-size: 36px; }
    .whc-about__lead       { font-size: 26px; }
    .whc-why__heading      { font-size: 32px; }
    .whc-cta__title        { font-size: 32px; }

    .whc-zoom__grid        { grid-template-columns: 1fr; }
    .whc-stat__number      { font-size: 56px; }

    .whc-product-card        { grid-template-columns: 1fr; height: auto; }
    .whc-product-card__media { height: 200px; }
}
