/* Product landing — scroll rhythm; nav stays default sticky from style.css */

/* Static copy: default cursor; only form fields look editable */
html {
    cursor: default;
}

body,
p,
h1,
h2,
h3,
h4,
h5,
h6,
li,
span,
td,
th,
blockquote,
figcaption,
label:not([for]) {
    cursor: default;
    -webkit-user-select: none;
    user-select: none;
}

input,
textarea,
select,
[contenteditable="true"] {
    cursor: text;
    -webkit-user-select: text;
    user-select: text;
}

a,
button,
[role="button"],
label[for],
summary {
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
}

html.site-product-landing {
    scroll-behavior: smooth;
    scroll-padding-top: var(--site-nav-height, 4.5rem);
    --pl-section-min-height: calc(100svh - var(--site-nav-height, 4.5rem));
    --pl-section-min-height: calc(100dvh - var(--site-nav-height, 4.5rem));
}

@media (prefers-reduced-motion: reduce) {
    html.site-product-landing {
        scroll-behavior: auto;
    }
}

html.site-product-landing #app-content .fragment {
    padding: clamp(3.25rem, 7vw, 5.5rem) 0;
}

html.site-product-landing #app-content .fragment:nth-of-type(even):not(.landing) {
    background: var(--surface, #ffffff);
}

html.site-product-landing #app-content .fragment:nth-of-type(odd):not(.landing) {
    background: var(--light);
}

/* Hero — fill the viewport below sticky nav (matches pl-hscroll-pin rhythm) */
html.site-product-landing #home.landing {
    padding: clamp(3rem, 10vw, 5.5rem) 0 clamp(2.5rem, 7vw, 4rem);
    min-height: var(--pl-section-min-height);
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(180deg, var(--surface, #fff) 0%, var(--light, #f8fafc) 100%);
}

/* Standard scroll sections — content-driven height (hero + hscroll pin keep viewport fill) */
html.site-product-landing #app-content .fragment:not(.landing):not(.pl-hscroll-section) {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

html.site-product-landing #app-content .fragment:not(.landing):not(.pl-hscroll-section) > .container {
    width: 100%;
}

html.site-product-landing #home.landing > .container {
    width: 100%;
}

html.site-product-landing .pl-hero {
    display: grid;
    gap: clamp(2rem, 5vw, 3.5rem);
    align-items: center;
}

html.site-product-landing .pl-hero__copy {
    text-align: center;
}

html.site-product-landing .pl-hero__visual {
    margin: 0 auto;
    max-width: 52rem;
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow:
        0 24px 48px rgba(15, 23, 42, 0.14),
        0 0 0 1px rgba(15, 23, 42, 0.06);
}

html.site-product-landing .pl-hero__visual img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

html.site-product-landing .pl-hero__visual.pl-hero__visual--logo {
    max-width: none;
    width: 100%;
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    overflow: visible;
}

html.site-product-landing .pl-hero__visual.pl-hero__visual--logo img {
    aspect-ratio: auto;
    object-fit: contain;
    object-position: center;
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: none;
    margin: 0 auto;
    padding: 0;
}

@media (min-width: 900px) {
    /* Scale past PNG transparent padding + column width cap — layout box stays column-sized */
    html.site-product-landing .pl-hero__visual.pl-hero__visual--logo img {
        transform: scale(1.35);
        transform-origin: center center;
    }
}

@media (max-width: 768px) {
    html.site-product-landing .pl-hero__visual.pl-hero__visual--logo img {
        width: min(100%, 96vw);
        transform: scale(1.12);
        transform-origin: center center;
    }
}

@media (max-width: 480px) {
    html.site-product-landing .pl-hero__visual.pl-hero__visual--logo img {
        width: min(100%, 94vw);
        transform: scale(1.08);
        transform-origin: center center;
    }

    html.site-product-landing #home.landing h1 {
        font-size: clamp(1.625rem, 7.5vw, 2.25rem);
    }
}

@media (max-width: 899px) {
    html.site-product-landing .pl-hero {
        grid-template-columns: 1fr;
    }

    html.site-product-landing .pl-hero:has(.pl-hero__visual--logo) {
        gap: clamp(1.25rem, 4vw, 2rem);
    }

    html.site-product-landing .pl-hero:has(.pl-hero__visual--logo) .pl-hero__visual {
        order: -1;
    }

    html.site-product-landing .pl-hero__visual {
        max-width: 100%;
    }

    html.site-product-landing #home.landing h1 {
        max-width: none;
    }
}

@media (min-width: 900px) {
    html.site-product-landing .pl-hero {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    }

    html.site-product-landing .pl-hero:has(.pl-hero__visual--logo) {
        grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.32fr);
    }

    html.site-product-landing .pl-hero__copy {
        text-align: left;
    }

    html.site-product-landing #home.landing .landing-tagline,
    html.site-product-landing #home.landing .pl-hero-ctas {
        margin-left: 0;
        margin-right: auto;
    }
}

html.site-product-landing #home.landing .pl-eyebrow {
    margin-bottom: 0.85rem;
    color: var(--accent, #ea580c);
}

html.site-product-landing #home.landing h1 {
    font-size: clamp(2.25rem, 6vw, 3.75rem);
    margin: 0 0 1rem;
    line-height: 1.08;
    letter-spacing: -0.02em;
    max-width: 14ch;
}

html.site-product-landing #home.landing .pl-hero__copy h1 {
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 900px) {
    html.site-product-landing #home.landing .pl-hero__copy h1 {
        margin-left: 0;
        margin-right: 0;
    }
}

html.site-product-landing #home.landing .landing-tagline {
    font-size: clamp(1.05rem, 2.6vw, 1.3rem);
    max-width: 38rem;
    margin: 0 auto 1.75rem;
    line-height: 1.65;
    font-weight: 500;
    color: var(--text-muted, #475569);
}

html.site-product-landing .pl-hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    justify-content: center;
    align-items: center;
}

