/* Background, HTML copy and artwork are independent layers. */
.banner-carousel { --banner-viewport-height: 100vh; position: relative; isolation: isolate; }
@supports (height: 100svh) {
    .banner-carousel { --banner-viewport-height: 100svh; }
}
.banner-slides { display: grid; }
.banner-slide {
    --banner-bg: #e7f1ec;
    --banner-ink: #142b35;
    --banner-text: #38525a;
    --banner-accent: #007f82;
    --banner-button-text: #fff;
    --banner-rule: #142b3524;
    position: relative;
    grid-area: 1 / 1;
    min-width: 0;
    color: var(--banner-text);
    visibility: hidden;
    pointer-events: none;
}
.banner-slide.is-active { visibility: visible; pointer-events: auto; }
.banner-backdrop { position: absolute; z-index: -1; inset: 0; overflow: hidden; background: var(--banner-bg); }
.banner-backdrop::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 80% 35%, #b9dcd580, transparent 60%); }
.banner-backdrop::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(90deg, transparent calc(100% - 1px), var(--banner-rule) 100%); background-size: 25% 100%; opacity: .18; }
.banner-background-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.banner-landing .banner-backdrop::before { z-index: 1; background: linear-gradient(90deg, #e7f1ecf5 0%, #e7f1eceb 32%, #e7f1ec59 70%, #e7f1ec1a 100%); }
.banner-landing .banner-backdrop::after { display: none; }
.banner-content { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; align-items: center; gap: 36px; width: min(1440px, 100%); min-height: 620px; padding: 48px 64px 112px; }
.banner-copy { position: relative; z-index: 2; min-width: 0; padding-block: 12px; }
.banner-copy .section-label { margin-bottom: 24px; color: var(--banner-accent); font-size: .8125rem; }
.banner-copy h2 { margin-bottom: 26px; color: var(--banner-ink); font-size: clamp(2.75rem, 4.6vw, 4.6rem); font-weight: 600; line-height: 1.035; letter-spacing: -.06em; }
.banner-copy h2 em { color: var(--banner-accent); font-style: normal; }
.banner-copy > p:not(.section-label) { max-width: 485px; margin: 0 0 30px; font-size: 1.0625rem; line-height: 1.75; }
.banner-copy .button { min-height: 50px; padding-inline: 24px; background: var(--banner-accent); color: var(--banner-button-text); }
.banner-footnote { display: block; max-width: 440px; margin-top: 18px; font-size: .8125rem; }
.banner-art { min-width: 0; position: relative; container-type: inline-size; }
.art-scene { position: relative; width: 100%; aspect-ratio: 1.18; font-size: clamp(8px, 2cqw, 13px); }
.art-disclaimer { margin: 4px 0 0; color: var(--banner-text); font-size: .6875rem; text-align: center; opacity: .8; }
.scene-landing--photographic { aspect-ratio: 1.12; }
.landing-device-art { --tilt: -1deg; z-index: 3; top: 20%; left: 11%; width: 91%; }
.landing-device-art > img { display: block; width: 100%; height: auto; }
.campaign-ad { z-index: 2; width: 25%; overflow: hidden; padding: 0; border: 1px solid #fff9; border-radius: .75em; background: #fff; color: #253137; box-shadow: 0 1.4em 3em #112c4433; }
.campaign-ad-header { display: flex; align-items: center; justify-content: space-between; gap: .5em; min-height: 3.4em; padding: .65em .8em; background: #fff; }
.campaign-ad-header > span { color: #56646b; font-size: .65em; line-height: 1.2; }
.campaign-ad-header .platform-meta { display: block; width: 5.5em; height: auto; }
.campaign-ad-header .platform-instagram { display: grid; place-items: center; width: 2em; height: 2em; padding: .35em; border-radius: .5em; background: #151515; font-size: 1em; }
.platform-instagram img { display: block; width: 100%; height: auto; }
.platform-tiktok { display: block; width: 2em; height: 2em; border-radius: .4em; }
.campaign-creative { display: block; width: 100%; height: auto; }
.campaign-ad-caption { display: block; padding: .9em 1em; font-size: .6em; line-height: 1.3; }
.campaign-ad--meta { --tilt: -8deg; top: 0; left: -2%; width: 28%; }
.campaign-ad--instagram { --tilt: 7deg; top: 0; right: -1%; width: 24%; }
.campaign-ad--tiktok { --tilt: -6deg; z-index: 4; bottom: 1%; left: -2%; width: 21%; }
.banner-slide.is-active .banner-copy { animation: banner-copy-in 380ms ease both; }
.banner-slide.is-active .banner-art { animation: banner-art-in 460ms ease both; }
@keyframes banner-copy-in { from { opacity: .3; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes banner-art-in { from { opacity: .3; transform: translateX(16px); } to { opacity: 1; transform: translateX(0); } }

/* Shared mockup styles; photographic artwork is served as local WebP assets. */
.art-float { --tilt: 0deg; position: absolute; transform: rotate(var(--tilt)); animation: art-float 7s ease-in-out infinite; }
.art-float:nth-of-type(2n) { animation-delay: -2.4s; }
.art-float:nth-of-type(3n) { animation-delay: -4.2s; }
.art-window { width: 100%; overflow: hidden; border: 1px solid #fff9; border-radius: 1em; background: #fff; color: #16333d; box-shadow: 0 2.2em 4.2em #183c4424, 0 .3em .9em #183c4410; }
.window-chrome { display: flex; align-items: center; gap: .35em; height: 2.6em; padding-inline: 1em; border-bottom: 1px solid #17364112; background: #f6f8f8; }
.window-chrome > span { width: .45em; height: .45em; border-radius: 50%; background: #b7c6ca; }
.window-chrome small { overflow: hidden; margin-left: .9em; color: #62797f; font-size: .7em; white-space: nowrap; text-overflow: ellipsis; }
.mock-nav { display: flex; justify-content: space-between; align-items: center; gap: 1em; margin-bottom: 2em; font-size: .65em; }
.mock-nav b { font-size: 1.1em; letter-spacing: .06em; }
.mock-nav > span { white-space: nowrap; }
.mock-eyebrow { display: block; margin-bottom: 1em; font-size: .65em; letter-spacing: .07em; text-transform: uppercase; }
.mock-cta { display: inline-block; width: fit-content; padding: .8em 1.2em; border-radius: 4px; background: #007f82; color: #fff; font-size: .7em; font-weight: 600; line-height: 1.2; }
.art-connectors { position: absolute; inset: 0; width: 100%; height: 100%; stroke: var(--banner-accent); stroke-width: 1.3; opacity: .45; }
.art-orbit { position: absolute; border: 1px dashed var(--banner-rule); border-radius: 50%; animation: art-orbit 45s linear infinite; }

.banner-corporate { --banner-bg: #e9eef4; --banner-ink: #182f4d; --banner-text: #435771; --banner-accent: #254e78; --banner-rule: #254e7824; }
.banner-corporate .banner-backdrop::before { z-index: 1; background: linear-gradient(90deg, #e9eef4f5 0%, #e9eef4de 32%, #e9eef433 70%, #e9eef400 100%); }
.banner-corporate .banner-backdrop::after { display: none; }
.corporate-disc {
    position: absolute;
    inset: 1% 1% 0 12%;
    overflow: hidden;
    border: 1px solid #ffffff8c;
    border-radius: 48% 52% 55% 45% / 46% 44% 56% 54%;
    background: linear-gradient(145deg, #ffffff4d, #c9e5e91a 55%, #8eb9c226);
    box-shadow: inset 1px 2px 14px #ffffff70, inset -1px -2px 18px #467d8c14, 0 12px 35px #173b4d0a;
}
.corporate-disc::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(125deg, #ffffff38, transparent 35%, transparent 65%, #ffffff1a);
    pointer-events: none;
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .corporate-disc { -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
}
.corporate-device-art { --tilt: -2deg; z-index: 2; top: 19%; left: -2%; width: 100%; }
.corporate-profile-art { --tilt: 6deg; z-index: 3; top: 0; right: -1%; width: 29%; }
.corporate-device-art img, .corporate-profile-art img { display: block; width: 100%; height: auto; }

.banner-commerce { --banner-bg: #edf6f3; --banner-ink: #142b35; --banner-text: #38525a; --banner-accent: #007f82; --banner-button-text: #fff; --banner-rule: #142b3524; }
.banner-commerce .banner-backdrop::before { z-index: 1; background: none; }
.banner-commerce .banner-backdrop::after { display: none; }
/* The portrait, cards and connector endpoints move together as one composition. */
.scene-commerce { aspect-ratio: 1; }
.commerce-connected-art { inset: 0; --tilt: 0deg; }
.commerce-portrait { position: absolute; inset: 0 3% 0; }
.commerce-portrait img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: bottom; }
.commerce-connectors { position: absolute; z-index: 2; inset: 0; width: 100%; height: 100%; overflow: visible; stroke: #168f87; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.commerce-connectors path { vector-effect: non-scaling-stroke; }
.commerce-phone-halo { fill: #e9fff3b3; stroke: #168f8766; }
.commerce-phone-node { fill: #007f82; stroke: #fff; stroke-width: 2; }
.integration-label { position: absolute; z-index: 3; display: flex; align-items: center; gap: .7em; width: 39%; min-height: 4.8em; padding: .85em .9em; border: 1px solid #c2dbd5; border-radius: .8em; background: #fffffff5; color: #173b42; box-shadow: 0 .7em 1.8em #183c4412; font-size: clamp(.75rem, 2.4cqw, .875rem); line-height: 1.3; }
.integration-label > span { min-width: 0; }
.integration-label b { display: block; font-size: 1em; font-weight: 600; letter-spacing: -.02em; }
.integration-label small { display: block; margin-top: .35em; color: #526c70; font-size: .85em; line-height: 1.4; }
.integration-icon { flex: 0 0 auto; width: 2em; height: 2em; padding: .35em; box-sizing: content-box; border-radius: .55em; background: #e6f4ee; color: #007f82; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.integration-crm { top: 15%; left: 0; }
.integration-sales { top: 15%; right: 0; }
.integration-stock { bottom: 13%; left: 0; }
.integration-warehouse { bottom: 13%; right: 0; }
[data-theme="dark"] .integration-label { border-color: #40646b; background: #153744f5; color: #f0faf6; box-shadow: 0 .7em 1.8em #0002; }
[data-theme="dark"] .integration-label small { color: #bed8d6; }
[data-theme="dark"] .integration-icon { background: #214e54; color: #83e0c5; }
[data-theme="dark"] .commerce-connectors { stroke: #74e0c6; }

.banner-custom { --banner-bg: #e9eeeb; --banner-ink: #183c38; --banner-text: #425e58; --banner-accent: #256b5e; --banner-rule: #256b5e24; }
.banner-custom .banner-backdrop::before { z-index: 1; background: none; }
.banner-custom .banner-backdrop::after { display: none; }
.custom-device-art { --tilt: -1deg; z-index: 2; top: 12%; left: -3%; width: 106%; }
.custom-device-art img { display: block; width: 100%; height: auto; }

/* The theme changes the background and copy; the illustrated interfaces retain their own palettes. */
[data-theme="dark"] .banner-landing { --banner-bg: #132b2c; --banner-ink: #eff6f2; --banner-text: #bed4d0; --banner-accent: #74e0c6; --banner-button-text: #102938; --banner-rule: #83c6c324; }
[data-theme="dark"] .banner-landing .banner-backdrop::before { background: linear-gradient(90deg, #132b2cf5 0%, #132b2ceb 32%, #132b2c99 70%, #132b2c70 100%); }
[data-theme="dark"] .banner-corporate { --banner-bg: #142539; --banner-ink: #eff4fa; --banner-text: #bdcede; --banner-accent: #a5c9ee; --banner-button-text: #142539; --banner-rule: #a5c9ee24; }
[data-theme="dark"] .banner-corporate .banner-backdrop::before { background: linear-gradient(90deg, #142539f5 0%, #142539eb 32%, #14253999 70%, #14253970 100%); }
[data-theme="dark"] .banner-commerce { --banner-bg: #102938; --banner-ink: #f2f7f6; --banner-text: #c2d3d9; --banner-accent: #74e0c6; --banner-button-text: #102938; --banner-rule: #83c6c33d; }
[data-theme="dark"] .banner-commerce .banner-backdrop::before { background: linear-gradient(90deg, #102938f5 0%, #102938eb 32%, #10293899 70%, #10293870 100%); }
[data-theme="dark"] .corporate-disc {
    border-color: #c5e7ef40;
    background: linear-gradient(145deg, #ffffff24, #6fb8bf0d 55%, #243a5226);
    box-shadow: inset 1px 2px 14px #ffffff26, inset -1px -2px 18px #9acbd61a, 0 12px 35px #00000010;
}
[data-theme="dark"] .banner-custom { --banner-bg: #152d29; --banner-ink: #eff6f1; --banner-text: #bfd5c9; --banner-accent: #addac1; --banner-button-text: #152d29; --banner-rule: #addac124; }
[data-theme="dark"] .banner-custom .banner-backdrop::before { background: linear-gradient(90deg, #152d29f5 0%, #152d29eb 32%, #152d2999 70%, #152d2970 100%); }

.banner-controls-wrap { position: absolute; z-index: 5; inset: 0; pointer-events: none; }
.banner-controls-wrap[hidden] { display: none; }
.banner-controls { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 8px; width: max-content; padding: 4px 8px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel-bg); box-shadow: 0 4px 16px #10293810; pointer-events: auto; }
.banner-choices { display: flex; align-items: center; gap: 0; }
.banner-choices button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--muted); cursor: pointer; }
.banner-dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; transition: transform 180ms ease, background 180ms ease; }
.banner-choices button[aria-pressed="true"] { color: var(--accent); }
.banner-choices button[aria-pressed="true"] .banner-dot { transform: scale(1.5); }
.banner-choices button:hover { background: var(--hover); color: var(--accent); }
.banner-utilities { display: flex; align-items: center; }
.banner-motion, .banner-arrow { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: var(--panel-bg); color: var(--heading); cursor: pointer; pointer-events: auto; }
.banner-motion:hover, .banner-arrow:hover { background: var(--hover); color: var(--accent); }
.banner-motion[hidden] { display: none; }
.banner-arrow { position: absolute; top: 50%; transform: translateY(-50%); box-shadow: 0 4px 16px #10293810; }
.banner-arrow--previous { left: 8px; }
.banner-arrow--next { right: 8px; }
.banner-arrow svg { width: 24px; height: 24px; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.banner-controls-wrap button:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.pause-glyph { width: 10px; height: 12px; border-inline: 3px solid currentColor; }
.banner-motion[aria-pressed="true"] .pause-glyph { width: 0; height: 0; margin-left: 3px; border: 6px solid transparent; border-left: 9px solid currentColor; border-right: 0; }

@keyframes art-float { 0%, 100% { transform: translateY(0) rotate(var(--tilt)); } 50% { transform: translateY(-8px) rotate(calc(var(--tilt) + 1deg)); } }
@keyframes art-orbit { to { transform: rotate(360deg); } }
@keyframes packet-travel { 0% { opacity: 0; transform: translate(0, 0); } 20% { opacity: 1; } 80% { opacity: 1; } 100% { opacity: 0; transform: translate(100px, 70px); } }
.banner-carousel .art-float, .banner-carousel .art-orbit, .banner-carousel .art-packet { animation-play-state: paused; }
.banner-carousel.is-in-view:not(.is-motion-paused):not(.is-page-hidden) .is-active :is(.art-float, .art-orbit, .art-packet) { animation-play-state: running; }

@media (max-width: 1150px) {
    .banner-content { padding-inline: 60px; gap: 24px; min-height: 590px; }
    .banner-copy h2 { font-size: clamp(2.65rem, 4.8vw, 3.6rem); }
    .banner-copy > p:not(.section-label) { font-size: 1rem; }
}
@media (max-width: 820px) {
    .banner-arrow { top: auto; bottom: 33px; transform: none; }
    .banner-arrow--previous { left: 12px; }
    .banner-arrow--next { right: 12px; }
    .banner-content { grid-template-columns: 1fr; gap: 24px; padding: 40px 32px 112px; }
    .banner-copy { max-width: 620px; }
    .banner-copy h2 { font-size: clamp(2.5rem, 7vw, 3.6rem); }
    .banner-copy h2 br { display: none; }
    .banner-copy h2 em::before { content: " "; }
    .banner-copy > p:not(.section-label) { max-width: 570px; margin-bottom: 24px; }
    .banner-copy .section-label { margin-bottom: 18px; }
    .banner-art { width: min(560px, 100%); justify-self: center; }
}
@media (max-width: 600px) {
    .banner-controls { gap: 4px; padding: 4px; }
    .banner-choices button { width: 32px; height: 36px; }
    .banner-motion { width: 36px; height: 36px; }
    .banner-arrow { width: 40px; height: 40px; bottom: 31px; }
    [data-theme="dark"] .banner-custom .banner-backdrop::before { background: linear-gradient(180deg, #152d29f5 0%, #152d29eb 42%, #152d2999 100%); }
    [data-theme="dark"] .banner-commerce .banner-backdrop::before { background: linear-gradient(180deg, #102938f5 0%, #102938eb 42%, #10293899 100%); }
    .corporate-device-art { top: 23%; left: 0; width: 100%; }
    .corporate-profile-art { top: 2%; right: 0; width: 28%; }
    @supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
        .corporate-disc { -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
    }
    .banner-corporate .banner-backdrop::before { background: linear-gradient(180deg, #e9eef4f5 0%, #e9eef4de 42%, #e9eef433 100%); }
    [data-theme="dark"] .banner-corporate .banner-backdrop::before { background: linear-gradient(180deg, #142539f5 0%, #142539eb 42%, #14253999 100%); }
    .scene-landing--photographic { aspect-ratio: 1.08; }
    .campaign-ad--meta { left: 0; width: 27%; }
    .campaign-ad--instagram { right: 0; width: 25%; }
    .campaign-ad--tiktok { left: 0; bottom: 2%; width: 22%; }
    .landing-device-art { top: 24%; left: 10%; width: 90%; }
    .banner-landing .banner-backdrop::before { background: linear-gradient(180deg, #e7f1ecf5 0%, #e7f1eceb 42%, #e7f1ec59 100%); }
    [data-theme="dark"] .banner-landing .banner-backdrop::before { background: linear-gradient(180deg, #132b2cf5 0%, #132b2ceb 42%, #132b2c99 100%); }
    .banner-content { padding: 28px 24px 104px; gap: 20px; }
    .banner-copy h2 { font-size: clamp(2.1rem, 8.5vw, 2.8rem); margin-bottom: 20px; }
    .banner-copy .section-label { font-size: .75rem; }
    .banner-copy > p:not(.section-label) { font-size: .9375rem; line-height: 1.65; }
    .banner-footnote { font-size: .75rem; margin-top: 14px; }
    .art-scene { aspect-ratio: 1.2; }
    .art-disclaimer { font-size: .625rem; }
    .scene-commerce { aspect-ratio: 1; }
    .integration-label { width: 40%; gap: .4em; min-height: 4.5em; padding: .65em; }
    .integration-label small { display: none; }
    .integration-icon { width: 1.5em; height: 1.5em; padding: .3em; }
    .integration-stock, .integration-warehouse { bottom: 13%; }
    .art-orbit, .art-packet { display: none; }
    .art-float { animation-name: art-float-mobile; animation-duration: 8s; }
}
@keyframes art-float-mobile { 0%, 100% { transform: translateY(0) rotate(var(--tilt)); } 50% { transform: translateY(-4px) rotate(var(--tilt)); } }
@media (max-width: 360px) {
    .banner-content { padding-inline: 20px; }
    .banner-copy h2 { font-size: 2rem; }
}
/* Portrait tablets use a bounded, stacked layout rather than filling a tall screen. */
@media (min-width: 601px) and (max-width: 1150px) and (orientation: portrait) {
    .banner-content { grid-template-columns: 1fr; min-height: clamp(680px, calc(var(--banner-viewport-height) * .75), 920px); padding: 36px 40px 112px; gap: 20px; }
    .banner-copy { max-width: 680px; }
    .banner-copy h2 { font-size: clamp(2.5rem, 5vw, 3.2rem); }
    .banner-copy h2 br { display: none; }
    .banner-copy h2 em::before { content: " "; }
    .banner-copy > p:not(.section-label) { margin-bottom: 24px; }
    .banner-art { width: min(340px, 100%); justify-self: center; }
    .banner-arrow { top: auto; bottom: 33px; transform: none; }
}
/* Desktop and landscape tablets fill the first screen below the expanded header.
   A minimum height allows short windows and enlarged text to grow without clipping. */
@media (min-width: 1151px), (min-width: 768px) and (min-height: 600px) and (orientation: landscape) {
    .banner-content { grid-template-columns: 1fr 1.05fr; min-height: calc(var(--banner-viewport-height) - var(--home-header-space)); padding-block: 32px 96px; }
    .banner-art { width: min(100%, max(200px, calc((var(--banner-viewport-height) - var(--home-header-space) - 160px) * .95))); justify-self: center; }
    .banner-arrow { top: 50%; bottom: auto; transform: translateY(-50%); }
}
@media (min-width: 1151px) and (max-height: 850px), (min-width: 768px) and (min-height: 600px) and (max-height: 850px) and (orientation: landscape) {
    .banner-copy h2 { font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: 20px; }
    .banner-copy .section-label { margin-bottom: 16px; }
    .banner-copy > p:not(.section-label) { font-size: 1rem; line-height: 1.6; margin-bottom: 22px; }
    .banner-footnote { margin-top: 14px; }
}
@media (min-width: 1151px) and (max-height: 650px), (min-width: 768px) and (min-height: 600px) and (max-height: 650px) and (orientation: landscape) {
    .banner-content { padding-block: 20px 88px; }
    .banner-copy h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); margin-bottom: 14px; }
    .banner-copy .section-label { margin-bottom: 12px; }
    .banner-copy > p:not(.section-label) { margin-bottom: 16px; line-height: 1.5; }
}
/* Phones keep a compact content height in either orientation. */
@media (max-width: 600px), (max-width: 950px) and (max-height: 599px) and (orientation: landscape) {
    .banner-content { min-height: 0; }
    .banner-art { width: min(320px, 100%); justify-self: center; }
}
@media (prefers-reduced-motion: reduce) {
    .banner-carousel *, .banner-carousel *::before, .banner-carousel *::after { animation: none !important; transition: none !important; }
}
