:root {
  --panel: #eef4fa;
  --blue-line: #c4d5e9;
  --inner-title: clamp(1.75rem, 3vw, 2.65rem);
  --gutter: clamp(18px, 4vw, 64px);
}
.wrap { width: min(calc(100% - 2 * var(--gutter)), var(--width)); }
.site-header { background: #fff; box-shadow: 0 2px 8px rgb(15 36 69 / 5%); }
.brand-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 62px; }
.brand-bar .brand { font-size: 1.05rem; }
.header-tools .language-switch { border-color: transparent; min-height: 44px; }
.header-tools .language-switch:hover { border-color: var(--blue-line); }
.site-nav-band { border-top: 1px solid var(--line); }
.site-nav-band nav { display: flex; column-gap: clamp(18px, 2.8vw, 46px); align-items: stretch; }
.site-nav-band nav a { display: flex; position: relative; align-items: center; min-height: 50px; font-size: .93rem; border-bottom: 3px solid transparent; padding-top: 3px; }
.site-nav-band nav a:is(:hover,[aria-current]) { color: var(--blue); border-color: var(--blue); text-decoration: none; }
html { scroll-padding-top: 126px; }
.inner-intro { background: var(--panel); border-bottom: 1px solid var(--line); }
.inner-intro .section { padding-block: clamp(28px, 4vw, 58px); }
.inner-intro h1, .page-about h1, .page-manufacturing h1, .page-contact h1, .page-cover-tape .hero h1,
html[lang="zh-CN"] :is(.inner-intro,.page-about,.page-manufacturing,.page-contact,.page-cover-tape .hero) h1 {
  font-size: var(--inner-title);
  max-width: 27ch;
  line-height: 1.18;
  letter-spacing: -.025em;
}
.inner-intro .eyebrow, .manufacturing .eyebrow, .page-about .eyebrow { margin-bottom: 9px; }
.inner-intro p:last-child { margin-top: 12px; }
.page-cover-tape .hero-grid { min-height: 0; padding-block: clamp(30px, 5vw, 72px); }
.page-cover-tape .hero h1 br { display: none; }
.page-cover-tape .hero-copy > p:not(.eyebrow) { margin-top: 15px; }
.page-cover-tape .hero-figure img { aspect-ratio: 2; }
.page-cover-tape .hero h1 + p { max-width: 53ch; }
.page-index .hero-figure img { aspect-ratio: 1.68; }
.page-index .hero-grid { gap: clamp(20px,4vw,58px); }
.page-index .hero h1 { font-size: clamp(2.65rem, 6vw, 6rem); }
.contents-bar { background: #fff; border-top: 0; }
.contents-bar a { min-height: 49px; font-weight: 600; }
.contents-bar a:hover { text-underline-offset: .4em; }
.deck-section { padding-block: clamp(28px,4.6vw,60px); }
.deck-section > h2, .section-head h2, .catalog > h2, .timeline-title { font-size: clamp(1.45rem, 2.55vw, 2.3rem); }
.factory-intro { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0,1fr); align-items:center; gap: clamp(20px,4vw,56px); }
.factory-copy > p { margin-top: 14px; max-width: 50ch; }
.factory-lead { background: white; border: 1px solid var(--blue-line); }
.factory-lead img { width: 100%; height: auto; aspect-ratio: 1.95; object-fit: cover; object-position: center 47%; }
.factory-lead figcaption { padding: 8px 12px; color: var(--muted); font-size: .85rem; }
.page-manufacturing .deck-photos { grid-template-columns: repeat(3,minmax(0,1fr)); }
.page-manufacturing .deck-photos img, .factory-lead img { filter: contrast(1.06) saturate(.90); }
.page-manufacturing .deck-photos img { aspect-ratio: 1.45; background: #ecf1f6; }
.page-about #about { padding-block: clamp(34px, 5vw, 68px); }
.timeline-title { margin-top: clamp(34px,5vw,68px); }
.timeline { margin-top: 18px; }
.page-partners .logo-grid { grid-template-columns: repeat(7,minmax(0,1fr)); }
.page-development .deck-grid { column-gap: clamp(22px,5vw,68px); }
.page-contact .contact-intro { padding-block: clamp(38px,6vw,86px); }
.page-contact .contact-phone { font-variant-numeric: tabular-nums; }
@media(max-width: 760px) {
  .brand-bar { min-height: 56px; }
  .site-nav-band nav { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 0 8px; }
  .site-nav-band nav a { min-height: 43px; font-size: clamp(.72rem, 2.2vw, .88rem); line-height: 1.18; }
  html { scroll-padding-top: 150px; }
  .factory-intro { grid-template-columns: minmax(0,1fr); }
  .page-partners .logo-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .page-manufacturing .deck-photos { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media(max-width: 450px) {
  .page-partners .logo-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .page-manufacturing .deck-photos { grid-template-columns: minmax(0,1fr); }
}
.application-visual { background: #edf3f8; }
.application-visual img { display:block; width:100%; height:auto; aspect-ratio:1.73; object-fit:cover; }
.application-visual figcaption { padding: 7px 10px; font-size: .78rem; color: var(--muted); }
.families { gap: 28px; }
.families article { border: 1px solid var(--line); background: #fff; padding: 0 0 16px; }
.families article > :not(figure) { margin-inline: 20px; }
.families article > h3 { margin-top: 18px; }
.intro-with-visual { display:grid; grid-template-columns:minmax(0,.9fr) minmax(0,1fr); align-items:center; gap: clamp(20px,4vw,56px); }
.intro-with-visual img { aspect-ratio:2.35; }
@media(max-width:760px) { .intro-with-visual { grid-template-columns:minmax(0,1fr); } }

/* Use technical illustrations where they explain construction, with text-led category listings. */
img.product-diagram { width: 100%; height: auto; object-fit: contain; background: #f4f7fa; }
.page-index .hero-figure img.product-diagram,
.page-cover-tape .hero-figure img.product-diagram { aspect-ratio: auto; }
.featured img.product-diagram { aspect-ratio: auto; }
.application-index { gap: 0 28px; }
.application-index article { background: transparent; border: 0; border-top: 1px solid var(--blue-line); padding: 20px 0; }
.application-index article > :not(figure) { margin-inline: 0; }
.application-index article > h3 { margin-top: 0; }
.tech-copy { display: block; }
.tech-copy > div { max-width: 72ch; }

/* Shared section masthead. The background is a photograph of Tianyi's film rollers. */
.section-banner {
  color: white;
  background-color: #0a1c34;
  background-image: linear-gradient(90deg, #09192f 14%, rgb(9 25 47 / 95%) 32%, rgb(15 37 64 / 65%) 66%, rgb(17 42 68 / 31%)), url("assets/deck/18.webp");
  background-repeat: no-repeat;
  background-position: center, right 46%;
  background-size: cover, max(68%, 690px) auto;
}
.section-banner-inner {
  min-height: clamp(218px, 23vw, 335px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-block: clamp(30px, 4.25vw, 64px);
}
.section-banner h1, html[lang="zh-CN"] .section-banner h1 {
  color: white;
  max-width: 28ch;
  font-size: clamp(1.82rem, 3.1vw, 2.7rem);
  line-height: 1.16;
  text-wrap: balance;
}
.section-banner p { color: #e2ebf6; max-width: 62ch; margin-top: 13px; }
.section-banner .eyebrow { color: #a9ddf2; margin: 0 0 10px; }
.section-banner .actions { margin-top: 19px; }
.section-banner .button:not(.outline) { color: #09182e; background: #bcecff; border-color: transparent; }
.section-banner .button:not(.outline):hover { background: #d8f5ff; }
.section-banner .button.outline { border-color: #a9bfd7; }
.contact-intro { grid-template-columns: minmax(0, 1fr); }
.structure-figure img { width: 100%; height: auto; }
.technology .structure-figure figcaption { display: flex; flex-wrap: wrap; gap: 5px 16px; justify-content: space-between; }
@media (max-width: 650px) {
  .section-banner {
    background-image: linear-gradient(90deg, rgb(9 25 47 / 97%), rgb(9 25 47 / 81%) 63%, rgb(9 25 47 / 58%)), url("assets/deck/18.webp");
    background-size: cover, cover;
    background-position: center, center 43%;
  }
}
