/* ==========================================================================
   --- css/pages/overview.css
   Vertical scroll overview: centered film-strip, diagonal splits, parallax.
   ========================================================================== */

html,
body.overview-body {
    overflow-x: hidden !important;
    overflow-y: auto !important;
    height: auto !important;
    min-height: 100%;
    background: #050505;
    color: #f5f5f7;
    position: relative;
}

/* Same ambient treatment as ECMSXA — different plate, identical filter. */
body.overview-body::before {
    content: "";
    position: fixed;
    inset: -20px;
    background-image: url('/assets/pages/index/sections/overview/ambient.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(14px) brightness(0.7) sepia(0.8) grayscale(0.5);
    z-index: 0;
    pointer-events: none;
}

body.overview-body .fixed-nav {
    pointer-events: none;
    z-index: 2000;
}
body.overview-body .fixed-nav .brand-lockup,
body.overview-body .fixed-nav .nav-links,
body.overview-body .fixed-nav .lang-selector-box {
    pointer-events: auto;
}

.ov-scroll {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 6.4rem 0 0;
}

.ov-jump {
    display: none !important;
    visibility: hidden;
    pointer-events: none;
    position: fixed;
    left: var(--hud-right, 26px);
    top: 50%;
    transform: translateY(-50%);
    z-index: 1250;
    flex-direction: column;
    gap: 0.85rem;
    width: max-content;
    margin: 0;
}

body.ov-jump-on .ov-jump {
    display: flex !important;
    visibility: visible;
    pointer-events: auto;
}

.ov-jump-link {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    color: #f4f4f5;
    font-size: 0.62rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-decoration: none;
    transition: color 180ms ease;
    white-space: nowrap;
}

.ov-jump-link span {
    font-family: "Bank Gothic Light", "BankGothic", sans-serif;
    font-size: 0.58rem;
    color: rgba(255, 255, 255, 0.62);
}

.ov-jump-link.is-on,
.ov-jump-link:hover {
    color: var(--OrOcra5519);
}

.ov-jump-link.is-on span,
.ov-jump-link:hover span {
    color: var(--OrOcra5519);
}

.ov-panel {
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    justify-content: center;
    align-items: stretch;
    padding: 0.6rem 0;
}

.ov-stage {
    position: relative;
    width: min(1040px, 72vw);
    min-height: calc(100vh - 7.2rem);
    min-height: calc(100dvh - 7.2rem);
    margin: 0 auto;
    background: rgba(10, 10, 12, 0.42);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    isolation: isolate;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.38);
    -webkit-backdrop-filter: blur(28px) saturate(1.25);
    backdrop-filter: blur(28px) saturate(1.25);
}

.ov-copy,
.ov-visual {
    position: absolute;
    inset: 0;
}

.ov-panel--ltr .ov-copy {
    z-index: 3;
    clip-path: polygon(0 0, 74% 0, 58% 100%, 0 100%);
    background: linear-gradient(90deg, rgba(12, 12, 14, 0.62) 0%, rgba(12, 12, 14, 0.48) 62%, rgba(12, 12, 14, 0.08) 100%);
    padding: 5.5rem 42% 4rem 4.2rem;
}

.ov-panel--ltr .ov-visual {
    z-index: 2;
    clip-path: polygon(66% 0, 100% 0, 100% 100%, 50% 100%);
}

.ov-panel--rtl .ov-copy {
    z-index: 3;
    clip-path: polygon(42% 0, 100% 0, 100% 100%, 26% 100%);
    background: linear-gradient(270deg, rgba(12, 12, 14, 0.62) 0%, rgba(12, 12, 14, 0.48) 62%, rgba(12, 12, 14, 0.08) 100%);
    padding: 5.5rem 4.2rem 4rem 42%;
    text-align: right;
}

.ov-panel--rtl .ov-visual {
    z-index: 2;
    clip-path: polygon(0 0, 50% 0, 34% 100%, 0 100%);
}

.ov-kicker {
    font-family: "Bank Gothic Light", "BankGothic", sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--OrOcra5519);
    margin-bottom: 1.1rem;
}

.ov-title {
    font-family: "BankGothic Bold", "Bank Gothic Light", sans-serif;
    font-size: clamp(2.1rem, 4vw, 3.4rem);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #ffffff;
    line-height: 1.05;
    margin: 0 0 1.1rem;
}

.ov-rule {
    width: 4.5rem;
    height: 2px;
    background: var(--OrOcra5519);
    margin: 0 0 1.35rem;
}

.ov-panel--rtl .ov-rule {
    margin-left: auto;
}

.ov-text {
    font-size: 0.98rem;
    line-height: 1.55;
    color: #c7c7cc;
    max-width: 34rem;
    margin: 0 0 1rem;
}

.ov-panel--rtl .ov-text {
    margin-left: auto;
}

.ov-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 1.6rem;
}

.ov-panel--rtl .ov-cta-row {
    justify-content: flex-end;
}

.ov-cta {
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 1.05rem;
    border: 1px solid var(--OrOcra5519);
    background: var(--OrOcra5519);
    color: #08090b;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.ov-cta--ghost {
    background: transparent;
    color: var(--OrOcra5519);
}

.ov-cta:hover {
    background: #ffffff;
    border-color: #ffffff;
    color: #08090b;
}

.ov-visual {
    overflow: hidden;
    background: #070708;
}