html.site-product-landing .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.35rem;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid var(--primary, #2563eb);
    color: var(--primary, #2563eb);
    background: transparent;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

html.site-product-landing .btn-secondary:hover {
    background: var(--primary, #2563eb);
    color: #fff;
    transform: translateY(-1px);
}

html.site-product-landing .btn-gallery {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.35rem;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    background: transparent;
    border: 2px solid var(--dark, #0f172a);
    color: var(--dark, #0f172a);
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

html.site-product-landing .btn-gallery:hover {
    background: var(--dark, #0f172a);
    color: #fff;
    transform: translateY(-1px);
}

html.site-product-landing .pl-section-intro--center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

html.site-product-landing .pl-section-intro--center .pl-lead {
    margin-left: auto;
    margin-right: auto;
}

/* Three-column value pillars — light surface when no full-bleed bg (Benefits / #pillars) */
html.site-product-landing .pl-pillar-section:not(:has(> .pl-section-bg)) {
    padding: clamp(2.25rem, 5vw, 3.75rem) 0;
    background: #f1f5f9 !important;
    color: #334155;
}

html.site-product-landing #app-content .fragment.pl-pillar-section:not(:has(> .pl-section-bg)):nth-of-type(even):not(.landing),
html.site-product-landing #app-content .fragment.pl-pillar-section:not(:has(> .pl-section-bg)):nth-of-type(odd):not(.landing) {
    background: #f1f5f9 !important;
}

html.site-product-landing .pl-pillar-section:not(:has(> .pl-section-bg)) .pl-eyebrow {
    color: #fb923c;
}

html.site-product-landing .pl-pillar-section:not(:has(> .pl-section-bg)) .pl-lead {
    color: #475569;
}

html.site-product-landing .pl-pillar-section:not(:has(> .pl-section-bg)) h2,
html.site-product-landing .pl-pillar-section:not(:has(> .pl-section-bg)) h3 {
    color: #0f172a;
    font-weight: 700;
}

html.site-product-landing .pl-pillar-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 768px) {
    html.site-product-landing .pl-pillar-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

html.site-product-landing .pl-pillar-section:not(:has(> .pl-section-bg)) .pl-pillar-card {
    padding: clamp(1.35rem, 3vw, 1.75rem);
    border-radius: 1rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
    text-align: center;
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

html.site-product-landing .pl-pillar-section:not(:has(> .pl-section-bg)) .pl-pillar-card p {
    color: #475569;
}

html.site-product-landing .pl-pillar-section:not(:has(> .pl-section-bg)) .pl-pillar-card:hover {
    transform: translateY(-4px);
    background: #ffffff;
    border-color: #cbd5e1;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

html.site-product-landing .pl-pillar-section:has(> .pl-section-bg) .pl-pillar-card {
    padding: clamp(1.35rem, 3vw, 1.75rem);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: none;
    text-align: center;
    transition: transform 0.35s ease, border-color 0.35s ease, background 0.35s ease;
}

html.site-product-landing .pl-pillar-section:has(> .pl-section-bg) .pl-pillar-card p {
    color: #cbd5e1;
}

html.site-product-landing .pl-pillar-section:has(> .pl-section-bg) .pl-pillar-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.16);
}

html.site-product-landing .pl-pillar-card__icon {
    width: 3rem;
    height: 3rem;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--primary, #2563eb) 12%, transparent);
}

html.site-product-landing .pl-industry-card {
    border-radius: 1rem;
    overflow: hidden;
    background: var(--surface, #fff);
    box-shadow: 0 10px 32px rgba(15, 23, 42, 0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease, opacity 0.6s ease;
    opacity: 0;
    transform: translateY(1.5rem);
}

html.site-product-landing .pl-industry-card.is-visible {
    opacity: 1;
    transform: none;
}

html.site-product-landing .pl-industry-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 44px rgba(15, 23, 42, 0.12);
}

html.site-product-landing .pl-industry-card__media {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
}

html.site-product-landing .pl-industry-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

html.site-product-landing .pl-industry-card:hover .pl-industry-card__media img {
    transform: scale(1.06);
}

html.site-product-landing .pl-industry-card__body {
    padding: 1.15rem 1.25rem 1.35rem;
}

html.site-product-landing .pl-experience-card {
    border-radius: 1rem;
    overflow: hidden;
    background: var(--surface, #fff);
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
    display: flex;
    flex-direction: column;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

html.site-product-landing .pl-experience-card.is-card-active,
html.site-product-landing .pl-experience-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 52px rgba(15, 23, 42, 0.14);
}

html.site-product-landing .fragment h2 {
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    margin: 0 0 1rem;
}

html.site-product-landing .fragment h3 {
    font-size: clamp(1.05rem, 2.5vw, 1.2rem);
    margin: 0 0 0.5rem;
}

/* Shared motion tokens */
html.site-product-landing .pl-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary, #2563eb);
    margin-bottom: 0.65rem;
}

html.site-product-landing .pl-lead {
    max-width: 36rem;
    margin: 0;
    font-size: clamp(1rem, 2.2vw, 1.125rem);
    line-height: 1.6;
    color: var(--text-muted, #5c6578);
}

html.site-product-landing .pl-lead:empty,
html.site-product-landing .pl-eyebrow:empty {
    display: none;
}

html.site-product-landing .pl-section-intro {
    max-width: 40rem;
    margin-bottom: clamp(2rem, 5vw, 3rem);
}

/* Footer legal links: the site blue (as the contact links), underline only on hover or keyboard focus. */
html.site-product-landing .site-footer__legal a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

html.site-product-landing .site-footer__legal a:hover,
html.site-product-landing .site-footer__legal a:focus-visible {
    text-decoration: underline;
}

/* Contact: direct phone and email line under the intro. */
html.site-product-landing #contact .contact-direct {
    margin-top: 0.5rem;
}

html.site-product-landing #contact .contact-direct a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

html.site-product-landing #contact .contact-direct a:hover,
html.site-product-landing #contact .contact-direct a:focus-visible {
    text-decoration: underline;
}

/* 404 page: centred message with the two main ways back. */
html.site-product-landing .pl-not-found {
    min-height: 60vh;
    display: flex;
    align-items: center;
}

html.site-product-landing .pl-not-found .pl-section-intro {
    max-width: 40rem;
    margin-inline: auto;
    margin-bottom: 0;
    text-align: center;
}

html.site-product-landing .pl-not-found h1 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 0.75rem;
}

html.site-product-landing .pl-not-found .pl-hero-ctas {
    justify-content: center;
    margin-top: 1.5rem;
}

html.site-product-landing .pl-section-intro h2 {
    margin-bottom: 0.75rem;
}

/* Services (#services) — full-width intro header above alternating rows */
html.site-product-landing .pl-features-intro {
    max-width: none;
    width: 100%;
}

html.site-product-landing .pl-features-intro .pl-lead {
    max-width: 42rem;
    font-size: clamp(1.125rem, 2.4vw, 1.25rem);
    line-height: 1.7;
}

/* txt_anim-style staggered reveals */
html.site-product-landing .pl-animate {
    opacity: 0;
    transform: translateY(1.75rem);
    transition:
        opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: calc(var(--pl-delay, 0) * 80ms);
}

html.site-product-landing .pl-animate-group.is-visible .pl-animate,
html.site-product-landing .pl-animate.is-visible {
    opacity: 1;
    transform: none;
}

/* Section reveal — stronger than before */
html.site-product-landing .fragment.pl-reveal {
    opacity: 0;
    transform: translateY(2.75rem);
    transition:
        opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

html.site-product-landing .fragment.pl-reveal.is-visible {
    opacity: 1;
    transform: none;
}

/* Keep full-section backgrounds visible while content reveals */
html.site-product-landing .fragment.pl-reveal:has(.pl-section-bg) {
    opacity: 1;
    transform: none;
}

html.site-product-landing .fragment.pl-reveal:has(> .pl-section-bg):not(.is-visible) > .container {
    opacity: 0;
    transform: translateY(2.75rem);
}

html.site-product-landing .fragment.pl-reveal:has(> .pl-section-bg).is-visible > .container {
    opacity: 1;
    transform: none;
    transition:
        opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Horizontal scroll track (pinned section / carousel-style track) */
html.site-product-landing #app-content .fragment.pl-hscroll-section {
    padding: 0;
    scroll-margin-top: var(--site-nav-height, 4.5rem);
    overflow: clip;
    background: transparent !important;
}

html.site-product-landing .pl-hscroll-pin {
    position: sticky;
    top: var(--site-nav-height, 4.5rem);
    /* Sticky establishes the containing block for absolute section backgrounds. */
    isolation: isolate;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: var(--pl-section-min-height);
    padding: clamp(2rem, 5vw, 3.5rem) 0;
    gap: 1.5rem;
    overflow: hidden;
}

html.site-product-landing .pl-hscroll-section-bg,
html.site-product-landing .pl-section-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: linear-gradient(125deg, #1e293b 0%, #334155 45%, #64748b 100%);
}

html.site-product-landing .pl-hscroll-section-bg img,
html.site-product-landing .pl-section-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.04);
}

/* Home background slideshow: twelve photos, each shown for 14s with a slow zoom,
   crossfading into the next over 3s. One cycle = 12 x 14s = 168s. Home section only.
   Zoom kept small (4% -> 10%) and no brightness filter so the photos stay sharp and natural.
   Adding or removing a photo: change the cycle length, the delays and the keyframe percentages. */
html.site-product-landing #home-bg.pl-section-bg--slides img {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform-origin: 50% 45%;
    animation: pl-home-slide 168s linear infinite;
}

html.site-product-landing #home.landing > #home-bg.pl-section-bg--slides img {
    filter: none;
}

/* Negative first delay: slide 1 is already fully visible on page load. */
html.site-product-landing #home-bg.pl-section-bg--slides img:nth-child(1) { animation-delay: -3s; }
html.site-product-landing #home-bg.pl-section-bg--slides img:nth-child(2) { animation-delay: 11s; }
html.site-product-landing #home-bg.pl-section-bg--slides img:nth-child(3) { animation-delay: 25s; }
html.site-product-landing #home-bg.pl-section-bg--slides img:nth-child(4) { animation-delay: 39s; }
html.site-product-landing #home-bg.pl-section-bg--slides img:nth-child(5) { animation-delay: 53s; }
html.site-product-landing #home-bg.pl-section-bg--slides img:nth-child(6) { animation-delay: 67s; }
html.site-product-landing #home-bg.pl-section-bg--slides img:nth-child(7) { animation-delay: 81s; }
html.site-product-landing #home-bg.pl-section-bg--slides img:nth-child(8) { animation-delay: 95s; }
html.site-product-landing #home-bg.pl-section-bg--slides img:nth-child(9) { animation-delay: 109s; }
html.site-product-landing #home-bg.pl-section-bg--slides img:nth-child(10) { animation-delay: 123s; }
html.site-product-landing #home-bg.pl-section-bg--slides img:nth-child(11) { animation-delay: 137s; }
html.site-product-landing #home-bg.pl-section-bg--slides img:nth-child(12) { animation-delay: 151s; }

/* 2.14% = 3s fade in, 10% = 14s, 12.14% = 17s fade out complete (of 140s). */
@keyframes pl-home-slide {
    0% { opacity: 0; transform: scale(1.04); }
    1.79% { opacity: 1; }
    8.33% { opacity: 1; }
    10.12% { opacity: 0; transform: scale(1.1); }
    100% { opacity: 0; transform: scale(1.1); }
}

/* Photos shown as they are: no darkening or lightening layer over the slideshow. */
html.site-product-landing #home.landing > #home-bg.pl-section-bg--slides::after {
    background: none;
}

/* Readability over the photos: the hero text and the logo each sit on a see-through
   glass panel. The photo shows through, blurred; the panels only tint what is behind
   them, so the photos keep their natural brightness everywhere else. */
html.site-product-landing #home.landing:has(> #home-bg.pl-section-bg--slides) .pl-hero__copy {
    padding: clamp(1.25rem, 3vw, 2rem);
    border-radius: 1.25rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
    -webkit-backdrop-filter: blur(2px) brightness(0.86);
    backdrop-filter: blur(2px) brightness(0.86);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        0 12px 30px rgba(15, 23, 42, 0.18);
}

