:root {
  --ink: #132640;
  --muted: #465a72;
  --navy: #09182e;
  --blue: #1548b9;
  --paper: #f1f6fa;
  --line: #d6e1ec;
  --ice: #83e7fb;
  --width: 1280px;
  --section-space: clamp(52px, 7vw, 104px);
  --measure: 62ch;
}
body { background: #ffffff; }
.wrap { width: min(calc(100% - 96px), var(--width)); }
.section { padding-block: var(--section-space); }
h1, h2, h3 { font-weight: 680; }
h2 { font-size: clamp(1.85rem, 3.5vw, 3.25rem); }
h3 { font-size: clamp(1.12rem, 1.7vw, 1.45rem); }
p, dd { line-height: 1.65; }
.eyebrow { color: var(--blue); letter-spacing: .105em; }
html[lang="zh-CN"] .eyebrow { letter-spacing: .07em; }
header { background: #ffffff; border-bottom: 1px solid var(--line); }
.nav { min-height: 76px; }
.nav nav { gap: clamp(12px, 1.65vw, 25px); }
.nav nav a { font-size: .92rem; }
.nav nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: .55em; }
.language-switch, .menu, .button, .filters button { border-radius: 0; }
.button { background: var(--blue); border-color: var(--blue); }
.button:hover { background: #0e348b; }
.button.secondary { background: transparent; color: var(--blue); }
.button.secondary:hover { background: #e0ebfe; }
.button.outline { background: transparent; border-color: #667f9f; }
.button.outline:hover { background: #213a5e; }
.hero { background: var(--navy); }
.hero-grid { min-height: clamp(470px, 43vw, 660px); grid-template-columns: minmax(0,.9fr) minmax(0,1.15fr); }
.hero h1 { font-size: clamp(3.35rem, 6.9vw, 7rem); }
html[lang="zh-CN"] .hero h1 { font-size: clamp(3rem, 6.25vw, 6.2rem); }
.hero-figure { border: 0; padding: 0; background: transparent; }
.hero-figure img { aspect-ratio: 1.6; }
.hero-figure figcaption { padding: 10px 0 0; border-top: 1px solid #466184; }
.hero-copy > p:not(.eyebrow) { color: #d5e2f0; }
.catalog-hero, .manufacturing { background: var(--paper); }
.catalog-hero .section, .manufacturing > .section { padding-block: clamp(40px, 5.5vw, 86px); }
.catalog-hero h1, .page-manufacturing h1, .page-about h1, .page-contact h1 {
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  line-height: 1.07;
  max-width: 18ch;
}
.catalog-hero p:last-child { max-width: var(--measure); }
.contents-bar { border-block: 1px solid var(--line); background: #ffffff; }
.contents-bar .wrap { display: flex; flex-wrap: wrap; column-gap: 26px; }
.contents-bar a { display: inline-flex; align-items: center; min-height: 52px; color: var(--blue); font-size: .94rem; font-weight: 650; }
.contents-bar a:hover, .directory-card:hover h3 { text-decoration: underline; text-underline-offset: .22em; }
.deck-section { border-top: 1px solid var(--line); padding-block: clamp(36px, 5vw, 68px); }
.deck-section > h2 { margin: 0 0 24px; }
.deck-section > p { max-width: var(--measure); margin-bottom: 22px; }
.deck-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 28px; }
.deck-grid article { padding: 18px 0 24px; border-top: 1px solid var(--line); }
.deck-grid article p { margin-top: 10px; }
.deck-section ul, .priority-list { max-width: 75ch; padding-inline-start: 1.4em; color: var(--muted); }
.deck-section li { margin-block: 10px; padding-inline-start: .35em; }
.directory-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0 24px; }
.directory-card { position: relative; border: 0; border-top: 1px solid var(--line); min-height: 132px; padding: 18px 35px 22px 0; }
.directory-card span { position: absolute; top: 16px; right: 4px; font-size: 1.2rem; }
.featured { gap: clamp(20px,4vw,52px); padding: clamp(24px,4vw,58px); background: var(--navy); color: #fff; }
.featured p { color: #d5e2f0; }
.featured .eyebrow { color: var(--ice); }
.featured .button { background: var(--ice); color: var(--navy); }
.featured .button:hover { background: #b4f3ff; }
.families, .grades { gap: 0 24px; }
.grades article { border: 0; border-top: 1px solid var(--line); padding: 18px 0; min-height: 160px; }
.grades a, .sizes a, .card-top strong, .contact-details a { color: var(--blue); }
.tech-grid figure, .sizes { border-radius: 0; }
.technology { background: var(--navy); }
.specs dd, .timeline strong, table { font-variant-numeric: tabular-nums; }
.timeline li { border-top-color: var(--blue); }
.deck-photos { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.deck-photos img { aspect-ratio: 1.7; background: white; object-fit: contain; }
.page-manufacturing .deck-photos img { aspect-ratio: 1.5; }
.deck-photos figcaption { border-top: 1px solid var(--line); font-size: .93rem; }
.deck-grid + .deck-photos { margin-top: 12px; }
.dow-block { display: grid; grid-template-columns: minmax(130px,220px) minmax(0,1fr); align-items: center; gap: clamp(18px,4vw,52px); }
.dow-block img { width: 100%; max-height: 120px; padding: 20px; object-fit: contain; background: white; border: 1px solid var(--line); }
.dow-block p { margin-top: 8px; max-width: var(--measure); }
.partner-mosaics a { display: block; background: white; border: 1px solid var(--line); padding: 12px; }
.partner-mosaics img { width: 100%; aspect-ratio: auto; height: auto; object-fit: contain; }
.logo-grid { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.logo-grid > div { display: grid; place-items: center; background: white; min-height: clamp(72px,8vw,110px); padding: 12px; }
.logo-grid img { width: 100%; max-height: 56px; object-fit: contain; }
.priority-list li { padding-block: 10px; border-bottom: 1px solid var(--line); }
.page-contact main { background: var(--paper); }
.company-contact { background: var(--paper); color: var(--ink); }
.company-contact p { color: var(--muted); }
.company-contact .eyebrow, .contact-phone, .company-contact .outline { color: var(--blue); }
.company-contact .outline:hover { background: #e0ebfe; }
@media (max-width: 1160px) {
  .nav { display: grid; grid-template-columns: minmax(0,1fr) auto auto; gap: 8px; }
  .menu { display: block; grid-column: 2; grid-row: 1; }
  .language-switch { grid-column: 3; grid-row: 1; }
  .nav nav { display: none; grid-column: 1 / -1; flex-wrap: wrap; width: 100%; gap: 0 14px; }
  .nav nav.open { display: flex; }
}
@media (max-width: 900px) {
  .wrap { width: calc(100% - 48px); }
  .logo-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 36px); }
  .nav { min-height: 66px; }
  .hero-grid, .directory-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .hero-grid { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 540px) {
  .directory-grid, .deck-grid, .deck-photos, .photo-grid, .dow-block { grid-template-columns: minmax(0,1fr); }
  .logo-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .dow-block img { width: 160px; }
  .language-switch { padding-inline: 8px; }
}

/* Keep navigation visible, including on narrow screens. */
header { position: sticky; top: 0; z-index: 5; }
.hero { background: radial-gradient(ellipse at 85% 60%, #162e59, var(--navy) 67%); }
html { scroll-padding-top: 84px; }
@media (max-width: 1160px) {
  html { scroll-padding-top: 120px; }
  .nav { grid-template-columns: minmax(0,1fr) auto; gap: 0 8px; min-height: 0; padding-block: 8px 2px; }
  .language-switch { grid-column: 2; grid-row: 1; justify-self: end; }
  .nav nav { display: flex; grid-column: 1 / -1; grid-row: 2; gap: 0 18px; }
}
@media (max-width: 650px) {
  html { scroll-padding-top: 152px; }
  .nav nav { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 0 4px; }
  .nav nav a { min-height: 40px; font-size: clamp(.68rem,2.6vw,.83rem); white-space: normal; line-height: 1.2; overflow-wrap: anywhere; }
}
