/*
 * Neutral premium surface system.
 * Keeps the logo artwork and real photography intact while removing green
 * gradients, green frames, green glows, and green-filled UI surfaces.
 */

:root {
    --primary: #c9cecc;
    --primary-dark: #8e9592;
    --primary-light: #eef0ef;
    --accent: #f5f5f7;
    --accent-soft: rgba(255, 255, 255, 0.08);
    --petrol: #303332;
    --sky: #d7dbd9;
    --glass-bg: #151617;
    --glass-bg-light: #171819;
    --glass-border: 1px solid rgba(255, 255, 255, 0.12);
    --glass-border-light: 1px solid rgba(255, 255, 255, 0.12);
    --glass-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
    --glass-shadow-light: 0 18px 44px rgba(0, 0, 0, 0.28);
    --neutral-canvas: #0b0b0c;
    --neutral-surface: #141516;
    --neutral-surface-raised: #18191a;
    --neutral-surface-soft: rgba(255, 255, 255, 0.045);
    --neutral-line: rgba(255, 255, 255, 0.12);
    --neutral-line-strong: rgba(255, 255, 255, 0.2);
    --neutral-ink: #f5f5f7;
    --neutral-copy: rgba(245, 245, 247, 0.72);
    --text: #f5f5f7;
    --text-soft: #d7d7d9;
    --muted: #a7a7ac;
    --muted-2: #85858b;
    --success: #c9cecc;
}

html body:not(.case-library-page) {
    background-color: var(--neutral-canvas) !important;
    background-image: none !important;
}

html body:not(.case-library-page)::before {
    background: none !important;
}

html body:not(.case-library-page) :is(.ambient-bg, .cursor-glow) {
    display: none !important;
}

html body:not(.case-library-page) ::selection {
    background: rgba(255, 255, 255, 0.22);
    color: #ffffff;
}

/* Solid neutral surfaces replace tinted glass and colored edge treatments. */
html body:not(.case-library-page) :is(
    .glass-panel,
    .glass-panel-light,
    .floating-card,
    .point-chip,
    .flow-item,
    .process-detail,
    .cap-spec,
    .service-card,
    .industry-card:not(.industry-card--bg),
    .cap-item,
    .cap-card,
    .quality-card,
    .cert-card,
    .equip-card,
    .ind-card,
    .vas-card,
    .gallery-card,
    .featured-spec,
    .process-step,
    .stat-card,
    .blog-card,
    .article-container,
    .article-cta,
    .evidence-slot,
    .quality-cta,
    .cta-wrap,
    .contact-form,
    .cta-info-item,
    .promise-box,
    .upload-zone,
    .faq-item,
    .factory-proof-slot,
    .factory-proof-card,
    .lead-card,
    .value-card,
    .capacity-banner,
    .seo-link-card,
    .hs-card,
    .hs-scope-card,
    .hs-item,
    .hs-step,
    .hs-contact
) {
    background-color: var(--neutral-surface) !important;
    background-image: none !important;
    border-color: var(--neutral-line) !important;
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22) !important;
}

html body:not(.case-library-page) :is(
    .glass-panel,
    .glass-panel-light,
    .floating-card,
    .point-chip,
    .flow-item,
    .process-detail,
    .cap-spec,
    .blog-card,
    .article-cta,
    .upload-zone,
    .faq-item,
    .capacity-banner,
    .factory-proof-slot
)::before,
html body:not(.case-library-page) :is(
    .glass-panel,
    .glass-panel-light,
    .floating-card,
    .point-chip,
    .flow-item,
    .process-detail,
    .cap-spec,
    .blog-card,
    .article-cta,
    .upload-zone,
    .faq-item,
    .capacity-banner,
    .factory-proof-slot
)::after {
    background: none !important;
    box-shadow: none !important;
    opacity: 0 !important;
}

html body:not(.case-library-page) :is(
    .nav-cta,
    .btn-primary,
    .btn-secondary,
    .hero-badge,
    .learn-more
)::before,
html body:not(.case-library-page) :is(
    .nav-cta,
    .btn-primary,
    .btn-secondary,
    .hero-badge,
    .learn-more
)::after {
    background: none !important;
    background-image: none !important;
    border-color: rgba(255, 255, 255, 0.18) !important;
    box-shadow: none !important;
}

html body:not(.case-library-page) :is(
    .glass-panel,
    .glass-panel-light,
    .floating-card,
    .point-chip,
    .flow-item,
    .process-detail,
    .cap-card,
    .equip-card,
    .ind-card,
    .vas-card,
    .gallery-card,
    .blog-card,
    .article-cta,
    .evidence-slot,
    .faq-item,
    .factory-proof-slot,
    .lead-card,
    .value-card,
    .seo-link-card
):hover {
    background-color: var(--neutral-surface-raised) !important;
    background-image: none !important;
    border-color: var(--neutral-line-strong) !important;
    box-shadow: 0 20px 46px rgba(0, 0, 0, 0.26) !important;
}

/* Image and evidence frames use quiet gray rules; photography is untouched. */
html body :is(
    .factory-media,
    .factory-proof-frame,
    .story-image,
    .story-media,
    .vas-media,
    .gallery-img-wrap,
    .featured-img,
    .closeup-card,
    .step-image,
    .evidence-slot__frame,
    .cap-img-wrap,
    .img-placeholder,
    .article-cover-placeholder,
    .blog-img-placeholder
) {
    border-color: var(--neutral-line) !important;
    box-shadow: none !important;
}

html body :is(.img-placeholder, .article-cover-placeholder, .blog-img-placeholder) {
    background-color: #171819 !important;
    background-image: none !important;
}

/* Controls and upload targets: solid, legible, and free of colored outlines. */
html body:not(.case-library-page) :is(
    input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),
    textarea,
    select,
    .upload-zone,
    .drop-zone,
    .file-drop,
    .form-control
) {
    background-color: #111213 !important;
    background-image: none !important;
    border-color: rgba(255, 255, 255, 0.16) !important;
    box-shadow: none !important;
}

html body:not(.case-library-page) :is(
    input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),
    textarea,
    select,
    .upload-zone,
    .drop-zone,
    .file-drop,
    .form-control
):is(:hover, :focus, :focus-within) {
    border-color: rgba(255, 255, 255, 0.34) !important;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.07) !important;
}

/* Primary actions become monochrome; secondary actions remain low contrast. */
html body:not(.case-library-page) :is(
    .btn-primary,
    .article-cta-button,
    .nav-cta,
    .nav-links .nav-cta,
    .hs-nav .nav-cta
) {
    background: #f5f5f7 !important;
    background-image: none !important;
    border-color: #f5f5f7 !important;
    color: #111213 !important;
    box-shadow: none !important;
}

html body:not(.case-library-page) :is(
    .btn-primary,
    .article-cta-button,
    .nav-cta,
    .nav-links .nav-cta,
    .hs-nav .nav-cta
):is(:hover, :focus-visible) {
    background: #ffffff !important;
    border-color: #ffffff !important;
    color: #000000 !important;
    box-shadow: none !important;
}

html body:not(.case-library-page) :is(.btn-secondary, .btn-ghost, .btn-outline, .hs-btn-ghost) {
    background: rgba(255, 255, 255, 0.055) !important;
    background-image: none !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
    color: #f5f5f7 !important;
    box-shadow: none !important;
}

html body:not(.case-library-page) :is(.btn-secondary, .btn-ghost, .btn-outline, .hs-btn-ghost):is(:hover, :focus-visible) {
    background: rgba(255, 255, 255, 0.09) !important;
    border-color: rgba(255, 255, 255, 0.26) !important;
}

html body:not(.case-library-page) :is(.whatsapp-float, .back-to-top) {
    background: #171819 !important;
    background-image: none !important;
    border-color: rgba(255, 255, 255, 0.16) !important;
    color: #f5f5f7 !important;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.32) !important;
}

html body:not(.case-library-page) :is(.whatsapp-float, .back-to-top)::before,
html body:not(.case-library-page) :is(.whatsapp-float, .back-to-top)::after {
    background: none !important;
    opacity: 0 !important;
}

/* Text gradients and green progress/active marks become neutral. */
html body:not(.case-library-page) :is(
    h1 .gradient,
    h2 .gradient,
    h3 .gradient,
    .gradient-text,
    .stat-value,
    .hero-counter strong
) {
    background: none !important;
    color: #f5f5f7 !important;
    -webkit-text-fill-color: currentColor !important;
    text-shadow: none !important;
}

html body:not(.case-library-page) :is(
    .scroll-progress span,
    .form-progress-fill,
    .progress-fill,
    .workflow-grid::before
) {
    background: #b8bdbb !important;
    background-image: none !important;
    box-shadow: none !important;
}

html body:not(.case-library-page) .nav-links a:not(.nav-cta)::after {
    background: rgba(255, 255, 255, 0.78) !important;
    box-shadow: none !important;
}

html body:not(.case-library-page) :is(
    .hero-platform-note,
    .geo-answer-block,
    .article-lead,
    blockquote
) {
    background-image: none !important;
    border-color: rgba(255, 255, 255, 0.18) !important;
}

/* Pills and icon holders may keep hierarchy, but never a green frame/fill. */
html body:not(.case-library-page) :is(
    .hero-badge,
    .section-label,
    .service-badge,
    .cap-tag,
    .blog-category,
    .case-label,
    .cap-tech-chip,
    .quote-form-head > span,
    .location-card__meta span,
    .industry-tags span,
    .tag,
    .chip
) {
    background: rgba(255, 255, 255, 0.055) !important;
    background-image: none !important;
    border-color: rgba(255, 255, 255, 0.13) !important;
    color: rgba(245, 245, 247, 0.78) !important;
    box-shadow: none !important;
}

html body:not(.case-library-page) :is(
    .learn-more,
    .unit-m2,
    .blog-readmore,
    .read-more,
    .article-link,
    .case-label
) {
    color: rgba(245, 245, 247, 0.84) !important;
    border-color: currentColor !important;
    text-shadow: none !important;
}

html body:not(.case-library-page) :is(
    .faq-toggle,
    .cap-icon,
    .ind-icon,
    .cert-icon,
    .step-marker,
    .wf-num,
    .industry-icon,
    .service-icon,
    .tech-item-icon,
    .about-hl-icon,
    .upload-icon,
    .rfq-details-toggle__indicator,
    .cta-info-icon,
    .footer-contact-icon
) {
    background: rgba(255, 255, 255, 0.06) !important;
    background-image: none !important;
    border-color: rgba(255, 255, 255, 0.14) !important;
    color: #eef0ef !important;
    box-shadow: none !important;
}