html.site-product-landing #home.landing:has(> #home-bg.pl-section-bg--slides) .pl-eyebrow {
    color: #fb923c;
}

html.site-product-landing #home.landing:has(> #home-bg.pl-section-bg--slides) h1,
html.site-product-landing #home.landing:has(> #home-bg.pl-section-bg--slides) .landing-tagline {
    color: #ffffff;
    text-shadow:
        0 1px 2px rgba(0, 0, 0, 0.7),
        0 2px 12px rgba(0, 0, 0, 0.55);
}

html.site-product-landing #home.landing:has(> #home-bg.pl-section-bg--slides) .pl-eyebrow {
    text-shadow:
        0 1px 2px rgba(0, 0, 0, 0.9),
        0 0 10px rgba(0, 0, 0, 0.65);
}

html.site-product-landing #home.landing:has(> #home-bg.pl-section-bg--slides) .btn-secondary,
html.site-product-landing #home.landing:has(> #home-bg.pl-section-bg--slides) .btn-gallery {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.85);
}

html.site-product-landing #home.landing:has(> #home-bg.pl-section-bg--slides) .btn-secondary:hover,
html.site-product-landing #home.landing:has(> #home-bg.pl-section-bg--slides) .btn-gallery:hover {
    background: #ffffff;
    color: var(--dark, #0f172a);
}

@media (min-width: 900px) {
    /* Buttons line up with the left-aligned text inside the panel. */
    html.site-product-landing #home.landing:has(> #home-bg.pl-section-bg--slides) .pl-hero-ctas {
        justify-content: flex-start;
    }
}

/* Browsers without glass blur: fall back to solid enough panels to stay readable. */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    html.site-product-landing #home.landing:has(> #home-bg.pl-section-bg--slides) .pl-hero__copy {
        background: rgba(15, 23, 42, 0.62);
    }
}

@media (prefers-reduced-motion: reduce) {
    html.site-product-landing #home-bg.pl-section-bg--slides img {
        animation: none;
    }
    html.site-product-landing #home-bg.pl-section-bg--slides img:first-child {
        opacity: 1;
    }
}

html.site-product-landing .pl-hscroll-section-bg::after,
html.site-product-landing .pl-section-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(15, 23, 42, 0.72) 0%,
        rgba(15, 23, 42, 0.52) 42%,
        rgba(15, 23, 42, 0.68) 100%
    );
}

/* Full-section backgrounds on standard (non-hscroll) sections */
html.site-product-landing .fragment:has(> .pl-section-bg) {
    position: relative;
    overflow: hidden;
    background: transparent !important;
}

html.site-product-landing .fragment:has(> .pl-section-bg) > .container {
    position: relative;
    z-index: 1;
}

html.site-product-landing .fragment:has(> .pl-section-bg) .pl-section-intro .pl-eyebrow,
html.site-product-landing .fragment:has(> .pl-section-bg) .pl-about-section__intro .pl-eyebrow {
    color: #fb923c;
}

html.site-product-landing .fragment:has(> .pl-section-bg) .pl-section-intro h2,
html.site-product-landing .fragment:has(> .pl-section-bg) .pl-about-section__intro h2,
html.site-product-landing #contact:has(> .pl-section-bg) h2 {
    color: #f8fafc;
}

html.site-product-landing .fragment:has(> .pl-section-bg) .pl-section-intro .pl-lead,
html.site-product-landing .fragment:has(> .pl-section-bg) .pl-about-section__intro .pl-lead {
    color: #cbd5e1;
}

html.site-product-landing #home.landing:has(> .pl-section-bg) h1 {
    color: #f8fafc;
}

html.site-product-landing #home.landing:has(> .pl-section-bg) .landing-tagline {
    color: #e8edf4;
    text-shadow:
        0 1px 16px rgba(15, 23, 42, 0.65),
        0 0 1px rgba(15, 23, 42, 0.4);
}

html.site-product-landing .pl-pillar-section:has(> .pl-section-bg) {
    padding: clamp(2.25rem, 5vw, 3.75rem) 0;
    background: transparent !important;
    color: #f8fafc;
}

html.site-product-landing .pl-pillar-section:has(> .pl-section-bg) .pl-eyebrow {
    color: #fb923c;
}

html.site-product-landing .pl-pillar-section:has(> .pl-section-bg) .pl-lead {
    color: #cbd5e1;
}

html.site-product-landing .pl-pillar-section:has(> .pl-section-bg) h2,
html.site-product-landing .pl-pillar-section:has(> .pl-section-bg) h3 {
    color: #f8fafc;
}

html.site-product-landing .pl-hscroll-intro,
html.site-product-landing .pl-hscroll-stage {
    position: relative;
    z-index: 1;
}

html.site-product-landing .pl-hscroll-section .pl-hscroll-intro .pl-eyebrow {
    color: #fb923c;
}

html.site-product-landing .pl-hscroll-section .pl-hscroll-intro h2 {
    color: #f8fafc;
}

html.site-product-landing .pl-hscroll-section .pl-hscroll-intro .pl-lead {
    color: #cbd5e1;
}

html.site-product-landing .pl-hscroll-intro h2 {
    margin-bottom: 0.5rem;
}

html.site-product-landing .pl-hscroll-stage {
    position: relative;
    min-height: clamp(15rem, 44vw, 24rem);
}

