/* Use the outer gutters before scaling desktop content to fit the viewport. */
@media (min-width: 861px) {
    html.page-home body.page-home main.site-main {
        width: var(--home-desktop-width, 1920px) !important;
        min-width: var(--home-desktop-width, 1920px) !important;
        max-width: var(--home-desktop-width, 1920px) !important;
        zoom: var(--home-desktop-scale, 1) !important;
    }

    html.page-home body.page-home main.site-main .home-panel {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: calc(100svh / var(--home-desktop-scale, 1)) !important;
        max-height: none !important;
    }

    html.page-home body.page-home main.site-main :is(#section-1, #section-trust-metrics, #section-2, #section-core-services, #section-4, #section-history, #section-3, #section-5, #section-6, #section-trade-process, #section-7, #section-8, #section-faq) > .home-panel__inner {
        width: min(calc(100% - 64px), 1490px) !important;
        min-width: 0 !important;
        max-width: 1490px !important;
        margin-inline: auto !important;
        height: auto !important;
        min-height: calc(100svh / var(--home-desktop-scale, 1)) !important;
        max-height: none !important;
    }

    html.page-home body.page-home main.site-main #section-trust-metrics,
    html.page-home body.page-home main.site-main #section-trust-metrics > .home-panel__inner {
        height: auto !important;
        min-height: 504px !important;
        max-height: none !important;
    }

    html.page-home body.page-home main.site-main #section-1 .hero-brand { font-size: 58px !important; }
    html.page-home body.page-home main.site-main #section-1 .hero-brand__main { font-size: 80px !important; transform: scaleY(1.05) !important; }
    html.page-home body.page-home main.site-main #section-1 .hero-brand__sub { font-size: 71px !important; transform: translateY(5px) scaleY(.94) !important; }
    html.page-home body.page-home main.site-main #section-trust-metrics .trust-metrics-section__heading h2 { font-size: 58px !important; }
    html.page-home body.page-home main.site-main #section-2 .company-overview__title { font-size: 16px !important; }
    html.page-home body.page-home main.site-main #section-2 .company-overview__headline,
    html.page-home body.page-home main.site-main #section-core-services .core-services__title,
    html.page-home body.page-home main.site-main #section-4 .ceo-message__title,
    html.page-home body.page-home main.site-main #section-3 .vision-copy__title { font-size: 50px !important; line-height: 1.2 !important; }
    html.page-home body.page-home main.site-main #section-5 .business-services__title { font-size: 50.5px !important; }
    html.page-home body.page-home main.site-main #section-6 .business-safety__rate { font-size: 97px !important; }
    html.page-home body.page-home main.site-main #section-6 .business-safety__title { font-size: 48.5px !important; white-space: normal !important; }
    html.page-home body.page-home main.site-main #section-trade-process .trade-process__title { font-size: 56px !important; }
    html.page-home body.page-home main.site-main #section-trade-process .trade-process-card h3 { display: block !important; font-size: 18px !important; }
    html.page-home body.page-home main.site-main #section-7 .products-showcase__title,
    html.page-home body.page-home main.site-main #section-8 .quote-contact__title { font-size: 52px !important; }

    html.page-home body.page-home main.site-main #section-2 .company-overview {
        grid-template-columns: minmax(0, 760px) minmax(260px, 400px) !important;
        justify-content: center !important;
        column-gap: 115.2px !important;
        row-gap: 0 !important;
    }
    html.page-home body.page-home main.site-main #section-2 .company-overview__globe {
        grid-column: 2 !important;
        transform: none !important;
    }
    html.page-home body.page-home main.site-main #section-2 .company-overview__headline,
    html.page-home body.page-home main.site-main #section-2 .company-overview__text { width: 100% !important; max-width: 100% !important; }

    html.page-home body.page-home main.site-main #section-core-services .core-services__cards {
        width: 100% !important;
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        transform: none !important;
    }

    html.page-home body.page-home main.site-main #section-4 .ceo-message__signature-inline strong { font-size: 28px !important; }
    html.page-home body.page-home main.site-main #section-trade-process .trade-process-card__main { grid-template-columns: minmax(0, 1fr); }
    html.page-home body.page-home main.site-main #section-trade-process .trade-process-card__en { max-width: 100%; font-size: 13px !important; overflow-wrap: anywhere; }
    html.page-home body.page-home main.site-main #section-trade-process .trade-process-card h3,
    html.page-home body.page-home main.site-main #section-trade-process .trade-process-card h3 span { min-width: 0; max-width: 100%; white-space: normal !important; overflow-wrap: anywhere !important; }
    html.page-home body.page-home main.site-main #section-5 .business-service-card h3 { height: auto !important; white-space: normal !important; overflow-wrap: break-word; }

    html.page-home body.page-home main.site-main #section-4 .ceo-message {
        grid-template-columns: minmax(0, 1fr) 362px !important;
    }
    html.page-home body.page-home main.site-main #section-4 .ceo-message__content,
    html.page-home body.page-home main.site-main #section-4 .ceo-message__body p {
        width: 100% !important;
        max-width: 100% !important;
    }
    html.page-home body.page-home main.site-main #section-3 .vision-layout {
        grid-template-columns: minmax(0, 1fr) 392px !important;
        column-gap: 115.2px !important;
    }
    html.page-home body.page-home main.site-main #section-3 .vision-copy__title span,
    html.page-home body.page-home main.site-main #section-3 .vision-copy__title em { font-size: inherit !important; line-height: inherit !important; white-space: normal !important; }
    html.page-home body.page-home main.site-main #section-3 .vision-copy,
    html.page-home body.page-home main.site-main #section-3 .vision-copy__body,
    html.page-home body.page-home main.site-main #section-3 .vision-copy__body p,
    html.page-home body.page-home main.site-main #section-3 .vision-quote {
        width: 100% !important;
        max-width: 100% !important;
    }
    html.page-home body.page-home main.site-main #section-5 .business-services,
    html.page-home body.page-home main.site-main #section-5 .business-services__header,
    html.page-home body.page-home main.site-main #section-5 .business-services__cards {
        width: 100% !important;
        max-width: 1380px !important;
        margin-inline: auto !important;
        transform: none !important;
    }
    html.page-home body.page-home main.site-main #section-5 .business-services__cards {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 24px !important;
    }
    html.page-home body.page-home main.site-main #section-5 .business-service-card {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        height: auto !important;
        padding-inline: 24px !important;
    }
    html.page-home body.page-home main.site-main #section-5 .business-service-card:last-child { grid-column: auto; }
}