html body:not(.case-library-page) :is(.cap-tech-chip, .about-hl-icon, .upload-icon, .rfq-details-toggle__indicator) {
    background-color: rgba(255, 255, 255, 0.06) !important;
    background-image: none !important;
    border-color: rgba(255, 255, 255, 0.14) !important;
    color: #eef0ef !important;
    box-shadow: none !important;
}

html body:not(.case-library-page) .industry-card-overlay {
    background-color: transparent !important;
    background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.03), rgba(0, 0, 0, 0.84)) !important;
}

html body:not(.case-library-page) .btn-primary-inline {
    background: #f5f5f7 !important;
    background-image: none !important;
    border-color: #f5f5f7 !important;
    color: #111213 !important;
    box-shadow: none !important;
}

/* Homepage IDs use intentionally high specificity in the legacy bundle. */
html.page-home #about .about-hl-icon,
html.page-home #contact .upload-icon,
html.page-home #contact .rfq-details-toggle__indicator {
    background: rgba(255, 255, 255, 0.06) !important;
    background-image: none !important;
    border-color: rgba(255, 255, 255, 0.14) !important;
    color: #eef0ef !important;
    box-shadow: none !important;
}

html.page-home #contact .quote-form-head span {
    background: rgba(255, 255, 255, 0.055) !important;
    background-image: none !important;
    border-color: rgba(255, 255, 255, 0.13) !important;
    color: rgba(245, 245, 247, 0.78) !important;
    box-shadow: none !important;
}

html.page-home #contact .btn-primary-inline {
    background: #f5f5f7 !important;
    background-image: none !important;
    border-color: #f5f5f7 !important;
    color: #111213 !important;
    box-shadow: none !important;
}

html.page-home :is(#cases, #blog, #contact) .btn-primary-inline {
    background: #f5f5f7 !important;
    background-image: none !important;
    border-color: #f5f5f7 !important;
    color: #111213 !important;
    box-shadow: none !important;
}

html.page-home #processProgressLine {
    background: #b8bdbb !important;
    background-image: none !important;
    box-shadow: none !important;
}

html.page-home :is(
    .learn-more,
    .unit-m2,
    .hero-badge-text,
    .hero-badge-static,
    .section-label,
    .service-badge,
    .case-label,
    .blog-category,
    .blog-readmore,
    .read-more
) {
    color: rgba(245, 245, 247, 0.8) !important;
    -webkit-text-fill-color: currentColor !important;
    text-shadow: none !important;
}

html.page-home main section::before,
html.page-home main section::after {
    background-image: none !important;
    box-shadow: none !important;
}

/* Legacy section ambience used green radial washes behind otherwise neutral cards. */
html.page-home :is(#faq, #contact)::before,
html.page-home :is(#faq, #contact)::after,
html body:not(.case-library-page) :is(.faq-section, .contact-section, .blog-section, .factory-proof-section)::before,
html body:not(.case-library-page) :is(.faq-section, .contact-section, .blog-section, .factory-proof-section)::after {
    background: none !important;
    background-image: none !important;
    box-shadow: none !important;
}

/* Shared utility chrome: consent, language and compact navigation controls. */
html:not(.white-apple-theme) body :is(.hp-cookie-banner, .lang-switcher__menu, .mobile-menu-panel) {
    background-color: #141516 !important;
    background-image: none !important;
    border-color: rgba(255, 255, 255, 0.14) !important;
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.3) !important;
}

html body :is(.hp-cookie-btn--accept, .lang-switcher__option.is-active) {
    background: #f5f5f7 !important;
    background-image: none !important;
    border-color: #f5f5f7 !important;
    color: #111213 !important;
    box-shadow: none !important;
}

html body :is(.hp-cookie-text a, .footer-bottom a, .footer-col a, .lang-switcher__option) {
    text-shadow: none !important;
}

html body :is(.footer-contact-icon, .social-link, .footer-social a):is(:hover, :focus-visible) {
    background: rgba(255, 255, 255, 0.08) !important;
    background-image: none !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
    box-shadow: none !important;
}

/* AI quote and configurator surfaces follow the same monochrome hierarchy. */
html body:not(.case-library-page) :is(
    .ai-quote,
    .ai-quote-shell,
    .ai-quote-panel,
    .ai-quote-card,
    .ai-quote-option,
    .ai-quote-result,
    .ai-quote-step,
    .ai-quote-summary,
    .quote-option,
    .quote-step,
    .quote-summary
) {
    background-color: var(--neutral-surface) !important;
    background-image: none !important;
    border-color: var(--neutral-line) !important;
    box-shadow: none !important;
}

html body:not(.case-library-page) :is(
    .ai-quote-option,
    .quote-option,
    .ai-quote-step,
    .quote-step
):is(.active, [aria-selected="true"], :hover, :focus-visible) {
    background-color: var(--neutral-surface-raised) !important;
    background-image: none !important;
    border-color: var(--neutral-line-strong) !important;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.06) !important;
}

/* Mobile shells must not reintroduce tinted gradients below the desktop cascade. */
@media (max-width: 768px) {
    html body:not(.case-library-page),
    html.page-home body {
        background-color: var(--neutral-canvas) !important;
        background-image: none !important;
    }

    html.page-home:not(.white-apple-theme) :is(.navbar, #navLinks.nav-links, .lang-switcher__menu) {
        background-color: rgba(20, 21, 22, 0.96) !important;
        background-image: none !important;
        border-color: rgba(255, 255, 255, 0.12) !important;
        box-shadow: 0 20px 48px rgba(0, 0, 0, 0.32) !important;
    }


    html.page-home body :is(.geo-answer-block.hero-platform-note, .industry-icon, .cap-item-icon, .step-marker, .faq-toggle) {
        background-color: rgba(255, 255, 255, 0.06) !important;
        background-image: none !important;
        border-color: rgba(255, 255, 255, 0.16) !important;
        color: #eef0ef !important;
        box-shadow: none !important;
    }

    html.page-home body .process-step.active {
        background-color: var(--neutral-surface-raised) !important;
        background-image: none !important;
        border-color: rgba(255, 255, 255, 0.22) !important;
        box-shadow: none !important;
    }

    html.page-home body #industries .industry-icon,
    html.page-home body #capabilities .cap-item-icon,
    html.page-home body #process .step-marker,
    html.page-home body #faq .faq-toggle {
        background-color: rgba(255, 255, 255, 0.06) !important;
        background-image: none !important;
        border-color: rgba(255, 255, 255, 0.16) !important;
        color: #eef0ef !important;
        box-shadow: none !important;
    }

    html.page-home body #process .process-step.active {
        background-color: var(--neutral-surface-raised) !important;
        background-image: none !important;
        border-color: rgba(255, 255, 255, 0.22) !important;
        box-shadow: none !important;
    }

    html body.page-about .timeline-item::after {
        background: #b8bdbb !important;
        background-image: none !important;
        border-color: #b8bdbb !important;
        box-shadow: none !important;
    }

    html body.page-services #faq::before,
    html body.page-services #faq::after {
        background: none !important;
        background-image: none !important;
        box-shadow: none !important;
    }
}

html body:not(.case-library-page) :is(.faq-item.open, .faq-item:focus-within) {
    border-color: rgba(255, 255, 255, 0.22) !important;
}

html body:not(.case-library-page) :is(.blog-readmore, .read-more, .article-link) {
    color: #e7e9e8 !important;
}

html body:not(.case-library-page) :is(.factory-proof-queue, .factory-proof-slot) {
    background-color: var(--neutral-surface) !important;
    background-image: none !important;
    border-color: var(--neutral-line) !important;
}

/* Page-specific legacy accents, normalized after the shared bundles. */
html body:not(.case-library-page) :is(.geo-answer-block, .services-scope-answer) {
    background-color: var(--neutral-surface) !important;
    background-image: none !important;
    border-color: var(--neutral-line-strong) !important;
    box-shadow: none !important;
}

html:not(.page-home) body .page-hero .geo-answer-block,
html:not(.page-home) body .blog-page-hero .geo-answer-block,
html body .hs-layout .geo-answer-block {
    background-color: transparent !important;
    background-image: none !important;
    border-color: rgba(255, 255, 255, 0.22) !important;
    box-shadow: none !important;
}

html body:not(.case-library-page) :is(
    .story-dates-note,
    .lead-card span,
    .services-task-icon,
    .service-flow-header > div,
    .cap-stage,
    .evidence-note,
    .control-point,
    .step-content h3 span,
    .oi-card span,
    .is-cert-tag,
    .hs-note,
    .hs-decision-head,
    .hs-media span
) {
    background-color: rgba(255, 255, 255, 0.055) !important;
    background-image: none !important;
    border-color: rgba(255, 255, 255, 0.14) !important;
    box-shadow: none !important;
}

html body.page-about .story-certs span,
html body .hs-layout .hs-visual-strip span,
html body .hs-layout .hs-step > span,
html body :is(.evidence-row--head > div, .services-task-icon) {
    background-color: rgba(255, 255, 255, 0.055) !important;
    background-image: none !important;
    border-color: rgba(255, 255, 255, 0.14) !important;
    color: rgba(245, 245, 247, 0.82) !important;
    box-shadow: none !important;
}

html body.page-about :is(.story-image, .story-media)::before,
html body.page-about :is(.story-image, .story-media)::after {
    background: none !important;
    background-image: none !important;
    border-color: rgba(255, 255, 255, 0.14) !important;
    box-shadow: none !important;
}

html body:not(.case-library-page) :is(
    .value-icon,
    .vas-icon,
    .step-number,
    .oi-icon,
    .is-feature-icon,
    .process-step-num
) {
    background-color: rgba(255, 255, 255, 0.06) !important;
    background-image: none !important;
    border-color: rgba(255, 255, 255, 0.16) !important;
    color: #eef0ef !important;
    box-shadow: none !important;
}

