/* Shared visual refinements and the standalone homepage, October 2026. */
:root { --ink: #16253b; --muted: #657488; --line: #dfe6ed; }
body { -webkit-font-smoothing: antialiased; min-height: 100svh; display: flex; flex-direction: column; }
body > .header, body > footer { flex-shrink: 0; }
body > main { flex: 1; }
::selection { background: #cbdfff; color: #142940; }
.header { height: 88px; gap: 24px; padding-inline: max(56px,calc((100% - var(--wrap))/2)); border-bottom-color: #e5eaf0; }
.header .brand-cn, .footer-brand .brand-cn { display: inline; }
.brand b { font-size: 21px; letter-spacing: .5px; }
.brand-cn { font-size: 16px; letter-spacing: .5px; }
.main-nav { gap: clamp(20px, 2vw, 34px); }
.main-nav>a { font-size: 14px; }
.header-actions { gap: 16px; }
.nav-contact { border: 1px solid var(--line); padding: 9px 16px; transition: border-color .2s, color .2s; }
.nav-contact:hover { border-color: var(--blue); color: var(--blue); }
.icon-button { min-width: 44px; min-height: 44px; }
.button { font-weight: 600; }
.back-top { visibility: hidden; }
.back-top.visible { visibility: visible; }
.page-banner > .wrap { padding-top: 28px; padding-bottom: 62px; }
.page-banner h1 { letter-spacing: .025em; }
.page-description { font-size: 15px; }
.about-brand-mark { position: absolute; left: 50%; top: 43%; width: min(58%,300px); height: auto; aspect-ratio: 1; transform: translate(-50%,-50%); fill: var(--blue); }
.footer-links a, .footer-links button { font-size: 12px; line-height: 1.7; color: #a5b1c1; }
footer { padding: 26px 0 14px; background: #101a29; color: #9aa9bc; }
.footer-top { display: grid; grid-template-columns: minmax(280px,1fr) minmax(0,1.25fr); column-gap: clamp(32px,5vw,72px); }
.footer-top { align-items: center; padding-bottom: 20px; }
.footer-brand { display: flex; align-items: center; padding-top: 16px; }
.footer-brand>.brand { gap: 9px; }
.footer-brand .brand svg { width: 42px; height: 42px; }
.footer-brand .brand b { font-size: 25px; }
.footer-brand .brand-cn { font-size: 17px; }
.footer-brand .brand small { font-size: 8px; letter-spacing: 2px; margin-top: 5px; }
.footer-links { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; padding-top: 0; }
.footer-links>div { gap: 4px; min-width: 0; }
.footer-links b { font-size: 13px; line-height: 1.7; margin-bottom: 4px; }
.footer-bottom { display: block; padding-top: 12px; font-size: 11px; line-height: 1.8; }
.footer-separator { margin-inline: 6px; }
.footer-address { grid-column: 2; justify-self: end; width: calc((100% - 48px)/3); margin: 0; font-style: normal; text-align: left; overflow-wrap: anywhere; }

/* A quiet opening: type and imagery share the same grid. */
body[data-page="home"] .hero { height: clamp(600px, 43vw, 730px); min-height: 600px; background: #eef3f8; }
body[data-page="home"] .hero-image { object-position: 59% center; }
body[data-page="home"] .hero-shade { background: linear-gradient(90deg, #eff4fa 0%, #eff4faf2 26%, #eff4fa5c 49%, transparent 70%); }
body[data-page="home"] .hero-content { padding-top: clamp(80px, 6.4vw, 120px); }
body[data-page="home"] .hero-content .eyebrow { color: #365271; font-size: 11px; letter-spacing: 1.6px; margin-bottom: 28px; gap: 12px; }
body[data-page="home"] .hero .hero-title { font-size: clamp(54px, 4.6vw, 76px); letter-spacing: .045em; line-height: 1.32; }
body[data-page="home"] .hero-description { font-size: 16px; line-height: 1.95; margin-top: 26px; color: #4f637b; }
body[data-page="home"] .hero-buttons { gap: 30px; margin-top: 30px; }
body[data-page="home"] .hero-buttons .button { min-width: 200px; }
body[data-page="home"] .hero-bottom { bottom: 30px; color: #405671; }
body[data-page="home"] .hero-scroll { font-size: 12px; letter-spacing: 1px; display: flex; align-items: center; gap: 12px; }
body[data-page="home"] .hero-scroll>span { margin: 0; width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid #7891ac80; border-radius: 50%; font-size: 16px; }
body[data-page="home"] .hero-footnote { display: flex; align-items: center; gap: 25px; font-size: 12px; letter-spacing: 2px; }
.hero-footnote small { font-size: 10px; letter-spacing: .5px; background: #eff4fad9; padding: 3px 7px; }

/* Product imagery is an entry point; details stay on product pages. */
.home-technologies { padding: 40px 0 80px; }
.home-section-heading { display: flex; justify-content: space-between; gap: 40px; align-items: end; margin-bottom: 42px; }
.home-section-heading h2 { font-size: clamp(32px, 3vw, 44px); line-height: 1.45; letter-spacing: .01em; font-weight: 500; }
.technology-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 28px; }
.technology-card { display: block; min-width: 0; }
.technology-visual { position: relative; overflow: hidden; background: #eef3f7; border: 1px solid #e6edf3; aspect-ratio: 1.32; display: grid; align-content: center; }
.technology-card:nth-child(2) .technology-visual { background: #f0f3f6; }
.technology-card:nth-child(3) .technology-visual { background: #eaf1f8; }
.technology-visual>img { width: 100%; height: auto; transition: transform .4s; mix-blend-mode: multiply; }
.technology-caption { position: absolute; left: 22px; bottom: 17px; font: 9px/1.5 Arial,sans-serif; letter-spacing: 2px; color: #56718d; }
.technology-copy { padding: 23px 0 20px; border-bottom: 1px solid var(--line); transition: border-color .2s; }
.technology-copy h3 { display: flex; align-items: center; justify-content: space-between; font-size: 25px; font-weight: 500; line-height: 1.5; }
.technology-copy p { font-size: 14px; color: var(--muted); margin-top: 10px; }
.technology-tags { display: flex; flex-wrap: wrap; gap: 9px 16px; margin-top: 19px; color: #677c92; font-size: 12px; }
.technology-card:hover .technology-visual>img { transform: scale(1.045); }
.technology-card:hover .technology-copy { border-bottom-color: var(--blue); }

/* Industry routes, with sufficient context to choose the next page. */
.home-industries { padding: 52px 0; background: #f3f6fa; color: var(--ink); }
.industries-layout { display: grid; grid-template-columns: .85fr 1.35fr; gap: 80px; align-items: center; }
.industries-intro .eyebrow { color: #57718f; font-size: 10px; letter-spacing: 1.8px; margin-bottom: 14px; }
.industries-intro h2 { font-size: clamp(28px,2.3vw,32px); line-height: 1.5; letter-spacing: .01em; font-weight: 500; }
.industries-intro>p:not(.eyebrow) { font-size: 13px; color: var(--muted); line-height: 1.85; margin-top: 14px; }
.industries-intro>.text-link { color: var(--blue); font-size: 13px; margin-top: 18px; }
.industry-links { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 32px; }
.industry-links>a { padding: 23px 0; display: flex; align-items: center; border-bottom: 1px solid #d8e1ec; min-width: 0; }
.industry-links>a:nth-child(-n+2) { border-top: 1px solid #d8e1ec; }
.industry-links h3 { font-size: 19px; font-weight: 500; line-height: 1.5; transition: color .2s; }
.industry-links p { font-size: 12px; line-height: 1.8; color: #64778e; margin-top: 7px; }
.industry-links>a:hover h3, .industry-links>a:focus-visible h3 { color: var(--blue); }

@media (max-width: 1250px) {
  .header { gap: 18px; }
  .main-nav { gap: 20px; }
  .header-actions { gap: 8px; }
  .header .brand b { font-size: 20px; }
  .header .brand-cn { font-size: 15px; margin-left: 7px; }
  .nav-contact { padding-inline: 12px; }
  .industries-layout { gap: 60px; }
  .technology-grid { gap: 20px; }
}
@media (max-width: 1200px) {
  .header { padding-inline: 36px; }
}
@media (max-width: 1100px) {
  .header { height: auto; display: grid; grid-template-columns: minmax(0,1fr); grid-template-areas: "brand" "nav"; gap: 0; padding-top: 12px; }
  html { scroll-padding-top: 136px; }
  .header>.brand { grid-area: brand; }
  .header .brand-cn { display: inline; }
  .main-nav { grid-area: nav; display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); position: static; height: auto; margin: 12px 0 0; padding: 0; gap: 0; background: transparent; border-top: 1px solid var(--line); border-bottom: 0; box-shadow: none; max-height: none; overflow: visible; }
  .main-nav>a, .main-nav>.mobile-contact { display: flex; justify-content: center; font-size: 13px; min-height: 48px; border: 0; }
  .main-nav>a::after { display: block; left: 18%; right: 18%; height: 2px; }
  .header-actions { grid-area: actions; margin-left: 0; gap: 0; }
  .nav-contact { display: none; }
  body[data-page="home"] .hero { height: 600px; }
  body[data-page="home"] .hero-content { padding-top: 85px; }
  body[data-page="home"] .hero-shade { background: linear-gradient(90deg,#eff4fa 0%,#eff4fae6 32%,#eff4fa66 58%,transparent 85%); }
  body[data-page="home"] .hero .hero-title { font-size: 58px; }
  .technology-copy h3 { font-size: 22px; }
  .technology-copy p { font-size: 13px; }
  .technology-tags { font-size: 11px; gap: 8px; }
  .technology-visual { aspect-ratio: 1.12; }
  .home-technologies { padding: 36px 0 64px; }
  .home-industries { padding: 44px 0; }
  .industries-layout { gap: 38px; }
  .industry-links { gap: 0 20px; }
}
@media (max-width: 700px) {
  .header { height: auto; padding: 10px 20px 0; gap: 0 8px; }
  html { scroll-padding-top: 164px; }
  .header .brand svg { width: 29px; height: 29px; }
  .header .brand b { font-size: 17px; }
  .header .brand-cn { font-size: 13px; margin-left: 7px; }
  .header .brand small { font-size: 6px; letter-spacing: 1.5px; }
  .header .brand { gap: 6px; }
  .header-actions { gap: 0; }
  .nav-contact { display: none; }
  .main-nav { grid-template-columns: repeat(3,minmax(0,1fr)); margin-top: 8px; padding: 0; max-height: none; }
  .main-nav>a, .main-nav>.mobile-contact { min-height: 42px; font-size: 13px; }
  body[data-page="home"] .hero { height: 690px; min-height: 0; }
  body[data-page="home"] .hero-image { object-position: 68% bottom; }
  body[data-page="home"] .hero-shade { background: linear-gradient(180deg,#eff4fa 0%,#eff4faf5 30%,#eff4fa80 57%,#eff4fa0a 78%,#eff4fab3 100%); }
  body[data-page="home"] .hero-content { padding-top: 43px; }
  body[data-page="home"] .hero-content .eyebrow { font-size: 11px; letter-spacing: 1px; gap: 8px; margin-bottom: 23px; }
  .hero-eyebrow-en { font-size: 8px; letter-spacing: .7px; }
  body[data-page="home"] .hero .hero-title { font-size: clamp(38px,10.3vw,52px); line-height: 1.35; letter-spacing: .045em; }
  body[data-page="home"] .hero-description { font-size: 14px; margin-top: 20px; }
  body[data-page="home"] .hero-buttons { margin-top: 24px; gap: 18px; }
  body[data-page="home"] .hero-buttons .button { min-width: 0; padding-inline: 16px; gap: 20px; font-size: 13px; }
  body[data-page="home"] .hero-buttons .text-link { font-size: 13px; gap: 8px; }
  body[data-page="home"] .hero-bottom { bottom: 20px; align-items: center; }
  body[data-page="home"] .hero-footnote { font-size: 10px; max-width: none; letter-spacing: 1px; flex-direction: column; align-items: end; gap: 3px; }
  .hero-footnote small { font-size: 9px; }
  .home-technologies { padding: 28px 0 53px; }
  .home-section-heading { flex-direction: column; align-items: start; gap: 20px; margin-bottom: 30px; }
  .home-section-heading h2 { font-size: 31px; }
  .technology-grid { grid-template-columns: 1fr; gap: 30px; }
  .technology-visual { aspect-ratio: 1.52; }
  .technology-visual>img { max-height: 250px; object-fit: contain; }
  .technology-copy { padding-top: 19px; padding-bottom: 23px; }
  .technology-copy h3 { font-size: 24px; }
  .technology-copy p { font-size: 14px; }
  .technology-tags { font-size: 12px; gap: 18px; margin-top: 14px; }
  .home-industries { padding: 36px 0; }
  .industries-layout { grid-template-columns: 1fr; gap: 26px; }
  .industries-intro h2 { font-size: 27px; }
  .industries-intro>p:not(.eyebrow) { font-size: 13px; margin-top: 12px; }
  .industries-intro>.text-link { font-size: 13px; margin-top: 16px; }
  .industry-links { gap: 0 20px; }
  .industry-links>a { padding-block: 18px; align-items: start; }
  .industry-links h3 { font-size: 17px; }
  .industry-links p { font-size: 12px; margin-top: 5px; }
  footer { padding-top: 24px; }
  .footer-top, .footer-bottom { grid-template-columns: 1fr; }
  .footer-top { gap: 20px; padding-bottom: 18px; }
  .footer-brand { justify-content: center; padding-top: 0; }
  .footer-links { gap: 16px; padding-top: 0; }
  .page-banner>.wrap { padding-top: 22px; padding-bottom: 38px; }
  .page-description { font-size: 14px; }
  .footer-links b { font-size: 13px; }
  .footer-links a,.footer-links button { font-size: 12px; padding-block: 2px; }
  .footer-bottom { font-size: 11px; line-height: 1.8; padding-top: 12px; align-items: stretch; }
  .footer-address { grid-column: auto; justify-self: start; width: auto; }
  .back-top { width: 44px; height: 44px; right: 12px; }
  dialog { width: calc(100% - 32px); }
}
@media (max-width: 370px) {
  .header { padding-inline: 12px; }
  .header .brand-cn { font-size: 12px; margin-left: 5px; }
  .header .brand b { font-size: 16px; }
  .hero-eyebrow-en { display: none; }
  body[data-page="home"] .hero-buttons { gap: 13px; }
  body[data-page="home"] .hero-buttons .button { padding-inline: 12px; gap: 13px; }
  body[data-page="home"] .hero-buttons .text-link { font-size: 12px; }
}
.technology-card:hover h3, .technology-card:focus-visible h3 { color: var(--blue); }