html.site-product-landing .pl-hscroll-viewport {
    position: relative;
    z-index: 1;
    overflow: hidden;
    width: 100%;
    padding-left: max(1rem, calc((100vw - var(--container-max, 72rem)) / 2 + 1rem));
    padding-right: max(1rem, calc((100vw - var(--container-max, 72rem)) / 2 + 1rem));
}

html.site-product-landing .pl-hscroll-track {
    display: flex;
    gap: clamp(0.75rem, 1.2vw, 1rem);
    width: max-content;
    padding-right: 0;
    will-change: transform;
    transform-origin: left center;
}

html.site-product-landing .pl-hscroll-card {
    box-sizing: border-box;
    flex: 0 0 var(--pl-hscroll-card-basis, calc(48vw - 0.75rem));
    flex-shrink: 0;
    border-radius: 1rem;
    background: var(--surface, #fff);
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
    overflow: hidden;
    position: relative;
    z-index: 1;
}

/* Carousel cards stay visible — no stagger fade/slide on the track */
html.site-product-landing .pl-hscroll-card.pl-animate-group {
    opacity: 1;
    transform: none;
    transition: none;
}

/* Translate-only motion — no parallax scale on pinned carousel media */
html.site-product-landing .pl-hscroll-card .pl-parallax img {
    transform: scale(1.04);
    will-change: auto;
}

html.site-product-landing .pl-hscroll-card__media {
    aspect-ratio: 3 / 2;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary, #2563eb) 0%, #7c3aed 100%);
}

html.site-product-landing .pl-hscroll-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.04);
    transition: transform 0.6s ease;
}

html.site-product-landing .pl-hscroll-card:hover .pl-hscroll-card__media img {
    transform: scale(1.08);
}

html.site-product-landing .pl-hscroll-card__body {
    padding: 1.15rem 1.25rem 1.35rem;
}

html.site-product-landing .pl-hscroll-card__body h3 {
    margin-top: 0.25rem;
}

/* Industries / projects — mid size: services-like width, image capped so copy is readable */
html.site-product-landing .pl-industry-section .pl-hscroll-viewport {
    max-width: 78rem;
    margin-inline: auto;
    -webkit-mask-image: linear-gradient(
        to right,
        transparent,
        #000 64px,
        #000 calc(100% - 64px),
        transparent
    );
    mask-image: linear-gradient(
        to right,
        transparent,
        #000 64px,
        #000 calc(100% - 64px),
        transparent
    );
}

html.site-product-landing .pl-industry-section .pl-hscroll-stage {
    min-height: clamp(21rem, 48vw, 27rem);
}

html.site-product-landing .pl-industry-section .pl-hscroll-card {
    display: flex;
    flex-direction: column;
}

html.site-product-landing .pl-industry-section .pl-hscroll-card__media {
    aspect-ratio: 3 / 2;
    max-height: 18.5rem;
    flex-shrink: 0;
}

html.site-product-landing .pl-industry-section .pl-hscroll-card__body {
    padding: 1rem 1.2rem 1.2rem;
    flex: 1 1 auto;
}

html.site-product-landing .pl-industry-section .pl-hscroll-card__body h3 {
    font-size: clamp(1.08rem, 1.7vw, 1.22rem);
    margin: 0 0 0.4rem;
    line-height: 1.25;
}

html.site-product-landing .pl-industry-section .pl-hscroll-card__body p {
    font-size: 0.95rem;
    line-height: 1.45;
    margin: 0;
    color: var(--text, #475569);
}

/* Alternating feature rows (report / experience sections) */
html.site-product-landing .pl-feature-rows {
    display: flex;
    flex-direction: column;
    gap: clamp(3rem, 8vw, 5rem);
}

html.site-product-landing .pl-feature-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: center;
}

@media (min-width: 900px) {
    html.site-product-landing .pl-feature-row {
        grid-template-columns: 1fr 1fr;
        gap: clamp(2rem, 5vw, 3.5rem);
    }

    html.site-product-landing .pl-feature-row[data-pl-side='left'] .pl-feature-row__content {
        order: 2;
    }

    html.site-product-landing .pl-feature-row[data-pl-side='left'] .pl-feature-row__media {
        order: 1;
    }
}

html.site-product-landing .pl-feature-row__content {
    --pl-slide-x: 2.5rem;
}

html.site-product-landing .pl-feature-row[data-pl-side='left'] .pl-feature-row__content {
    --pl-slide-x: -2.5rem;
}

html.site-product-landing .pl-feature-row__media {
    --pl-slide-x: 2.5rem;
    border-radius: 1rem;
    overflow: hidden;
    background: linear-gradient(145deg, #e2e8f0, #cbd5e1);
    box-shadow: 0 16px 48px rgba(15, 23, 42, 0.1);
}

html.site-product-landing .pl-feature-row[data-pl-side='left'] .pl-feature-row__media {
    --pl-slide-x: -2.5rem;
}

html.site-product-landing .pl-feature-row__media img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

html.site-product-landing .pl-feature-row__actions {
    display: flex;
    margin-top: 1rem;
}

/* Pin gallery CTA to the content edge nearest the image */
@media (min-width: 900px) {
    html.site-product-landing .pl-feature-row[data-pl-side='right'] .pl-feature-row__actions {
        justify-content: flex-end;
    }

    html.site-product-landing .pl-feature-row[data-pl-side='left'] .pl-feature-row__actions {
        justify-content: flex-start;
    }
}

html.site-product-landing .pl-feature-row__gallery-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.7rem 1.05rem;
    border: 1px solid rgba(249, 115, 22, 0.45);
    border-radius: 999px;
    background: #f97316;
    color: #fff;
    box-shadow: 0 10px 24px rgba(249, 115, 22, 0.28);
    cursor: pointer;
    font: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

html.site-product-landing .pl-feature-row__gallery-cta::after {
    content: '\2197';
    font-size: 1rem;
}

html.site-product-landing .pl-feature-row__gallery-cta:hover,
html.site-product-landing .pl-feature-row__gallery-cta:focus-visible {
    background: #ea580c;
    border-color: #ea580c;
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(234, 88, 12, 0.32);
}

html.site-product-landing .pl-feature-row__gallery-cta:focus-visible {
    outline: 3px solid #fdba74;
    outline-offset: 3px;
}

html.site-product-landing .pl-feature-row:not(.is-row-visible) .pl-feature-row__content,
html.site-product-landing .pl-feature-row:not(.is-row-visible) .pl-feature-row__media {
    opacity: 0;
    transform: translateX(var(--pl-slide-x, 2.5rem));
    transition:
        opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

html.site-product-landing .pl-feature-row.is-row-visible .pl-feature-row__content,
html.site-product-landing .pl-feature-row.is-row-visible .pl-feature-row__media {
    opacity: 1;
    transform: none;
}

html.site-product-landing .pl-feature-row.is-row-visible .pl-feature-row__media {
    transition-delay: 0.12s;
}

/* Services background: one photo that fills the screen and stays still while the service rows
   scroll over it, so it shows at its natural size instead of being stretched over the whole section.
   overflow: clip (not hidden) keeps the edges clipped without blocking position: sticky. */
html.site-product-landing #services {
    overflow: clip;
}

/* Sticks just under the nav (its height is kept in --site-nav-height by product-landing.js),
   so arriving from a nav link the photo is already in its resting place and does not shift. */
html.site-product-landing #services-bg img {
    position: sticky;
    top: var(--site-nav-height, 4.5rem);
    height: calc(100vh - var(--site-nav-height, 4.5rem));
    height: calc(100lvh - var(--site-nav-height, 4.5rem));
    /* No 4% zoom here (the other backgrounds keep it): enlarging the photo would soften it. */
    transform: none;
}