html body.page-services :is(#value-added, #buyer-paths, #rfq-checklist) .vas-icon,
html body.page-quality .equip-card > svg.icons {
    background-color: rgba(255, 255, 255, 0.06) !important;
    background-image: none !important;
    border-color: rgba(255, 255, 255, 0.16) !important;
    color: #eef0ef !important;
    box-shadow: none !important;
}

html body:not(.case-library-page) :is(
    .lead-photo,
    .factory-media,
    .factory-proof-frame,
    .step-image,
    .cert-banner,
    .seo-link-hub
) {
    background-color: var(--neutral-surface) !important;
    background-image: none !important;
    border-color: var(--neutral-line) !important;
    box-shadow: none !important;
}

html body:not(.case-library-page) :is(
    .section-title,
    .timeline-container,
    .workflow-grid,
    .wf-num,
    .process-flow,
    .step-content,
    .step-image,
    .cert-banner,
    .img-placeholder
)::before,
html body:not(.case-library-page) :is(
    .section-title,
    .timeline-container,
    .workflow-grid,
    .wf-num,
    .process-flow,
    .step-content,
    .step-image,
    .cert-banner,
    .img-placeholder
)::after {
    background: #b8bdbb !important;
    background-image: none !important;
    border-color: rgba(255, 255, 255, 0.18) !important;
    box-shadow: none !important;
}

html body:not(.case-library-page) :is(.timeline-year, .values-carousel__dot.is-active) {
    background: #d7dbd9 !important;
    background-image: none !important;
    border-color: #d7dbd9 !important;
    color: #111213 !important;
    box-shadow: none !important;
}

html body:not(.case-library-page) .featured-badge {
    background: #252627 !important;
    background-image: none !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #f5f5f7 !important;
    box-shadow: none !important;
}

html body:not(.case-library-page) :is(.blog-internal-link, .article-related-link) {
    border-color: rgba(255, 255, 255, 0.22) !important;
    color: #e7e9e8 !important;
}

html body :is(.article-back, .article-content a, .blog-detail a, .article-related a) {
    border-color: rgba(255, 255, 255, 0.22) !important;
    text-decoration-color: rgba(255, 255, 255, 0.32) !important;
    box-shadow: none !important;
}

html body #leadIdPill {
    background-color: rgba(255, 255, 255, 0.06) !important;
    background-image: none !important;
    border-color: rgba(255, 255, 255, 0.16) !important;
    color: #eef0ef !important;
    box-shadow: none !important;
}

/* Long-form service and case libraries used decorative teal rails and bullets. */
html body:not(.case-library-page) .hs-layout::before,
html body:not(.case-library-page) .hs-layout::after {
    background: #171819 !important;
    background-image: none !important;
    box-shadow: none !important;
}

html body.case-library-page .hs-layout::before,
html body.case-library-page .hs-layout::after {
    background: #171819 !important;
    background-image: none !important;
    box-shadow: none !important;
}

html body:not(.case-library-page) :is(.hs-checklist, .hs-list, .hs-bullets, .hs-scope-list) li::before {
    background: #b8bdbb !important;
    background-image: none !important;
    border-color: #b8bdbb !important;
    box-shadow: none !important;
}

html body:not(.case-library-page) :is(.hs-nav, .hs-topbar) a:not(.hs-btn)::after {
    background: rgba(255, 255, 255, 0.72) !important;
    background-image: none !important;
    box-shadow: none !important;
}

html body.case-library-page :is(.hs-nav, .hs-topbar) a:not(.hs-btn)::after {
    background: rgba(29, 29, 31, 0.72) !important;
    background-image: none !important;
    box-shadow: none !important;
}

html body.page-services #rfq-checklist::before,
html body.page-services #rfq-checklist::after {
    background: none !important;
    background-image: none !important;
    box-shadow: none !important;
}

html body.page-capabilities .mat-list li::before {
    background: #b8bdbb !important;
    background-image: none !important;
    border-color: #b8bdbb !important;
    box-shadow: none !important;
}

html body.page-products :is(
    .case-library-editorial__secondary-link,
    .case-library-editorial__row-link,
    .case-library-editorial__index-list a
) {
    border-color: #1d1d1f !important;
    color: #1d1d1f !important;
    box-shadow: none !important;
}

html body.page-services .page-hero span.gradient {
    background: none !important;
    background-image: none !important;
    color: #f5f5f7 !important;
    -webkit-text-fill-color: currentColor !important;
    text-shadow: none !important;
}

/* Locale mirrors use the homepage modules without the page-home root class. */
html body .nav-links a:not(.nav-cta)::after,
html body :is(.nav-cta, .btn-primary, .btn-secondary, .hero-badge, .glass-panel, .glass-panel-light, .promise-box, .upload-zone)::before,
html body :is(.nav-cta, .btn-primary, .btn-secondary, .hero-badge, .glass-panel, .glass-panel-light, .promise-box, .upload-zone)::after {
    background: none !important;
    background-image: none !important;
    border-color: rgba(255, 255, 255, 0.16) !important;
    box-shadow: none !important;
}

html body main section.section::before,
html body main section.section::after {
    background: none !important;
    background-image: none !important;
    box-shadow: none !important;
}

html body :is(.img-placeholder, .service-badge, .about-hl-icon, .cap-tech-chip, .step-marker, .case-label, .faq-toggle, .rfq-details-toggle__indicator) {
    background-color: rgba(255, 255, 255, 0.06) !important;
    background-image: none !important;
    border-color: rgba(255, 255, 255, 0.14) !important;
    color: #eef0ef !important;
    box-shadow: none !important;
}

html body :is(.about-photo, .story-image, .story-media, .img-placeholder)::before,
html body :is(.about-photo, .story-image, .story-media, .img-placeholder)::after {
    background: none !important;
    background-image: none !important;
    border-color: rgba(255, 255, 255, 0.14) !important;
    box-shadow: none !important;
}

html body .industry-card-overlay {
    background-color: transparent !important;
    background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.03), rgba(0, 0, 0, 0.84)) !important;
    border-color: transparent !important;
    box-shadow: none !important;
}

html body #processProgressLine {
    background: #b8bdbb !important;
    background-image: none !important;
    box-shadow: none !important;
}

html body :is(h1, h2, h3) .gradient,
html body span.gradient {
    background: none !important;
    background-image: none !important;
    color: #f5f5f7 !important;
    -webkit-text-fill-color: currentColor !important;
    text-shadow: none !important;
}

html body .quote-form-head > span {
    background: rgba(255, 255, 255, 0.055) !important;
    background-image: none !important;
    border-color: rgba(255, 255, 255, 0.14) !important;
    color: rgba(245, 245, 247, 0.78) !important;
    box-shadow: none !important;
}

/* White editorial case libraries use graphite rather than teal. */
body.case-library-page {
    --case-accent: #1d1d1f !important;
    --case-accent-soft: #f2f2f4 !important;
}

body.case-library-page :is(
    .case-filter-button,
    .case-library-legend,
    .case-dialog__architecture-block,
    .case-evidence-card,
    .case-evidence-card--accent
) {
    border-color: var(--case-rule) !important;
    box-shadow: none !important;
}

body.case-library-page .case-filter-button[aria-pressed="true"],
body.case-library-page .case-filter-button:hover {
    background: #f2f2f4 !important;
    border-color: #1d1d1f !important;
    color: #1d1d1f !important;
}

body.case-library-page .case-filter-button:focus-visible,
body.case-library-page :focus-visible {
    outline-color: rgba(29, 29, 31, 0.72) !important;
    box-shadow: 0 0 0 3px rgba(29, 29, 31, 0.1) !important;
}

body.case-library-page :is(
    .case-card__eyebrow,
    .case-card__media-note span,
    .case-card__action,
    .case-section-kicker,
    .case-scope-label,
    .case-dialog__eyebrow,
    .case-dialog__section-label,
    .hs-kicker,
    .hs-step > span
) {
    color: #1d1d1f !important;
}

/* Products case-library chapter: graphite active states and links. */
.page-products :is(
    .case-library-portal__eyebrow,
    .case-library-portal__actions .hs-btn-ghost,
    .case-library-portal__count,
    .case-library-portal__focus dt,
    .case-library-portal__link
) {
    color: #1d1d1f !important;
}

.page-products .case-library-portal__index a:is(:first-child, :hover, :focus-visible),
.page-products .case-library-portal__index a[aria-current="location"] {
    border-bottom-color: #1d1d1f !important;
    color: #1d1d1f !important;
}

/* Focus remains obvious without a colored glow. */
html body :focus-visible {
    outline-color: rgba(255, 255, 255, 0.72) !important;
}

@media (max-width: 768px) {
    html.page-home body #industries .industry-card .industry-icon,
    html.page-home body #capabilities .cap-item .cap-item-icon,
    html.page-home body #process .process-grid .process-step .step-marker,
    html.page-home body #faq .faq-item .faq-toggle {
        background: rgba(255, 255, 255, 0.06) !important;
        background-image: none !important;
        border-color: rgba(255, 255, 255, 0.16) !important;
        color: #eef0ef !important;
        box-shadow: none !important;
    }

    html.page-home body #process .process-grid .process-step.active {
        background: var(--neutral-surface-raised) !important;
        background-image: none !important;
        border-color: rgba(255, 255, 255, 0.22) !important;
        box-shadow: none !important;
    }

    html.page-home body #faq .faq-grid .faq-item .faq-toggle,
    html.page-home body #faq .faq-grid .faq-item.open .faq-toggle {
        background: rgba(255, 255, 255, 0.06) !important;
        background-image: none !important;
        border-color: rgba(255, 255, 255, 0.16) !important;
        color: #eef0ef !important;
        box-shadow: none !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    html body * {
        transition-duration: 0s !important;
    }
}

/*
 * Shared geometry system.
 * Apple publishes principles for hierarchy, harmony and consistency, but no
 * universal web radius table. This restrained scale keeps concentric corners
 * predictable across controls, cards and large panels without making every
 * element a capsule.
 */
:root {
    --site-geometry-radius-small: 8px;
    --site-geometry-radius-icon: 12px;
    --site-geometry-radius-control: 12px;
    --site-geometry-radius-card: 18px;
    --site-geometry-radius-panel: 24px;
    --site-geometry-radius-pill: 999px;
    --site-layout-content: 1200px;
    --site-layout-wide: 1280px;
    --site-layout-reading: 68ch;
    --site-layout-gutter: 32px;
    --site-layout-section-space: clamp(72px, 7vw, 112px);

    /* Reconcile the legacy token families used by earlier page bundles. */
    --ui-radius-control: var(--site-geometry-radius-control);
    --ui-radius-card: var(--site-geometry-radius-card);
    --ui-radius-hero: var(--site-geometry-radius-panel);
    --site-radius-control: var(--site-geometry-radius-control);
    --site-radius-card: var(--site-geometry-radius-card);
    --site-radius-media: var(--site-geometry-radius-panel);
    --apple-radius-control: var(--site-geometry-radius-control);
    --apple-radius-card: var(--site-geometry-radius-card);
    --apple-radius-panel: var(--site-geometry-radius-panel);
    --apple-radius-sheet: var(--site-geometry-radius-panel);
    --apple-radius-pill: var(--site-geometry-radius-pill);
    --apple-page-radius-xl: var(--site-geometry-radius-panel);
    --apple-page-radius-lg: var(--site-geometry-radius-card);
    --apple-page-radius-md: var(--site-geometry-radius-card);
    --apple-page-radius-sm: var(--site-geometry-radius-control);
}