.ov-visual-bg {
    position: absolute;
    inset: -28%;
    background-size: cover;
    background-position: center;
    filter: grayscale(28%) contrast(1.12) brightness(0.62);
    transform: translate3d(0, 0, 0);
    will-change: auto;
    backface-visibility: hidden;
}

#ov-purpose .ov-visual-bg {
    background-image: url('/assets/pages/index/sections/overview/bg-purpose-forest.jpg');
}

#ov-earth .ov-visual-bg {
    background-image: url('/assets/pages/index/sections/overview/bg-godrays-forest-green.jpeg');
    background-position: 50% 42%;
    filter: grayscale(6%) contrast(1.1) brightness(0.7) saturate(1.2);
}

#ov-sectors .ov-visual-bg {
    background-image: url('/assets/pages/index/sections/overview/bg-hangar.jpg');
}

#ov-studio .ov-visual-bg {
    background-image: url('/assets/pages/index/sections/overview/bg-chasm.jpg');
}

#ov-network .ov-visual-bg {
    background-image: url('/assets/pages/index/sections/overview/gridbck_A.png');
}

/* Solo plate: one photograph fills the wedge — no cutout stacked on top. */
.ov-visual--plate .ov-visual-bg {
    inset: -6%;
    filter: grayscale(6%) contrast(1.06) brightness(0.88);
}

.ov-panel--rtl .ov-visual--plate .ov-visual-bg {
    background-position: 22% 55%;
}

.ov-panel--ltr .ov-visual--plate .ov-visual-bg {
    background-position: 78% 55%;
}

.ov-figure {
    position: absolute;
    height: 112%;
    width: 54%;
    max-width: none;
    object-fit: contain;
    object-position: center bottom;
    filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.55));
    transform: translate3d(0, 0, 0);
    will-change: auto;
    backface-visibility: hidden;
    pointer-events: none;
    -webkit-user-select: none;
    user-select: none;
    bottom: -14%;
}

.ov-panel--ltr .ov-figure {
    left: 50%;
    right: auto;
}

.ov-panel--rtl .ov-figure {
    left: -4%;
    right: auto;
}

.ov-figure--wide {
    width: 78%;
    height: 96%;
    bottom: -4%;
    object-position: left bottom;
}

.ov-panel--rtl .ov-figure--wide {
    left: -10%;
}

.ov-figure--group {
    width: 102%;
    height: 104%;
    left: -8%;
    bottom: -2%;
    object-fit: contain;
    object-position: center bottom;
}

.ov-panel--rtl .ov-figure--group {
    left: -12%;
}

.ov-foot {
    width: min(1040px, 72vw);
    margin: 0 auto 2.5rem;
    padding: 1.4rem 0 2.4rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: #6e6e73;
    font-size: 0.68rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.ov-foot a {
    color: #a1a1a6;
    text-decoration: none;
}

.ov-foot a:hover {
    color: var(--OrOcra5519);
}

.ov-foot-mark {
    color: var(--OrOcra5519);
}

.ov-origin {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.7rem;
    text-align: center;
}

.ov-slovenia {
    position: relative;
    display: block;
    width: min(340px, 72vw);
    line-height: 0;
}

.ov-slovenia-img {
    display: block;
    width: 100%;
    height: auto;
}

.ov-slovenia-img--on {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 180ms ease;
}

.ov-slovenia:hover .ov-slovenia-img--on,
.ov-slovenia:focus-visible .ov-slovenia-img--on {
    opacity: 1;
}

.ov-origin-copy {
    margin: 0;
    max-width: 22rem;
    color: #c5c5c8;
    font-size: 0.62rem;
    letter-spacing: 0.16em;
    line-height: 1.55;
    text-transform: uppercase;
}

.ov-ukraine {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: #d8d8dc;
    letter-spacing: 0.12em;
}

.ov-ukraine img {
    width: 28px;
    height: 18px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.ov-ukraine:hover {
    color: #ffd700;
}

#ov-network .ov-visual-bg {
    will-change: auto;
    transform: none !important;
}

@media (prefers-reduced-motion: reduce) {
    .ov-visual-bg,
    .ov-figure {
        transform: none !important;
        will-change: auto;
    }
}

/* Embedded as a #scroll-stage pane */
#overview-showroom.page-section {
    display: flex;
    flex-direction: column;
    padding: 0 !important;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    background: #050505;
    position: relative;
    overscroll-behavior: none;
}

#overview-showroom .ov-ambient {
    position: absolute;
    inset: -20px;
    z-index: 0;
    pointer-events: none;
    margin: 0;
    background-image: url('/assets/pages/index/sections/overview/ambient.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(14px) brightness(0.7) sepia(0.8) grayscale(0.5);
}

#overview-showroom .ov-jump {
    position: fixed;
    top: 50%;
    left: var(--hud-right, 26px);
    transform: translateY(-50%);
    margin: 0;
    width: max-content;
    z-index: 1250;
}

#overview-showroom .ov-scroll {
    position: relative;
    z-index: 1;
    flex: 1 1 auto;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 5.5rem 0 3.2rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    overscroll-behavior: contain;
    overflow-anchor: none;
}
#overview-showroom .ov-scroll::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
}

#overview-showroom .ov-panel {
    min-height: calc(100vh - 9.6rem);
    min-height: calc(100dvh - 9.6rem);
}

#overview-showroom .ov-stage {
    min-height: calc(100vh - 10.4rem);
    min-height: calc(100dvh - 10.4rem);
}

#overview-showroom .section-bottom-scroll-strip {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 85;
}