/* Services intro: the same text shadows as the home hero copy, so the words stand out from the
   bright photo without any panel behind them (the row text gets the same below). Colours unchanged. */
html.site-product-landing #services:has(> .pl-section-bg) .pl-section-intro h2,
html.site-product-landing #services:has(> .pl-section-bg) .pl-section-intro .pl-lead {
    text-shadow:
        0 1px 2px rgba(0, 0, 0, 0.7),
        0 2px 12px rgba(0, 0, 0, 0.55);
}

html.site-product-landing #services:has(> .pl-section-bg) .pl-eyebrow {
    text-shadow:
        0 1px 2px rgba(0, 0, 0, 0.9),
        0 0 10px rgba(0, 0, 0, 0.65);
}

/* Feature showcase — readable row copy on light surfaces (#services) */
html.site-product-landing .pl-feature-showcase:not(:has(> .pl-section-bg)) {
    background: #f1f5f9 !important;
}

html.site-product-landing #app-content .fragment.pl-feature-showcase:not(:has(> .pl-section-bg)):nth-of-type(even):not(.landing),
html.site-product-landing #app-content .fragment.pl-feature-showcase:not(:has(> .pl-section-bg)):nth-of-type(odd):not(.landing) {
    background: #f1f5f9 !important;
}

html.site-product-landing .pl-feature-showcase:not(:has(> .pl-section-bg)) .pl-section-intro .pl-eyebrow {
    color: #fb923c;
}

html.site-product-landing .pl-feature-showcase:not(:has(> .pl-section-bg)) .pl-section-intro h2 {
    color: #0f172a;
}

html.site-product-landing .pl-feature-showcase:not(:has(> .pl-section-bg)) .pl-section-intro .pl-lead {
    color: #475569;
}

html.site-product-landing .pl-feature-showcase:has(> .pl-section-bg) .pl-feature-row__content,
html.site-product-landing #services:has(> .pl-section-bg) .pl-feature-row__content {
    background: transparent;
}

html.site-product-landing .pl-feature-showcase:has(> .pl-section-bg) .pl-feature-row__content .pl-eyebrow,
html.site-product-landing #services:has(> .pl-section-bg) .pl-feature-row__content .pl-eyebrow {
    color: #fb923c;
}

html.site-product-landing .pl-feature-showcase:has(> .pl-section-bg) .pl-feature-row__content h3,
html.site-product-landing #services:has(> .pl-section-bg) .pl-feature-row__content h3 {
    color: #f8fafc;
    font-weight: 700;
    text-shadow:
        0 1px 2px rgba(0, 0, 0, 0.7),
        0 2px 12px rgba(0, 0, 0, 0.55);
}

html.site-product-landing .pl-feature-showcase:has(> .pl-section-bg) .pl-feature-row__content p,
html.site-product-landing #services:has(> .pl-section-bg) .pl-feature-row__content p {
    color: #cbd5e1;
    font-size: clamp(1rem, 0.94rem + 0.3vw, 1.125rem);
    line-height: 1.65;
    text-shadow:
        0 1px 2px rgba(0, 0, 0, 0.7),
        0 2px 12px rgba(0, 0, 0, 0.55);
}

html.site-product-landing .pl-feature-showcase:not(:has(> .pl-section-bg)) .pl-feature-row__content .pl-eyebrow {
    color: #fb923c;
}

html.site-product-landing .pl-feature-showcase:not(:has(> .pl-section-bg)) .pl-feature-row__content h3 {
    color: #0f172a;
    font-weight: 700;
}

html.site-product-landing .pl-feature-showcase:not(:has(> .pl-section-bg)) .pl-feature-row__content p {
    color: #475569;
    line-height: 1.65;
}

/* About section — intro + stacked card carousel */
html.site-product-landing .pl-about-section__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 900px) {
    html.site-product-landing .pl-about-section__grid {
        grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
        gap: clamp(2rem, 5vw, 3.5rem);
        align-items: center;
    }
}

html.site-product-landing .pl-about-carousel {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    width: 100%;
}

html.site-product-landing .pl-about-carousel__viewport {
    position: relative;
    width: 100%;
    perspective: 1200px;
    overflow: hidden;
}

html.site-product-landing .pl-about-carousel__track {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    align-items: start;
    width: 100%;
}

html.site-product-landing .pl-about-card {
    grid-area: 1 / 1;
    position: relative;
    width: min(100%, 34rem);
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1.25rem;
    border-radius: 1rem;
    background: var(--surface, #fff);
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.08);
    transform: scale(0.88);
    opacity: 0;
    visibility: hidden;
    z-index: 1;
    pointer-events: none;
    transition:
        opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.55s ease,
        visibility 0.55s ease;
}

/* Progressive enhancement: show deck before JS assigns is-active (incl. after runtime content swap) */
html.site-product-landing [data-pl-about-carousel]:not(:has(.pl-about-card.is-active)) .pl-about-card:first-child {
    opacity: 1;
    transform: scale(1);
    visibility: visible;
    z-index: 3;
    pointer-events: auto;
}

html.site-product-landing [data-pl-about-carousel]:not(:has(.pl-about-card.is-active)) .pl-about-card:nth-child(2) {
    opacity: 0.72;
    transform: translateX(14%) scale(0.9);
    visibility: visible;
    z-index: 2;
}

html.site-product-landing [data-pl-about-carousel]:not(:has(.pl-about-card.is-active)) .pl-about-card:nth-child(n + 3) {
    opacity: 0;
    visibility: hidden;
}

html.site-product-landing .pl-about-card.is-active {
    opacity: 1;
    transform: scale(1);
    visibility: visible;
    z-index: 3;
    box-shadow: 0 20px 56px rgba(15, 23, 42, 0.14);
    pointer-events: auto;
}

html.site-product-landing .pl-about-card.is-prev {
    opacity: 0.72;
    transform: translateX(-14%) scale(0.9);
    visibility: visible;
    z-index: 2;
}

html.site-product-landing .pl-about-card.is-next {
    opacity: 0.72;
    transform: translateX(14%) scale(0.9);
    visibility: visible;
    z-index: 2;
}

html.site-product-landing .pl-about-card.is-hidden {
    opacity: 0;
    transform: scale(0.88);
    visibility: hidden;
    z-index: 0;
    pointer-events: none;
}

/* Carousel cards use deck transitions only — not pl-animate reveals */
html.site-product-landing .pl-about-card .pl-animate,
html.site-product-landing .pl-about-card.pl-animate-group {
    opacity: 1;
    transform: none;
    transition: none;
}