html body *,
html body *::before,
html body *::after {
    box-sizing: border-box;
}

html body :is(img, video, canvas) {
    max-inline-size: 100%;
}

html body :is(
    main,
    .section-container,
    .nav-container,
    .footer-container,
    .hs-main,
    .hero-container,
    .products-hero-layout,
    .services-grid,
    .industry-grid,
    .quality-grid,
    .case-grid,
    .blog-grid,
    .cap-grid,
    .vas-grid,
    .case-library-grid
) > * {
    min-inline-size: 0;
}

/* Compact controls use one rounded-rectangle radius. */
html body :is(
    .case-card__action,
    .faq-question,
    .rfq-details-toggle,
    .ai-quote-head-btn,
    .ai-quote-upload,
    .lang-switcher__option,
    .mobile-toggle,
    .back-to-top,
    .whatsapp-float,
    .lightbox-close,
    .carousel-control,
    .carousel-arrow
) {
    border-radius: var(--site-geometry-radius-control) !important;
}

html body :is(.lang-switcher__option, .lightbox-close, .case-dialog__close) {
    min-inline-size: 44px;
    min-block-size: 44px !important;
}

html body :focus-visible {
    outline: 2px solid #f5f5f7 !important;
    outline-offset: 3px !important;
}

html body.case-library-page :focus-visible,
html body .case-dialog :focus-visible,
html body .lightbox-content :focus-visible {
    outline-color: #1d1d1f !important;
}

html body :is(
    input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),
    textarea,
    select,
    .form-control,
    .case-library-search,
    .case-library-search input,
    .upload-zone,
    .drop-zone,
    .file-drop,
    .captcha-refresh
) {
    border-radius: var(--site-geometry-radius-control) !important;
}

/* Repeated content units share a single card radius. */
html body :is(
    .glass-panel,
    .glass-panel-light,
    .floating-card,
    .point-chip,
    .flow-item,
    .process-detail,
    .cap-spec,
    .service-card,
    .industry-card,
    .quality-card,
    .case-card,
    .blog-card,
    .cap-card,
    .cap-item,
    .lead-card,
    .value-card,
    .gallery-card,
    .featured-spec,
    .process-step,
    .stat-card,
    .faq-item,
    .contact-route,
    .cta-info-item,
    .promise-box,
    .factory-proof-slot,
    .factory-proof-card,
    .seo-link-card,
    .evidence-slot,
    .vas-card,
    .cert-card,
    .equip-card,
    .ind-card,
    .hs-card,
    .hs-scope-card,
    .hs-item,
    .hs-panel,
    .hs-step,
    .case-evidence-card,
    .case-library-portal__card,
    .case-library-editorial__row,
    .case-library-legend,
    .case-library-empty,
    .case-dialog__architecture-block,
    .ai-quote-card,
    .ai-quote-option,
    .ai-quote-result-card,
    .ai-quote-result-empty,
    .quote-option,
    .quote-step,
    .quote-summary
) {
    border-radius: var(--site-geometry-radius-card) !important;
}

/* Large visual or modal containers receive one calm outer radius. */
html body :is(
    .hero-img-main,
    .hero-image-wrapper,
    .hero-media,
    .hero-media-frame,
    .products-hero-media,
    .about-hero-media,
    .quality-hero-media,
    .blog-hero-media,
    .page-hero-media,
    .contact-form,
    .cta-wrap,
    .article-container,
    .article-cta,
    .lightbox-content,
    .case-dialog__shell,
    .ai-quote-dialog,
    .hp-cookie-banner,
    .lang-switcher__menu,
    .mobile-menu-panel,
    #navLinks.nav-links,
    .hs-topbar .hs-nav.nav-links,
    .services-task-grid,
    .platform-principles__grid,
    .capacity-banner,
    .case-library-portal,
    .case-library-editorial__hero
) {
    border-radius: var(--site-geometry-radius-panel) !important;
}

html body.page-services .page-hero > .section-container {
    border-radius: var(--site-geometry-radius-panel) !important;
}

/* Media nested inside cards follows the card corner instead of inventing one. */
html body :is(
    .service-card-img,
    .service-card-img img,
    .blog-img,
    .blog-img-placeholder,
    .gallery-img-wrap,
    .featured-img,
    .closeup-card,
    .step-image,
    .lead-photo,
    .factory-media,
    .factory-proof-frame,
    .vas-media,
    .vas-media img,
    .evidence-slot img,
    .story-image,
    .story-media,
    .case-card__media,
    .case-card__media img,
    .case-library-portal__media,
    .case-library-portal__media img,
    .case-library-editorial__media,
    .case-library-editorial__media img,
    .case-dialog__visual,
    .case-dialog__visual img
) {
    border-radius: var(--site-geometry-radius-card) !important;
}

html body :is(
    .hero-img-main,
    .hero-image-wrapper,
    .products-hero-media,
    .about-hero-media,
    .quality-hero-media,
    .blog-hero-media,
    .page-hero-media
) :is(picture, img),
html body :is(
    .hero-img-main,
    .hero-image-wrapper,
    .products-hero-media,
    .about-hero-media,
    .quality-hero-media,
    .blog-hero-media,
    .page-hero-media
) picture img {
    border-radius: inherit !important;
}

/* Small icon tiles use a tighter concentric corner. */
html body :is(
    .services-task-icon,
    .service-icon,
    .cap-icon,
    .cap-item-icon,
    .ind-icon,
    .industry-icon,
    .cert-icon,
    .tech-item-icon,
    .about-hl-icon,
    .upload-icon,
    .cta-info-icon,
    .footer-contact-icon,
    .value-icon,
    .vas-icon,
    .oi-icon,
    .is-feature-icon,
    .step-number,
    .process-step-num,
    .faq-toggle,
    .rfq-details-toggle__indicator
) {
    border-radius: var(--site-geometry-radius-icon) !important;
}

html body :is(
    .case-dialog__close,
    .faq-toggle,
    .rfq-details-toggle__indicator,
    .values-carousel__dot,
    .carousel-dot,
    .swiper-pagination-bullet
) {
    border-radius: 50% !important;
}

/* Capsules are reserved for status, tags and compact taxonomy only. */
html body :is(
    .skip-link,
    .nav-cta,
    .btn-primary,
    .btn-secondary,
    .btn-outline,
    .btn-ghost,
    .btn-primary-inline,
    .article-cta-button,
    .hs-btn,
    .filter-btn,
    .case-filter-button,
    .ai-quote-submit,
    .ai-quote-use,
    .ai-quote-result-cta,
    .hp-cookie-btn,
    .lang-switcher__toggle,
    .hero-badge,
    .service-badge,
    .cap-tag,
    .blog-category,
    .case-label,
    .cap-tech-chip,
    .quote-form-head > span,
    .location-card__meta span,
    .industry-tags span,
    .tag,
    .chip,
    .featured-badge,
    .case-card__tags span,
    .case-dialog__proofbar span,
    .case-library-legend span,
    .case-library-editorial__meta span,
    .case-library-portal__count,
    .ai-quote-confidence,
    .ai-quote-file-item,
    #leadIdPill
) {
    border-radius: var(--site-geometry-radius-pill) !important;
}

/* Grouped cells inherit one outer shape; interior items stay square. */
html body :is(.services-task-grid, .platform-principles__grid) {
    overflow: hidden;
}

html body :is(.services-task-link, .platform-principle) {
    border-radius: 0 !important;
}

html.page-home .mobile-conversion-bar {
    border-radius: var(--site-geometry-radius-pill) !important;
}

html.page-home :is(
    .mobile-conversion-bar__quote,
    .mobile-conversion-bar__whatsapp
) {
    border-radius: var(--site-geometry-radius-pill) !important;
}

/* Layout guardrails for the few legacy modules that intentionally overscanned. */
html body :is(
    .footer-col a,
    .case-footer__contact-item a,
    .case-footer__proof-item strong,
    .article-content,
    .blog-detail,
    .hs-layout
) {
    overflow-wrap: anywhere;
}

