/* Only Home/Index receives these classes and this stylesheet. */
.home-brand-hero, .home-brand-flowchart, .home-brand-cloud, .home-brand-modules { background: #070d14 !important; color: #d9e2e8; }
.home-brand-hero { min-height: calc(100svh - 82px); isolation: auto; }
.home-brand-hero .hero__bg-image { opacity: .13; filter: saturate(.35); }
.home-brand-hero::before { background: linear-gradient(90deg, #070d14 8%, #070d14d9 43%, #070d1440); }
.home-brand-hero::after { background: linear-gradient(0deg, #070d14, transparent); }
.home-brand-hero .container, .home-brand-flowchart .container, .home-brand-cloud .container, .home-brand-modules .container { position: relative; z-index: 3; }
.home-brand-hero .hero__inner { display: block; }
.home-brand-hero .hero__content { max-width: 47%; }
.home-brand-hero h1 { font-size: clamp(2.7rem, 4.2vw, 4.7rem); line-height: 1.16; letter-spacing: -.035em; }
.home-brand-hero .eyebrow, .home-brand-cloud .eyebrow, .home-brand-modules .eyebrow { color: #7dcced !important; }
.home-brand-hero .btn-primary { background: #efad6a !important; color: #0c151d !important; border-color: #f3c393 !important; box-shadow: 0 5px 28px #efad6a20 !important; }
.home-brand-hero .btn-primary:hover { background: #efc995 !important; }
.home-brand-hero .btn-light { background: #0b1925; color: #f1e4d2; border-color: #ad895c55; }
.home-brand-hero .hero__proof { border-color: #c59e6c35; }
.home-brand-flowchart {
    position: relative;
    display: grid;
    min-height: 100svh;
    place-items: center;
    overflow: hidden;
    padding: clamp(52px, 7vh, 84px) 0;
}
.home-brand-flowchart::before {
    content: "";
    position: absolute;
    inset: 7% 3%;
    z-index: 0;
    background: radial-gradient(ellipse at 50% 46%, #4360b72b, #13213312 52%, transparent 74%);
    filter: blur(24px);
}
.home-brand-flowchart .container { width: min(94vw, 1680px); max-width: none; padding-inline: 0; }
.home-brand-flowchart .responsive-image { width: 100%; }
.home-brand-flowchart .home-flowchart__image {
    width: 100%;
    max-height: calc(100svh - 116px);
    height: auto;
    object-fit: contain;
    border: 1px solid #d6ad704d;
    border-radius: clamp(18px, 2.2vw, 34px);
    box-shadow: 0 0 0 1px #55bfd021, 0 32px 110px #000a, 0 0 85px #3455a327;
}
.home-brand-cloud { padding-top: 120px; padding-bottom: 140px; }
.home-brand-cloud > .container > .row { flex-direction: row-reverse; }
.home-brand-cloud .section-title, .home-brand-modules .section-title { color: #f4eee5; }
.home-brand-cloud .lead, .home-brand-modules .section-copy { color: #a6b5c2; }
.home-brand-cloud .media-stack { min-height: 650px; padding-top: 475px; display: flex; flex-direction: column; justify-content: flex-end; }
.home-brand-cloud .media-stack > img, .home-brand-cloud .media-stack > picture { position: absolute; inset: 0 0 auto; height: 460px; width: 100%; object-fit: cover; opacity: .18; }
.home-brand-cloud .status-strip { position: relative; inset: auto; transform: none; margin: 24px 0 0; width: 100%; }
.home-brand-cloud .status-strip > div { background: #0b1823; border-color: #47708466; }
.home-brand-cloud .benefit-grid button { background: #0b1620; border-color: #50606c55; }
.home-brand-cloud .benefit-grid button.active { background: #18303b !important; border-color: #af8b55 !important; }
.home-brand-cloud .benefit-panel { background: #0d1b27; border-color: #36505e; }
.home-brand-modules { padding-top: 125px; padding-bottom: 160px; }
.home-brand-modules::before { opacity: .18; }
.home-brand-modules .section-heading, .home-brand-modules .module-shell { max-width: 53%; }
.home-brand-modules .module-shell { grid-template-columns: 1fr; gap: 20px; }
.home-brand-modules .module-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.home-brand-modules .module-tabs button { background: #0d1a26; border-color: #41607166; min-height: 128px; }
.home-brand-modules .module-tabs button.active { background: #203746 !important; border-color: #bb955f !important; }
.home-brand-modules .module-tabs button > span { background: #bd965f; color: #09131c; }
.home-brand-modules .module-preview { background: #0c1d2b; border-color: #496c7a80; min-height: 390px; }
.home-brand-modules .module-preview::before { border-color: #a3825650; }
.home-diamond { position: fixed; inset: 0 auto auto 0; width: min(640px, 44vw); aspect-ratio: 1; z-index: 2; pointer-events: none; perspective: 1100px; opacity: 0; transform-origin: 50% 50%; }
.home-diamond[hidden] { display: none; }
.home-diamond, .home-diamond * { pointer-events: none !important; user-select: none; }
.home-diamond__object { width: 43%; height: 43%; position: absolute; left: 28.5%; top: 28.5%; transform-style: preserve-3d; }
.home-diamond svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.home-diamond__aura { transform: translateZ(-18px); }
.home-diamond__plate--back { opacity: .8; }
.home-diamond__plate--middle { opacity: .9; }
.home-diamond__plate--front { filter: drop-shadow(0 6px 5px #02102188); }
.home-diamond__network, .home-diamond__core { opacity: 0; }
.home-diamond__core { transform: translateZ(16px); }
.home-diamond__lines { opacity: .58; }
.home-diamond__edge { opacity: .8; }
@media (min-width: 768px) and (max-width: 1199px) {
    .home-diamond { width: 43vw; }
    .home-brand-hero .hero__content { max-width: 53%; }
    .home-brand-hero h1 { font-size: clamp(2.6rem, 4.8vw, 3.6rem); }
    .home-brand-cloud .media-stack { padding-top: 370px; min-height: 560px; }
    .home-brand-cloud .media-stack > img, .home-brand-cloud .media-stack > picture { height: 355px; }
    .home-diamond__nodes > g:nth-child(4), .home-diamond__lines > path:nth-child(4), .home-diamond__flow > path:nth-child(4) { display: none; }
    .home-brand-modules .section-heading, .home-brand-modules .module-shell { max-width: 55%; }
}
@media (max-width: 991px) {
    .home-brand-cloud > .container > .row { flex-direction: column; }
    .home-brand-cloud .media-stack { min-height: 390px; padding-top: 245px; }
    .home-brand-cloud .media-stack > img, .home-brand-cloud .media-stack > picture { height: 240px; }
}
@media (max-width: 767px) {
    .home-brand-hero { padding-top: 335px; min-height: auto; }
    .home-brand-hero .hero__content { max-width: none; }
    .home-brand-hero h1 { font-size: 2.55rem; }
    .home-brand-flowchart { min-height: auto; padding: 54px 0; }
    .home-brand-flowchart .container { width: calc(100vw - 24px); }
    .home-brand-flowchart .home-flowchart__image { width: 100%; max-height: none; border-radius: 16px; }
    .home-brand-cloud { padding: 70px 0; }
    .home-brand-modules { padding: 335px 0 90px; }
    .home-brand-modules .section-heading, .home-brand-modules .module-shell { max-width: none; }
    .home-brand-modules .module-tabs { grid-template-columns: 1fr 1fr; }
    .home-brand-modules .module-tabs button { min-height: 130px; padding: 15px; }
    .home-diamond { width: 310px; }
    .home-diamond__core, .home-diamond__plate--back, .home-diamond__plate--middle { display: none; }
    .home-diamond__plate--front { filter: none; }
}
@media (prefers-reduced-motion: reduce) { .home-diamond { display: none !important; } }
@media (prefers-reduced-motion: reduce) and (max-width: 767px) { .home-brand-hero, .home-brand-modules { padding-top: 70px; } }
.home-diamond::before { content: ""; position: absolute; inset: -8%; background: radial-gradient(ellipse, #b78c4c0d 15%, #24657b0d 46%, transparent 68%); }
.home-brand-cloud > .container > .row > .col-lg-6:first-child { background: #070d14; }
.home-brand-modules .section-heading > div { background: #070d14; }
@media (max-width: 767px) { .home-brand-hero .hero__content { background: #070d14; } }
@media (max-height: 520px) and (min-width: 768px) { .home-diamond { width: min(40vw, 80vh); } }

/* The brand expands into data and a workspace, with a quiet technical backdrop. */
.home-diamond { width: min(590px, 42vw); }
.home-diamond__object { width: 62%; height: 62%; left: 19%; top: 19%; }
.home-diamond__grid { position: absolute; inset: 5%; border-radius: 50%; border: 1px solid #73bbd519; background: radial-gradient(ellipse, #1679ad20, transparent 65%), linear-gradient(#67b5da09 1px, transparent 1px), linear-gradient(90deg, #67b5da09 1px, transparent 1px); background-size: auto, 38px 38px, 38px 38px; mask-image: radial-gradient(ellipse, #000 30%, transparent 72%); }
.home-diamond::before { background: radial-gradient(ellipse, #1f8cc31c, transparent 67%); }
.home-diamond__sources { position: absolute; inset: 0; opacity: 0; }
.home-diamond__sources span { position: absolute; padding: 10px 16px; border: 1px solid #7ac4e14d; background: #0b1c2a; border-radius: 8px; color: #d4ebf5; font-size: 13px; letter-spacing: .1em; box-shadow: 0 8px 32px #0004; }
.home-diamond__sources span:nth-child(1) { top: 6%; left: 39%; }
.home-diamond__sources span:nth-child(2) { top: 48%; right: 0; }
.home-diamond__sources span:nth-child(3) { bottom: 12%; left: 7%; }
.home-diamond__workspace { position: absolute; top: 23%; left: 5%; width: 90%; padding: 24px; border: 1px solid #75bedb55; border-radius: 16px; background: linear-gradient(140deg,#142d3ded,#08141ff5); box-shadow: 0 30px 65px #0007, inset 0 1px #c0e9ff15; opacity: 0; transform-origin: 50% 50%; }
.home-diamond__windowbar, .home-diamond__dashboard-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: #8aa9bb; font: 10px/1.6 ui-monospace, monospace; letter-spacing: .06em; }
.home-diamond__windowbar i { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #77ddc2; margin-right: 7px; }
.home-diamond__windowbar small { font: inherit; border: 1px solid #82b3c52b; padding: 2px 7px; border-radius: 4px; }
.home-diamond__dashboard-title { color: #e3eff6; font-size: clamp(16px, 1.5vw, 22px); font-weight: 650; margin: 24px 0 20px; line-height: 1.5; }
.home-diamond__route { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.home-diamond__route span { padding: 12px 8px; flex: 1; text-align: center; background: #3c93b31a; border: 1px solid #66b5d336; border-radius: 6px; font-size: 12px; color: #bcdced; }
.home-diamond__route span:last-child { color: #f7c797; border-color: #eeb37555; background: #edac6810; }
.home-diamond__route b { font-weight: 400; color: #7ca0b2; }
.home-diamond__chart { display: flex; align-items: flex-end; gap: 12px; height: 105px; padding: 16px 12px 0; margin-top: 18px; border-bottom: 1px solid #83b0c333; background: repeating-linear-gradient(0deg,transparent,transparent 25px,#8ab4c80d 26px); }
.home-diamond__chart span { flex: 1; height: var(--bar); border-radius: 3px 3px 0 0; background: linear-gradient(#58b4d5,#23607e66); transform-origin: center bottom; }
.home-diamond__chart span:last-child { background: linear-gradient(#efb176,#965e3266); }
.home-diamond__dashboard-foot { margin-top: 18px; }
.home-diamond__workspace[data-module="integration"] .home-diamond__chart span { background: linear-gradient(#77ddc2,#27677966); }
.home-diamond__workspace[data-module="inventory"] .home-diamond__chart { gap: 22px; }
.home-brand-cloud .media-stack > img, .home-brand-cloud .media-stack > picture { opacity: .07; }
.home-brand-modules .module-preview { min-height: 280px; }
.home-brand-modules .module-tabs button > span { background: #23485e; color: #c4ebfb; }
.home-brand-modules .module-tabs button.active { border-color: #69bbdb !important; }
.home-brand-cloud .benefit-grid button.active { border-color: #69bbdb !important; }
@media (max-width: 1199px) {
    .home-brand-hero, .home-brand-modules { position: relative; padding-top: 360px; }
    .home-brand-hero .hero__content, .home-brand-modules .section-heading, .home-brand-modules .module-shell { max-width: none; }
    .home-brand-cloud > .container > .row { flex-direction: column; }
    .home-brand-cloud .col-lg-6 { width: 100%; }
    .home-brand-cloud .media-stack { position: relative; padding-top: 320px; min-height: 440px; }
    .home-brand-cloud .media-stack > picture, .home-brand-cloud .media-stack > img { height: 310px; }
    .home-diamond--local { position: absolute; width: 310px; height: 310px; top: 22px; left: calc(50% - 155px); opacity: 1; }
    .home-diamond--scene-1 .home-diamond__sources, .home-diamond--scene-1 .home-diamond__network { opacity: 1; }
    .home-diamond--scene-1 .home-diamond__network { transform: scale(1.5); }
    .home-diamond--local .home-diamond__sources span { font-size: 10px; padding: 7px 9px; }
    .home-diamond--scene-2 .home-diamond__object { transform: translateY(-105px) scale(.32); }
    .home-diamond--scene-2 .home-diamond__workspace { opacity: 1; top: 24%; left: 0; width: 100%; padding: 14px; }
    .home-diamond--local .home-diamond__dashboard-title { font-size: 14px; margin: 12px 0; }
    .home-diamond--local .home-diamond__route span { font-size: 10px; padding: 8px 4px; }
    .home-diamond--local .home-diamond__chart { height: 63px; margin-top: 8px; }
    .home-diamond--local .home-diamond__dashboard-foot { margin-top: 8px; font-size: 8px; }
}
@media (prefers-reduced-motion: reduce) {
    .home-brand-hero, .home-brand-modules { padding-top: 70px; }
    .home-brand-cloud .media-stack { padding-top: 0; min-height: 0; }
    .home-brand-cloud .media-stack > picture, .home-brand-cloud .media-stack > img { position: relative; opacity: 1; height: auto; }
}
/* Match theme-engine specificity while keeping the changes on this homepage. */
html[data-theme] .home-brand-modules .module-preview { background: #0c1d2b; border-color: #496c7a80; }
html[data-theme] .home-brand-modules .module-tabs button > span { background: #23485e; color: #c4ebfb; }
html[data-theme] .home-brand-cloud .media-stack > picture, html[data-theme] .home-brand-cloud .media-stack > img { opacity: .07; }
.home-diamond__sources { z-index: 2; }
.home-diamond__sources span:nth-child(1) { top: 3%; left: 15%; }
.home-diamond__sources span:nth-child(2) { top: 33%; right: 0; }
.home-diamond__sources span:nth-child(3) { bottom: 10%; left: 12%; }
@media (max-width: 1199px) {
    html[data-theme] .home-brand-hero, html[data-theme] .home-brand-modules { padding-top: 380px; }
    html[data-theme] .home-brand-cloud .media-stack { padding-top: 320px; }
}
@media (prefers-reduced-motion: reduce) {
    html[data-theme] .home-brand-hero, html[data-theme] .home-brand-modules { padding-top: 70px; }
    html[data-theme] .home-brand-cloud .media-stack { padding-top: 0; }
    html[data-theme] .home-brand-cloud .media-stack > picture, html[data-theme] .home-brand-cloud .media-stack > img { opacity: 1; }
}


/* A light brand silhouette. Idle motion never competes with the scroll transform. */
.home-diamond__object { width: 72%; height: 72%; left: 14%; top: 14%; }
.home-diamond__idle { position: absolute; inset: 0; transform-style: preserve-3d; animation: hd-float 8s ease-in-out infinite; animation-play-state: paused; }
.home-diamond__sweep { animation: hd-reflection 12s ease-in-out infinite; animation-play-state: paused; }
.home-diamond.is-idle-running .home-diamond__idle,
.home-diamond.is-idle-running .home-diamond__sweep { animation-play-state: running; }
.home-diamond__plate--front { filter: none; }
.home-diamond__plate--back { opacity: .32; }
.home-diamond__plate--middle { opacity: .48; }
.home-diamond__aura { opacity: .5; }
.home-diamond__grid { opacity: .22; }
@keyframes hd-float { 0%, 100% { transform: translateY(-3px); } 50% { transform: translateY(3px); } }
@keyframes hd-reflection { 0%, 65% { transform: translateX(0); opacity: 0; } 68% { opacity: .5; } 85%, 100% { transform: translateX(265px); opacity: 0; } }
@media (max-width: 1199px) {
    .home-diamond--scene-1 .home-diamond__object { transform: scale(.82); }
}
@media (prefers-reduced-motion: reduce) {
    .home-diamond__idle, .home-diamond__sweep { animation: none; }
}
/* Project records replace the decorative brand object and repeated module copy. */
.home-diamond__object { inset: 7% 4% auto; width: 92%; height: 82%; }
.home-diamond__workspace { top: 7%; left: 4%; width: 92%; padding: 26px; }
.home-diamond__idle { position: relative; height: 100%; }
.project-visual { position: relative; padding: 23px 26px; border: 1px solid #507c9166; border-radius: 18px; background: linear-gradient(145deg,#132c3bed,#081723f5); box-shadow: 0 24px 70px #0006; overflow: hidden; }
.project-visual__top { display: flex; align-items: center; justify-content: space-between; color: #c0d7e3; font-size: 12px; letter-spacing: .08em; }
.project-visual__top small { font-size: 10px; color: #91aab7; border: 1px solid #6a91a533; padding: 3px 7px; border-radius: 4px; }
.project-visual__drawing { position: relative; height: 228px; margin: 12px 0; }
.home-diamond .project-visual__drawing svg { position: static; width: 100%; height: 100%; overflow: visible; }
.project-visual__pin { position: absolute; right: 0; bottom: 20px; font-size: 11px; color: #f5c592; border-left: 2px solid #ecb779; padding: 5px 9px; background: #182b35; }
.project-visual__name small { display: block; color: #7f9aaa; font-size: 9px; letter-spacing: .18em; margin-bottom: 5px; }
.project-visual__name strong { color: #e4eff4; font-size: 25px; font-weight: 600; }
.project-visual__steps { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 20px; padding: 15px 0; border-block: 1px solid #709bad29; color: #a3c5d7; font-size: 12px; }
.project-visual__steps i { font-style: normal; color: #698e9f; }
.project-visual__note { display: flex; align-items: center; gap: 8px; color: #91acbb; font-size: 11px; margin-top: 15px; }
.project-visual__note i { width: 5px; height: 5px; border-radius: 50%; background: #75cebb; animation: hd-signal 8s ease-in-out infinite paused; }
.home-diamond.is-idle-running .project-visual__note i { animation-play-state: running; }
@keyframes hd-signal { 0%,100% { opacity: .35; } 50% { opacity: 1; } }
.scenario[hidden] { display: none; }
.scenario h3 { color: #e1edf4; font-size: clamp(18px,1.65vw,24px); line-height: 1.5; margin: 22px 0; font-weight: 600; }
.scenario__document { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 0; margin-top: 10px; border-bottom: 1px solid #7199ad33; }
.scenario__document small { display: block; font-size: 10px; letter-spacing: .07em; color: #84a2b4; margin-bottom: 6px; }
.scenario__document strong { font-size: 15px; color: #dce9f2; font-weight: 500; }
.scenario__badge { color: #8bddc6; font-size: 10px; padding: 4px 8px; background: #245c4e33; border: 1px solid #67b99c33; border-radius: 4px; white-space: nowrap; }
.scenario__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid #709bad1c; font-size: 12px; }
.scenario__row > span { color: #90aaba; }
.scenario__row strong { color: #d4e5ef; font-weight: 500; text-align: right; }
.scenario__result { margin: 18px 0 0; padding-left: 12px; border-left: 2px solid #eab477; color: #e3bf96; font-size: 12px; line-height: 1.7; }
.scenario__total { display: flex; justify-content: space-between; align-items: center; padding-top: 16px; color: #acc5d4; font-size: 12px; }
.scenario__total strong { color: #f2c58f; font-size: 27px; font-weight: 500; font-variant-numeric: tabular-nums; }
.scenario__quantity { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 27px 0; }
.scenario__quantity small { color: #90aaba; font-size: 10px; display: block; margin-bottom: 8px; }
.scenario__quantity strong { color: #d9eaf3; font-size: 28px; font-weight: 500; }
.scenario__quantity > div:last-child strong { color: #f2c58f; }
.scenario__quantity em { font-size: 11px; font-style: normal; }
.scenario__quantity b { color: #6b8b9e; font-weight: 400; }
.home-diamond__sources span:nth-child(1) { top: auto; bottom: -4%; left: 2%; }
.home-diamond__sources span:nth-child(2) { top: auto; bottom: -4%; right: auto; left: 35%; }
.home-diamond__sources span:nth-child(3) { top: auto; bottom: -4%; left: auto; right: 0; }
.home-diamond__sources span { font-size: 11px; padding: 9px 10px; }
@media (min-width: 1200px) {
    .home-brand-cloud .media-stack { min-height: 710px; padding-top: 550px; }
}
@media (max-width: 1199px) {
    html[data-theme] .home-brand-hero, html[data-theme] .home-brand-modules { padding-top: 525px; }
    html[data-theme] .home-brand-cloud .media-stack { padding-top: 505px; }
    .home-diamond--local { width: min(490px,calc(100vw - 48px)); height: 475px; left: 50%; margin-left: calc(max(-245px, (48px - 100vw) / 2)); top: 22px; }
    .home-diamond--local .home-diamond__object { inset: 0; width: 100%; height: 100%; transform: none; }
    .home-diamond--scene-2 .home-diamond__object { display: none; }
    .home-diamond--scene-2 .home-diamond__workspace { top: 0; padding: 20px; }
    .home-diamond--local .project-visual { padding: 20px; }
    .home-diamond--local .project-visual__drawing { height: 205px; }
    .home-diamond--local .project-visual__name strong { font-size: 22px; }
    .home-diamond--local .home-diamond__sources span { bottom: 0; font-size: 9px; padding: 7px 5px; }
    .home-diamond--local .scenario h3 { font-size: 18px; margin: 18px 0; }
    .home-diamond--local .scenario__row { font-size: 11px; padding: 13px 0; }
    .home-diamond--local .scenario__result { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
    .project-visual__note i { animation: none; }
    html[data-theme] .home-brand-hero, html[data-theme] .home-brand-modules { padding-top: 70px; }
    html[data-theme] .home-brand-cloud .media-stack { min-height: 0; padding-top: 0; }
}
.home-brand-hero { overflow: clip; }
html:has(.home-diamond:not([hidden])) .home-brand-cloud .media-stack > picture,
html:has(.home-diamond:not([hidden])) .home-brand-cloud .media-stack > img { visibility: hidden; }
html:has(.home-diamond:not([hidden])) .home-brand-cloud .media-stack::before { display: none; }
html[data-theme] .home-brand-modules .module-preview::after { display: none; }
@media (max-width: 1199px) {
    html[data-theme] .home-brand-modules { padding-top: 565px; }
}
@media (prefers-reduced-motion: reduce) {
    html[data-theme] .home-brand-modules { padding-top: 70px; }
}
.home-brand-hero .hero__bg-image { transform: none !important; width: 100%; max-width: 100%; left: 0; right: 0; }
/* Decorative theme backgrounds may extend a few pixels beyond the mobile viewport. */
html:has(.home-brand-hero), body:has(.home-brand-hero) { overflow-x: clip; }

/* Open brand silhouette: five blue strokes, warm arrow, signature red point. */
.home-diamond__object { inset: 0; width: 100%; height: 100%; }
.home-diamond__idle { position: absolute; inset: 0; height: 100%; }
.home-diamond .home-logo-art { width: 100%; height: 100%; }
.home-logo-art__light { animation: hs-logo-light 12s ease-in-out infinite paused; }
.home-diamond.is-idle-running .home-logo-art__light { animation-play-state: running; }
@keyframes hs-logo-light { 0%,65% { transform: translateX(0); opacity: 0; } 68% { opacity: .6; } 88%,100% { transform: translateX(520px); opacity: 0; } }
@media (min-width: 1200px) {
    .home-diamond__sources span { bottom: 0; }
}
@media (max-width: 1199px) {
    html[data-theme] .home-brand-hero { padding-top: 380px; }
    .home-diamond--scene-0 { height: 325px; }
    .home-diamond--scene-1 .home-diamond__object { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
    .home-logo-art__light { animation: none; }
    html[data-theme] .home-brand-hero { padding-top: 70px; }
}

/* Ambient structure surrounds the original mark; transforms stay on separate groups. */
.hs-stage { transform-origin: 250px 250px; animation: hs-stage-enter 1.5s cubic-bezier(.2,.7,.2,1) both paused; }
.hs-stage__backplane { transform-origin: 250px 250px; animation: hs-plane-back 11s ease-in-out infinite paused; }
.hs-stage__midplane { transform-origin: 250px 250px; animation: hs-plane-mid 9s ease-in-out infinite paused; }
.hs-stage__traveler { transform-origin: 250px 250px; animation: hs-orbit-light 14s linear infinite paused; }
.hs-stage__foreground { animation: hs-front-drift 10s ease-in-out infinite paused; }
.hs-stage__beacon { animation: hs-beacon 5s ease-in-out infinite paused; }
.home-diamond.is-idle-running .hs-stage,
.home-diamond.is-idle-running .hs-stage__backplane,
.home-diamond.is-idle-running .hs-stage__midplane,
.home-diamond.is-idle-running .hs-stage__traveler,
.home-diamond.is-idle-running .hs-stage__foreground,
.home-diamond.is-idle-running .hs-stage__beacon { animation-play-state: running; }
/* A browser that pauses CSS animations must still paint the brand at the first frame. */
@keyframes hs-stage-enter { from { transform: scale(.87); opacity: 1; } to { transform: scale(1); opacity: 1; } }
@keyframes hs-plane-back { 0%,100% { transform: translate(-4px,5px) rotate(-2deg); } 50% { transform: translate(4px,-5px) rotate(2deg); } }
@keyframes hs-plane-mid { 0%,100% { transform: translate(3px,-4px) rotate(1deg); } 50% { transform: translate(-3px,4px) rotate(-1deg); } }
@keyframes hs-orbit-light { to { transform: rotate(360deg); } }
@keyframes hs-front-drift { 0%,100% { transform: translateY(3px); } 50% { transform: translateY(-3px); } }
@keyframes hs-beacon { 0%,100% { opacity: .35; } 50% { opacity: 1; } }
@media (max-width: 767px) { .hs-stage__backplane { opacity: .6; } }
@media (prefers-reduced-motion: reduce) {
 .hs-stage, .hs-stage__backplane, .hs-stage__midplane, .hs-stage__traveler, .hs-stage__foreground, .hs-stage__beacon { animation: none; }
}

/* Four irregular callouts extend from the ambient structure in the second scene. */
.home-diamond__sources { inset: 0; width: 100%; height: 100%; z-index: 3; }
.data-constellation text { font-family: inherit; }
.data-pulse { opacity: 0; animation: hs-data-flow 6s linear infinite paused; }
.data-pulse:nth-of-type(4n) { animation-delay: -3s; }
.home-diamond.is-idle-running.is-data-visible .data-pulse,
.home-diamond--scene-1.is-idle-running .data-pulse { opacity: .8; animation-play-state: running; }
@keyframes hs-data-flow { to { stroke-dashoffset: -1; } }
@media (max-width: 1199px) {
    .home-diamond--scene-1 .home-diamond__object { transform: none; }
    .home-diamond--scene-1 .home-diamond__sources { top: 0; }
}
@media (prefers-reduced-motion: reduce) { .data-pulse { animation: none; } }
@media (max-width: 767px) {
    .data-node text:first-of-type { font-size: 16px; }
    .data-node text:last-of-type { font-size: 11px; }
}

@media (max-width: 767px) {
    .data-node text:first-of-type { font-size: 14px; }
    .data-node text:last-of-type { font-size: 9px; }
}

/* Reduced themes must not compress slow infinite loops into 120ms cycles. */
html[data-motion="reduced"] .home-diamond,
html[data-motion="reduced"] .home-diamond *,
html[data-motion="reduced"] .home-diamond *::before,
html[data-motion="reduced"] .home-diamond *::after {
    animation: none !important;
    transition: none !important;
}
html[data-motion="off"] .home-diamond { display: none !important; }
@media (max-width: 1199px) {
    html[data-theme][data-motion="off"] .home-brand-hero,
    html[data-theme][data-motion="off"] .home-brand-modules { padding-top: 70px; }
}
html[data-theme][data-motion="off"] .home-brand-cloud .media-stack { min-height: 0; padding-top: 0; }
html[data-theme][data-motion="off"] .home-brand-cloud .media-stack > picture,
html[data-theme][data-motion="off"] .home-brand-cloud .media-stack > img { position: relative; opacity: 1; height: auto; }

/* Static artwork also covers blocked scripts, slow loading and reduced-motion preferences. */
.home-brand-fallback {
    position: absolute;
    z-index: 2;
    width: min(590px, 42vw);
    height: auto;
    top: 50%;
    left: 76%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}
html.home-animation-ready .home-brand-fallback { visibility: hidden; }
@media (max-width: 1199px) {
    .home-brand-fallback { width: min(490px, calc(100vw - 48px)); height: 325px; object-fit: contain; top: 22px; left: 50%; transform: translateX(-50%); }
    html[data-theme]:not(.home-animation-ready) .home-brand-hero { padding-top: 380px; }
}
@media (prefers-reduced-motion: reduce) {
    html.home-animation-ready .home-brand-fallback { visibility: visible; }
}
html[data-motion="off"] .home-brand-fallback { visibility: visible; }