html.site-product-landing .pl-about-card__media {
    border-radius: 0.75rem;
    overflow: hidden;
    background: linear-gradient(135deg, #0ea5e9, #6366f1);
}

html.site-product-landing .pl-about-card__media img {
    width: 100%;
    display: block;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

html.site-product-landing .pl-about-card__content h3 {
    margin: 0 0 0.5rem;
}

html.site-product-landing .pl-about-card__content p {
    margin: 0;
}

@media (min-width: 640px) {
    html.site-product-landing .pl-about-card {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
}

@media (max-width: 639px) {
    html.site-product-landing .pl-about-carousel {
        gap: 1rem;
    }

    html.site-product-landing .pl-about-carousel__viewport {
        overflow-x: clip;
    }

    html.site-product-landing .pl-about-carousel__controls {
        gap: 1rem;
        margin-top: 0.75rem;
        padding-bottom: 0.25rem;
    }

    html.site-product-landing .pl-about-carousel__btn {
        width: 3rem;
        height: 3rem;
        min-width: 3rem;
        min-height: 3rem;
    }

    html.site-product-landing .pl-about-card.is-prev {
        transform: translateX(-8%) scale(0.92);
    }

    html.site-product-landing .pl-about-card.is-next,
    html.site-product-landing [data-pl-about-carousel]:not(:has(.pl-about-card.is-active)) .pl-about-card:nth-child(2) {
        transform: translateX(8%) scale(0.92);
    }
}

html.site-product-landing .pl-about-carousel__controls {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    position: relative;
    z-index: 5;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

html.site-product-landing .pl-about-carousel__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    min-width: 2.75rem;
    min-height: 2.75rem;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 999px;
    background: var(--surface, #fff);
    color: var(--text, #0f172a);
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

/* The arrow glyph sits behind its round button for the mouse: hovering or clicking anywhere
   on the circle, glyph included, is the button itself (pointer cursor, one click target). */
html.site-product-landing .pl-about-carousel__btn > span,
html.site-product-landing .project-gallery-modal__nav > span {
    pointer-events: none;
}

html.site-product-landing .pl-about-carousel__btn:hover,
html.site-product-landing .pl-about-carousel__btn:focus-visible {
    background: #f8fafc;
    border-color: rgba(15, 23, 42, 0.2);
    transform: translateY(-1px);
    outline: none;
}

html.site-product-landing .fragment:has(> .pl-section-bg) .pl-about-carousel__btn {
    background: rgba(15, 23, 42, 0.55);
    border-color: rgba(248, 250, 252, 0.2);
    color: #f8fafc;
}

html.site-product-landing .fragment:has(> .pl-section-bg) .pl-about-carousel__btn:hover,
html.site-product-landing .fragment:has(> .pl-section-bg) .pl-about-carousel__btn:focus-visible {
    background: rgba(15, 23, 42, 0.72);
    border-color: rgba(248, 250, 252, 0.35);
}

/* Parallax media */
html.site-product-landing .pl-parallax img {
    will-change: transform;
}

body.project-gallery-open {
    overflow: hidden;
}

html.site-product-landing .project-gallery-modal {
    width: min(94vw, 88rem);
    max-width: none;
    height: min(92vh, 58rem);
    max-height: none;
    padding: 0;
    border: 0;
    border-radius: 1.25rem;
    background: transparent;
    color: #0f172a;
    box-shadow: 0 28px 90px rgba(15, 23, 42, 0.45);
    overflow: hidden;
}

html.site-product-landing .project-gallery-modal::backdrop {
    background: rgba(2, 6, 23, 0.82);
}

html.site-product-landing .project-gallery-modal__shell {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    background: #f8fafc;
}

html.site-product-landing .project-gallery-modal__close-form {
    position: absolute;
    z-index: 5;
    top: 0.55rem;
    right: 0.7rem;
    margin: 0;
}

html.site-product-landing .project-gallery-modal__close {
    display: grid;
    place-items: center;
    width: 2.2rem;
    height: 2.2rem;
    padding: 0;
    border: 1px solid rgba(148, 163, 184, 0.45);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    color: #0f172a;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.14);
    cursor: pointer;
    font-size: 1.35rem;
    line-height: 1;
}

html.site-product-landing .project-gallery-modal__close:hover,
html.site-product-landing .project-gallery-modal__close:focus-visible {
    background: #f97316;
    color: #fff;
}

html.site-product-landing .project-gallery-modal__header {
    flex: 0 0 auto;
    padding: 0.7rem 3.75rem 0.65rem 1.15rem;
    border-bottom: 1px solid #e2e8f0;
    background: #fff;
}

html.site-product-landing .project-gallery-modal__header .pl-eyebrow {
    margin-bottom: 0.1rem;
    color: #ea580c;
    font-size: 0.72rem;
}

html.site-product-landing .project-gallery-modal__header h2 {
    margin: 0;
    color: #0f172a;
    font-size: clamp(1.15rem, 2vw, 1.45rem);
    line-height: 1.2;
}

html.site-product-landing .project-gallery-modal__header p {
    display: none;
}

html.site-product-landing .project-gallery-modal__layout {
    display: grid;
    grid-template-columns: minmax(14rem, 18rem) minmax(0, 1fr);
    flex: 1 1 auto;
    min-height: 0;
}

html.site-product-landing .project-gallery-modal__projects {
    min-height: 0;
    padding: 1rem;
    background: #172033;
    overflow-y: auto;
}

html.site-product-landing .project-gallery-modal__project-list {
    display: grid;
    gap: 0.65rem;
}

html.site-product-landing .project-gallery-modal__project {
    display: grid;
    grid-template-columns: 4.25rem minmax(0, 1fr);
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.55rem;
    border: 1px solid transparent;
    border-radius: 0.8rem;
    background: rgba(255, 255, 255, 0.06);
    color: #f8fafc;
    cursor: pointer;
    font: inherit;
    text-align: left;
}

html.site-product-landing .project-gallery-modal__project:hover {
    background: rgba(255, 255, 255, 0.11);
}

html.site-product-landing .project-gallery-modal__project.is-active {
    border-color: #fb923c;
    background: rgba(249, 115, 22, 0.18);
}

html.site-product-landing .project-gallery-modal__project:focus-visible {
    outline: 2px solid #fdba74;
    outline-offset: 2px;
}

html.site-product-landing .project-gallery-modal__project img {
    width: 4.25rem;
    height: 3.25rem;
    border-radius: 0.55rem;
    object-fit: cover;
}

html.site-product-landing .project-gallery-modal__project > span {
    display: grid;
    gap: 0.15rem;
    min-width: 0;
}

html.site-product-landing .project-gallery-modal__project-card-type {
    color: #fdba74;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

html.site-product-landing .project-gallery-modal__project strong {
    font-size: 0.88rem;
    line-height: 1.25;
}

html.site-product-landing .project-gallery-modal__viewer {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    min-width: 0;
    min-height: 0;
    padding: 0.75rem 0.9rem 0.7rem;
    overflow: hidden;
}

html.site-product-landing .project-gallery-modal__project-heading {
    display: grid;
    grid-template-columns: minmax(10rem, 0.65fr) minmax(14rem, 1.35fr);
    gap: 0.75rem 1rem;
    align-items: end;
    flex: 0 0 auto;
}

html.site-product-landing .project-gallery-modal__project-type {
    color: #ea580c;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

html.site-product-landing .project-gallery-modal__project-heading h3 {
    margin: 0.1rem 0 0;
    color: #0f172a;
    font-size: clamp(1.05rem, 1.7vw, 1.35rem);
    line-height: 1.2;
}

html.site-product-landing .project-gallery-modal__project-heading p {
    margin: 0;
    color: #475569;
    font-size: 0.82rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

html.site-product-landing .project-gallery-modal__phases {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin: 0;
    flex: 0 0 auto;
}

html.site-product-landing .project-gallery-modal__phase {
    padding: 0.3rem 0.65rem;
    border: 1px solid #cbd5e1;
    border-radius: 999px;
    background: #fff;
    color: #334155;
    cursor: pointer;
    font: inherit;
    font-size: 0.75rem;
    font-weight: 700;
}

html.site-product-landing .project-gallery-modal__phase.is-active {
    border-color: #f97316;
    background: #f97316;
    color: #fff;
}

html.site-product-landing .project-gallery-modal__stage-wrap {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: stretch;
    gap: 0.5rem;
    flex: 1 1 auto;
    min-height: 0;
}

html.site-product-landing .project-gallery-modal__stage {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 0;
    border-radius: 0.75rem;
    background: #0f172a;
    overflow: hidden;
}

html.site-product-landing .project-gallery-modal__stage img,
html.site-product-landing .project-gallery-modal__stage video {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    background: #0f172a;
}

html.site-product-landing .project-gallery-modal__nav {
    display: grid;
    place-items: center;
    align-self: center;
    width: 2.25rem;
    height: 2.25rem;
    padding: 0;
    border: 1px solid #cbd5e1;
    border-radius: 999px;
    background: #fff;
    color: #0f172a;
    cursor: pointer;
    font-size: 1rem;
}

html.site-product-landing .project-gallery-modal__nav:hover:not(:disabled),
html.site-product-landing .project-gallery-modal__nav:focus-visible {
    border-color: #f97316;
    background: #f97316;
    color: #fff;
}

html.site-product-landing .project-gallery-modal__nav:disabled {
    opacity: 0.35;
    cursor: default;
}

html.site-product-landing .project-gallery-modal__caption-row {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    margin: 0 2.75rem;
    color: #475569;
    font-size: 0.78rem;
    flex: 0 0 auto;
}

html.site-product-landing .project-gallery-modal__caption-row p {
    margin: 0;
}

html.site-product-landing .project-gallery-modal__caption-row span {
    flex: 0 0 auto;
    font-weight: 700;
}

html.site-product-landing .project-gallery-modal__thumbs {
    display: flex;
    gap: 0.4rem;
    margin-inline: 2.75rem;
    padding: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x proximity;
    flex: 0 0 auto;
}

html.site-product-landing .project-gallery-modal__thumb {
    position: relative;
    flex: 0 0 4.5rem;
    height: 3.35rem;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 0.55rem;
    background: #1e293b;
    color: #fff;
    cursor: pointer;
    overflow: hidden;
    scroll-snap-align: center;
}

html.site-product-landing .project-gallery-modal__thumb.is-active {
    border-color: #f97316;
}

html.site-product-landing .project-gallery-modal__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

html.site-product-landing .project-gallery-modal__thumb small {
    position: absolute;
    right: 0.25rem;
    bottom: 0.25rem;
    padding: 0.16rem 0.35rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.86);
    color: #fff;
    font-size: 0.62rem;
    font-weight: 700;
}

@media (max-width: 768px) {
    html.site-product-landing .project-gallery-modal {
        width: 100vw;
        height: 100dvh;
        border-radius: 0;
    }

    html.site-product-landing .project-gallery-modal__header {
        padding: 0.55rem 3.4rem 0.5rem 0.85rem;
    }

    html.site-product-landing .project-gallery-modal__layout {
        display: flex;
        flex-direction: column;
    }

    html.site-product-landing .project-gallery-modal__projects {
        flex: 0 0 auto;
        padding: 0.7rem;
        overflow: hidden;
    }

    html.site-product-landing .project-gallery-modal__project-list {
        display: flex;
        overflow-x: auto;
    }

    html.site-product-landing .project-gallery-modal__project {
        flex: 0 0 13rem;
    }

    html.site-product-landing .project-gallery-modal__viewer {
        flex: 1 1 auto;
        padding: 0.65rem;
        overflow: hidden;
    }

    html.site-product-landing .project-gallery-modal__project-heading {
        display: block;
    }

    html.site-product-landing .project-gallery-modal__project-heading p {
        margin-top: 0.3rem;
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }

    html.site-product-landing .project-gallery-modal__stage-wrap {
        gap: 0.3rem;
    }

    html.site-product-landing .project-gallery-modal__stage {
        min-height: 0;
        height: 100%;
    }

    html.site-product-landing .project-gallery-modal__stage img,
    html.site-product-landing .project-gallery-modal__stage video {
        width: auto;
        height: auto;
        max-width: 100%;
        max-height: 100%;
    }

    html.site-product-landing .project-gallery-modal__nav {
        width: 2rem;
        height: 2rem;
    }

    html.site-product-landing .project-gallery-modal__caption-row,
    html.site-product-landing .project-gallery-modal__thumbs {
        margin-inline: 2.3rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html.site-product-landing .fragment.pl-reveal,
    html.site-product-landing .pl-animate,
    html.site-product-landing .pl-feature-row__content,
    html.site-product-landing .pl-feature-row__media,
    html.site-product-landing .pl-about-card {
        opacity: 1 !important;
        transform: scale(1) !important;
        visibility: visible !important;
        transition: none !important;
    }

    html.site-product-landing .pl-about-card:not(.is-active) {
        display: none;
    }

    html.site-product-landing .pl-industry-card,
    html.site-product-landing .pl-experience-card {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

@media (min-width: 768px) {
    html.site-product-landing #contact > .container {
        display: grid;
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
        column-gap: 2rem;
        align-content: start;
    }

    html.site-product-landing #contact > .container > h2 {
        grid-column: 1 / -1;
    }

}

@media (max-width: 768px) {
    html.site-product-landing,
    html.site-product-landing body {
        overflow-x: clip;
    }

    html.site-product-landing #app-content .fragment {
        padding: clamp(2.5rem, 10vw, 3.5rem) 0;
    }

    html.site-product-landing #app-content .fragment.pl-hscroll-section {
        padding: 0;
    }

    html.site-product-landing #home.landing {
        padding: clamp(3rem, 12vw, 4.5rem) 0 clamp(2.5rem, 8vw, 3.5rem);
    }

    html.site-product-landing #home.landing:has(.pl-hero__visual--logo) {
        min-height: 0;
        padding-top: clamp(2rem, 8vw, 3rem);
        padding-bottom: clamp(2rem, 6vw, 3rem);
    }

    html.site-product-landing #home.landing h1 {
        max-width: none;
        font-size: clamp(1.75rem, 8vw, 2.5rem);
    }

    html.site-product-landing .pl-hero-ctas {
        flex-direction: column;
        align-items: stretch;
        width: min(100%, 20rem);
        margin-inline: auto;
    }

    html.site-product-landing .pl-hero-ctas .btn-primary,
    html.site-product-landing .pl-hero-ctas .btn-secondary {
        display: inline-flex;
        justify-content: center;
        align-items: center;
        min-height: 2.75rem;
        width: 100%;
    }

    html.site-product-landing .pl-feature-rows {
        overflow-x: clip;
    }

    html.site-product-landing .site-footer__inner {
        flex-wrap: wrap;
    }

    html.site-product-landing .site-footer__legal a {
        display: inline-flex;
        align-items: center;
        min-height: 2.75rem;
        padding: 0.35rem 0.5rem;
    }

    html.site-product-landing .site-footer__brand {
        width: 100%;
        max-width: 100%;
    }

    html.site-product-landing .pl-hscroll-pin {
        position: relative;
        min-height: 0;
    }

    html.site-product-landing .pl-hscroll-viewport {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 0.5rem;
        -ms-overflow-style: none;
    }

    /* Firefox & Chromium 121+: hide when supported (keeps Edge Tools quiet on older engines) */
    @supports (scrollbar-width: none) {
        html.site-product-landing .pl-hscroll-viewport {
            scrollbar-width: none;
        }
    }

    html.site-product-landing .pl-hscroll-viewport::-webkit-scrollbar {
        display: none;
    }

    html.site-product-landing .pl-hscroll-track {
        transform: none !important;
    }

    html.site-product-landing .pl-hscroll-stage {
        min-height: clamp(13rem, 52vw, 18rem);
    }

    html.site-product-landing .pl-hscroll-card {
        scroll-snap-align: start;
    }

    html.site-product-landing .pl-industry-section .pl-hscroll-viewport {
        max-width: none;
    }

    html.site-product-landing .pl-industry-section .pl-hscroll-card {
        flex: 0 0 calc(78vw - 0.75rem);
    }

    html.site-product-landing .pl-industry-section .pl-hscroll-stage {
        min-height: clamp(20rem, 56vw, 24rem);
    }

    html.site-product-landing .pl-industry-section .pl-hscroll-card__media {
        max-height: 15rem;
    }
}

/* Full brand logo — max height within nav/footer bar (object-fit: contain, no crop) */
html.site-product-landing {
    --pl-nav-pad-block: 1rem;
    --pl-footer-pad-block: 1.75rem;
    --pl-footer-mark-base: 2.35rem;
    --pl-footer-mark-max-width: min(18rem, 52vw);
    /* Footer mark layout height (mark-group bleeds into footer padding via negative margin) */
    --pl-footer-mark-height: calc(var(--pl-footer-mark-base) + 2 * var(--pl-footer-pad-block));
    /* Effective footer row height after mark bleed (mark-base only) */
    --pl-footer-bar-height: var(--pl-footer-mark-base);
}

html.site-product-landing nav.site-nav {
    overflow: visible;
}

@media (max-width: 768px) {
    /* Keep bar + hamburger pinned while the folded menu is open */
    html.site-product-landing nav.site-nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        z-index: 100;
        overflow: visible;
    }
}

html.site-product-landing nav.site-nav .nav-top {
    overflow: visible;
}

html.site-product-landing nav.site-nav .logo--image {
    position: relative;
    z-index: 2;
    isolation: isolate;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    margin-block: calc(-1 * var(--pl-nav-pad-block));
    max-height: none;
    overflow: visible;
    line-height: 0;
}

html.site-product-landing .logo__img {
    display: block;
    height: var(--site-nav-height, 4.5rem);
    max-height: var(--site-nav-height, 4.5rem);
    max-width: min(17rem, 54vw);
    width: auto;
    object-fit: contain;
    object-position: left center;
    transform: none;
    mix-blend-mode: normal;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 10px rgba(255, 255, 255, 0.16));
}

html.site-product-landing .site-footer {
    overflow: visible;
}

html.site-product-landing .site-footer__inner {
    overflow: visible;
}

@media (min-width: 768px) {
    html.site-product-landing .site-footer__inner {
        align-items: center;
        min-height: var(--pl-footer-bar-height);
    }
}

html.site-product-landing .site-footer__brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 0;
    overflow: visible;
}

html.site-product-landing .site-footer__mark-group {
    flex: 0 0 auto;
    align-self: center;
    display: flex;
    align-items: center;
    margin-block: calc(-1 * var(--pl-footer-pad-block));
    max-height: var(--pl-footer-mark-height);
    max-width: var(--pl-footer-mark-max-width, min(18rem, 52vw));
    overflow: visible;
}

html.site-product-landing .site-footer__meta {
    flex: 1 1 auto;
    align-self: center;
    min-width: 0;
}

html.site-product-landing .site-footer__mark {
    display: block;
    align-self: center;
    width: min(var(--pl-footer-mark-max-width, min(18rem, 52vw)), 100%);
    height: auto;
    max-height: var(--pl-footer-mark-height);
    max-width: 100%;
    object-fit: contain;
    object-position: left center;
    transform: none;
    mix-blend-mode: normal;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 12px rgba(255, 255, 255, 0.14));
}