@media (max-width: 768px) {
    html body :is(.section-container, .nav-container, .hs-main) {
        max-inline-size: 100%;
    }

    html body.page-services :is(#value-added, #buyer-paths, #rfq-checklist) .vas-media,
    html body.page-services :is(#value-added, #buyer-paths, #rfq-checklist) .vas-media img {
        inline-size: 100% !important;
        max-inline-size: 100% !important;
        margin-inline: 0 !important;
        inset-inline: auto !important;
        transform: none !important;
    }
}

/*
 * Shared layout rhythm.
 * One content width, one wide canvas and one reading measure replace the
 * overlapping page-era width systems. Outer sections own the safe area;
 * inner containers no longer add a second gutter.
 */
html body :is(.section, .blog-section) {
    padding-inline: var(--site-layout-gutter) !important;
}

html body :is(.section-container, .hero-container) {
    inline-size: 100%;
    max-inline-size: var(--site-layout-content) !important;
    margin-inline: auto;
    padding-inline: 0 !important;
}

html body :is(.article-content, .blog-detail, .legal-content, .reading-column) {
    max-inline-size: var(--site-layout-reading);
}

html body .navbar .nav-container,
html body .footer .footer-container,
html body .case-footer .case-footer__inner {
    inline-size: 100%;
    max-inline-size: calc(var(--site-layout-wide) + (2 * var(--site-layout-gutter))) !important;
    margin-inline: auto;
    padding-inline: var(--site-layout-gutter) !important;
}

html body .hs-layout main.hs-main {
    inline-size: 100%;
    max-inline-size: calc(var(--site-layout-content) + (2 * var(--site-layout-gutter))) !important;
    margin-inline: auto;
    padding-inline: var(--site-layout-gutter) !important;
}

html body.case-library-page .hs-layout main.hs-main {
    max-inline-size: calc(var(--site-layout-wide) + (2 * var(--site-layout-gutter))) !important;
}

@media (min-width: 769px) {
    html:not(.page-home) :is(.page-hero, .blog-page-hero) {
        min-block-size: clamp(600px, 76dvh, 820px) !important;
        padding:
            clamp(116px, 10vw, 150px)
            var(--site-layout-gutter)
            clamp(80px, 8vw, 112px) !important;
    }

    html:not(.page-home) body:is(
        .page-services,
        .page-capabilities,
        .page-quality,
        .page-products,
        .page-industries,
        .page-about,
        .page-blog
    ) main > :is(.section, .blog-section) {
        padding-block: var(--site-layout-section-space) !important;
    }
}

@media (max-width: 1024px) {
    :root {
        --site-layout-gutter: 24px;
    }
}

@media (max-width: 768px) {
    :root {
        --site-layout-gutter: 20px;
        --site-layout-section-space: clamp(56px, 14vw, 72px);
    }

    html:not(.page-home) :is(.page-hero, .blog-page-hero) {
        padding:
            calc(84px + env(safe-area-inset-top, 0px))
            var(--site-layout-gutter)
            48px !important;
    }

    html:not(.page-home) body:is(
        .page-services,
        .page-capabilities,
        .page-quality,
        .page-products,
        .page-industries,
        .page-about,
        .page-blog
    ) main > :is(.section, .blog-section) {
        padding-block: var(--site-layout-section-space) !important;
    }

    html body .hs-layout main.hs-main {
        padding-inline: var(--site-layout-gutter) !important;
    }
}

/* Resolve higher-specificity legacy corners on the flagship page families. */
html.page-home body .hero-img-main,
html.page-home body .hero-img-main :is(picture, img) {
    border-radius: var(--site-geometry-radius-panel) !important;
}

html.page-home body .service-card :is(.service-card-img, .service-card-img img),
html.page-home body :is(.about-photo, .about-photo img) {
    border-radius: var(--site-geometry-radius-card) !important;
}

html.page-home body :is(.about-hl, #toast) {
    border-radius: var(--site-geometry-radius-card) !important;
}

html.page-home body .about-hl .about-hl-icon {
    border-radius: var(--site-geometry-radius-icon) !important;
}

html.page-home body .seo-link-hub,
html.page-industries body .seo-link-hub {
    border-radius: var(--site-geometry-radius-panel) !important;
}

html body.page-services :is(.vas-icon) {
    border-radius: var(--site-geometry-radius-icon) !important;
}

html body.page-services :is(.evidence-slot, .evidence-slot img, .step-item) {
    border-radius: var(--site-geometry-radius-card) !important;
}

html body.page-about :is(.stat-card, .timeline-content) {
    border-radius: var(--site-geometry-radius-card) !important;
}

html body.page-about .value-icon {
    border-radius: var(--site-geometry-radius-icon) !important;
}

html body.page-products .hero-counter {
    border-radius: var(--site-geometry-radius-card) !important;
}

html body.page-capabilities :is(
    .cap-img-wrap,
    .cap-img-wrap img,
    .evidence-slot img,
    .feature-img,
    .feature-img img
) {
    border-radius: var(--site-geometry-radius-card) !important;
}

html body.page-capabilities .feature-bullets > li {
    border-radius: var(--site-geometry-radius-control) !important;
}

html body.page-quality .process-step .step-content h3 span {
    border-radius: var(--site-geometry-radius-pill) !important;
}

html body.page-industries :is(
    .is-feature,
    .cert-item,
    .is-visual,
    .is-visual img
) {
    border-radius: var(--site-geometry-radius-card) !important;
}

/* Inline legacy page bundles use unusually specific selectors; these final
   route-scoped rules keep the shared geometry authoritative. */
html.page-home.page-home body #services .service-card .service-card-img,
html.page-home.page-home body #services .service-card .service-card-img img,
html.page-home.page-home body #about .about-photo,
html.page-home.page-home body #about .about-photo img,
html.page-home.page-home body #about .about-hl.about-hl {
    border-radius: var(--site-geometry-radius-card) !important;
}

html.page-home.page-home body #about .about-hl .about-hl-icon.about-hl-icon {
    border-radius: var(--site-geometry-radius-icon) !important;
}

html body.page-services.page-services.page-services .evidence-slot.evidence-slot,
html body.page-services.page-services.page-services .evidence-slot.evidence-slot img {
    border-radius: var(--site-geometry-radius-card) !important;
}

html body.page-services.page-services.page-services .vas-icon.vas-icon {
    border-radius: var(--site-geometry-radius-icon) !important;
}

html body.page-about.page-about.page-about .stat-card.stat-card {
    border-radius: var(--site-geometry-radius-card) !important;
}

html body.page-about.page-about.page-about .value-icon.value-icon {
    border-radius: var(--site-geometry-radius-icon) !important;
}

html body.page-industries.page-industries.page-industries .seo-link-hub.seo-link-hub {
    border-radius: var(--site-geometry-radius-panel) !important;
}

html body.page-services #service-evidence .evidence-slot.evidence-slot,
html body.page-services #service-evidence .evidence-slot.evidence-slot img {
    border-radius: var(--site-geometry-radius-card) !important;
}

html body.page-services #value-added .vas-card .vas-icon.vas-icon,
html body.page-services #buyer-paths .vas-card .vas-icon.vas-icon,
html body.page-services #rfq-checklist .vas-card .vas-icon.vas-icon {
    border-radius: var(--site-geometry-radius-icon) !important;
}

html body.page-about main#main-content .page-hero .stats-grid .stat-card.stat-card,
html body.page-about main#main-content #values .value-card .value-icon.value-icon {
    border-radius: var(--site-geometry-radius-card) !important;
}

html body.page-about main#main-content #values .value-card .value-icon.value-icon {
    border-radius: var(--site-geometry-radius-icon) !important;
}

html body .footer .footer-col.footer-col--contact {
    border-radius: var(--site-geometry-radius-card) !important;
}

html body .footer .footer-contact-icon.footer-contact-icon {
    border-radius: var(--site-geometry-radius-icon) !important;
}

html body .hs-layout .hs-visual-break__item,
html body .hs-layout .hs-visual-break__item img {
    border-radius: var(--site-geometry-radius-card) !important;
}

html body.page-capabilities #capacity .capacity-banner .capacity-image-wrapper img,
html body.page-industries main#main-content .industry-showcase .is-visual .img-placeholder img {
    border-radius: var(--site-geometry-radius-card) !important;
}

@media (max-width: 768px) {
    html.page-home body :is(
        .fc-icon,
        .cap-item-icon,
        .industry-icon,
        .step-marker
    ) {
        border-radius: var(--site-geometry-radius-icon) !important;
    }

    html.page-home body :is(
        .cap-img-area,
        .process-step
    ) {
        border-radius: var(--site-geometry-radius-card) !important;
    }

    html.page-home body .contact-form.contact-form {
        border-radius: var(--site-geometry-radius-panel) !important;
    }

    html.page-home body .btn-secondary.btn-secondary {
        border-radius: var(--site-geometry-radius-pill) !important;
    }

    html body.page-capabilities :is(
        .evidence-slot.evidence-slot--image,
        .evidence-slot.evidence-slot--image img,
        .capacity-image-wrapper,
        .capacity-image-wrapper img
    ) {
        border-radius: var(--site-geometry-radius-card) !important;
    }

    html body.page-industries :is(
        .is-visual .img-placeholder,
        .is-visual .img-placeholder img
    ) {
        border-radius: var(--site-geometry-radius-card) !important;
    }

    html body #navLinks.nav-links,
    html body .hs-topbar .hs-nav.nav-links {
        border-radius: var(--site-geometry-radius-panel) !important;
    }

    html body #navLinks.nav-links a:not(.nav-cta),
    html body .hs-topbar .hs-nav.nav-links a:not(.nav-cta),
    html body .mobile-toggle.mobile-toggle {
        border-radius: var(--site-geometry-radius-control) !important;
    }

    html.page-home.page-home body #capabilities :is(.cap-item-icon, .cap-img-area),
    html.page-home.page-home body #industries .industry-icon,
    html.page-home.page-home body #process :is(.step-marker, .process-step) {
        border-radius: var(--site-geometry-radius-card) !important;
    }

    html.page-home.page-home body #capabilities .cap-item-icon,
    html.page-home.page-home body #industries .industry-icon,
    html.page-home.page-home body #process .step-marker {
        border-radius: var(--site-geometry-radius-icon) !important;
    }

    html.page-home.page-home body .hero .btn-secondary.btn-secondary {
        border-radius: var(--site-geometry-radius-pill) !important;
    }

    html.page-home.page-home body #navLinks.nav-links a:not(.nav-cta),
    html.page-home.page-home body :is(.whatsapp-float, .back-to-top),
    html.page-home.page-home body .footer .footer-social a {
        border-radius: var(--site-geometry-radius-control) !important;
    }

    html.page-home.page-home body .hero .hero-float-cards .floating-card.floating-card {
        border-radius: var(--site-geometry-radius-card) !important;
    }

    html.page-home.page-home body #faq .btn-secondary.btn-secondary,
    html.page-home.page-home body #contact .btn-primary.btn-primary {
        border-radius: var(--site-geometry-radius-pill) !important;
    }

    html.page-home.page-home body #contact .contact-form.contact-form {
        border-radius: var(--site-geometry-radius-panel) !important;
    }

    html.page-home.page-home body #contact .contact-form :is(
        input:not([type="checkbox"]):not([type="radio"]),
        textarea,
        select,
        .upload-zone,
        .rfq-details-toggle
    ) {
        border-radius: var(--site-geometry-radius-control) !important;
    }

    html body #navLinks#navLinks.nav-links {
        border-radius: var(--site-geometry-radius-panel) !important;
    }

    html body #navLinks#navLinks.nav-links a:not(.nav-cta) {
        border-radius: var(--site-geometry-radius-control) !important;
    }
}

/*
 * Homepage guidance hierarchy.
 * Replace the legacy filled title strips and table-like decision rows with
 * calm, solid cards. The treatment is deliberately neutral: hierarchy comes
 * from spacing, type and a single graphite edge rather than a colored frame.
 */
html.page-home body main .section-label {
    background: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
}

html.page-home body main .section-label.section-label--row {
    position: relative;
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 10px !important;
    inline-size: 100% !important;
    min-block-size: 44px !important;
    margin: 0 0 22px !important;
    padding: 0 0 8px !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 0 !important;
    background: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    color: rgba(245, 245, 247, 0.72) !important;
}

html.page-home body main .section-label.section-label--row > .icons,
html.page-home body main .section-label.section-label--row > .label-center > .icons {
    flex: 0 0 auto;
    color: rgba(245, 245, 247, 0.68) !important;
}

html.page-home body main .section-label.section-label--row > .label-center {
    position: static !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    min-inline-size: 0 !important;
    transform: none !important;
    color: rgba(245, 245, 247, 0.72) !important;
    line-height: 1.35 !important;
    text-align: start !important;
    white-space: normal !important;
}

html.page-home body main .section-label.section-label--row > .learn-more {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    min-block-size: 44px !important;
    margin-inline-start: auto !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    color: rgba(245, 245, 247, 0.68) !important;
    font-size: 12px !important;
    font-weight: 620 !important;
    letter-spacing: 0 !important;
    line-height: 1 !important;
    text-transform: none !important;
    white-space: nowrap;
}