@media (min-width: 861px) {
    html.page-home { overflow-x: clip !important; }
    html.page-home body.page-home {
        min-width: 0 !important;
        max-width: 100% !important;
        overflow: visible !important;
        --finf-card-gap: 24.96px;
    }
    html.page-home body.page-home main.site-main #section-2 .company-overview__globe,
    html.page-home body.page-home main.site-main #section-2 .company-overview__earth {
        width: 400px !important;
        height: 400px !important;
    }
    html.page-home body.page-home main.site-main #section-2 .company-overview__globe { justify-self: end !important; }
    html.page-home body.page-home main.site-main #section-2 .company-overview__title,
    html.page-home body.page-home main.site-main #section-2 .company-overview__headline,
    html.page-home body.page-home main.site-main #section-2 .company-overview__text { transform: none !important; }
    html.page-home body.page-home main.site-main #section-7 .product-coverflow.is-coverflow-ready .product-card.product-card--summary { width: 760px !important; }
}

/* Keep desktop proportions consistent while the whole composition scales. */
@media (min-width: 861px) {
    html.page-home body.page-home main.site-main #section-1 > .home-panel__inner { padding: 234px 0 0 !important; }
    html.page-home body.page-home main.site-main #section-2 > .home-panel__inner,
    html.page-home body.page-home main.site-main #section-3 > .home-panel__inner { padding: 0 !important; }
    html.page-home body.page-home main.site-main #section-core-services > .home-panel__inner { padding: 260px 0 0 !important; }
    html.page-home body.page-home main.site-main #section-4 > .home-panel__inner { padding: 257px 0 0 !important; }
    html.page-home body.page-home main.site-main #section-5 > .home-panel__inner { padding: 0 !important; }
    /* Center the entire safety section below the fixed header. Let short
       windows scroll the content instead of clipping the lower cards. */
    html.page-home body.page-home main.site-main #section-6 > .home-panel__inner {
        padding: calc(var(--home-header-height, 70px) / var(--home-desktop-scale, 1) + 12px) 0 12px !important;
        align-content: center !important;
    }
    html.page-home body.page-home main.site-main #section-7 > .home-panel__inner { padding: 0 192px !important; }
    html.page-home body.page-home main.site-main #section-8 > .home-panel__inner {
        padding: calc((var(--home-header-height, 70px) + 24px) / var(--home-desktop-scale, 1)) 0 calc(24px / var(--home-desktop-scale, 1)) !important;
        align-content: center !important;
    }

    html.page-home body.page-home main.site-main #section-1 .hero-text-block,
    html.page-home body.page-home main.site-main #section-1 .hero-copy { width: 780px !important; max-width: 780px !important; transform: none !important; }
    html.page-home body.page-home main.site-main #section-1 .hero-brand { margin: 0 0 37px !important; }
    html.page-home body.page-home main.site-main #section-1 .hero-brand__sub { margin-left: 7px !important; }
    html.page-home body.page-home main.site-main #section-1 .hero-actions { margin-top: 25px !important; transform: none !important; }

    html.page-home body.page-home main.site-main #section-2 .company-overview__earth { transform: translateX(10px) scale(1.48) !important; }
    html.page-home body.page-home main.site-main #section-2 .company-overview__cloud--one { transform: translate(-97px, -84px) scale(1.62) !important; }
    html.page-home body.page-home main.site-main #section-2 .company-overview__cloud--two { transform: translate(33px, 2px) scale(1.62) !important; }

    html.page-home body.page-home main.site-main #section-core-services .core-services__title { transform: none !important; }
    html.page-home body.page-home main.site-main #section-core-services .core-services__cards { margin-top: 72px !important; gap: 24.96px !important; }
    html.page-home body.page-home main.site-main #section-core-services .core-service-card { min-height: 320px !important; }

    html.page-home body.page-home main.site-main #section-4 .ceo-message { row-gap: 0 !important; }
    html.page-home body.page-home main.site-main #section-4 .ceo-message__content { grid-area: 1 / 1 !important; padding-top: 31px !important; transform: none !important; }
    html.page-home body.page-home main.site-main #section-4 .ceo-value-card { grid-area: 1 / 2 !important; width: 362px !important; max-width: 362px !important; transform: none !important; }

    html.page-home body.page-home main.site-main #section-3 .vision-layout { row-gap: 0 !important; }
    html.page-home body.page-home main.site-main #section-3 .vision-copy { grid-area: 1 / 1 !important; transform: none !important; }
    html.page-home body.page-home main.site-main #section-3 .vision-copy__title { margin-bottom: 53px !important; }
    html.page-home body.page-home main.site-main #section-3 .vision-quote { margin-top: 26px !important; }
    html.page-home body.page-home main.site-main #section-3 .vision-challenges:not(.vision-challenges--text) { grid-area: 1 / 2 !important; width: 392px !important; max-width: 392px !important; transform: none !important; }
    html.page-home body.page-home main.site-main #section-5 .business-services__cards { margin-top: 0 !important; }

    html.page-home body.page-home main.site-main #section-6 .business-safety { top: 0 !important; }
    html.page-home body.page-home main.site-main #section-6 .business-safety__copy,
    html.page-home body.page-home main.site-main #section-6 .business-safety__copy > *,
    html.page-home body.page-home main.site-main #section-6 .business-safety__badges { transform: none !important; }
    html.page-home body.page-home main.site-main #section-6 .business-safety__label { margin-top: 10px !important; }
    html.page-home body.page-home main.site-main #section-6 .business-safety__title { margin-top: 18px !important; line-height: 56.64px !important; }
    html.page-home body.page-home main.site-main #section-6 .business-safety__badges {
        margin-top: 16px !important;
        padding-top: 12px !important;
        gap: 10px 14px !important;
    }
    html.page-home body.page-home main.site-main #section-6 .safety-badge { height: 55px !important; }
    html.page-home body.page-home main.site-main #section-6 .business-safety__trust {
        width: 1016px !important;
        max-width: 1016px !important;
        margin: 10px auto 0 !important;
        transform: none !important;
        --safety-carousel-card: 324px;
    }
    html.page-home body.page-home main.site-main #section-6 .safety-trust-card { padding-block: 22px !important; }
    html.page-home body.page-home main.site-main #section-6 .safety-trust-card p { margin-top: 10px !important; }

    html.page-home body.page-home main.site-main #section-7 .product-coverflow.is-coverflow-ready .product-card.product-card--summary { left: calc(50% - 380px) !important; }
    /* Keep form controls readable when the surrounding desktop page shrinks. */
    html.page-home body.page-home main.site-main #section-8 .quote-contact {
        zoom: max(1, calc(1 / var(--home-desktop-scale, 1)));
        width: min(800px, calc(100vw - 64px)) !important;
        max-width: 800px !important;
        transform: none !important;
    }
    html.page-home body.page-home main.site-main #section-8 .quote-contact__layout {
        width: 100% !important;
        max-width: 100% !important;
        transform: none !important;
    }
    html.page-home body.page-home main.site-main #section-8 .quote-contact__title {
        transform: none !important;
        white-space: normal !important;
    }
    html.page-home body.page-home main.site-main #section-8 .quote-contact__header { width: 100% !important; max-width: 100% !important; margin: 0 0 24px !important; }
    html.page-home body.page-home main.site-main #section-8 .quote-form {
        width: 100% !important;
        max-width: 100% !important;
        padding: 24px 32px !important;
        gap: 12px !important;
    }
    html.page-home body.page-home main.site-main #section-8 .quote-form__grid { gap: 16px 18px !important; }
    html.page-home body.page-home main.site-main #section-8 .quote-field > span { font-size: 14px !important; line-height: 1.4 !important; }
    html.page-home body.page-home main.site-main #section-8 .quote-field :is(input, select, textarea) { font-size: 16px !important; line-height: 1.5 !important; min-height: 46px !important; }
    html.page-home body.page-home main.site-main #section-8 .quote-field textarea { min-height: 110px !important; }
    html.page-home body.page-home main.site-main #section-8 .quote-form__submit { min-height: 48px !important; font-size: 16px !important; }
}
@media (min-width: 861px) {
    html.page-home body.page-home main.site-main #section-core-services .core-service-card h3,
    html.page-home body.page-home main.site-main #section-6 .safety-trust-card h3,
    html.page-home body.page-home main.site-main #section-7 .product-card h3 {
        width: 100% !important;
        max-width: 100% !important;
        white-space: normal !important;
    }
    html.page-home body.page-home main.site-main #section-3 .vision-challenges .vision-challenge-card h4 {
        width: 100% !important;
        min-width: 0 !important;
        white-space: normal !important;
    }
    html.page-home body.page-home main.site-main #section-6 .business-safety__text {
        margin-top: 18px !important;
        line-height: 30.78px !important;
        letter-spacing: .15px !important;
    }
    html.page-home body.page-home main.site-main #section-6 .safety-badge { width: 85px !important; }
    html.page-home body.page-home main.site-main #section-6 .safety-trust-card img { margin-bottom: 12px !important; transform: translateY(-8px) !important; }
}