html.site-product-landing .site-footer__inner > .stalitsa-site-credit {
    align-self: center;
    justify-self: end;
}

@media (max-width: 768px) {
    html.site-product-landing nav.site-nav .logo--image {
        margin-block: calc(-1 * var(--nav-padding-y, 0.5rem));
    }

    html.site-product-landing .logo__img {
        height: var(--site-nav-height, 3.75rem);
        max-height: var(--site-nav-height, 3.75rem);
        max-width: min(15rem, 52vw);
    }

    html.site-product-landing .site-footer__mark-group {
        margin-block: 0;
        align-self: center;
        max-height: var(--pl-footer-mark-height);
    }

    html.site-product-landing .site-footer__mark {
        max-height: var(--pl-footer-mark-height);
    }
}
/* Text clarity: same colours, crisper and slightly heavier body text.
   Segoe UI Variable (Windows 11) has true in-between weights; other systems fall back to their UI font. */
html.site-product-landing {
    --font-body: 'Segoe UI Variable Text', 'Segoe UI', system-ui, sans-serif;
}

html.site-product-landing body {
    font-weight: 450;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Home section buttons: three equal, solid buttons on one row (site colours: primary blue, white, dark navy). */
html.site-product-landing #home.landing:has(> #home-bg.pl-section-bg--slides) .pl-hero-ctas {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.6rem;
    width: 100%;
    max-width: 30rem;
}