html.page-home body main .section-label.section-label--row > .learn-more::before,
html.page-home body main .section-label.section-label--row > .learn-more::after {
    display: none !important;
    content: none !important;
}

html.page-home body main .section-label.section-label--row > .learn-more:is(:hover, :focus-visible) {
    color: #ffffff !important;
}

html.page-home body #hero .hero-content > .geo-answer-block.hero-platform-note {
    inline-size: min(100%, 620px) !important;
    max-inline-size: 620px !important;
    margin: 16px 0 24px !important;
    padding: 18px 20px !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: var(--site-geometry-radius-card) !important;
    background-color: var(--neutral-surface) !important;
    background-image: none !important;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.2) !important;
}

html.page-home body #hero .hero-content > .geo-answer-block.hero-platform-note > .geo-answer-question {
    margin: 0 0 8px !important;
    color: rgba(245, 245, 247, 0.92) !important;
    font-size: 12px !important;
    font-weight: 720 !important;
    letter-spacing: 0.08em !important;
    line-height: 1.35 !important;
    text-transform: uppercase !important;
}

html.page-home body #hero .hero-content > .geo-answer-block.hero-platform-note > .geo-answer-text {
    margin: 0 !important;
    color: rgba(245, 245, 247, 0.64) !important;
    font-size: 15px !important;
    line-height: 1.58 !important;
}

html.page-home body #services > .section-container > .decision-signal-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 16px !important;
    inline-size: 100% !important;
    margin: 24px 0 44px !important;
    padding: 0 !important;
    overflow: visible !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

html.page-home body #services .decision-signal-grid > .decision-signal,
html.page-home body #services .decision-signal-grid > .decision-signal + .decision-signal,
html.page-home body #services .decision-signal-grid > .decision-signal:nth-child(n + 3) {
    position: relative;
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    inline-size: 100% !important;
    min-inline-size: 0 !important;
    min-block-size: 118px !important;
    padding: 22px 24px !important;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: var(--site-geometry-radius-card) !important;
    background-color: var(--neutral-surface) !important;
    background-image: none !important;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18) !important;
}

html.page-home body #services .decision-signal-grid > .decision-signal > strong {
    margin: 0 0 8px !important;
    color: rgba(245, 245, 247, 0.94) !important;
    font-size: 15px !important;
    font-weight: 680 !important;
    line-height: 1.35 !important;
}

html.page-home body #services .decision-signal-grid > .decision-signal > span {
    margin: 0 !important;
    color: rgba(245, 245, 247, 0.62) !important;
    font-size: 14px !important;
    line-height: 1.58 !important;
}

@media (max-width: 768px) {
    html.page-home body main .section-label.section-label--row {
        margin-block-end: 20px !important;
    }

    html.page-home body #hero .hero-content > .geo-answer-block.hero-platform-note {
        inline-size: 100% !important;
        margin: 14px 0 22px !important;
        padding: 14px 16px !important;
    }

    html.page-home body #hero .hero-content > .geo-answer-block.hero-platform-note > .geo-answer-question {
        margin-block-end: 6px !important;
        font-size: 11.5px !important;
    }

    html.page-home body #hero .hero-content > .geo-answer-block.hero-platform-note > .geo-answer-text {
        font-size: 14px !important;
        line-height: 1.52 !important;
    }

    html.page-home body #services > .section-container > .decision-signal-grid {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 12px !important;
        margin: 22px 0 34px !important;
    }

    html.page-home body #services .decision-signal-grid > .decision-signal,
    html.page-home body #services .decision-signal-grid > .decision-signal + .decision-signal,
    html.page-home body #services .decision-signal-grid > .decision-signal:nth-child(n + 3) {
        min-block-size: 0 !important;
        padding: 16px 18px 17px !important;
    }

    html.page-home body #services .decision-signal-grid > .decision-signal > strong {
        margin-block-end: 6px !important;
        font-size: 14.5px !important;
    }

    html.page-home body #services .decision-signal-grid > .decision-signal > span {
        font-size: 13.5px !important;
        line-height: 1.52 !important;
    }
}

/*
 * Neutral eyebrow hardening.
 * Section labels are navigational micro-headings, not filled badges. Keep the
 * six homepage link rows on their dedicated divider treatment, while removing
 * cached legacy teal/green and gray-strip styling from every plain eyebrow.
 */
html body:not(.case-library-page) main .section-label.section-label:not(.section-label--row) {
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    color: rgba(245, 245, 247, 0.72) !important;
    -webkit-text-fill-color: currentColor !important;
    text-shadow: none !important;
}

html body:not(.case-library-page) main .section-label.section-label:not(.section-label--row) > .icons {
    color: inherit !important;
    fill: currentColor !important;
    filter: none !important;
}

html body:not(.case-library-page) main .section-label.section-label:not(.section-label--row)::before,
html body:not(.case-library-page) main .section-label.section-label:not(.section-label--row)::after {
    border: 0 !important;
    background: none !important;
    box-shadow: none !important;
}

html.page-home body main :is(#process, #faq, #contact) .section-label.section-label:not(.section-label--row) {
    color: rgba(245, 245, 247, 0.72) !important;
    -webkit-text-fill-color: currentColor !important;
}

html.page-home body main :is(#process, #faq, #contact) .section-label.section-label:not(.section-label--row) > .icons {
    color: inherit !important;
    fill: currentColor !important;
}

html body.page-services main .page-hero > .section-container {
    border: 0 !important;
    border-radius: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    clip-path: none !important;
}

html body.page-services main .page-hero .services-hero-actions > .btn-secondary::before,
html body.page-services main .page-hero .services-hero-actions > .btn-secondary::after {
    content: none !important;
    display: none !important;
}

/* Services hero card layout.
 * The service paths, actions, and proof points are deliberately separate
 * surfaces. This keeps the decision hierarchy clear and avoids a single,
 * oversized framed panel on smaller screens. */
html body.page-services main .page-hero > .section-container {
    display: grid !important;
    grid-template-columns: minmax(0, 0.88fr) minmax(440px, 1.12fr) !important;
    grid-template-areas:
        "label paths"
        "title paths"
        "intro paths"
        "actions facts" !important;
    align-items: start !important;
    column-gap: clamp(36px, 6vw, 88px) !important;
    row-gap: 0 !important;
    max-width: 1180px !important;
    text-align: left !important;
}

html body.page-services main .page-hero .section-label {
    grid-area: label;
    justify-self: start;
    margin: 4px 0 16px !important;
}

html body.page-services main .page-hero h1 {
    grid-area: title;
    max-width: 9.5ch !important;
    margin: 0 0 18px !important;
    text-align: left !important;
}

html body.page-services main .page-hero .services-task-intro {
    grid-area: intro;
    max-width: 34ch !important;
    margin: 0 !important;
    color: rgba(235, 239, 238, 0.66) !important;
    font-size: 17px !important;
    line-height: 1.58 !important;
    text-align: left !important;
}

html body.page-services main .page-hero .services-task-grid {
    grid-area: paths;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
}

html body.page-services main .page-hero .services-task-link {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 13px !important;
    min-height: 118px !important;
    padding: 17px !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: var(--site-geometry-radius-card, 18px) !important;
    background: #141515 !important;
    color: rgba(245, 245, 247, 0.94) !important;
    box-shadow: none !important;
    font-size: 15px !important;
    font-weight: 680 !important;
    line-height: 1.25 !important;
    transform: none !important;
    transition: border-color 180ms var(--site-ease), background-color 180ms var(--site-ease), transform 180ms var(--site-ease) !important;
}

html body.page-services main .page-hero .services-task-link:nth-child(3n + 2),
html body.page-services main .page-hero .services-task-link:nth-child(3n + 3),
html body.page-services main .page-hero .services-task-link:nth-child(n + 4) {
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
}

html body.page-services main .page-hero .services-task-link:hover {
    border-color: rgba(255, 255, 255, 0.3) !important;
    background: #1a1b1b !important;
    transform: translateY(-2px) !important;
}

html body.page-services main .page-hero .services-task-link:active {
    transform: scale(0.985) !important;
}

html body.page-services main .page-hero .services-task-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 38px !important;
    height: 38px !important;
    border: 0 !important;
    border-radius: var(--site-geometry-radius-icon, 12px) !important;
    background: rgba(255, 255, 255, 0.07) !important;
    color: rgba(245, 245, 247, 0.88) !important;
    box-shadow: none !important;
}

html body.page-services main .page-hero .services-task-icon .icons {
    width: 18px !important;
    height: 18px !important;
}

html body.page-services main .page-hero .services-task-arrow {
    position: absolute !important;
    right: 17px !important;
    bottom: 18px !important;
    display: block !important;
    width: 16px !important;
    height: 16px !important;
    color: rgba(245, 245, 247, 0.45) !important;
}

html body.page-services main .page-hero .services-hero-actions {
    grid-area: actions;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    margin: 28px 0 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}

html body.page-services main .page-hero .services-hero-actions > :is(.btn-primary, .btn-secondary) {
    min-height: 48px !important;
    padding: 12px 17px !important;
    border-radius: 999px !important;
    box-shadow: none !important;
}

html body.page-services main .page-hero .services-hero-facts {
    grid-area: facts;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    width: 100% !important;
    max-width: none !important;
    margin: 32px 0 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
}

html body.page-services main .page-hero .services-hero-facts > div {
    display: block !important;
    min-height: 0 !important;
    padding: 16px !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: var(--site-geometry-radius-card, 18px) !important;
    background: #111212 !important;
    box-shadow: none !important;
}

html body.page-services main .page-hero .services-hero-facts > div:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
}

html body.page-services main .page-hero .services-hero-facts dt {
    margin: 0 0 5px !important;
    color: #f5f5f7 !important;
    font-size: 23px !important;
    font-weight: 720 !important;
    letter-spacing: -0.02em !important;
    line-height: 1 !important;
}

html body.page-services main .page-hero .services-hero-facts dd {
    margin: 0 !important;
    color: rgba(235, 239, 238, 0.57) !important;
    font-size: 11px !important;
    font-weight: 680 !important;
    letter-spacing: 0.06em !important;
    line-height: 1.3 !important;
    text-transform: uppercase !important;
}

