:root {
  --p-bg: #e9e5d7; --p-surface: #dedcc9; --p-ink: #272f20; --p-muted: #535744;
  --p-accent: #414c2b; --p-accent-ink: #e9e5d7; --p-action: #414c2b; --p-action-ink: #e9e5d7;
  --p-inv-bg: #272f20; --p-inv-surface: #333a2b; --p-inv-ink: #e9e5d7; --p-inv-muted: #a5a696;
  --p-inv-accent: #e9e5d7; --p-inv-accent-ink: #272f20; --p-inv-action: #e9e5d7; --p-inv-action-ink: #272f20;
  --font-display: "Albert Sans", "PingFang SC", "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
  --font-text: var(--font-display);
  --display-weight: 400;
  --display-tracking: -.025em;
  --display-tracking-xl: -.035em;
  --field: #e9e5d7;
  --olive: #414c2b;
  --line: #a5a58d;
  --edge: clamp(20px, 5.6vw, 96px);
}
body { background: var(--field); color: var(--p-ink); padding-bottom: calc(61px + env(safe-area-inset-bottom)); }
.wrap { width: min(1320px, calc(100% - var(--edge) * 2)); }
h1, h2, h3 { color: inherit; line-height: 1.08; }
h2 { font-size: clamp(2rem, 4.8vw, 4.55rem); }
h3 { font-size: clamp(1.4rem, 2.8vw, 2.65rem); }
a, button { text-underline-offset: .22em; }
img { display: block; }
p { max-width: 40em; }
:focus-visible { outline: 2px solid var(--olive); outline-offset: 4px; }
::selection { background: var(--olive); color: var(--field); }
.mast { background: var(--field); border-bottom: 1px solid var(--line); }
.mast-inner { min-height: 76px; display: grid; align-items: center; grid-template-columns: 1fr auto 1fr; gap: 16px; }
.mast nav { display: flex; gap: clamp(14px, 2.6vw, 38px); }
.mast a { text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.mast a:hover { text-decoration: underline; }
.brand { font-size: 1.3rem; font-weight: 750; }
.mast-contact { justify-self: end; gap: 10px; }
main > section.architect { min-height: max(710px, 100svh); height: auto; padding: 98px 0 81px; background: var(--field); }
.hero-location { grid-area: 1 / 1 / 2 / 7; color: var(--p-muted); padding-top: 6px; }
.hero-detail { grid-area: 1 / 10 / 2 / 13; width: 100%; height: clamp(110px, 13vw, 180px); object-fit: cover; object-position: 50% 60%; }
.architect h1 > span { display: block; color: var(--olive); font-weight: 500; letter-spacing: -.07em; line-height: 1; }
.architect h1 > span:first-child { font-size: clamp(4.65rem, 9.75vw, 9rem); margin: -23px 0 18px; }
.architect h1 > span:last-child { font-size: clamp(2.65rem, 4.6vw, 4.6rem); align-self: start; line-height: 1.05; }
.hero-factory { grid-area: 3 / 1 / 4 / 8; width: 100%; height: 100%; object-fit: cover; object-position: 54% center; }
.hero-notes { grid-area: 3 / 8 / 4 / 13; align-self: end; padding-bottom: 2px; }
.hero.hero .hero-notes .hero__lead { margin: 0 0 20px; max-width: 23em; font-size: clamp(1rem, 1.65vw, 1.32rem); color: var(--p-muted); }
.hero-notes .btn { border-radius: 0; gap: 26px; }
main > section.section { min-height: 100svh; height: auto; padding-block: clamp(64px, 7vw, 100px); scroll-margin-top: 0; align-content: center; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 26px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.section-heading p { color: var(--p-muted); max-width: 21em; }
.company { background: var(--p-surface); }
main > section.company > .company-grid { display: grid; height: auto; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 22px; align-items: start; }
.company-text { grid-column: 1 / 6; }
.company-text p { margin-top: 24px; color: var(--p-muted); }
.company-spec { margin-top: 30px; }
.company-spec div { border-top: 1px solid var(--line); padding-block: 10px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.company-spec dd { font-weight: 650; margin: 0; }
.plant-image { grid-column: 6 / -1; grid-row: 1 / 3; margin: 0; }
.plant-image img { width: 100%; height: clamp(360px, 45vw, 620px); object-fit: cover; }
.yard-image { grid-column: 1 / 5; width: 100%; height: clamp(125px, 16vw, 225px); object-fit: cover; }
.family { display: flex; flex-wrap: wrap; align-items: stretch; gap: 10px; margin: 25px 0 29px; }
.family button { background: transparent; color: inherit; border: 1px solid var(--line); min-height: 44px; padding: 7px 15px; }
.family button[aria-pressed="true"] { background: var(--olive); border-color: var(--olive); color: var(--field); }
.catalog-grid { display: grid; grid-template-columns: minmax(185px,.8fr) minmax(0,3fr); gap: clamp(16px, 3vw, 45px); }
.models { padding: 0; margin: 0; list-style: none; border-top: 1px solid var(--line); }
.models button { text-align: left; width: 100%; min-height: 48px; padding: 8px 10px; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: inherit; }
.models button[aria-pressed="true"] { background: var(--p-surface); font-weight: 700; }
.models button:hover { text-decoration: underline; }
.specimen { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); align-items: center; gap: clamp(16px, 2.4vw, 35px); }
.specimen img { width: 100%; height: 400px; object-fit: contain; background: var(--p-surface); }
.model-description p { margin-block: 13px 18px; color: var(--p-muted); }
.capacity { display: grid; grid-template-columns: auto 1fr; gap: 8px 12px; margin-bottom: 17px; }
.capacity dd { margin: 0; font-weight: 700; }
.inline-link { display: inline-block; min-height: 44px; align-content: center; }
.use-case { background: #c8c9a9; }
.use-case .mo-wh__text { max-width: none; font-size: clamp(2rem, 5.4vw, 5.3rem); }
.use-case img { margin-top: 23px; width: 100%; height: clamp(205px, 31vw, 425px); object-fit: cover; object-position: 50% 54%; }
.use-case .inline-link { margin-top: 13px; }
.proof-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.05fr); gap: clamp(22px, 6vw, 90px); margin-top: 34px; }
.certificate { display: grid; place-items: center; background: var(--p-surface); padding: 18px; min-height: 310px; }
.certificate img { width: 100%; height: 300px; object-fit: contain; }
.proof-links { border-top: 1px solid var(--line); }
.proof-links > a, .proof-links summary { min-height: 56px; padding-block: 15px; border-bottom: 1px solid var(--line); }
.proof-links > a { display: flex; align-items: center; justify-content: space-between; gap: 10px; text-decoration: none; }
.proof-links > a:hover { text-decoration: underline; }
.proof-links ul { margin-block: 10px 0; }
.proof-links summary { cursor: pointer; }
footer.contact.closing { height: auto; background: #353e28; color: var(--field); padding: clamp(54px, 8vw, 120px) 0 24px; }
footer.contact.closing > .wrap { display: block; height: auto; }
.contact-grid { display: grid; grid-template-columns: 1fr auto; gap: 28px; margin-top: 31px; }
.large-phone { display: inline-block; margin: 17px 0; font-size: clamp(2.1rem, 5.8vw, 5.3rem); line-height: 1; font-variant-numeric: tabular-nums; text-decoration: none; }
.large-phone:hover { text-decoration: underline; }
.office { display: flex; flex-wrap: wrap; gap: 12px 22px; }
.contact address { font-style: normal; margin-top: 15px; }
.wechat { text-align: center; }
.wechat img { width: 132px; height: auto; margin-bottom: 9px; }
.footer-line { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; margin-top: 52px; border-top: 1px solid #8e947b; padding-top: 18px; }
.contact a:focus-visible { outline-color: var(--field); }
nav.dial, aside.dial { position: fixed; inset: auto 0 0; background: var(--field); z-index: 18; border-top: 1px solid var(--line); }
.dial > div { min-height: 60px; display: flex; gap: 9px; align-items: center; justify-content: space-between; padding-bottom: env(safe-area-inset-bottom); }
.dial a { min-height: 44px; padding: 7px 15px; display: inline-flex; align-items: center; gap: 10px; background: var(--olive); color: var(--field); text-decoration: none; white-space: nowrap; }
.dial strong { font-variant-numeric: tabular-nums; white-space: nowrap; }
.library { padding-block: clamp(40px, 7vw, 102px); }
.library h1 { font-size: clamp(2.3rem, 5vw, 4.6rem); }
.reader { display: grid; grid-template-columns: minmax(160px, .52fr) minmax(0, 1.9fr); gap: clamp(16px, 5vw, 70px); align-items: start; margin-top: 29px; }
.reader nav { display: grid; border-top: 1px solid var(--line); }
.reader nav a { display: block; padding: 12px 5px; border-bottom: 1px solid var(--line); text-decoration: none; }
.reader nav a[aria-current] { font-weight: 700; }
.reader nav a:hover { text-decoration: underline; }
.viewer { min-width: 0; }
.page-actions { display: grid; grid-template-columns: auto minmax(0,1fr) auto; gap: 8px; margin-bottom: 13px; }
.page-actions button, .page-actions select { color: inherit; min-height: 44px; padding: 5px 8px; border: 1px solid var(--line); background: transparent; }
.page-actions button:disabled { opacity: .6; }
.viewer img { width: 100%; height: auto; }
@media (max-width: 1023px) {
  main > section.architect { min-height: 100svh; }
  .architect h1 > span:last-child { font-size: clamp(2.2rem, 5.7vw, 4.4rem); }
  .specimen { grid-template-columns: 1fr; }
  .specimen img { height: 290px; }
  main > section.section { min-height: auto; }
}
@media (max-width: 700px) {
  .mast-inner { min-height: 0; grid-template-columns: 1fr auto; gap: 0 12px; }
  .mast nav { grid-area: 2 / 1 / 3 / -1; justify-content: space-between; border-top: 1px solid var(--line); }
  .mast nav a, .mast-contact { min-height: 44px; }
  main > section.architect { padding: 103px 0 75px; }
  .hero-location { grid-area: 1 / 1 / 2 / 2; align-self: start; font-size: .84rem; }
  .hero-detail { grid-area: 1 / 2 / 2 / 3; height: 80px; }
  .architect h1 > span:first-child { grid-area: 2 / 1 / 3 / -1; margin: 0; font-size: clamp(3.2rem, 13vw, 5.3rem); }
  .hero-factory { grid-area: 3 / 1 / 4 / -1; height: auto; aspect-ratio: 1.52; }
  .architect h1 > span:last-child { grid-area: 4 / 1 / 5 / -1; font-size: clamp(1.8rem, 8.5vw, 3.25rem); text-align: right; }
  .hero-notes { grid-area: 5 / 1 / 6 / -1; padding-top: 5px; }
  .hero.hero .hero-notes .hero__lead { margin-bottom: 13px; }
  .section-heading, .footer-line { align-items: start; flex-direction: column; gap: 13px; }
  main > section.company > .company-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .company-text, .plant-image { grid-column: 1 / -1; }
  .plant-image { grid-row: auto; }
  .plant-image img { height: auto; aspect-ratio: 1.3; }
  .yard-image { grid-column: 2 / -1; height: 112px; }
  .catalog-grid, .proof-grid, .reader { grid-template-columns: 1fr; }
  .models { display: grid; grid-template-columns: 1fr 1fr; }
  .models button { padding-inline: 6px; font-size: .89rem; }
  .specimen img { height: 248px; }
  .use-case img { width: 100%; }
  .certificate { min-height: 210px; }
  .certificate img { height: 200px; }
  .contact-grid { grid-template-columns: 1fr; }
  .wechat { width: 132px; }
  .reader nav { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 370px) { .dial > div > span { font-size: .78rem; } .family button { padding-inline: 10px; } }

/* The title spans the factory photograph, with each line aligned to the photo grid. */
.architect h1 {
  display: grid;
  grid-area: 2 / 1 / 4 / -1;
  grid-template-columns: subgrid;
  grid-template-rows: subgrid;
  align-items: start;
  pointer-events: none;
  z-index: 1;
}
.architect h1 > span:first-child { grid-area: 1 / 1 / 2 / 10; }
.architect h1 > span:last-child { grid-area: 2 / 8 / 3 / -1; }
nav.dial { display: block; }
html { scroll-padding-block: 92px 76px; }
.dial > .wrap { max-width: none; }
.specimen { align-items: start; }
.model-description { padding-top: 5px; }
.models button { padding-inline: 0; }
.proof-links summary { list-style-position: inside; }
@media (max-width: 700px) {
  .architect h1 { grid-area: 2 / 1 / 5 / -1; }
  .architect h1 > span:first-child { grid-area: 1 / 1 / 2 / -1; }
  .architect h1 > span:last-child { grid-area: 3 / 1 / 4 / -1; text-align: left; }
  .wechat { text-align: left; }
}

.contact .dial { color: var(--p-ink); }
.contact .dial a:focus-visible { outline-color: var(--olive); }
#model-photo { object-fit: scale-down; }
.use-case img { object-position: 50% 44%; }
@media (max-width: 700px) {
  .mast.nav { height: auto; }
  .dial { padding: 0; }
}

main > section.architect > .wrap { display: block; height: auto; }
.architect .architecture-grid {
  display: grid;
  grid-template-columns: repeat(12,minmax(0,1fr));
  grid-template-rows: auto auto clamp(265px,27vw,403px);
  gap: 0 clamp(12px,2vw,28px);
  align-items: start;
}
.architect h1 > span { line-height: 1.08; letter-spacing: -.05em; }
.company-text .yard-image { width: 100%; margin-top: 24px; }
.selection .section-heading, .proof .section-heading { border: 0; }
.product-heading { display: block; }
.product-heading p { margin-top: 14px; }
.specimen { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
#model-photo { max-width: 360px; height: min(320px, 28vw); justify-self: end; }
.use-case img { height: clamp(205px, 26vw, 372px); }
.proof-links summary { display: flex; align-items: center; justify-content: space-between; }
.proof-links summary::after { content: "+"; }
.proof-links details[open] summary::after { content: "−"; }
.contact .large-phone, .contact .office a { min-height: 44px; align-content: center; }
footer.contact.closing { min-height: 100svh; align-content: center; }
@media (max-width: 1023px) {
  .architect .architecture-grid { grid-template-rows: auto auto minmax(280px,31vw); }
  .specimen { grid-template-columns: 1fr; }
  #model-photo { height: auto; justify-self: start; }
}
@media (max-width: 700px) {
  .architect .architecture-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto auto auto auto; gap: 12px 13px; }
  main > section.architect { padding-top: 105px; }
  .company-text .yard-image { height: 130px; }
  #model-photo { max-width: 100%; }
  footer.contact.closing { min-height: 0; }
}