html.site-product-landing #home.landing:has(> #home-bg.pl-section-bg--slides) .pl-hero-ctas > :is(.btn-primary, .btn-secondary, .btn-gallery) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    min-height: 2.9rem;
    margin: 0;
    padding: 0 0.75rem;
    border: 1px solid transparent;
    border-radius: 0.5rem;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1;
    white-space: nowrap;
    text-decoration: none;
    text-shadow: none;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.25);
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

html.site-product-landing #home.landing:has(> #home-bg.pl-section-bg--slides) .pl-hero-ctas > .btn-primary {
    background: var(--primary);
    color: #ffffff;
}

html.site-product-landing #home.landing:has(> #home-bg.pl-section-bg--slides) .pl-hero-ctas > .btn-primary:hover {
    background: var(--primary-dark);
}

html.site-product-landing #home.landing:has(> #home-bg.pl-section-bg--slides) .pl-hero-ctas > .btn-secondary {
    background: #ffffff;
    color: var(--dark, #0f172a);
}

html.site-product-landing #home.landing:has(> #home-bg.pl-section-bg--slides) .pl-hero-ctas > .btn-secondary:hover {
    background: #f1f5f9;
    color: var(--dark, #0f172a);
}

html.site-product-landing #home.landing:has(> #home-bg.pl-section-bg--slides) .pl-hero-ctas > .btn-gallery {
    background: var(--dark, #0f172a);
    color: #ffffff;
}

html.site-product-landing #home.landing:has(> #home-bg.pl-section-bg--slides) .pl-hero-ctas > .btn-gallery:hover {
    background: #1e293b;
    color: #ffffff;
}

html.site-product-landing #home.landing:has(> #home-bg.pl-section-bg--slides) .pl-hero-ctas > :is(.btn-primary, .btn-secondary, .btn-gallery):hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.3);
}

html.site-product-landing #home.landing:has(> #home-bg.pl-section-bg--slides) .pl-hero-ctas > :is(.btn-primary, .btn-secondary, .btn-gallery):focus-visible {
    outline: 3px solid #ffffff;
    outline-offset: 2px;
}

@media (max-width: 899px) {
    html.site-product-landing #home.landing:has(> #home-bg.pl-section-bg--slides) .pl-hero-ctas {
        margin-inline: auto;
    }
}

@media (max-width: 600px) {
    html.site-product-landing #home.landing:has(> #home-bg.pl-section-bg--slides) .pl-hero-ctas {
        grid-template-columns: 1fr;
        max-width: 20rem;
    }
}

/* Compact footer: less padding, smaller logo, tighter text. */
html.site-product-landing .site-footer {
    --pl-footer-pad-block: 0.85rem;
    --pl-footer-mark-base: 2.3rem;
    --pl-footer-mark-height: calc(var(--pl-footer-mark-base) + 2 * var(--pl-footer-pad-block));
    --pl-footer-bar-height: var(--pl-footer-mark-base);
    padding-top: 0.85rem;
    padding-bottom: max(0.85rem, env(safe-area-inset-bottom, 0px));
}

html.site-product-landing .site-footer .footer-copy {
    margin: 0;
}

html.site-product-landing .site-footer__legal {
    margin-top: 0.15rem;
}

@media (max-width: 767px) {
    html.site-product-landing .site-footer__inner {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 0.5rem 1.25rem;
    }

    html.site-product-landing .site-footer__brand {
        flex-direction: column;
        gap: 0.35rem;
    }

    html.site-product-landing .site-footer__mark {
        max-height: 3rem;
        width: auto;
    }

    html.site-product-landing .site-footer__legal a {
        min-height: 2.25rem;
        padding-block: 0.2rem;
    }
}

html.site-product-landing .site-footer .footer-copy,
html.site-product-landing .site-footer__legal a {
    white-space: nowrap;
}

@media (min-width: 768px) and (max-width: 1023px) {
    html.site-product-landing .site-footer {
        --pl-footer-mark-max-width: min(12rem, 24vw);
    }
}