@media (max-width: 900px) {
    html body.page-services main .page-hero > .section-container {
        grid-template-columns: 1fr !important;
        grid-template-areas:
            "label"
            "title"
            "intro"
            "paths"
            "actions"
            "facts" !important;
        max-width: 680px !important;
        row-gap: 0 !important;
    }

    html body.page-services main .page-hero .section-label {
        margin-top: 0 !important;
    }

    html body.page-services main .page-hero h1 {
        max-width: 12ch !important;
    }

    html body.page-services main .page-hero .services-task-grid {
        margin-top: 26px !important;
    }

    html body.page-services main .page-hero .services-hero-facts {
        margin-top: 18px !important;
    }
}

@media (max-width: 520px) {
    html body.page-services main .page-hero {
        padding-bottom: 48px !important;
    }

    html body.page-services main .page-hero .section-label {
        margin-bottom: 13px !important;
        font-size: 11px !important;
    }

    html body.page-services main .page-hero h1 {
        max-width: 10.5ch !important;
        margin-bottom: 14px !important;
        font-size: clamp(34px, 9vw, 39px) !important;
    }

    html body.page-services main .page-hero .services-task-intro {
        font-size: 15px !important;
        line-height: 1.52 !important;
    }

    html body.page-services main .page-hero .services-task-grid {
        gap: 10px !important;
        margin-top: 22px !important;
    }

    html body.page-services main .page-hero .services-task-link {
        min-height: 102px !important;
        padding: 14px !important;
        border-radius: var(--site-geometry-radius-card, 18px) !important;
        font-size: 13.5px !important;
    }

    html body.page-services main .page-hero .services-task-icon {
        width: 34px !important;
        height: 34px !important;
        border-radius: var(--site-geometry-radius-icon, 12px) !important;
    }

    html body.page-services main .page-hero .services-task-arrow {
        right: 14px !important;
        bottom: 15px !important;
        width: 14px !important;
        height: 14px !important;
    }

    html body.page-services main .page-hero .services-hero-actions {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 9px !important;
        margin-top: 18px !important;
    }

    html body.page-services main .page-hero .services-hero-actions > :is(.btn-primary, .btn-secondary) {
        display: inline-flex !important;
        justify-content: center !important;
        min-width: 0 !important;
        min-height: 46px !important;
        padding: 10px 8px !important;
        font-size: 12.5px !important;
        white-space: nowrap !important;
    }

    html body.page-services main .page-hero .services-hero-facts {
        gap: 9px !important;
        margin-top: 16px !important;
    }

    html body.page-services main .page-hero .services-hero-facts > div {
        padding: 14px !important;
        border-radius: var(--site-geometry-radius-card, 18px) !important;
    }

    html body.page-services main .page-hero .services-hero-facts dt {
        font-size: 20px !important;
    }
}

/* Mobile navigation: keep the complete menu above fixed forms, CTAs, and page panels. */
@media (max-width: 768px) {
    html body.nav-open::before {
        z-index: 9000 !important;
    }

    html body.nav-open::after {
        z-index: 9001 !important;
    }

    html body.nav-open .navbar,
    html body.nav-open .hs-topbar,
    html body.nav-open .navbar .nav-container,
    html body.nav-open .hs-topbar .hs-topbar-inner {
        z-index: 9010 !important;
        isolation: isolate !important;
    }

    html body.nav-open #navLinks.nav-links,
    html body.nav-open .hs-topbar .hs-nav.nav-links {
        z-index: 9020 !important;
        background: #121212 !important;
    }

    html body.nav-open .mobile-toggle,
    html body.nav-open #mobileToggle {
        position: relative !important;
        z-index: 9030 !important;
    }
}

/* Workflow nodes: real vector icons remain visible above the neutral surface layer. */
html body.page-capabilities .wf-num {
    background: #1b1c1c !important;
    border-color: rgba(255, 255, 255, 0.16) !important;
    box-shadow: none !important;
    color: #f5f5f7 !important;
}

html body.page-capabilities .wf-num::after {
    content: none !important;
    display: none !important;
}

html body.page-capabilities .wf-num > .icons {
    display: block !important;
    width: 24px !important;
    height: 24px !important;
    color: currentColor !important;
}

/* Industries certification banner: neutralize the legacy full-surface pseudo overlay. */
html body.page-industries .cert-banner::before,
html body.page-industries .cert-banner::after {
    content: none !important;
    display: none !important;
}

html body.page-industries .cert-banner.fade-up {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}

html body.page-industries .cert-banner > p {
    color: rgba(245, 245, 247, 0.72) !important;
}

/* Quality-flow photography must remain visible above the neutral frame system. */
html body.page-quality .step-image::before,
html body.page-quality .step-image::after {
    content: none !important;
    display: none !important;
}

/* Capability cards: keep the stage chip and capability icon on one header line. */
html body.page-capabilities .cap-body {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 50px !important;
    column-gap: 12px !important;
    row-gap: 14px !important;
    align-items: center !important;
}

html body.page-capabilities .cap-body > .cap-stage {
    grid-column: 1 !important;
    grid-row: 1 !important;
    margin: 0 !important;
}

html body.page-capabilities .cap-body > .cap-icon {
    grid-column: 2 !important;
    grid-row: 1 !important;
    width: 50px !important;
    height: 50px !important;
    margin: 0 !important;
}

html body.page-capabilities .cap-body > h3 {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    margin: 0 !important;
}

html body.page-capabilities .cap-body > p {
    grid-column: 1 / -1 !important;
    grid-row: 3 !important;
}

html body.page-capabilities .cap-body > .cap-tags {
    grid-column: 1 / -1 !important;
    grid-row: 4 !important;
}

@media (max-width: 520px) {
    html body.page-capabilities .cap-body {
        grid-template-columns: minmax(0, 1fr) 44px !important;
        column-gap: 11px !important;
        row-gap: 13px !important;
    }

    html body.page-capabilities .cap-body > .cap-icon {
        width: 44px !important;
        height: 44px !important;
    }
}

/* Services card title rows: the icon is part of the title, not a separate ornament. */
html body.page-services :is(#value-added, #buyer-paths, #rfq-checklist) .vas-card {
    display: grid !important;
    grid-template-columns: 44px minmax(0, 1fr) !important;
    column-gap: 12px !important;
    row-gap: 14px !important;
    align-items: center !important;
}

html body.page-services :is(#value-added, #buyer-paths, #rfq-checklist) .vas-card > .vas-icon {
    display: inline-flex !important;
    grid-column: 1 !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    margin: 0 !important;
    border: 1px solid rgba(255, 255, 255, 0.13) !important;
    border-radius: var(--site-geometry-radius-icon, 12px) !important;
    background: #1b1c1c !important;
    color: #f5f5f7 !important;
}

html body.page-services :is(#value-added, #buyer-paths, #rfq-checklist) .vas-card > h3 {
    grid-column: 2 !important;
    margin: 0 !important;
    color: #f5f5f7 !important;
    font-size: 19px !important;
    line-height: 1.2 !important;
}

html body.page-services :is(#value-added, #buyer-paths, #rfq-checklist) .vas-card > p {
    grid-column: 1 / -1 !important;
    margin: 0 !important;
}

html body.page-services #value-added .vas-card {
    grid-template-rows: auto 44px auto !important;
}

html body.page-services #value-added .vas-card > .vas-media {
    grid-column: 1 / -1 !important;
    grid-row: 1 !important;
    margin: 0 !important;
}

html body.page-services #value-added .vas-card > .vas-icon {
    grid-row: 2 !important;
}

html body.page-services #value-added .vas-card > h3 {
    grid-row: 2 !important;
}

html body.page-services #value-added .vas-card > p {
    grid-row: 3 !important;
}

html body.page-services :is(#buyer-paths, #rfq-checklist) .vas-card > .vas-icon,
html body.page-services :is(#buyer-paths, #rfq-checklist) .vas-card > h3 {
    grid-row: 1 !important;
}

html body.page-services :is(#buyer-paths, #rfq-checklist) .vas-card > p {
    grid-row: 2 !important;
}

/* Capability sectors: concise information cards instead of stacked icon panels. */
html body.page-capabilities #industries .industry-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 14px !important;
}

html body.page-capabilities #industries .ind-card {
    display: grid !important;
    grid-template-columns: 44px minmax(0, 1fr) !important;
    grid-template-rows: auto auto !important;
    column-gap: 13px !important;
    row-gap: 12px !important;
    align-items: center !important;
    min-height: 142px !important;
    padding: 20px !important;
    text-align: left !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: var(--site-geometry-radius-card, 18px) !important;
    background: #171818 !important;
    box-shadow: none !important;
}

html body.page-capabilities #industries .ind-card:hover {
    --ty: -2px !important;
    border-color: rgba(255, 255, 255, 0.24) !important;
    background: #1b1c1c !important;
}

html body.page-capabilities #industries .ind-icon {
    grid-column: 1 !important;
    grid-row: 1 !important;
    width: 44px !important;
    height: 44px !important;
    margin: 0 !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    border-radius: var(--site-geometry-radius-icon, 12px) !important;
    background: #222323 !important;
    color: #f5f5f7 !important;
}

html body.page-capabilities #industries .ind-icon .icons {
    width: 22px !important;
    height: 22px !important;
}

html body.page-capabilities #industries .ind-card h3 {
    grid-column: 2 !important;
    grid-row: 1 !important;
    margin: 0 !important;
    color: #f5f5f7 !important;
    font-size: 17px !important;
    line-height: 1.25 !important;
}

html body.page-capabilities #industries .ind-card p {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    display: block !important;
    margin: 0 !important;
    overflow: visible !important;
    color: rgba(245, 245, 247, 0.68) !important;
    font-size: 13px !important;
    line-height: 1.55 !important;
    white-space: normal !important;
}

@media (max-width: 1024px) {
    html body.page-capabilities #industries .industry-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 640px) {
    html body.page-capabilities #industries .industry-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    html body.page-capabilities #industries .ind-card {
        min-height: 0 !important;
        padding: 18px !important;
    }
}

/* Capability compatibility: grouped list cards with readable, unclipped rows. */
html body.page-capabilities #materials .material-grid {
    gap: 16px !important;
}

html body.page-capabilities #materials .mat-card {
    padding: 0 !important;
    overflow: hidden !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: var(--site-geometry-radius-card, 18px) !important;
    background: #171818 !important;
    box-shadow: none !important;
}

html body.page-capabilities #materials .mat-card > h3 {
    display: flex !important;
    align-items: center !important;
    gap: 11px !important;
    min-height: 68px !important;
    margin: 0 !important;
    padding: 18px 20px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10) !important;
    color: #f5f5f7 !important;
    font-size: 17px !important;
    line-height: 1.25 !important;
}

html body.page-capabilities #materials .mat-card > h3 .icons {
    width: 22px !important;
    height: 22px !important;
    flex: 0 0 22px !important;
    color: #f5f5f7 !important;
}

