/* Shared components for the current homepage and inner pages. */
html { scroll-padding-top: 100px; }

.footer-friendlinks { position: relative; width: 100%; max-width: 330px; margin-top: 20px; color: #777; font-size: 14px; line-height: 1.7; }
.footer-friendlinks > summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 48px; padding: 10px 2px; border-bottom: 1px solid #d5dcdf; cursor: pointer; list-style: none; }
.footer-friendlinks > summary::-webkit-details-marker { display: none; }
.footer-friendlinks > summary:focus-visible { outline: 2px solid #168e9c; outline-offset: 4px; border-radius: 2px; }
.footer-friendlinks > summary:hover { color: #168e9c; }
.footer-friendlinks > summary svg { display: block; flex: 0 0 20px; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; }
.footer-friendlinks[open] > summary svg { transform: rotate(180deg); }
.footer-friendlinks > nav { position: absolute; top: calc(100% + 8px); left: 0; z-index: 5; width: 100%; max-height: 240px; overflow-y: auto; padding: 8px; border: 1px solid #e4e9eb; border-radius: 6px; background: #fff; box-shadow: 0 8px 24px #203f5212; }
.footer-friendlinks ul { display: grid; gap: 2px; min-width: 0; padding: 0; margin: 0; list-style: none; }
.footer-friendlinks a { display: block; padding: 10px 12px; border-radius: 4px; color: inherit; text-decoration: none; overflow-wrap: anywhere; }
.footer-friendlinks a:hover, .footer-friendlinks a:focus-visible { color: #168e9c; background: #f1f8f9; }
@media (max-width: 760px) {
  .footer-friendlinks { max-width: 330px; }
}

/* A fixed, viewport-wide shell keeps the logo aligned with the page content rail. */
.topbar.site-header { position: fixed; top: 0; left: 0; width: 100%; padding: 0; z-index: 30; transition: top .42s cubic-bezier(.22,.61,.36,1); }
.site-header .topbar-inner {
  width: 100%; max-width: none; min-height: 72px; gap: 28px;
  padding-inline: max(var(--gutter), calc((100% - var(--canvas)) / 2));
  border-radius: 0; background: #fff; box-shadow: 0 3px 18px #366b7b1c;
  transition: width .42s cubic-bezier(.22,.61,.36,1), padding .42s ease, border-radius .42s ease, box-shadow .42s ease;
}
.site-header .nav { flex: 0 1 auto; justify-content: flex-start; gap: 30px; }
.site-header .header-cta { flex-shrink: 0; margin-left: auto; }
.site-header.is-scrolled { top: 0; }
.site-header.is-scrolled .topbar-inner { width: 100%; padding-inline: max(var(--gutter), calc((100% - var(--canvas)) / 2)); border-radius: 0; box-shadow: 0 3px 18px #366b7b1c; }
.site-header .nav a,
.site-header .nav button,
.site-header .nav-more { font-size: 14px; }
.site-header .nav-more { color: #111; }
.site-header .nav-more.is-current { color: #168e9c; }
.site-header .nav > a[aria-current="page"],
.site-header .nav > a[aria-current="true"] { color: #168e9c; }
.site-header .nav > a[aria-current="page"]::before,
.site-header .nav > a[aria-current="true"]::before,
.site-header .nav-more.is-current::before { right: 0; }
.site-header .nav-dropdown a[aria-current="page"] { background: #f2fcfe; color: #168e9c; }
.site-header .nav-services:not(.is-open) .nav-dropdown { opacity: 0; visibility: hidden; pointer-events: none; }
.site-header .nav-services.is-open .nav-dropdown { opacity: 1; visibility: visible; pointer-events: auto; }
.site-header .nav-services:not(.is-open) .nav-more::after { transform: translateY(-2px) rotate(45deg); }
.site-header .nav-services.is-open .nav-more::after { transform: translateY(2px) rotate(225deg); }
.site-header .nav-more::after { border-color: #111; }

/* Shared editorial mega menus: two discovery columns and a recommendation rail. */
.site-header .nav-mega {
  display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px;
  width: min(1160px, calc(100vw - var(--gutter) * 2)); padding: 32px 36px;
  top: calc(100% + 12px); left: 50%; border: 1px solid #edf1f2;
  border-radius: 20px; background: #fff; box-shadow: 0 20px 56px #203f521c;
  transform: translate(-50%, 8px); max-height: calc(100dvh - 112px); overflow-y: auto;
  overscroll-behavior: contain;
}
.site-header .nav-mega::before { display: none; }
.site-header .nav-services.is-open .nav-mega { transform: translate(-50%, 0); transition: opacity .2s ease, transform .2s ease; }
.site-header .nav-menu-main { display: flex; flex-direction: column; min-width: 0; }
.site-header .nav-menu-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
@media(min-width:1001px){
  .site-header .nav-solutions .nav-mega{grid-template-columns:minmax(0,1fr) 270px;gap:28px}
  .site-header .nav-solutions .nav-menu-columns{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
  .site-header .nav-solutions .nav-menu-links a{padding:12px 10px}
  .site-header .nav-solutions .nav-menu-links a>small{font-size:12px}
  .site-header .nav-solutions .nav-menu-aside{padding-left:26px}
}
.site-header .nav-menu-label { margin: 0 0 16px; color: #849095; font-size: 12px; line-height: 1.5; letter-spacing: .04em; }
.site-header .nav-menu-column > .nav-menu-label { padding-left: 12px; }
.site-header .nav-menu-links { display: grid; gap: 8px; }
.site-header .nav-menu-links a { padding: 14px 12px; border-radius: 8px; white-space: normal; }
.site-header .nav-menu-links a > span { color: #202a2f; font-size: 16px; line-height: 1.5; font-weight: 400; }
.site-header .nav-menu-links .nav-menu-hot { display: inline-block; margin-left: 6px; color: #ff7d0b; font-size: 10px; font-weight: 700; line-height: 1; vertical-align: super; }
.site-header .nav-menu-links a > small { margin-top: 6px; color: #849095; font-size: 13px; line-height: 1.6; }
.site-header .nav-menu-links a:hover > span,
.site-header .nav-menu-links a[aria-current="page"] > span { color: #168e9c; }
.site-header .nav-menu-note { margin: auto 12px 0; padding-top: 30px; color: #8a989e; font-size: 13px; line-height: 1.7; }
.site-header .nav-menu-aside { padding-left: 32px; border-left: 1px solid #edf0f2; min-width: 0; }
.site-header .nav-feature { padding: 18px; border-radius: 12px; background: #f0f8fa; white-space: normal; }
.site-header .nav-feature:hover, .site-header .nav-feature:focus-visible { background: #e9f5f8; }
.site-header .nav-feature-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: #527a84; font-size: 11px; }
.site-header .nav-feature-meta time { color: #80959c; font-size: 10px; }
.site-header .nav-feature strong { display: block; margin-top: 12px; color: #1d343d; font-size: 16px; font-weight: 400; line-height: 1.65; }
.site-header .nav-feature-art { position: relative; display: grid; width: 100%; height: auto; min-height: 0; aspect-ratio: 16 / 9; place-items: center; margin-top: 16px; overflow: hidden; border-radius: 8px; }
.site-header .nav-feature-art img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; min-width: 0; min-height: 0; object-fit: cover; object-position: center; }
.site-header .nav-feature-art > svg { position: relative; width: 78px; height: 78px; fill: #ffffff42; stroke: #fff; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.site-header .nav-feature-read { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; color: #426773; font-size: 12px; }
.site-header .nav-link-arrow { width: 22px; height: 22px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1; stroke-linecap: round; stroke-linejoin: round; }
.site-header .nav-menu-guide { display: grid; gap: 2px; margin-top: 18px; }
.site-header .nav-menu-guide a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 9px 0; color: #253b45; font-size: 13px; line-height: 1.6; white-space: normal; }
.site-header .nav-menu-guide a:hover { color: #168e9c; background: transparent; }
.site-header .nav-mega a:focus-visible { outline-offset: 2px; }

@media (min-width: 1001px) {
  .site-header .nav { position: static; margin-left: auto; justify-content: flex-end; }
  .site-header .nav-services { position: static; }
  .site-header .header-cta { margin-left: 0; }
}

/* The network flows directly into the next pale section. */
.production:has(.asset-section) { padding-bottom: 0; }
.asset-node-icon img { filter: none; }

/* The same editorial card geometry and illustrations on both pages. */
.resource-section .note-grid { margin-top: 56px; }
.resource-section .note-description { min-height: calc(1.75em * 2); max-height: calc(1.75em * 2); }
.resource-section .note-grid h3 { min-height: calc(1.45em * 2); max-height: calc(1.45em * 2); text-wrap: balance; }
.geo-resource-state { color: #9aa2a5; font-size: 11px; }
.geo-resource-art { display: flex; height: 230px; flex-shrink: 0; flex-direction: column; justify-content: space-between; margin-top: 30px; padding: 22px 24px; overflow: hidden; border-radius: 12px; color: #729aa3; background: #f0f7f8; }
.geo-resource-art:hover { opacity: 1; }
.geo-resource-art > span:first-child { color: #75969d; font-size: 10px; letter-spacing: .12em; }
.geo-art-caption { font-size: 11px; color: #7b9ca3; }
.geo-resource-art > svg { width: 100%; height: 128px; color: #6baeb8; }
.geo-wave { transform-origin: center; transition: transform .7s ease; }
.geo-art-video:hover .geo-wave { transform: scaleY(1.18); }
.geo-art-article { background: #f4f7fa; }
.geo-art-article > div { display: flex; align-items: center; justify-content: center; gap: 24px; font-size: 34px; font-weight: 300; color: #627b8c; }
.geo-art-article :is(.geo-icon, .resource-icon) { color: #98b3c0; transition: transform .5s ease; }
.geo-art-article:hover :is(.geo-icon, .resource-icon) { transform: rotate(90deg); }
.geo-art-paper { background: #f2f8f5; }
.geo-paper-lines { display: flex; align-items: center; justify-content: center; gap: 18px; color: #628d82; }
.geo-paper-lines > :is(.geo-icon, .resource-icon) { width: 68px; height: 68px; stroke-width: .8; transition: transform .4s ease; }
.geo-art-paper:hover :is(.geo-icon, .resource-icon) { transform: translateY(-4px); }
.geo-paper-lines > span { font-size: 38px; font-weight: 300; }
.geo-paper-lines > span > span { display: block; margin-top: 4px; font-size: 11px; letter-spacing: .03em; }
.resource-icon { display: inline-block; flex-shrink: 0; width: 36px; height: 36px; fill: none; stroke: currentColor; stroke-width: 1.35; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }

/* Keep the arrow still; a sparse stream of particles guides the eye to its tip. */
.hello-reference .hello-inner { padding: 54px 0; gap: 54px; }
.hello-reference .hello-copy { flex: 1; min-width: 0; }
.hello-reference .hello-copy > span { font-size: 26px; }
.hello-reference .hello-copy h2 { margin-top: 18px; font-family: 'Noto Sans SC', 'Microsoft YaHei', sans-serif; font-size: clamp(44px, 5.6vw, 80px); font-weight: 300; letter-spacing: 0; line-height: 1.25; white-space: normal; text-wrap: balance; }
.hello-reference .hello-particles { display: block; inset: -18px; overflow: visible; z-index: 3; }
.hello-reference .hello-particles i { width: min(var(--particle-size), 4px); height: min(var(--particle-size), 4px); animation-name: contact-particle-flow; animation-play-state: paused; }
.hello-reference.is-active .hello-particles i { animation-play-state: running; }
.hello-reference .hello-arrow:hover img, .hello-reference .hello-arrow:focus-visible img { transform: none; filter: drop-shadow(0 0 12px #ffffff75); }
@keyframes contact-particle-flow {
  0% { opacity: 0; transform: translate3d(0,0,0) scale(.4); }
  22% { opacity: .9; }
  65% { opacity: .65; }
  100% { opacity: 0; transform: translate3d(var(--particle-x),var(--particle-y),0) scale(.75); }
}
@media (max-width: 1344px) and (min-width: 1001px) {
  .site-header .topbar-inner { gap: 22px; padding-inline: max(var(--gutter), calc((100% - var(--canvas)) / 2)); }
  .site-header .nav { gap: clamp(14px, calc(3.2vw - 20px), 23px); }
  .site-header .mark { flex-basis: 180px; }
  .site-header .mark img { width: 180px; }
  .site-header .header-cta { min-width: 140px; font-size: 14px; }
}
@media (min-width: 1001px) and (max-width: 1140px) {
  .site-header .topbar-inner { gap: 18px; }
  .site-header .mark { flex-basis: 155px; }
  .site-header .mark img { width: 155px; }
  .site-header .header-cta { min-width: 122px; padding-inline: 14px; }
}
@media (max-width: 1000px) {
  body { padding-top: 78px; }
  html { scroll-padding-top: 84px; }
  .topbar.site-header { top: 0; }
  .site-header .topbar-inner { min-height: 54px; padding-inline: max(var(--gutter), calc((100% - var(--canvas)) / 2)); gap: 14px; border-radius: 0; }
  .site-header.is-scrolled { top: 0; }
  .site-header.is-scrolled .topbar-inner { padding-inline: max(var(--gutter), calc((100% - var(--canvas)) / 2)); }
  .site-header .nav { top: 64px; left: var(--gutter); right: var(--gutter); gap: 22px; max-height: calc(100dvh - 84px); overflow-y: auto; overscroll-behavior: contain; }
  .site-header .nav-services .nav-mega { position: static; grid-template-columns: minmax(0, 1fr); gap: 24px; width: 100%; padding: 0; border: 0; border-radius: 0; box-shadow: none; transform: none; overflow: visible; max-height: none; }
  .site-header .nav-services:not(.is-open) .nav-mega { display: none; }
  .site-header .nav-services.is-open .nav-mega { display: grid; max-height: none; padding-top: 24px; transform: none; }
  .site-header .nav-menu-columns { gap: 16px; }
  .site-header .nav-menu-links { gap: 4px; }
  .site-header .nav-menu-links a { padding: 10px 8px; }
  .site-header .nav-menu-column > .nav-menu-label { padding-left: 8px; }
  .site-header .nav-menu-links a > span { font-size: 15px; }
  .site-header .nav-menu-links a > small { font-size: 12px; }
  .site-header .nav-menu-note { display: none; }
  .site-header .nav-menu-aside { padding: 22px 0 0; border-left: 0; border-top: 1px solid #edf0f2; }
  .site-header .nav-feature { display: grid; grid-template-columns: minmax(0, 1fr) 120px; column-gap: 18px; padding: 16px; }
  .site-header .nav-feature-meta { grid-column: 1; }
  .site-header .nav-feature strong { grid-column: 1; font-size: 15px; }
  .site-header .nav-feature-art { grid-column: 2; grid-row: 1 / 4; align-self: center; height: auto; aspect-ratio: 16 / 9; margin: 0; }
  .site-header .nav-feature-read { grid-column: 1; }
  .site-header .nav-menu-guide { margin-top: 12px; }
  .resource-section .note-grid { margin-top: 44px; }
  .resource-section .note-grid h3 { min-height: calc(1.45em * 2); max-height: calc(1.45em * 2); font-size: 21px; }
  .resource-section .note-description { min-height: calc(1.75em * 2); max-height: calc(1.75em * 2); }
  .geo-resource-art { height: 190px; padding: 18px; }
  .geo-art-article > div { gap: 12px; font-size: 26px; }
  .geo-art-article :is(.geo-icon, .resource-icon) { width: 24px; }
  .geo-paper-lines { gap: 8px; }
  .geo-paper-lines > :is(.geo-icon, .resource-icon) { width: 46px; height: 46px; }
  .geo-paper-lines > span { font-size: 29px; }
  .geo-paper-lines > span > span { font-size: 9px; }
  .hello-reference .hello-inner { gap: 30px; padding-block: 48px; }
  .hello-reference .hello-copy > span { font-size: 22px; }
  .hello-reference .hello-copy h2 { font-size: clamp(38px, 5.8vw, 54px); }
}
@media (max-width: 760px) {
  .site-header .nav-menu-columns { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .site-header .nav-menu-label { margin-bottom: 8px; }
  .site-header .nav-feature { grid-template-columns: minmax(0, 1fr) 72px; gap: 0 12px; padding: 12px; }
  .site-header .nav-feature-meta { flex-wrap: wrap; gap: 4px 10px; }
  .site-header .nav-feature-art { height: auto; aspect-ratio: 16 / 9; }
  .site-header .nav-feature-art > svg { width: 56px; height: 56px; }
  .site-header .topbar-inner { gap: 10px; }
  .site-header .header-cta { padding-inline: 10px; }
  .resource-section .note-grid { margin-top: 38px; }
  .resource-section .note-grid h3 { font-size: 24px; min-height: calc(1.45em * 2); max-height: calc(1.45em * 2); }
  .resource-section .note-description { min-height: calc(1.75em * 2); max-height: calc(1.75em * 2); }
  .geo-resource-art { margin-top: 26px; height: 230px; padding: 24px; }
  .geo-art-article > div { gap: 26px; font-size: 38px; }
  .geo-art-article :is(.geo-icon, .resource-icon) { width: 36px; }
  .geo-paper-lines { gap: 20px; }
  .geo-paper-lines > :is(.geo-icon, .resource-icon) { width: 68px; height: 68px; }
  .geo-paper-lines > span { font-size: 38px; }
  .geo-paper-lines > span > span { font-size: 11px; }
  .hello-reference .hello-inner { min-height: 230px; gap: 18px; padding-block: 44px; }
  .hello-reference .hello-copy > span { font-size: 18px; }
  .hello-reference .hello-copy h2 { margin-top: 16px; font-size: clamp(30px, 5.8vw, 44px); }
  .hello-reference .hello-arrow { align-self: center; }
  .hello-reference .hello-particles { inset: -12px; transform: scale(.7); }
}
@media (max-width: 380px) {
  .site-header .mark { flex-basis: 132px; }
  .site-header .mark img { width: 132px; }
  .site-header .header-cta { padding-inline: 7px; font-size: 11px; }
  .hello-reference .hello-inner { gap: 12px; }
  .hello-reference .hello-copy > span { font-size: 16px; }
  .hello-reference .hello-copy h2 { font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .site-header .nav-services .nav-mega { transition: none; }
  .topbar.site-header, .site-header .topbar-inner, .geo-wave, .geo-art-article .resource-icon, .geo-art-paper .resource-icon { transition: none; }
  .hello-reference .hello-particles { display: none; }
}
@media print { .topbar.site-header { display: none; } body { padding-top: 0; } }

/* Build breadcrumbs on their own rail, independent of hero layout. */
.site-breadcrumb-rail { padding-top: 112px; }
body .site-breadcrumb-content.site-breadcrumb-content { padding-top: 0; }
.site-breadcrumb.site-breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; min-height: 20px; color: #879498; font-size: 13px; line-height: 1.5; }
.site-breadcrumb a { color: #5f7b82; }
.site-breadcrumb [aria-current="page"] { color: #50595b; }
@media (max-width: 1000px) {
  .site-breadcrumb-rail { padding-top: 32px; }
}
@media (max-width: 760px) {
  .site-breadcrumb.site-breadcrumb { gap: 10px; font-size: 12px; }
}
