/* Javier Álvarez · V10. A single live installation fills the viewport.
   Interface regions use the same continuous background as the WebGL scene. */
body.public-site .immersive-section {
    --immersive-edge: clamp(28px, 2.85vw, 44px);
    position: relative;
    width: 100%;
    height: 100dvh;
    min-height: 680px;
    overflow: hidden;
    isolation: isolate;
    background: #d9dddc;
}

body.public-site .immersive-section :is(.unified-layout, .unified-layout .installation-scene) {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
    margin: 0;
    padding: 0;
    aspect-ratio: auto;
}

body.public-site .immersive-section .unified-layout { z-index: 0; }
body.public-site .immersive-section::before {
    content: "";
    position: absolute;
    z-index: 2;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, #e9ecebf5 0, #e9ecebe8 245px, #e9eceb00 440px),
        linear-gradient(180deg, #e9ecebf2 0, #e9ecebd9 100px, #e9eceb00 230px),
        linear-gradient(0deg, #e9ecebf7 0, #e9ecebe6 210px, #e9eceb00 365px);
}
body.public-site .immersive-section .scene-fallback { object-fit: cover; }
body.public-site .immersive-section [data-scene-safe-area] {
    position: absolute;
    top: 150px;
    right: 36px;
    bottom: 230px;
    left: 300px;
    pointer-events: none;
}

body.public-site .immersive-section .scene-caption {
    top: auto;
    right: 36px;
    bottom: 225px;
    left: 300px;
}

body.public-site .immersive-section .site-header {
    position: absolute;
    z-index: 5;
    top: 0;
    right: 0;
    left: 0;
}

body.public-site .immersive-section .site-header-inner {
    max-width: none;
    min-height: 108px;
    padding: 24px var(--immersive-edge);
}

body.public-site .immersive-section .site-header-inner::after { display: none; }
body.public-site .immersive-section .brand-logo { width: 250px; }
body.public-site .immersive-section .header-contact { gap: 12px; font-size: 20px; }

body.public-site .immersive-section .unified-heading {
    position: absolute;
    z-index: 4;
    top: 135px;
    right: var(--immersive-edge);
    left: var(--immersive-edge);
    display: block;
    width: auto;
    max-width: none;
    min-height: 0;
    margin: 0;
    padding: 0;
    pointer-events: none;
}

body.public-site .immersive-section .unified-heading #hero-title {
    max-width: 280px;
    font-size: 43px;
    line-height: 1.05;
    letter-spacing: -.047em;
}

body.public-site .immersive-section .unified-area {
    position: absolute;
    top: -44px;
    right: 0;
    width: max-content;
    max-width: 260px;
    padding-top: 10px;
    border-top: 1px solid #aeb9b4;
    font-size: 15px;
    text-align: right;
}

body.public-site .immersive-section .service-nav {
    position: absolute;
    z-index: 4;
    top: 255px;
    bottom: 250px;
    left: var(--immersive-edge);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0;
    width: 220px;
    max-width: none;
    min-height: 0;
    margin: 0;
    padding: 0;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #adb7b1 transparent;
}

body.public-site .immersive-section .service-nav::before,
body.public-site .immersive-section .service-nav::after { display: none; }
body.public-site .immersive-section .service-link,
body.public-site .immersive-section .service-link:nth-last-child(-n + 4) {
    flex: 0 0 auto;
    justify-content: space-between;
    min-height: 55px;
    padding: 12px 0;
    border-bottom: 1px solid #bbc3bf;
    background: transparent;
    font-size: 17px;
    line-height: 1.35;
    letter-spacing: -.035em;
}
body.public-site .immersive-section .service-link:last-child { border-bottom: 0; }
body.public-site .immersive-section .service-link .icon-arrow { width: 17px; height: 17px; }

body.public-site .immersive-section .service-detail {
    position: absolute;
    z-index: 5;
    right: var(--immersive-edge);
    bottom: 143px;
    left: clamp(310px, 25.8vw, 397px);
    display: grid;
    grid-template-columns: minmax(300px, 1fr) auto;
    align-items: end;
    gap: 15px 48px;
    width: auto;
    max-width: none;
    min-height: 0;
    margin: 0;
    padding: 0 0 0 38px;
    border-left: 1px solid #9eaba4;
    background: transparent;
}

body.public-site .immersive-section .service-copy { grid-column: 1 / -1; }
body.public-site .immersive-section #service-title { font-size: 40px; line-height: 1.12; letter-spacing: -.05em; }
body.public-site .immersive-section #service-description { max-width: 60ch; margin-top: 6px; font-size: 17px; line-height: 1.45; }
body.public-site .immersive-section .service-detail .experience-actions {
    grid-column: 1;
    grid-row: 2;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(155px, 1fr));
    align-self: stretch;
    gap: 0 24px;
    max-height: 116px;
    padding-top: 8px;
    border-top: 1px solid #acb7b0;
    overflow-y: auto;
    scrollbar-width: thin;
}

body.public-site .immersive-section .service-detail .scene-action {
    position: relative;
    grid-template-columns: minmax(0, 1fr) 44px;
    gap: 15px;
    min-height: 46px;
    padding: 7px 0;
    border: 0;
}

