html { scroll-padding-top: 80px; }
.homepage-banner { width: 100%; padding: 0; background: #0a1525; }
.homepage-banner-track { position: relative; overflow: hidden; transition: height .5s ease; }
.homepage-banner-slide { position: absolute; inset: 0 0 auto; width: 100%; opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility .7s; }
.homepage-banner-slide.is-active { position: relative; opacity: 1; visibility: visible; }
.homepage-banner-slide img { display: block; width: 100%; height: auto; }
.homepage-banner-empty { height: 72px; }
.intro-detail-link { display: inline-flex; align-items: center; gap: 12px; margin-top: 22px; padding: 8px 0; color: #155fe2; font-size: 16px; font-weight: 650; border-bottom: 1px solid #b3caf2; }
.intro-detail-link:hover { border-bottom-color: currentColor; }

.scenario-card { max-width: calc(100vw - 36px); }
.scenario-figure { position: relative; aspect-ratio: 3 / 2; background: #f2f5fa; }
.scenario-figure img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; }
.scenario-caption h3 { min-width: 0; overflow-wrap: anywhere; }
.scenarios-group[hidden] { display: none; }
.scenarios-viewport.is-static::before, .scenarios-viewport.is-static::after { display: none; }
.scenarios-viewport.is-static .scenarios-marquee { width: 100%; justify-content: center; animation: none; transform: none; will-change: auto; }
.scenarios-viewport.is-static .scenarios-group { max-width: 100%; flex-wrap: wrap; justify-content: center; padding: 0 18px; }
.scenarios-viewport:not(.is-static) .scenarios-marquee { animation: scenarios-move-right var(--scenarios-duration, 42s) linear infinite; }
.scenarios-viewport.is-paused .scenarios-marquee { animation-play-state: paused; }

.header { --nav-ink: #334863; --nav-brand: #155fe2; --nav-muted: #687c98; --nav-rule: #d7e0ec; position: fixed; inset: 0 0 auto; z-index: 120; width: 100%; background: #fff; border-bottom: 1px solid #e7edf5; box-shadow: 0 3px 18px #19365308; transition: background .28s ease, border-color .28s ease, box-shadow .28s ease; pointer-events: none; }
.header::before { content: ""; position: absolute; inset: 0 0 auto; height: 160px; background: linear-gradient(180deg, #040c1bb8 0%, #040c1b7a 55%, transparent 100%); opacity: 0; pointer-events: none; transition: opacity .28s ease; }
.header.has-banner:not(.is-scrolled) { --nav-ink: #fff; --nav-brand: #fff; --nav-muted: #ffffffd9; --nav-rule: #ffffff4d; background: transparent; border-color: transparent; box-shadow: none; }
.header.has-banner:not(.is-scrolled)::before { opacity: 1; }
.nav-shell { position: relative; display: flex; align-items: center; justify-content: space-between; width: min(1460px, calc(100% - 96px)); height: 72px; margin-inline: auto; color: var(--nav-ink); pointer-events: auto; transition: height .28s ease; }
.header.has-banner:not(.is-scrolled) .nav-shell { height: 88px; }
.brand { display: flex; align-items: center; min-width: 0; }
.brand-logo { display: block; width: 224px; max-width: 100%; height: auto; filter: brightness(0) saturate(100%) invert(28%) sepia(95%) saturate(2628%) hue-rotate(214deg) brightness(94%) contrast(99%); transition: filter .28s ease; }
@media (min-width: 821px) {
    .header.has-banner:not(.is-scrolled) .brand-logo { filter: none; }
}
.nav-right { display: flex; align-items: center; gap: 30px; min-width: 0; margin-left: 28px; }
.nav-mini { display: flex; align-items: center; gap: 30px; min-width: 0; max-width: min(46vw, 600px); overflow-x: auto; scrollbar-width: none; }
.nav-mini a { flex-shrink: 0; padding: 8px 0; border-bottom: 1px solid transparent; color: var(--nav-ink); font-size: 13px; font-weight: 600; letter-spacing: .03em; white-space: nowrap; transition: color .2s, border-color .2s; }
.nav-mini a:hover { border-bottom-color: currentColor; }
.nav-menu { position: relative; flex-shrink: 0; }
.menu-button { display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 6px; width: 44px; height: 44px; padding: 0; color: var(--nav-brand); background: #eef3fc; border: 1px solid #e1e8f5; border-radius: 10px; transition: background .2s, border-color .2s, color .2s; }
.menu-button:hover, .menu-button[aria-expanded="true"] { background: #e2ecfb; }
.header.has-banner:not(.is-scrolled) .menu-button { background: transparent; border-color: #ffffff4d; }
.header.has-banner:not(.is-scrolled) .menu-button:hover, .header.has-banner:not(.is-scrolled) .menu-button[aria-expanded="true"] { background: #ffffff1f; border-color: #ffffff80; }
.menu-button .bar { display: block; width: 20px; height: 2px; border-radius: 1px; background: currentColor; transition: transform .25s, opacity .25s; }
.menu-button[aria-expanded="true"] .bar:first-child { transform: translateY(8px) rotate(45deg); }
.menu-button[aria-expanded="true"] .bar:nth-child(2) { opacity: 0; }
.menu-button[aria-expanded="true"] .bar:last-child { transform: translateY(-8px) rotate(-45deg); }
.menu-panel { position: absolute; top: calc(100% + 14px); right: 0; width: min(380px, calc(100vw - 48px)); max-height: calc(100svh - 116px); overflow-y: auto; overscroll-behavior: contain; padding: 26px; border: 1px solid #e2e8f1; border-radius: 16px; background: #fffffffa; box-shadow: 0 18px 52px #0f254426; color: #203352; opacity: 0; visibility: hidden; transform: translateY(-8px); pointer-events: none; transition: opacity .2s, transform .25s var(--ease), visibility .2s; }
.nav-menu.is-open .menu-panel { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
.menu-panel__eyebrow { color: #7c8ca4; font-size: 10px; font-weight: 700; letter-spacing: .2em; margin: 0 0 18px; }
.menu-link { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; color: #203352; font-family: Georgia, "Songti SC", serif; font-size: 24px; line-height: 1.4; transition: color .2s, padding-left .2s; }
.menu-link:hover { color: #1c61e4; padding-left: 5px; }
.menu-link svg { width: 17px; height: 17px; opacity: .5; }
.menu-link:hover svg { opacity: 1; }
.menu-item-row { display: flex; align-items: center; gap: 8px; border-top: 1px solid rgba(130,155,197,.25); }
.menu-item-row .menu-link { flex: 1; min-width: 0; gap: 10px; border-top: 0; overflow-wrap: anywhere; }
.menu-group-button { width: 100%; text-align: left; background: none; border: 0; }
.menu-submenu-toggle { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 38px; height: 38px; border: 0; border-radius: 9px; color: #526683; background: #edf2fa; }
.menu-submenu-toggle:hover { background: #e1eafb; }
.menu-submenu-toggle svg { width: 18px; height: 18px; }
[data-nav-submenu-toggle] svg { flex-shrink: 0; transition: transform .2s; }
[data-nav-submenu-toggle][aria-expanded="true"] svg { transform: rotate(180deg); }
.menu-children { margin: 2px 0 16px 8px; padding-left: 16px; border-left: 1px solid rgba(130,155,197,.3); }
.menu-children a { display: block; padding: 9px 4px; font-size: 15px; line-height: 1.6; color: #526683; overflow-wrap: anywhere; }
.menu-children a:hover { color: #1c61e4; }
@media (prefers-reduced-motion: reduce) {
    .homepage-banner-track, .homepage-banner-slide, .header, .header::before, .nav-shell, .brand-logo, .nav-mini a, .menu-button, .menu-button .bar, .menu-panel, .menu-link, [data-nav-submenu-toggle] svg { transition: none; }
}

.nav-menu.is-open::after { content: ""; position: absolute; top: 100%; right: 0; width: min(398px, calc(100vw - 24px)); height: 16px; }
@media (max-width: 1100px) {
    .nav-mini { display: none; }
    .nav-shell { width: calc(100% - 60px); }
}
@media (max-width: 820px) {
    html { scroll-padding-top: 72px; }
    .header, .header.has-banner:not(.is-scrolled) { --nav-ink: #334863; --nav-brand: #155fe2; --nav-muted: #687c98; --nav-rule: #d7e0ec; background: #fff; border-color: #e7edf5; }
    .header::before { display: none; }
    .nav-shell, .header.has-banner:not(.is-scrolled) .nav-shell { width: calc(100% - 40px); height: 64px; }
    .brand-logo { width: 176px; }
    .nav-right { margin-left: 20px; }
    .header.has-banner:not(.is-scrolled) .menu-button { background: #eef3fc; border-color: #e1e8f5; }
    .header.has-banner:not(.is-scrolled) .menu-button:hover, .header.has-banner:not(.is-scrolled) .menu-button[aria-expanded="true"] { background: #e2ecfb; border-color: #d4e0f3; }
    .homepage-banner { padding-top: 64px; }
    .homepage-banner-empty { height: 64px; }
    .menu-panel { top: calc(100% + 10px); width: min(360px, calc(100vw - 40px)); max-height: calc(100svh - 88px); padding: 22px; }
    .menu-link { font-size: 22px; }
}