html body.page-capabilities #materials .mat-list {
    margin: 0 !important;
    padding: 4px 0 !important;
}

html body.page-capabilities #materials .mat-list li {
    display: block !important;
    min-width: 0 !important;
    padding: 13px 20px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: rgba(245, 245, 247, 0.66) !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
    overflow: visible !important;
    white-space: normal !important;
}

html body.page-capabilities #materials .mat-list li::before {
    content: none !important;
    display: none !important;
}

html body.page-capabilities #materials .mat-list li > div {
    min-width: 0 !important;
    overflow: visible !important;
}

html body.page-capabilities #materials .mat-list li strong {
    display: block !important;
    margin: 0 0 4px !important;
    overflow: visible !important;
    color: #f5f5f7 !important;
    font-size: 14px !important;
    font-weight: 650 !important;
    line-height: 1.35 !important;
    white-space: normal !important;
}

@media (max-width: 640px) {
    html body.page-capabilities #materials .material-grid {
        gap: 12px !important;
    }

    html body.page-capabilities #materials .mat-card > h3 {
        min-height: 64px !important;
        padding: 16px 18px !important;
        font-size: 16px !important;
    }

    html body.page-capabilities #materials .mat-list li {
        padding: 12px 18px !important;
    }
}

/* Mobile content audit: descriptive copy must expand instead of silently truncating. */
@media (max-width: 640px) {
    html body .section-desc,
    html body .industry-card--bg .industry-card-content > p,
    html body .gallery-card .gallery-body > p,
    html body.page-capabilities .cap-body > p,
    html body .cert-card > p,
    html body .process-detail-content > p,
    html body .evidence-lead,
    html body .evidence-list span {
        display: block !important;
        max-height: none !important;
        overflow: visible !important;
        -webkit-line-clamp: unset !important;
        -webkit-box-orient: initial !important;
        text-overflow: clip !important;
        white-space: normal !important;
    }

    html body .industry-card--bg .industry-card-content,
    html body .gallery-card .gallery-body,
    html body.page-capabilities .cap-body,
    html body .cert-card,
    html body .process-detail-content {
        min-height: 0 !important;
        height: auto !important;
    }

    html.page-home #industries .industry-card--bg p,
    html.page-home #process .process-detail-content p,
    html:not(.page-home) .featured-text p,
    html body.page-products .process-step p,
    html body.page-capabilities .seo-link-hub__header p,
    html body.page-quality .step-content p,
    html body.page-quality .equip-card p {
        display: block !important;
        max-height: none !important;
        overflow: visible !important;
        -webkit-line-clamp: unset !important;
        -webkit-box-orient: initial !important;
        text-overflow: clip !important;
        white-space: normal !important;
    }
}

@media (max-width: 520px) {
    html body.page-services :is(#value-added, #buyer-paths, #rfq-checklist) .vas-card {
        grid-template-columns: 40px minmax(0, 1fr) !important;
        column-gap: 11px !important;
        row-gap: 13px !important;
    }

    html body.page-services :is(#value-added, #buyer-paths, #rfq-checklist) .vas-card > .vas-icon {
        width: 40px !important;
        height: 40px !important;
    }

    html body.page-services :is(#value-added, #buyer-paths, #rfq-checklist) .vas-card > h3 {
        font-size: 18px !important;
    }

    html body.page-services #value-added .vas-card {
        grid-template-rows: auto 40px auto !important;
    }
}

/*
 * Unified compact mobile header.
 *
 * Every page uses one 64px bar, one 44px control system, and one menu
 * position. The doubled class selectors intentionally outrank older page-
 * specific mobile header rules while keeping the change in this shared,
 * final stylesheet.
 */
@media (max-width: 768px) {
    html.page-home,
    html:not(.page-home) {
        --site-mobile-header-height: 64px;
        --navbar-height: var(--site-mobile-header-height) !important;
        --enterprise-mobile-header: var(--site-mobile-header-height) !important;
        --logo-icon-height: 20px !important;
        --logo-icon-max-width: 54px !important;
        --mobile-nav-top: calc(
            var(--site-mobile-header-height) +
            env(safe-area-inset-top, 0px) +
            8px
        ) !important;
    }

    html body :is(.navbar.navbar, .hs-topbar.hs-topbar),
    html body :is(.navbar.navbar, .hs-topbar.hs-topbar).scrolled,
    html body.nav-open :is(.navbar.navbar, .hs-topbar.hs-topbar) {
        display: flex !important;
        align-items: center !important;
        box-sizing: border-box !important;
        width: 100% !important;
        height: calc(var(--site-mobile-header-height) + env(safe-area-inset-top, 0px)) !important;
        min-height: calc(var(--site-mobile-header-height) + env(safe-area-inset-top, 0px)) !important;
        padding: env(safe-area-inset-top, 0px) 0 0 !important;
        border: 0 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
        background: #000 !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    html body :is(.nav-container.nav-container, .hs-topbar-inner.hs-topbar-inner) {
        display: flex !important;
        align-items: center !important;
        box-sizing: border-box !important;
        width: 100% !important;
        max-width: none !important;
        height: var(--site-mobile-header-height) !important;
        min-height: var(--site-mobile-header-height) !important;
        margin: 0 !important;
        padding: 0 20px !important;
        gap: 0 !important;
        flex-wrap: nowrap !important;
    }

    html body :is(.logo.logo, .hs-brand.hs-brand) {
        display: inline-flex !important;
        align-items: center !important;
        flex: 1 1 auto !important;
        width: auto !important;
        min-width: 0 !important;
        max-width: calc(100% - 96px) !important;
        min-height: 28px !important;
        margin: 0 !important;
        padding: 0 !important;
        gap: 7px !important;
        color: #fff !important;
        font-size: 14px !important;
        font-weight: 700 !important;
        line-height: 14px !important;
        letter-spacing: -0.025em !important;
        text-decoration: none !important;
        white-space: nowrap !important;
    }

    html body :is(.logo-icon.logo-icon, .hs-brand-mark.hs-brand-mark) {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex: 0 0 54px !important;
        width: 54px !important;
        min-width: 54px !important;
        max-width: 54px !important;
        height: 20px !important;
        min-height: 20px !important;
        max-height: 20px !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
    }

    html body :is(.logo-icon.logo-icon, .hs-brand-mark.hs-brand-mark) img {
        display: block !important;
        flex: 0 0 54px !important;
        width: 54px !important;
        min-width: 54px !important;
        max-width: 54px !important;
        height: 20px !important;
        min-height: 20px !important;
        max-height: 20px !important;
        margin: 0 !important;
        padding: 0 !important;
        object-fit: contain !important;
        object-position: center !important;
        transform: none !important;
        clip-path: none !important;
    }

    html body .logo.logo .brand-accent,
    html body .hs-brand.hs-brand .hs-brand-text,
    html body .hs-brand.hs-brand .hs-brand-text strong {
        font-size: 14px !important;
        line-height: 14px !important;
    }

    html body :is(.hs-header-actions.hs-header-actions, .nav-container.nav-container > .lang-switcher) {
        display: flex !important;
        align-items: center !important;
        flex: 0 0 44px !important;
        order: 1 !important;
        width: 44px !important;
        height: 44px !important;
        margin: 0 0 0 auto !important;
        padding: 0 !important;
    }

    html body .hs-header-actions.hs-header-actions .lang-switcher,
    html body :is(.navbar.navbar, .hs-topbar.hs-topbar) .lang-switcher__toggle {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex: 0 0 44px !important;
        width: 44px !important;
        min-width: 44px !important;
        max-width: 44px !important;
        height: 44px !important;
        min-height: 44px !important;
        max-height: 44px !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    html body :is(.navbar.navbar, .hs-topbar.hs-topbar) :is(#mobileToggle, .mobile-toggle.mobile-toggle) {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex: 0 0 44px !important;
        order: 2 !important;
        width: 44px !important;
        min-width: 44px !important;
        max-width: 44px !important;
        height: 44px !important;
        min-height: 44px !important;
        max-height: 44px !important;
        margin: 0 -8px 0 8px !important;
        padding: 8px !important;
        border: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    html body :is(.navbar.navbar, .hs-topbar.hs-topbar) :is(
        .lang-switcher__toggle,
        #mobileToggle,
        .mobile-toggle.mobile-toggle
    ):focus-visible {
        outline: 2px solid rgba(245, 245, 247, 0.88) !important;
        outline-offset: 2px !important;
    }

    html body #navLinks#navLinks.nav-links,
    html body .hs-topbar.hs-topbar .hs-nav.nav-links {
        top: var(--mobile-nav-top) !important;
        right: 12px !important;
        left: 12px !important;
        width: auto !important;
        max-height: calc(
            100dvh -
            var(--site-mobile-header-height) -
            env(safe-area-inset-top, 0px) -
            env(safe-area-inset-bottom, 0px) -
            20px
        ) !important;
        margin: 0 !important;
        padding: 14px !important;
        gap: 4px !important;
        border: 1px solid rgba(255, 255, 255, 0.14) !important;
        border-radius: var(--site-geometry-radius-panel, 24px) !important;
        background: #171819 !important;
        box-shadow: 0 22px 52px rgba(0, 0, 0, 0.4) !important;
    }

    /* The homepage has legacy ID-weighted rules; keep it on this same template. */
    html.page-home body #navbar#navbar.navbar {
        background: #000 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    html.page-home body.nav-open #navbar#navbar.navbar {
        z-index: 9010 !important;
        isolation: isolate !important;
    }

    html.page-home body.nav-open #navbar#navbar.navbar #navLinks#navLinks.nav-links {
        z-index: 9020 !important;
    }

    html.page-home body.nav-open #navbar#navbar.navbar #mobileToggle#mobileToggle {
        position: relative !important;
        z-index: 9030 !important;
    }

    html.page-home body #navbar#navbar.navbar .nav-container.nav-container {
        height: var(--site-mobile-header-height) !important;
        min-height: var(--site-mobile-header-height) !important;
        padding: 0 20px !important;
    }

    html.page-home body #navbar#navbar.navbar .logo.logo {
        gap: 7px !important;
        font-size: 14px !important;
        line-height: 14px !important;
    }

    html.page-home body #navbar#navbar.navbar .logo-icon.logo-icon,
    html.page-home body #navbar#navbar.navbar .logo-icon.logo-icon img {
        flex-basis: 54px !important;
        width: 54px !important;
        min-width: 54px !important;
        max-width: 54px !important;
        height: 20px !important;
        min-height: 20px !important;
        max-height: 20px !important;
    }
}