body.public-site .immersive-section .service-detail .scene-action .action-label { grid-column: 1; font-size: 14px; }
body.public-site .immersive-section .service-detail .scene-action .action-value {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

body.public-site .immersive-section .service-detail .scene-action .action-switch {
    grid-column: 2;
    grid-row: 1;
    width: 44px;
    height: 26px;
}
body.public-site .immersive-section .service-detail .action-switch::after { width: 20px; height: 20px; }
body.public-site .immersive-section .service-detail .scene-action[aria-pressed="true"] .action-switch::after { transform: translateX(18px); }
body.public-site .immersive-section .service-detail .scene-range { padding-top: 5px; border-bottom: 0; }

body.public-site .immersive-section .service-detail-footer {
    grid-column: 2;
    grid-row: 2;
    display: flex;
    align-items: center;
    align-self: end;
    gap: 25px;
    min-height: 46px;
}

body.public-site .immersive-section [data-scene-demonstrate] {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    min-height: 44px;
    padding: 8px 0;
    border: 0;
    background: transparent;
    color: var(--ja-ink);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.4;
    white-space: nowrap;
}
body.public-site .immersive-section [data-scene-demonstrate] svg { width: 29px; height: 29px; color: var(--ja-accent); }
body.public-site .immersive-section [data-scene-demonstrate]:hover { color: #ad4a28; }
body.public-site .immersive-section [data-scene-demonstrate]::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 3px;
    left: 39px;
    height: 2px;
    background: var(--ja-accent);
    opacity: 0;
    transform: scaleX(var(--demo-progress, 0));
    transform-origin: left;
    transition: transform 200ms linear, opacity 160ms ease;
}
body.public-site .immersive-section [data-scene-demonstrate].is-presenting::after { opacity: 1; }
body.public-site .immersive-section .service-detail [data-scene-contact] {
    grid-column: auto;
    grid-row: auto;
    gap: 13px;
    min-height: 44px;
    margin: 0;
    padding-left: 25px;
    border-left: 1px solid #9eaba4;
    font-size: 15px;
}

body.public-site .immersive-section .unified-tools {
    position: absolute;
    z-index: 5;
    right: var(--immersive-edge);
    bottom: 20px;
    left: var(--immersive-edge);
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 12px;
    width: auto;
    max-width: none;
    min-height: 70px;
    margin: 0;
    padding: 17px 0 0;
    border-top: 1px solid #9eaba4;
    background: transparent;
}

body.public-site .immersive-section .unified-tools :is(.scene-reset, .scene-expand, [data-scene-play]) { gap: 9px; padding: 7px 0; font-size: 14px; }
body.public-site .immersive-section .unified-tools .scene-reset { margin-right: 12px; }
body.public-site .immersive-section .unified-tools .icon-control { width: 45px; height: 45px; border-color: #a8b4ac; }
body.public-site .immersive-section .unified-tools [data-scene-play] { min-width: 110px; margin-inline: 6px 14px; padding-inline: 15px; }
body.public-site .immersive-section .unified-tools .scene-expand { gap: 11px; padding-left: 25px; border-left: 1px solid #9eaba4; }
body.public-site .immersive-section .unified-tools .scene-expand svg { width: 22px; height: 22px; }

body.public-site .immersive-legal {
    position: absolute;
    z-index: 6;
    right: var(--immersive-edge);
    bottom: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    color: #526057;
    font-size: 12px;
    line-height: 1.5;
}
body.public-site .immersive-legal a { min-height: 44px; padding-block: 13px; }
body.public-site .immersive-legal a:hover { color: var(--ja-accent); }

/* The existing page stays available without JavaScript. The enhancement only
   turns its contact section into a drawer after its controller is ready. */
body.public-site.contact-drawer-ready { overflow: hidden; }
body.public-site.contact-drawer-ready > .site-footer { display: none; }
body.public-site .contact-backdrop { display: none; }
body.public-site.contact-drawer-ready .contact-backdrop {
    position: fixed;
    z-index: 60;
    inset: 0;
    display: block;
    background: #20272338;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 200ms ease, visibility 200ms ease;
}
body.public-site.contact-drawer-ready .immersive-contact {
    position: fixed;
    z-index: 61;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(490px, 100vw);
    max-height: 100dvh;
    overflow: auto;
    overscroll-behavior: contain;
    visibility: hidden;
    transform: translateX(100%);
    transition: transform 240ms ease, visibility 240ms ease;
}
body.public-site.contact-is-open .contact-backdrop { opacity: 1; visibility: visible; pointer-events: auto; }
body.public-site.contact-is-open .immersive-contact { visibility: visible; transform: translateX(0); }
body.public-site [data-contact-close] { display: none; }
body.public-site.contact-drawer-ready [data-contact-close] {
    position: absolute;
    top: 18px;
    right: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-width: 44px;
    min-height: 44px;
    padding: 8px;
    border: 1px solid #839087;
    background: transparent;
    color: #f0f2ed;
    font-size: 13px;
}
body.public-site [data-contact-close] svg { width: 18px; height: 18px; }
body.public-site.contact-drawer-ready .immersive-contact .contact-layout { display: block; padding: 38px 36px; }
body.public-site.contact-drawer-ready .immersive-contact .contact-copy h2 { font-size: 43px; }
body.public-site.contact-drawer-ready .immersive-contact .contact-methods { display: grid; grid-template-columns: 1fr 1.35fr; gap: 22px; margin-top: 32px; }
body.public-site.contact-drawer-ready .immersive-contact .contact-methods a > span { font-size: 14px; }
body.public-site.contact-drawer-ready .immersive-contact .contact-methods strong { margin-top: 4px; font-size: 15px; }
body.public-site.contact-drawer-ready .immersive-contact .contact-area { margin-top: 24px; padding-top: 19px; font-size: 14px; }
body.public-site.contact-drawer-ready .immersive-contact .form-card { margin-top: 52px; }
body.public-site.contact-drawer-ready .immersive-contact .form-title { margin-bottom: 31px; font-size: 28px; }
body.public-site.contact-drawer-ready .immersive-contact .form-grid { gap: 25px 24px; }
body.public-site.contact-drawer-ready .immersive-contact .form-grid label { font-size: 14px; }
body.public-site.contact-drawer-ready .immersive-contact .form-grid :is(input, select, textarea) { font-size: 15px; }
body.public-site.contact-drawer-ready .immersive-contact .consent { font-size: 13px; }
body.public-site.contact-drawer-ready .immersive-contact .form-submit { width: 100%; min-width: 0; min-height: 54px; border-color: var(--ja-accent); background: var(--ja-accent); color: #fff; font-size: 16px; }
body.public-site.contact-drawer-ready .immersive-contact .form-submit:hover { background: #b95331; border-color: #b95331; }

/* Hiding interface controls is a local view mode, not a modal page overlay. */
body.public-site .immersive-section.is-expanded { position: relative; display: block; inset: auto; height: 100dvh; min-height: 0; padding: 0; overflow: hidden; z-index: auto; background: #d9dddc; }
body.public-site .immersive-section.is-expanded :is(.site-header, .unified-heading, .service-nav, .service-detail, .immersive-legal) { display: none; }
body.public-site .immersive-section.is-expanded [data-scene-safe-area] { inset: 28px 30px 108px; }
body.public-site .immersive-section.is-expanded::before { background: linear-gradient(0deg, #e9ecebe6 0, #e9ecebd9 65px, #e9eceb00 150px); }
body.public-site .immersive-section.is-expanded .unified-tools { position: absolute; justify-content: center; background: transparent; }
body.public-site .immersive-section.is-expanded .unified-layout .installation-scene { height: 100%; min-height: 0; width: 100%; margin: 0; }

@media (max-width: 1300px) {
    body.public-site .immersive-section .service-detail { gap: 12px 25px; left: 300px; padding-left: 26px; }
    body.public-site .immersive-section .service-detail-footer { gap: 15px; }
    body.public-site .immersive-section .service-detail [data-scene-contact] { padding-left: 15px; font-size: 13px; }
    body.public-site .immersive-section [data-scene-demonstrate] { font-size: 13px; }
    body.public-site .immersive-section .unified-tools { gap: 8px; }
    body.public-site .immersive-section .unified-tools :is(.scene-reset, .scene-expand, [data-scene-play]) { font-size: 12px; }
    body.public-site .immersive-section .unified-tools [data-scene-play] { min-width: 98px; margin-right: 7px; }
    body.public-site .immersive-legal { gap: 12px; font-size: 11px; }
}

@media (min-width: 1001px) and (max-height: 860px) {
    body.public-site .immersive-section { min-height: 650px; }
    body.public-site .immersive-section .site-header-inner { min-height: 86px; padding-block: 17px; }
    body.public-site .immersive-section .brand-logo { width: 220px; }
    body.public-site .immersive-section .unified-heading { top: 106px; }
    body.public-site .immersive-section .unified-heading #hero-title { font-size: 36px; max-width: 235px; }
    body.public-site .immersive-section .unified-area { top: -30px; font-size: 13px; }
    body.public-site .immersive-section .service-nav { top: 207px; bottom: 122px; }
    body.public-site .immersive-section .service-link { min-height: 44px; padding-block: 10px; font-size: 15px; }
    body.public-site .immersive-section [data-scene-safe-area] { top: 130px; bottom: 230px; }
    body.public-site .immersive-section .service-detail { bottom: 117px; }
    body.public-site .immersive-section #service-title { font-size: 30px; }
    body.public-site .immersive-section #service-description { font-size: 14px; }
    body.public-site .immersive-section .service-detail .experience-actions { max-height: 93px; }
}

@media (max-width: 1000px) {
    body.public-site .immersive-section { --immersive-edge: 28px; min-height: 680px; }
    body.public-site .immersive-section::before { background: linear-gradient(180deg, #e9ecebf0 0, #e9ecebe0 130px, #e9eceb00 215px), linear-gradient(0deg, #e9ecebf7 0, #e9ecebf0 310px, #e9eceb00 440px); }
    body.public-site .immersive-section .site-header-inner { min-height: 87px; padding-block: 18px; }
    body.public-site .immersive-section .brand-logo { width: 204px; }
    body.public-site .immersive-section .header-contact { font-size: 16px; }
    body.public-site .immersive-section .unified-heading { top: 103px; }
    body.public-site .immersive-section .unified-heading #hero-title { max-width: none; font-size: 32px; line-height: 1.15; }
    body.public-site .immersive-section .unified-area { top: -28px; max-width: none; margin: 0; padding-top: 7px; font-size: 11px; }
    body.public-site .immersive-section [data-scene-safe-area] { top: 155px; right: 28px; bottom: 337px; left: 28px; }
    body.public-site .immersive-section .scene-caption { right: 28px; bottom: 335px; left: 28px; }
    body.public-site .immersive-section .service-nav {
        top: auto;
        right: var(--immersive-edge);
        bottom: 315px;
        left: var(--immersive-edge);
        flex-direction: row;
        align-items: stretch;
        gap: 28px;
        width: auto;
        height: 50px;
        padding: 0;
        overflow-x: auto;
        overflow-y: hidden;
        scrollbar-width: none;
        border-bottom: 1px solid #aeb8b2;
        scroll-snap-type: x proximity;
    }
    body.public-site .immersive-section .service-nav::-webkit-scrollbar { display: none; }
    body.public-site .immersive-section .service-link,
    body.public-site .immersive-section .service-link:nth-last-child(-n + 4) {
        position: relative;
        justify-content: flex-start;
        gap: 14px;
        min-height: 48px;
        padding-block: 9px 13px;
        border: 0;
        font-size: 17px;
        white-space: nowrap;
        scroll-snap-align: start;
    }
    body.public-site .immersive-section .service-link[aria-pressed="true"]::after { content: ""; position: absolute; right: 0; bottom: 0; left: 0; height: 2px; background: var(--ja-accent); }
    body.public-site .immersive-section .service-detail {
        right: var(--immersive-edge);
        bottom: 129px;
        left: var(--immersive-edge);
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 12px 25px;
        padding: 0;
        border: 0;
    }
    body.public-site .immersive-section #service-title { font-size: 30px; }
    body.public-site .immersive-section #service-description { font-size: 14px; }
    body.public-site .immersive-section .service-detail .experience-actions { grid-row: 2; max-height: 93px; gap: 0 24px; }
    body.public-site .immersive-section .service-detail-footer { grid-column: 2; grid-row: 2; gap: 18px; }
    body.public-site .immersive-section .service-detail [data-scene-contact] { padding-left: 18px; }
    body.public-site .immersive-section .unified-tools { bottom: 40px; justify-content: center; min-height: 66px; padding-top: 13px; }
    body.public-site .immersive-legal { right: var(--immersive-edge); bottom: 3px; left: var(--immersive-edge); justify-content: center; gap: 20px; font-size: 11px; }
    body.public-site .immersive-legal a { min-height: 32px; padding-block: 7px; }
}

@media (max-width: 650px) {
    body.public-site .immersive-section { --immersive-edge: 18px; min-height: 640px; }
    body.public-site .immersive-section .site-header-inner { min-height: 76px; padding-block: 18px; gap: 14px; }
    body.public-site .immersive-section .brand-logo { width: 166px; }
    body.public-site .immersive-section .header-contact { gap: 8px; font-size: 14px; }
    body.public-site .immersive-section .header-contact .icon-arrow { width: 18px; height: 18px; }
    body.public-site .immersive-section .unified-heading { top: 104px; }
    body.public-site .immersive-section .unified-heading #hero-title { font-size: 26px; line-height: 1.13; letter-spacing: -.045em; }
    body.public-site .immersive-section .unified-area { top: -24px; padding: 0; border: 0; font-size: 10px; text-align: left; }
    body.public-site .immersive-section [data-scene-safe-area] { top: 142px; right: 18px; bottom: 348px; left: 18px; }
    body.public-site .immersive-section .scene-caption { right: 18px; bottom: 340px; left: 18px; font-size: 10px; }
    body.public-site .immersive-section .service-nav { bottom: 303px; gap: 24px; height: 45px; }
    body.public-site .immersive-section .service-link,
    body.public-site .immersive-section .service-link:nth-last-child(-n + 4) { gap: 11px; min-height: 44px; padding-block: 9px 12px; font-size: 15px; }
    body.public-site .immersive-section .service-link .icon-arrow { width: 16px; height: 16px; }
    body.public-site .immersive-section .service-detail { bottom: 115px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
    body.public-site .immersive-section #service-title { font-size: 28px; }
    body.public-site .immersive-section #service-description { margin-top: 5px; font-size: 13px; line-height: 1.4; }
    body.public-site .immersive-section .service-detail .experience-actions { grid-column: 1; grid-row: 2; display: flex; gap: 22px; min-height: 60px; max-height: 60px; padding-top: 5px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: #aab5ae transparent; }
    body.public-site .immersive-section .service-detail .scene-action { grid-template-columns: minmax(0, 1fr) 38px; gap: 9px; min-height: 44px; padding-block: 6px; }
    body.public-site .immersive-section .service-detail :is(.scene-action, .scene-range) { flex: 0 0 calc((100% - 22px) / 2); min-width: 145px; scroll-snap-align: start; }
    body.public-site .immersive-section .service-detail .scene-action .action-label { font-size: 12px; line-height: 1.35; }
    body.public-site .immersive-section .service-detail .scene-action .action-switch { grid-column: 2; grid-row: 1; width: 38px; height: 23px; }
    body.public-site .immersive-section .service-detail .action-switch::after { width: 17px; height: 17px; }
    body.public-site .immersive-section .service-detail .scene-action[aria-pressed="true"] .action-switch::after { transform: translateX(15px); }
    body.public-site .immersive-section .service-detail .scene-range { padding-block: 3px; gap: 3px; }
    body.public-site .immersive-section .service-detail .scene-range .action-label { font-size: 12px; }
    body.public-site .immersive-section .service-detail .scene-range input { height: 22px; }
    body.public-site .immersive-section .service-detail-footer { grid-column: 1; grid-row: 3; justify-content: space-between; gap: 14px; min-height: 42px; }
    body.public-site .immersive-section [data-scene-demonstrate] { gap: 7px; font-size: 12px; }
    body.public-site .immersive-section [data-scene-demonstrate] svg { width: 25px; height: 25px; }
    body.public-site .immersive-section [data-scene-demonstrate]::after { left: 32px; }
    body.public-site .immersive-section .service-detail [data-scene-contact] { gap: 7px; padding-left: 14px; font-size: 12px; }
    body.public-site .immersive-section .service-detail [data-scene-contact] svg { width: 16px; height: 16px; }
    body.public-site .immersive-section .unified-tools { bottom: 36px; gap: 6px; min-height: 59px; padding-top: 10px; justify-content: space-between; }
    body.public-site .immersive-section .unified-tools :is(.scene-reset, .scene-expand, [data-scene-play]) { gap: 5px; min-height: 44px; padding: 6px 0; font-size: 11px; }
    body.public-site .immersive-section .unified-tools .scene-reset { margin: 0; }
    body.public-site .immersive-section .unified-tools .icon-control { width: 36px; min-width: 36px; height: 36px; min-height: 44px; padding: 8px; }
    body.public-site .immersive-section .unified-tools [data-scene-play] { min-width: 79px; margin: 0; padding-inline: 8px; }
    body.public-site .immersive-section .unified-tools .scene-expand { gap: 5px; padding-left: 9px; }
    body.public-site .immersive-section .unified-tools .scene-expand svg { width: 17px; height: 17px; }
    body.public-site .immersive-legal { gap: 18px; bottom: 0; padding-top: 0; border: 0; font-size: 10px; }
    body.public-site .immersive-legal a { min-height: 30px; padding-block: 7px; }
    body.public-site.contact-drawer-ready .immersive-contact .contact-layout { padding: 31px 23px; }
    body.public-site.contact-drawer-ready .immersive-contact .contact-copy h2 { font-size: 35px; }
    body.public-site.contact-drawer-ready [data-contact-close] { top: 22px; right: 18px; }
    body.public-site.contact-drawer-ready .immersive-contact .contact-methods { gap: 16px; margin-top: 30px; }
    body.public-site.contact-drawer-ready .immersive-contact .contact-methods a > span { font-size: 12px; }
    body.public-site.contact-drawer-ready .immersive-contact .contact-methods strong { font-size: 13px; }
    body.public-site.contact-drawer-ready .immersive-contact .contact-area { font-size: 12px; }
    body.public-site.contact-drawer-ready .immersive-contact .form-card { margin-top: 35px; }
    body.public-site.contact-drawer-ready .immersive-contact .form-title { margin-bottom: 25px; font-size: 25px; }
    body.public-site .immersive-section.is-expanded [data-scene-safe-area] { inset: 20px 12px 98px; }
    body.public-site .immersive-section.is-expanded .unified-tools { bottom: 18px; margin: 0; order: initial; }
}

@media (max-width: 650px) and (max-height: 740px) {
    body.public-site .immersive-section { min-height: 580px; }
    body.public-site .immersive-section .site-header-inner { min-height: 66px; padding-block: 12px; }
    body.public-site .immersive-section .brand-logo { width: 152px; }
    body.public-site .immersive-section .unified-heading { top: 84px; }
    body.public-site .immersive-section .unified-heading #hero-title { font-size: 23px; }
    body.public-site .immersive-section .unified-area { top: -20px; font-size: 9px; }
    body.public-site .immersive-section [data-scene-safe-area] { top: 114px; bottom: 327px; }
    body.public-site .immersive-section .service-nav { bottom: 280px; }
    body.public-site .immersive-section .service-detail { bottom: 100px; gap: 6px; }
    body.public-site .immersive-section #service-title { font-size: 24px; }
    body.public-site .immersive-section #service-description { font-size: 12px; }
    body.public-site .immersive-section .service-detail .experience-actions { min-height: 60px; max-height: 60px; }
    body.public-site .immersive-section::before { background: linear-gradient(180deg, #e9ecebf0 0, #e9ecebe0 105px, #e9eceb00 165px), linear-gradient(0deg, #e9ecebf7 0, #e9ecebf0 283px, #e9eceb00 365px); }
    body.public-site .immersive-section .unified-tools { bottom: 30px; min-height: 57px; }
    body.public-site .immersive-legal { font-size: 9px; }
}

@media (max-width: 365px) {
    body.public-site .immersive-section { --immersive-edge: 14px; }
    body.public-site .immersive-section .brand-logo { width: 147px; }
    body.public-site .immersive-section .header-contact { font-size: 12px; }
    body.public-site .immersive-section .unified-heading #hero-title { font-size: 23px; }
    body.public-site .immersive-section .unified-tools { gap: 4px; }
    body.public-site .immersive-section .unified-tools .icon-control { width: 30px; min-width: 30px; }
    body.public-site .immersive-section .unified-tools [data-scene-play] { min-width: 71px; padding-inline: 5px; }
    body.public-site .immersive-section .unified-tools :is(.scene-reset, .scene-expand, [data-scene-play]) { font-size: 10px; }
    body.public-site .immersive-section .service-detail-footer { gap: 7px; }
    body.public-site .immersive-section [data-scene-demonstrate],
    body.public-site .immersive-section .service-detail [data-scene-contact] { font-size: 11px; }
    body.public-site .immersive-section .service-detail [data-scene-contact] { padding-left: 8px; }
}

/* V11: one service heading doubles as the mobile selector. The original rail
   remains available until its native selection controller has initialized. */
body.public-site .immersive-section :is(.service-position, .service-picker, .service-choice-chevron, .service-sequence, .scene-more-actions) { display: none; }
body.public-site .immersive-section .service-choice { min-width: 0; }

@media (max-width: 1000px) {
    body.public-site.contact-drawer-ready { overflow-x: hidden; overflow-y: auto; }
    body.public-site.scene-ui-ready .immersive-section {
        --detail-bottom: 125px;
        --scene-top: 155px;
        --detail-height: 200px;
        min-height: calc(var(--scene-top) + 170px + var(--detail-height) + var(--detail-bottom) + 20px);
    }
    body.public-site.scene-ui-ready .immersive-section::before {
        background: linear-gradient(180deg, #e9ecebf0 0, #e9ecebe0 120px, #e9eceb00 215px),
            linear-gradient(0deg, #e9ecebf7 0, #e9ecebf0 calc(var(--detail-height) + var(--detail-bottom) - 12px), #e9eceb00 calc(var(--detail-height) + var(--detail-bottom) + 66px));
    }
    body.public-site.scene-ui-ready .immersive-section .service-nav { display: none; }
    body.public-site.scene-ui-ready .immersive-section [data-scene-safe-area] {
        top: var(--scene-top);
        right: var(--immersive-edge);
        bottom: calc(var(--detail-height) + var(--detail-bottom) + 20px);
        left: var(--immersive-edge);
    }
    body.public-site.scene-ui-ready .immersive-section .scene-caption { bottom: calc(var(--detail-height) + var(--detail-bottom) + 12px); }
    body.public-site.scene-ui-ready .immersive-section .service-detail {
        bottom: var(--detail-bottom);
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 9px;
    }
    body.public-site.scene-ui-ready .immersive-section .service-heading-row {
        display: grid;
        grid-template-columns: 42px minmax(0, 1fr) auto;
        align-items: center;
        gap: 12px;
        min-height: 44px;
    }
    body.public-site.scene-ui-ready .immersive-section .service-position {
        display: block;
        color: #526057;
        font-size: 12px;
        font-variant-numeric: tabular-nums;
        white-space: nowrap;
    }
    body.public-site.scene-ui-ready .immersive-section .service-choice { position: relative; display: flex; align-items: center; gap: 9px; min-height: 44px; }
    body.public-site.scene-ui-ready .immersive-section #service-title { min-width: 0; font-size: 29px; line-height: 1.12; overflow-wrap: normal; }
    body.public-site.scene-ui-ready .immersive-section .service-choice-chevron { display: block; flex: 0 0 16px; width: 16px; height: 16px; color: var(--ja-accent); }
    body.public-site.scene-ui-ready .immersive-section .service-picker { position: absolute; inset: 0; display: block; width: 100%; height: 100%; min-height: 44px; margin: 0; padding: 0; opacity: 0; cursor: pointer; font: inherit; }
    body.public-site.scene-ui-ready .immersive-section .service-choice:has(.service-picker:focus-visible) { outline: 2px solid var(--ja-accent); outline-offset: 4px; }
    body.public-site.scene-ui-ready .immersive-section .service-sequence { display: flex; align-items: center; gap: 7px; }
    body.public-site.scene-ui-ready .immersive-section [data-service-step] { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 44px; width: 44px; height: 44px; padding: 10px; border: 1px solid #839087; border-radius: 50%; background: transparent; color: var(--ja-ink); }
    body.public-site.scene-ui-ready .immersive-section [data-service-step] svg { width: 21px; height: 21px; }
    body.public-site.scene-ui-ready .immersive-section [data-service-step]:hover { color: var(--ja-accent); border-color: var(--ja-accent); }
    body.public-site.scene-ui-ready .immersive-section #service-description { max-width: none; margin-top: 10px; padding-top: 10px; border-top: 1px solid #aeb8b2; }
    body.public-site.scene-ui-ready .immersive-section .service-detail .experience-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 22px; min-height: 0; max-height: none; padding-block: 3px; border-bottom: 1px solid #aeb8b2; overflow: visible; }
    body.public-site.scene-ui-ready .immersive-section .service-detail :is(.scene-action, .scene-range) { min-width: 0; min-height: 44px; margin: 0; }
    body.public-site.scene-ui-ready .immersive-section:not(.actions-open) .experience-actions > :nth-child(n + 3) { display: none; }
    body.public-site.scene-ui-ready .immersive-section .scene-more-actions:not([hidden]) { display: inline-flex; align-items: center; justify-content: flex-start; gap: 8px; align-self: flex-start; min-height: 44px; margin: -7px 0; padding: 8px 0; border: 0; background: transparent; color: #526057; font-size: 12px; line-height: 1.4; }
    body.public-site.scene-ui-ready .immersive-section .scene-more-actions:hover { color: var(--ja-accent); }
    body.public-site.scene-ui-ready .immersive-section .scene-more-actions svg { width: 16px; height: 16px; }
    body.public-site.scene-ui-ready .immersive-section.actions-open .scene-more-actions svg { transform: rotate(180deg); }
    body.public-site.scene-ui-ready .immersive-section .service-detail-footer { align-self: stretch; justify-content: space-between; min-height: 44px; gap: 16px; }
    body.public-site.scene-ui-ready .immersive-section.is-expanded { min-height: 360px; }
    body.public-site.scene-ui-ready .immersive-section.is-expanded :is(.site-header, .unified-heading, .service-nav, .service-detail, .immersive-legal) { display: none; }
    body.public-site.scene-ui-ready .immersive-section.is-expanded::before { background: linear-gradient(0deg, #e9ecebe6 0, #e9ecebd9 65px, #e9eceb00 150px); }
    body.public-site.scene-ui-ready .immersive-section.is-expanded [data-scene-safe-area] { inset: 20px 12px 98px; }
    body.public-site.scene-ui-ready .immersive-section.is-expanded .scene-caption { bottom: 95px; }
}

@media (max-width: 650px) {
    body.public-site.scene-ui-ready .immersive-section { --detail-bottom: 112px; --scene-top: 150px; }
    body.public-site.scene-ui-ready .immersive-section .unified-heading { top: 94px; }
    body.public-site.scene-ui-ready .immersive-section .unified-area { top: 34px; right: auto; left: 0; text-align: left; }
    body.public-site.scene-ui-ready .immersive-section .service-heading-row { grid-template-columns: 36px minmax(0, 1fr) auto; gap: 9px; }
    body.public-site.scene-ui-ready .immersive-section .service-position { font-size: 10px; }
    body.public-site.scene-ui-ready .immersive-section #service-title { font-size: 26px; }
    body.public-site.scene-ui-ready .immersive-section .service-choice { gap: 6px; }
    body.public-site.scene-ui-ready .immersive-section .service-choice-chevron { flex-basis: 14px; width: 14px; height: 14px; }
    body.public-site.scene-ui-ready .immersive-section .service-sequence { gap: 5px; }
    body.public-site.scene-ui-ready .immersive-section #service-description { font-size: 13px; line-height: 1.4; }
    body.public-site.scene-ui-ready .immersive-section .service-detail .experience-actions { gap: 4px 20px; }
    body.public-site.scene-ui-ready .immersive-section .unified-tools .icon-control { flex: 0 0 44px; width: 44px; min-width: 44px; height: 44px; }
}

@media (max-width: 650px) and (max-height: 740px) {
    body.public-site.scene-ui-ready .immersive-section { --detail-bottom: 100px; --scene-top: 130px; }
    body.public-site.scene-ui-ready .immersive-section .unified-heading { top: 78px; }
    body.public-site.scene-ui-ready .immersive-section #service-title { font-size: 24px; }
    body.public-site.scene-ui-ready .immersive-section #service-description { font-size: 12px; }
}

@media (max-width: 365px) {
    body.public-site.scene-ui-ready .immersive-section .service-heading-row { grid-template-columns: 31px minmax(0, 1fr) auto; gap: 6px; }
    body.public-site.scene-ui-ready .immersive-section #service-title { font-size: 22px; }
    body.public-site.scene-ui-ready .immersive-section .service-choice:has(option[value="communications"]:checked) #service-title { font-size: 19px; }
    body.public-site.scene-ui-ready .immersive-section .service-sequence { gap: 3px; }
    body.public-site.scene-ui-ready .immersive-section .unified-tools { gap: 2px; }
    body.public-site.scene-ui-ready .immersive-section .unified-tools .scene-reset { flex: 0 1 58px; white-space: normal; text-align: center; }
    body.public-site.scene-ui-ready .immersive-section .unified-tools [data-scene-play] { min-width: 67px; padding-inline: 3px; }
    body.public-site.scene-ui-ready .immersive-section .unified-tools .scene-expand { padding-left: 5px; }
}

/* Landscape phones and zoomed narrow windows need a separate useful viewport.
   The detail rail can scroll independently, leaving scene tools within reach. */
@media (min-width: 651px) and (max-width: 1000px) and (max-height: 560px) {
    body.public-site.scene-ui-ready .immersive-section { --immersive-edge: 18px; min-height: 360px; }
    body.public-site.scene-ui-ready .immersive-section::before { background: linear-gradient(180deg, #e9ecebf0 0, #e9ecebda 92px, #e9eceb00 153px), linear-gradient(270deg, #e9ecebf7 0, #e9ecebf0 307px, #e9eceb00 390px), linear-gradient(0deg, #e9ecebf2 0, #e9ecebd9 66px, #e9eceb00 115px); }
    body.public-site.scene-ui-ready .immersive-section .site-header-inner { min-height: 63px; padding-block: 12px; }
    body.public-site.scene-ui-ready .immersive-section .brand-logo { width: 176px; }
    body.public-site.scene-ui-ready .immersive-section .header-contact { font-size: 14px; }
    body.public-site.scene-ui-ready .immersive-section .unified-heading { top: 72px; }
    body.public-site.scene-ui-ready .immersive-section .unified-heading #hero-title { max-width: calc(100% - 330px); font-size: 24px; }
    body.public-site.scene-ui-ready .immersive-section .unified-area { top: 37px; right: auto; left: 0; padding: 0; border: 0; font-size: 10px; text-align: left; }
    body.public-site.scene-ui-ready .immersive-section [data-scene-safe-area] { top: 132px; right: 330px; bottom: 86px; left: 18px; }
    body.public-site.scene-ui-ready .immersive-section .scene-caption { right: 330px; bottom: 85px; left: 18px; }
    body.public-site.scene-ui-ready .immersive-section .service-detail { top: 80px; right: 18px; bottom: 52px; left: auto; width: 292px; padding: 0 3px 0 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
    body.public-site.scene-ui-ready .immersive-section .service-detail > * { flex-shrink: 0; }
    body.public-site.scene-ui-ready .immersive-section .service-heading-row { grid-template-columns: 31px minmax(0, 1fr) auto; gap: 6px; }
    body.public-site.scene-ui-ready .immersive-section .service-position { font-size: 10px; }
    body.public-site.scene-ui-ready .immersive-section #service-title { font-size: 19px; }
    body.public-site.scene-ui-ready .immersive-section .service-choice { gap: 4px; }
    body.public-site.scene-ui-ready .immersive-section .service-choice-chevron { flex-basis: 12px; width: 12px; height: 12px; }
    body.public-site.scene-ui-ready .immersive-section .service-sequence { gap: 3px; }
    body.public-site.scene-ui-ready .immersive-section #service-description { margin-top: 8px; padding-top: 8px; font-size: 12px; }
    body.public-site.scene-ui-ready .immersive-section .service-detail .experience-actions { gap: 4px 14px; }
    body.public-site.scene-ui-ready .immersive-section .service-detail .scene-action { gap: 6px; }
    body.public-site.scene-ui-ready .immersive-section .service-detail .action-label { font-size: 12px; }
    body.public-site.scene-ui-ready .immersive-section .service-detail-footer { flex-wrap: wrap; gap: 0 12px; }
    body.public-site.scene-ui-ready .immersive-section [data-scene-demonstrate] { font-size: 12px; }
    body.public-site.scene-ui-ready .immersive-section .service-detail [data-scene-contact] { padding-left: 10px; font-size: 12px; }
    body.public-site.scene-ui-ready .immersive-section .unified-tools { right: 330px; bottom: 18px; left: 18px; justify-content: space-between; min-height: 57px; padding-top: 9px; gap: 5px; }
    body.public-site.scene-ui-ready .immersive-section .unified-tools :is(.scene-reset, .scene-expand, [data-scene-play]) { min-height: 44px; padding-block: 6px; font-size: 10px; }
    body.public-site.scene-ui-ready .immersive-section .unified-tools .scene-reset { margin: 0; }
    body.public-site.scene-ui-ready .immersive-section .unified-tools .icon-control { width: 44px; min-width: 44px; height: 44px; }
    body.public-site.scene-ui-ready .immersive-section .unified-tools [data-scene-play] { min-width: 74px; margin: 0; padding-inline: 6px; }
    body.public-site.scene-ui-ready .immersive-section .unified-tools .scene-expand { padding-left: 8px; gap: 5px; }
    body.public-site.scene-ui-ready .immersive-legal { right: 18px; bottom: 5px; left: auto; width: 292px; gap: 15px; font-size: 10px; }
    body.public-site.scene-ui-ready .immersive-section.is-expanded [data-scene-safe-area] { inset: 20px 12px 98px; }
    body.public-site.scene-ui-ready .immersive-section.is-expanded .unified-tools { right: 18px; justify-content: center; }
}

@media (min-width: 1001px) and (max-height: 650px) {
    body.public-site.contact-drawer-ready { overflow-y: auto; }
}

body.public-site.scene-ui-ready.contact-is-open { overflow: hidden; }