/* Fit each composition into the available width before reducing its scale.
   Inner zoom compensates for the shared desktop canvas; mobile stays unchanged. */
@media (min-width: 861px) {
    html.page-home body.page-home main.site-main .home-panel:not(#section-8) > .home-panel__inner {
        width: var(--home-content-width, 1490px) !important;
        max-width: none !important;
        zoom: var(--home-content-zoom, 1);
        min-height: calc(100svh / var(--home-content-scale, 1)) !important;
        padding: calc((var(--home-header-height, 70px) + 24px) / var(--home-content-scale, 1)) 0 calc(24px / var(--home-content-scale, 1)) !important;
        display: grid !important;
        align-content: center !important;
        align-items: center !important;
    }
    html.page-home body.page-home main.site-main .home-panel:not(#section-8) > .home-panel__inner > * {
        transform: none !important;
    }
    /* Use the centered grid position instead of the legacy upward offsets. */
    html.page-home body.page-home main.site-main #section-trade-process .trade-process,
    html.page-home body.page-home main.site-main #section-7 .products-showcase {
        top: 0 !important;
    }
    /* The inner layout already accounts for the fixed header. Keep native
       snapping aligned too, including the end of the preceding tall panel. */
    html.page-home body.page-home main.site-main #section-7 {
        scroll-margin-top: 0 !important;
    }
    /* Keep hero copy above the ship instead of vertically centering it.
       Short windows retain enough image height to leave the copy area clear. */
    html.page-home body.page-home main.site-main #section-1 { --home-hero-offset: 45px; }
    html.page-home body.page-home main.site-main #section-1 .panel-intro__video-stage {
        transform: translateY(calc(var(--home-hero-offset) / var(--home-desktop-scale, 1)));
        mask-image: linear-gradient(to bottom, transparent, #000 calc(24px / var(--home-desktop-scale, 1)));
    }
    html.page-home body.page-home main.site-main #section-1.home-panel > .home-panel__inner {
        align-content: start !important;
        padding-top: calc((var(--home-header-height, 70px) + 24px + var(--home-hero-offset)) / var(--home-content-scale, 1)) !important;
        min-height: calc(max(100svh, var(--home-hero-min-height, 900px)) / var(--home-content-scale, 1)) !important;
    }
    /* Replace the removed Korean lead line above the copy, preserving the CTA baseline.
       One description line is 23.3333px at a 1.55 line-height. */
    html.page-home body.page-home.lang-ko main.site-main #section-1 .hero-text-block {
        margin-top: 36.1667px !important;
    }
    html.page-home body.page-home.lang-ko main.site-main #section-1 .hero-copy--lead {
        white-space: nowrap !important;
    }
    html.page-home body.page-home.lang-ko main.site-main #section-1 .hero-copy--lead > span {
        display: inline !important;
    }
    html.page-home body.page-home main.site-main #section-trust-metrics.home-panel > .home-panel__inner {
        min-height: 504px !important;
        padding: 56px 0 !important;
    }
    html.page-home body.page-home main.site-main #section-6.home-panel > .home-panel__inner {
        padding: calc((var(--home-header-height, 70px) + 12px) / var(--home-content-scale, 1)) 0 calc(12px / var(--home-content-scale, 1)) !important;
    }
    /* Leave room for the carousel shadow even when a short window scrolls. */
    html.page-home body.page-home.lang-en main.site-main #section-6.home-panel > .home-panel__inner {
        padding: calc(var(--home-header-height, 70px) / var(--home-content-scale, 1) + 22px) 0 22px !important;
    }
    /* Keep the English and Indonesian certification copy on two authored lines instead
       of wrapping it inside the narrower badge row. */
    html.page-home body.page-home.lang-en main.site-main #section-6 .business-safety__certification-note,
    html.page-home body.page-home.lang-id main.site-main #section-6 .business-safety__certification-note {
        width: 760px !important;
        max-width: none !important;
        justify-self: center !important;
    }
    /* The carousel retains 32px below the cards for their shadows. Exclude
       20px of that empty space from centering to balance the visible content. */
    html.page-home body.page-home.lang-en main.site-main #section-6 .business-safety__trust {
        margin-bottom: -20px !important;
    }
    html.page-home body.page-home main.site-main #section-2 .company-overview {
        /* Balance the artwork's visible overhang, excluding transparent PNG margins.
           Keep the total inset and both column widths unchanged. */
        padding-inline: 38px 58px !important;
        grid-template-columns: minmax(0, 760px) 400px !important;
    }
    html.page-home body.page-home main.site-main #section-core-services .core-services__cards {
        margin-top: 40px !important;
        gap: 20px !important;
    }
    html.page-home body.page-home main.site-main #section-4 .ceo-message__content { padding-top: 0 !important; }
    html.page-home body.page-home main.site-main #section-3 .vision-layout { column-gap: 64px !important; }
    html.page-home body.page-home main.site-main #section-3 .vision-copy__title { margin-bottom: 32px !important; }
    html.page-home body.page-home main.site-main #section-3 .vision-copy__title,
    html.page-home body.page-home main.site-main #section-3 .vision-copy__title span,
    html.page-home body.page-home main.site-main #section-3 .vision-copy__title em {
        min-width: 0 !important;
        overflow-wrap: anywhere !important;
    }
    html.page-home body.page-home main.site-main #section-3 .vision-copy__body-line { white-space: normal !important; }
    html.page-home body.page-home main.site-main #section-3 .vision-quote { margin-top: 20px !important; }
    html.page-home body.page-home main.site-main #section-history .company-history__header { margin-bottom: 32px !important; }
    html.page-home body.page-home main.site-main #section-trade-process .trade-process { gap: 36px !important; }
    /* Center the collapsed cards and nearby hint in the visible viewport.
       Reserve overflow below them so expanded details never clip or shift the row. */
    html.page-home body.page-home main.site-main #section-trade-process.home-panel > .home-panel__inner {
        align-content: start !important;
        padding-top: max(calc((var(--home-header-height, 70px) + 24px) / var(--home-content-scale, 1)), calc((100svh + var(--home-header-height, 70px)) / var(--home-content-scale, 1) / 2 - var(--trade-compact-height, 400px) / 2)) !important;
        padding-bottom: calc(24px / var(--home-content-scale, 1) + var(--trade-overflow-height, 0px)) !important;
    }
    html.page-home body.page-home main.site-main #section-trade-process .trade-process__steps { height: var(--trade-row-height, auto) !important; }
    html.page-home body.page-home main.site-main #section-trade-process .trade-process__hint {
        margin-top: 0 !important;
        transform: none !important;
        transition: opacity 140ms ease 300ms, visibility 0s 300ms;
    }
    html.page-home body.page-home main.site-main #section-trade-process .trade-process__steps:has(.trade-process-card:is(:hover, :focus-visible)) + .trade-process__hint {
        opacity: 0;
        visibility: hidden;
        transition-delay: 0s;
    }
    html.page-home body.page-home main.site-main #section-trade-process .trade-process-card:is(:hover, :focus-visible) .trade-process-card__detail {
        max-height: var(--trade-detail-height, none);
    }
    html.page-home body.page-home main.site-main #section-trade-process .trade-process__steps.is-measuring .trade-process-card__detail {
        max-height: none !important;
        margin-top: 16px !important;
        padding-top: 14px !important;
        transform: none !important;
        transition: none !important;
    }
    html.page-home body.page-home main.site-main #section-trade-process .trade-process__steps.is-measuring-collapsed .trade-process-card__detail {
        max-height: 0 !important;
        margin-top: 0 !important;
        padding-top: 0 !important;
        transition: none !important;
    }
}
@media (min-width: 861px) and (prefers-reduced-motion: reduce) {
    html.page-home body.page-home main.site-main #section-trade-process .trade-process__hint {
        transition: none;
    }
}
