:root {
  color-scheme: light;
  --paper: #fffdf9;
  --surface: #f5eee4;
  --white: #fff;
  --ink: #211f1d;
  --secondary-ink: #554f49;
  --accent: #b34116;
  --accent-hover: #8f2f0d;
  --highlight: #f69b48;
  --line: #dfd4c8;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.6 "Segoe UI", system-ui, sans-serif; }
a { color: var(--accent); text-underline-offset: 4px; }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 3px solid #bd4b1b; outline-offset: 4px; }
.wrap { width: min(1192px, calc(100% - 56px)); margin-inline: auto; }
main { min-height: 65vh; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.13; }
h1 { max-width: 15ch; font-size: clamp(38px, 6vw, 76px); letter-spacing: -.05em; margin-bottom: 20px; }
h2 { font-size: clamp(26px, 4vw, 42px); letter-spacing: -.035em; margin-bottom: 16px; }
h3 { font-size: 21px; letter-spacing: -.015em; margin-bottom: 9px; }
p { color: var(--secondary-ink); }
.eyebrow { display: inline-block; color: var(--accent); font-size: 14px; font-weight: 700; margin-bottom: 12px; }
.section { padding-block: clamp(40px, 6vw, 78px); }
.band { padding-block: clamp(38px, 5vw, 65px); background: var(--surface); }
.prose { max-width: 790px; }
.prose h1 { max-width: none; }
.prose h2 { font-size: clamp(24px, 3vw, 33px); }

.site-header { border-bottom: 1px solid var(--line); background: var(--paper); position: relative; z-index: 1; }
.nav { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; min-height: 76px; }
.brand, .footer-wordmark { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 750; letter-spacing: -.035em; color: var(--ink); text-decoration: none; white-space: nowrap; }
.brand-symbol { position: relative; display: block; flex: 0 0 44px; width: 44px; height: 44px; overflow: hidden; }
.brand-symbol img { position: absolute; width: 96px; height: auto; max-width: none; inset-inline-start: 50%; top: -7px; transform: translateX(-50%); }
.nav nav { display: flex; justify-content: center; align-items: center; gap: clamp(6px, 1.3vw, 18px); }
.nav nav a { color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 600; padding: 10px 6px; }
.nav nav a:hover, .nav nav a[aria-current] { color: var(--accent); text-decoration: underline; text-underline-offset: 7px; }
.nav-products { display: flex; align-items: center; }
.nav-products > a { padding-inline-end: 0; }
.category-menu summary { list-style: none; cursor: pointer; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 6px; color: var(--accent); }
.category-menu summary::-webkit-details-marker { display: none; }
.category-menu summary:hover, .category-menu[open] summary { background: var(--surface); }
.category-menu summary span { position: relative; width: 11px; height: 11px; }
.category-menu summary span::before, .category-menu summary span::after { position: absolute; top: 5px; left: 0; width: 11px; height: 1px; content: ""; background: currentColor; }
.category-menu summary span::after { transform: rotate(90deg); }
.category-menu[open] summary span::after { display: none; }
.category-panel { position: absolute; top: calc(100% - 1px); right: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; width: min(700px, 100%); padding: 20px; background: var(--paper); border: 1px solid var(--line); border-radius: 0 0 12px 12px; box-shadow: 0 18px 36px #211f1d24; }
.category-group { border-radius: 7px; background: var(--surface); padding: 15px; }
.category-group p { margin-bottom: 4px; font-size: 14px; color: var(--accent); font-weight: 750; }
.category-group ul, .photo-credits ul { list-style: none; margin: 0; padding: 0; }
.category-group li + li { border-top: 1px solid var(--line); }
.nav nav .category-group a { display: block; padding: 10px 0; line-height: 1.35; }

.header-quote, .btn, .secondary { display: inline-block; text-decoration: none; padding: 10px 16px; border-radius: 4px; font: inherit; font-weight: 650; }
.header-quote { white-space: nowrap; font-size: 14px; padding: 10px 17px; border: 1px solid var(--accent); border-radius: 6px; background: var(--accent); color: var(--white); }
.header-quote:hover { background: var(--accent-hover); color: var(--white); }
.header-actions { display: flex; align-items: center; gap: 9px; }
.language-switch { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; padding-inline: 8px; border: 1px solid var(--line); border-radius: 6px; color: var(--ink); font-size: 14px; font-weight: 700; text-decoration: none; }
.language-switch:hover { background: var(--surface); border-color: var(--accent); }
[lang="zh-CN"] h1 { max-width: 14em; letter-spacing: -.035em; }
.secondary:hover { background: var(--surface); }
.btn { border: 1px solid var(--accent); background: var(--accent); color: var(--white); cursor: pointer; }
.btn:hover { background: var(--accent-hover); color: var(--white); }
.secondary { color: var(--ink); border: 1px solid #877b70; }

.home-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  align-items: center;
  min-height: calc(100vh - var(--homepage-nav-height, 77px));
  min-height: calc(100dvh - var(--homepage-nav-height, 77px));
  padding-block: clamp(40px, 7vw, 88px);
  background: #6f5143;
  color: var(--white);
}
.home-hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
}
.hero-slide-sunset {
  inset: 0;
  z-index: -3;
  background: url("/home-hero-sunset.jpg?v=1") center / cover no-repeat;
  transform: rotate(2deg) scale(1.1);
}
.hero-slide {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-position: center; background-size: cover; background-repeat: no-repeat;
  opacity: 0;
}
.hero-slide-stadium {
  background-image: url("home-hero-stadium.jpg");
  background-position: center 18%;
  transform: translateY(5%) scale(1.12);
}
.hero-slide-highway {
  background-image: url("home-hero-highway.jpg?v=2");
  background-position: center 76%;
}
.home-hero[data-previous="0"] .hero-slide-sunset,
.home-hero[data-previous="1"] .hero-slide-highway,
.home-hero[data-previous="2"] .hero-slide-stadium {
  z-index: -3;
  opacity: 1;
}
.home-hero:not([data-slide]) .hero-slide-sunset,
.home-hero[data-slide="0"] .hero-slide-sunset,
.home-hero[data-slide="1"] .hero-slide-highway,
.home-hero[data-slide="2"] .hero-slide-stadium {
  z-index: -2;
  opacity: 1;
}
@media (prefers-reduced-motion: no-preference) {
  .home-hero[data-previous][data-slide="0"] .hero-slide-sunset,
  .home-hero[data-previous][data-slide="1"] .hero-slide-highway,
  .home-hero[data-previous][data-slide="2"] .hero-slide-stadium {
    animation: hero-fade-in 1100ms ease-in-out;
  }
}
@keyframes hero-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.home-hero .hero-carousel-toggle {
  position: absolute;
  inset-inline-end: 20px;
  bottom: 16px;
  background: var(--paper);
  cursor: pointer;
}
.home-hero .hero-carousel-toggle {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
}
.hero-carousel-toggle::before {
  content: "";
  width: 0;
  height: 0;
  border-block: 7px solid transparent;
  border-inline-start: 12px solid currentColor;
}
.hero-carousel-toggle.is-playing::before {
  width: 12px;
  height: 14px;
  border: 0;
  border-inline: 4px solid currentColor;
}
.home-hero .hero-carousel-toggle[hidden] { display: none; }
.home-hero::after {
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgb(15 10 8 / 56%), rgb(15 10 8 / 25%) 40%, transparent 72%);
}
.home-hero .hero-copy h1, .home-hero .hero-copy p { text-shadow: 0 1px 5px #000c; }
.home-hero .hero-copy p, .home-hero .eyebrow, .home-hero .secondary { color: var(--white); }
.home-hero .secondary { background: rgb(26 17 12 / 62%); border-color: #e9dcd1; }
.home-hero .secondary:hover { background: #35251d; }
.hero-copy h1 { font-size: clamp(38px, 5.2vw, 70px); max-width: 13ch; }
.hero-copy p { max-width: 40ch; font-size: clamp(16px, 2vw, 19px); margin-bottom: 22px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 8px; }


.section-heading { display: flex; gap: 14px; align-items: baseline; justify-content: space-between; flex-wrap: wrap; margin-bottom: 22px; }
.section-heading h2, .section-heading p { margin-bottom: 0; }
.section-heading h2 + p { margin-top: 8px; }
.section-heading > a { font-weight: 650; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.section-heading + .grid { margin-top: 0; }
.card { display: block; min-width: 0; padding: 22px; border: 1px solid var(--line); border-radius: 4px; background: var(--white); color: var(--ink); text-decoration: none; }
a.card:hover { color: var(--ink); border-color: var(--accent); }
.card h2 { font-size: 22px; }
.card p { margin-bottom: 12px; }
.product-card, .case-card { overflow: hidden; padding: 0; }
.product-card > div, .case-card > div { padding: 16px 18px 18px; }
.product-card h2 { margin-bottom: 9px; }
.product-card p { margin: 0; }
.product-card-photo, .product-main-photo { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: var(--white); }
.product-card-photo { max-height: 230px; border-bottom: 1px solid var(--line); }
.product-main-photo { max-height: 420px; border: 1px solid var(--line); border-radius: 4px; }
.product-card:hover h2, .product-card:hover h3 { color: var(--accent); }
.product-card-link { display: inline-flex; align-items: center; gap: 5px; margin-top: 12px; padding: 6px 10px; border: 1px solid var(--accent); border-radius: 4px; color: var(--accent); font-size: 12px; font-weight: 700; line-height: 1.2; transition: background-color 160ms ease, color 160ms ease; }
.product-card:hover .product-card-link { background: var(--accent); color: var(--white); }
.product-drawing { position: relative; display: block; height: 113px; background: #f2ece4; color: #46413d; }
.product-drawing i, .product-drawing b { position: absolute; display: block; background: currentColor; }
.product-drawing i { left: 46%; top: 34%; width: 4px; height: 57%; border-radius: 2px; }
.product-drawing b { left: 46%; top: 29%; width: 52px; height: 8px; border-radius: 6px; transform: skewX(-22deg); }
.product-drawing.solar b { height: 14px; width: 64px; transform: rotate(-12deg); background: repeating-linear-gradient(90deg, #414a4b 0 7px, #a9a9a1 7px 8px); }
.product-drawing.split-solar::after { content: ""; position: absolute; width: 35px; height: 18px; left: 41%; top: 12%; background: repeating-linear-gradient(90deg, #414a4b 0 7px, #a9a9a1 7px 8px); transform: skewX(-20deg); }
.product-drawing.landscape i { top: 45%; height: 46%; }
.product-drawing.landscape b { left: calc(46% - 9px); top: 40%; width: 22px; height: 16px; border-radius: 12px 12px 2px 2px; transform: none; }
.product-drawing.high-mast i { top: 20%; height: 71%; }
.product-drawing.high-mast b { left: calc(46% - 21px); top: 17%; width: 46px; transform: none; }
.product-drawing.smart::after { content: ""; position: absolute; top: 14%; left: calc(46% + 34px); width: 17px; height: 13px; border-top: 3px double var(--accent); border-radius: 50%; }

.factory, .home-inquiry { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 68px); align-items: start; }
.factory-facts, .buyer-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 0; }
.factory-facts div, .buyer-facts div { border-top: 1px solid #c9b7a4; padding-top: 10px; }
.factory dt, .buyer-facts dt, .contact-links dt { font-weight: 700; }
.factory dd, .buyer-facts dd { margin: 4px 0 0; color: var(--secondary-ink); }
.factory-photo { margin: 0; min-height: 196px; display: grid; place-items: center; padding: 18px; background: var(--paper); border: 1px dashed #ae9885; color: var(--secondary-ink); text-align: center; }
.case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.case-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #2b2522; }
.case-card a { font-weight: 650; }

.home-inquiry { scroll-margin-top: 20px; }
.contact-links div { display: flex; gap: 10px; }
.contact-links dd { margin: 0; color: var(--secondary-ink); }
form { display: grid; gap: 14px; max-width: 550px; }
label { display: grid; gap: 5px; font-weight: 600; }
input, select, textarea { width: 100%; background: var(--white); border: 1px solid #8f8174; border-radius: 4px; color: var(--ink); padding: 9px; font: inherit; }
select { appearance: none; padding-right: 35px; background-image: linear-gradient(45deg, transparent 50%, #554f49 50%), linear-gradient(135deg, #554f49 50%, transparent 50%); background-position: calc(100% - 17px) 50%, calc(100% - 12px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
form button { justify-self: start; }
#status:empty { display: none; }

.site-footer { background: #2b231f; color: #fff6e9; border-top: 4px solid var(--accent); font-size: 15px; }
.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:hover { color: #ffbd81; text-decoration: underline; }
.site-footer a:focus-visible, .site-footer summary:focus-visible { outline-color: #ffbd81; }
.footer-grid { display: grid; grid-template-columns: 1.35fr 1fr .72fr 1.2fr; align-items: start; gap: clamp(20px, 3vw, 42px); padding-block: 42px 36px; }
.footer-wordmark { font-size: 21px; }
.footer-wordmark .brand-symbol { border-radius: 8px; background: var(--paper); }
.footer-brand p { max-width: 27ch; color: #e1cfc1; margin: 12px 0 0; }
.site-footer h2 { margin: 4px 0 9px; font-size: 16px; letter-spacing: 0; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.footer-links a, .footer-contact a { display: block; padding-block: 4px; }
.footer-contact { min-width: 0; overflow-wrap: anywhere; }
.footer-contact a span { white-space: nowrap; }
.foot { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 24px; padding-block: 12px; border-top: 1px solid #68554a; color: #e1cfc1; font-size: 14px; }
.foot > span { margin-inline-end: auto; }
.foot nav ul { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.foot nav a { display: block; padding-block: 6px; }
.photo-credits summary { cursor: pointer; padding-block: 6px; }
.photo-credits li a { display: block; padding-block: 3px; }

@media (max-width: 850px) {
  .nav { grid-template-columns: minmax(0, 1fr) auto; gap: 3px 12px; padding-block: 10px 3px; }
  .nav nav { grid-column: 1 / -1; justify-content: flex-start; flex-wrap: wrap; gap: 0 13px; border-top: 1px solid var(--line); }
  .nav nav > a:first-child { padding-inline-start: 0; }
  .header-actions { grid-row: 1; grid-column: 2; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-copy h1 { font-size: clamp(34px, 6vw, 58px); }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 32px); }
  .brand { font-size: 16px; line-height: 1.15; gap: 5px; white-space: normal; }
  .header-actions { gap: 5px; }
  .nav nav { gap: 0 5px; }
  .nav nav a { font-size: 14px; padding-inline: 3px; }
  .header-quote { padding-inline: 11px; }
  .category-panel { grid-template-columns: 1fr; gap: 8px; padding: 11px; }
  .category-group { padding: 8px 12px; }
  .nav nav .category-group a { padding-block: 7px; }
  .factory, .home-inquiry, .case-grid { grid-template-columns: 1fr; }

  .section-heading { gap: 8px; }
  .hero-copy h1 { margin-bottom: 12px; }
  .hero-copy p { margin-bottom: 15px; }
  .grid:not(.case-grid) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .product-card h2, .product-card h3 { font-size: 17px; }
  .product-card > div { padding: 12px; }
  .product-drawing { height: 86px; }
  .footer-grid { gap: 22px 14px; padding-block: 28px; }
  .footer-brand, .footer-contact { grid-column: 1 / -1; }
  .foot > span { flex-basis: 100%; }
}
@media (max-width: 375px) {
  .nav nav { column-gap: 3px; }
  .grid:not(.case-grid) { grid-template-columns: 1fr; }
}

.whatsapp-link { display: inline-block; margin-top: 14px; font-weight: 650; }
.contact-links { overflow-wrap: anywhere; }
.quote-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.form-note, #quote-note, #status { margin-bottom: 0; }
.breadcrumbs { margin-bottom: 18px; color: var(--secondary-ink); font-size: 15px; }
.detail-lead, .detail-columns { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 5vw, 52px); }
.detail-lead { align-items: center; margin-bottom: 36px; }
.detail-lead h1 { max-width: 17ch; font-size: clamp(36px, 5.1vw, 64px); }
.detail-drawing { height: clamp(144px, 23vw, 255px); border-radius: 4px; }
.product-detail > section, .detail-columns { margin-bottom: 34px; }
.detail-features { margin-top: 0; }
.detail-features p { margin: 0; }
.faq { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding-block: 12px; font-weight: 650; }
.faq p { max-width: 65ch; margin-bottom: 13px; }
.table-scroll { overflow-x: auto; }
.table-scroll table { width: 100%; border-collapse: collapse; text-align: left; }
.table-scroll th, .table-scroll td { padding: 9px 12px; border-bottom: 1px solid var(--line); }
.table-scroll th { background: var(--surface); }
.model-specs .table-scroll table { min-width: 640px; }
.model-specs .table-scroll td, .model-specs .table-scroll th { vertical-align: top; }
.detail-quote, .prose .factory-facts, .prose .buyer-facts { margin-top: 12px; margin-bottom: 22px; }
.case-card img { height: auto; }
.case-card--text { border-top: 6px solid var(--accent); }
.case-card--text > div { padding-top: 26px; }
.consent { display: flex; align-items: flex-start; gap: 8px; }
.consent input { width: auto; margin: 6px 0 0; }
.work-steps li + li { margin-top: 8px; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 10; padding: 10px 14px; background: var(--ink); color: var(--white); }
.skip-link:focus { left: 12px; top: 12px; color: var(--white); }

@media (max-width: 640px) {
  .detail-lead, .detail-columns, .quote-fields, .grid.detail-features { grid-template-columns: 1fr; }
  .detail-lead { gap: 10px; }
}

.hero-layout { width: min(1192px, calc(100% - 116px)); }
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #fff9;
  border-radius: 50%;
  color: white;
  background: #211f1dcc;
  font: 32px/1 system-ui, sans-serif;
  cursor: pointer;
}
.hero-arrow[hidden] { display: none; }
.hero-arrow:hover { background: #211f1d; }
.hero-arrow-prev { left: 8px; }
.hero-arrow-next { right: 8px; }

.hero-picker {
  position: absolute;
  inset-inline-start: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}
.hero-picker[hidden] { display: none; }
.hero-picker button {
  display: grid;
  place-items: center;
  width: 36px;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.hero-picker button::before {
  content: "";
  width: 10px;
  height: 10px;
  border: 2px solid white;
  border-radius: 50%;
  background: #211f1d99;
  box-shadow: 0 0 3px #000;
}
.hero-picker button[aria-current="true"]::before { background: white; }
@media (max-width: 440px) {
  .hero-picker { bottom: 68px; }
}

.hero-copy .hero-caption { font-size: clamp(20px, 3vw, 32px); font-weight: 700; margin-bottom: 0; }

.home-why { background: var(--surface); }
.home-why-intro { max-width: 65ch; margin-bottom: 24px; }
.home-why .factory-facts {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(10px, 2vw, 24px);
  margin-bottom: 24px;
}
.home-why .factory-facts > div {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  gap: 4px;
  border-top: 2px solid var(--accent);
}
.home-why .factory-facts dd {
  margin: 0;
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 750;
  line-height: 1.2;
  color: var(--ink);
}
.home-why .buyer-facts > div {
  padding: clamp(16px, 2vw, 24px);
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
}
.home-why .buyer-facts dt { font-size: 19px; }
.home-why + .band { background: var(--paper); }

@media (max-width: 600px) {
  .home-why .factory-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-why .buyer-facts { grid-template-columns: 1fr; }
}

/* Shared industrial layout */
:root {
  --paper: #faf9f6;
  --surface: #eeece6;
  --ink: #1d2226;
  --secondary-ink: #50565b;
  --line: #d8d6d0;
  --accent: #a63d19;
  --accent-hover: #802e13;
}
.site-footer { background: #202629; }
.site-header .nav { gap: 16px; }
.site-header .nav nav { gap: 3px; }
.site-header .nav nav > a { white-space: nowrap; }
.home-hero .hero-copy h1 { max-width: 19ch; font-size: clamp(36px, 4.9vw, 67px); }
.home-hero .hero-copy .hero-brand { margin-bottom: 9px; font-size: 14px; font-weight: 800; letter-spacing: .14em; }
.home-hero .hero-copy p { max-width: 56ch; }
.home-hero .hero-actions { margin-top: 16px; }
.home-product-links { margin-top: 20px; }
.detail-options { padding: 18px 0; border-top: 1px solid var(--line); }
.detail-options ul { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0; padding: 0; list-style: none; }
.project-invitation { padding-top: 26px; }
@media (max-width: 1150px) {
  .site-header .nav { grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; }
  .site-header .nav nav { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; flex-wrap: wrap; }
  .site-header .header-actions { grid-column: 2; grid-row: 1; }
}
@media (max-width: 520px) {
  .home-hero { padding-block: 32px 100px; }
  .home-hero .hero-layout { width: calc(100% - 72px); }
  .home-hero .hero-copy h1 { font-size: clamp(29px, 8.5vw, 42px); }
  .home-hero .hero-arrow { top: auto; bottom: 14px; transform: none; }
  .home-hero .hero-carousel-toggle { inset-inline-end: 62px; }
}

/* Homepage product categories */
.grid.home-product-grid:not(.case-grid) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.home-product-grid .product-card h3:last-child { margin-bottom: 0; }
@media (max-width: 900px) {
  .grid.home-product-grid:not(.case-grid) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.site-header .category-menu summary span {
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}
.site-header .category-menu[open] summary span { transform: translateY(2px) rotate(225deg); }
.site-header .category-menu summary span::before,
.site-header .category-menu summary span::after { content: none; }
.site-header .category-panel { z-index: 2; max-height: 65dvh; overflow-y: auto; }

.site-header .product-mega-menu {
  display: block;
  width: min(650px, 100%);
  min-height: 266px;
  padding: 0;
  border-top: 2px solid var(--accent);
  overflow: visible;
}
.product-menu-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px;
  width: 50%;
  min-height: 44px;
  border-bottom: 1px solid var(--line);
}
.product-menu-row:hover,
.product-menu-row:has(details[open]) { background: var(--surface); }
.site-header .nav nav .product-menu-category { padding: 10px 12px; }
.site-header .product-menu-submenu summary { font-size: 23px; }
.product-menu-links {
  position: absolute;
  inset: 0 0 auto 50%;
  min-height: 100%;
  padding: 12px;
  border-left: 1px solid var(--line);
  background: var(--paper);
}
.site-header .nav nav .product-menu-links a { display: block; padding: 10px; }
.quick-contact {
  position: fixed;
  z-index: 1;
  inset-inline-end: 12px;
  top: 50%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  box-shadow: 0 6px 22px #211f1d24;
}
.quick-contact a {
  display: grid;
  place-items: center;
  min-height: 48px;
  padding: 4px 9px;
  color: var(--ink);
  font-size: 12px;
  line-height: 1.1;
  text-decoration: none;
}
.quick-contact a + a { border-top: 1px solid var(--line); }
.quick-contact a:hover { background: var(--surface); }
.quick-contact a span { font-size: 19px; color: var(--accent); }
.quick-contact a:first-child span { color: #17623c; }
@media (max-width: 760px) {
  .site-header .product-mega-menu { min-height: 0; overflow-y: auto; }
  .product-menu-row { position: relative; width: 100%; }
  .product-menu-submenu { grid-column: 1 / -1; }
  .site-header .product-menu-submenu summary { position: absolute; top: 0; right: 0; }
  .product-menu-links { position: static; grid-column: 1 / -1; min-height: 0; border-left: 0; padding: 2px 12px; }
  .quick-contact { top: auto; bottom: 82px; inset-inline-end: 5px; }
  .quick-contact a { padding-inline: 5px; font-size: 10px; }
}

.site-header .category-menu > .product-menu-trigger {
  display: flex;
  align-items: center;
  width: auto;
  padding: 0 6px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
}
.site-header .category-menu > .product-menu-trigger[aria-current="page"],
.site-header .category-menu[open] > .product-menu-trigger { color: var(--accent); }
@media (max-width: 640px) {
  .site-header .category-menu > .product-menu-trigger { padding-inline: 3px; font-size: 14px; }
}

.model-series-grid { margin: 18px 0; }
.model-link-card a { font-weight: 650; }
.model-hero { padding: clamp(14px, 3vw, 32px); background: var(--surface); border-radius: 6px; }
.model-hero > * { min-width: 0; }
.model-hero figure { margin: 0; }
.model-hero figcaption { font-size: 13px; color: var(--secondary-ink); margin-top: 7px; }
.model-spec-table { margin-bottom: 24px; }
.model-spec-table table { width: 100%; min-width: 0; }

/* Homepage Why */
.home-one-why {
  min-height: calc(100vh - var(--homepage-nav-height, 77px));
  min-height: calc(100dvh - var(--homepage-nav-height, 77px));
  padding-block: clamp(30px, 4vw, 54px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #f8f3ec;
  color: var(--ink);
}
.home-one-why-grid { flex: 0 0 auto; display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(30px, 5vw, 66px); align-items: center; }
.home-one-kicker { display: flex; align-items: center; gap: 9px; margin-bottom: 10px; color: var(--accent); font-size: 11px; font-weight: 800; letter-spacing: .14em; }
.home-one-kicker::before { content: ""; width: 26px; height: 2px; background: currentColor; }
.home-one-copy { max-width: 610px; align-self: center; }
.home-one-copy h2 { max-width: 10em; margin: 0 0 18px; font-size: clamp(36px, 4.25vw, 55px); line-height: 1.08; }
.home-one-copy > p { max-width: 34em; margin: 0; font-size: clamp(15px, 1.4vw, 17px); line-height: 1.9; }
.home-one-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.home-one-services { height: auto; min-height: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 180px; gap: 10px; }
.home-one-service { min-height: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 18px 14px; border: 1px solid #cfc2b5; border-radius: 4px; background: var(--paper); text-align: center; }
.home-one-service svg { width: 27px; height: 27px; margin-bottom: 8px; fill: none; stroke: var(--accent); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.home-one-service h3 { margin: 0 0 6px; font-size: 15px; line-height: 1.3; }
.home-one-service p { margin: 0; font-size: 11px; line-height: 1.55; }
.home-one-certs { margin-top: auto; padding-top: 26px; border-top: 1px solid var(--line); text-align: center; }
.home-one-certs h3 { margin: 0 0 9px; font-size: clamp(31px, 3.5vw, 44px); letter-spacing: -.04em; }
.home-one-certs p { max-width: 58em; margin: 0 auto; font-size: 12px; line-height: 1.7; }
.home-one-cert-line { width: 44px; height: 3px; margin: 17px auto 18px; background: var(--accent); }
.home-one-cert-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.home-one-cert-list span { position: relative; min-height: 50px; display: inline-flex; align-items: center; padding: 8px 16px 8px 32px; border: 1px solid var(--line); border-radius: 5px; background: var(--paper); font-size: 11px; font-weight: 650; white-space: nowrap; }
.home-one-cert-list span::before { content: ""; position: absolute; left: 17px; top: 50%; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); transform: translateY(-50%); }
.home-one-cert-note { margin-top: 11px !important; font-size: 9px !important; color: var(--secondary-ink); }
.factory-production { padding-block: clamp(52px, 7vw, 86px); }
.factory-production-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(420px, .86fr); gap: clamp(30px, 6vw, 88px); align-items: end; }
.factory-production-kicker { display: flex; align-items: center; gap: 9px; margin-bottom: 10px; color: var(--accent); font-size: 11px; font-weight: 800; letter-spacing: .14em; }
.factory-production-kicker::before { content: ""; width: 26px; height: 2px; background: currentColor; }
.factory-production-intro h2 { max-width: 9em; margin-bottom: 12px; }
.factory-production-intro p { max-width: 46em; margin-bottom: 0; }
.factory-keyfacts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.factory-keyfact { padding-top: 10px; border-top: 1px solid #b9aa9b; }
.factory-keyfact small { display: block; color: var(--secondary-ink); font-size: 11px; }
.factory-keyfact b { display: block; margin-top: 8px; font-size: clamp(20px, 2.5vw, 30px); line-height: 1; letter-spacing: -.04em; }
.factory-workhead { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin: clamp(36px, 5vw, 58px) 0 20px; }
.factory-workhead h3 { margin: 0; font-size: clamp(21px, 2.5vw, 28px); }
.factory-workhead p { max-width: 42em; margin: 6px 0 0; font-size: 13px; }
.factory-workhead a { flex: 0 0 auto; font-size: 13px; font-weight: 750; }
.factory-process-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.factory-process-card { position: relative; min-height: 238px; margin: 0; overflow: hidden; background: #d9cec2; }
.factory-process-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.factory-process-card:hover img { transform: scale(1.025); }
.factory-process-card::after { content: ""; position: absolute; inset: 38% 0 0; background: linear-gradient(transparent, rgb(16 19 20 / 82%)); pointer-events: none; }
.factory-process-card figcaption { position: absolute; z-index: 1; left: 17px; right: 17px; bottom: 15px; color: #fff; }
.factory-process-card figcaption span { display: block; margin-bottom: 18px; color: #f2a27c; font: 700 13px/1 Georgia, serif; }
.factory-process-card figcaption b { display: block; font-size: 17px; }
.factory-process-card figcaption small { display: block; margin-top: 4px; color: rgb(255 255 255 / 68%); font-size: 10px; }
.factory-production-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 22px; }
.factory-production + .band { background: var(--paper); }
.cooperation-intro { max-width: 48em; }
.cooperation-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; list-style: none; margin: 24px 0; padding: 0; counter-reset: cooperation; }
.cooperation-step { counter-increment: cooperation; display: flex; flex-direction: column; border-top: 2px solid var(--accent); background: var(--paper); }
.cooperation-step::before { content: counter(cooperation, decimal-leading-zero); font-size: 14px; font-weight: 750; color: var(--accent); margin-bottom: 8px; }
.cooperation-step .cooperation-output { margin: auto 0 0; padding-top: 10px; border-top: 1px solid var(--line); font-size: 14px; font-weight: 650; color: var(--ink); }
.cooperation-next { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 22px; }
.cooperation-next p { margin-bottom: 0; }
.scenario-links { margin-top: 18px; }
.scenario-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.scenario-photo { margin: 0; position: relative; }
.scenario-photo figcaption { position: absolute; bottom: 8px; left: 8px; padding: 3px 8px; background: #202629; color: white; font-size: 12px; border-radius: 3px; }
.scenario-grid article { scroll-margin-top: 20px; }
.scenario-grid .scenario-inputs { margin-block: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.scenario-grid .scenario-inputs strong { margin-inline-end: 6px; color: var(--ink); }
@media (max-width: 900px) {
  .home-one-why-grid { grid-template-columns: 1fr; }
  .home-one-services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .factory-production-intro { grid-template-columns: 1fr; }
  .factory-process-grid { grid-template-columns: 1fr 1fr; }
  .cooperation-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .scenario-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .home-one-why { padding-block: 38px; }
  .home-one-copy h2 { font-size: 34px; }
  .home-one-services { grid-template-columns: 1fr 1fr; grid-auto-rows: auto; }
  .home-one-service { min-height: 135px; }
  .home-one-certs { padding-top: 22px; }
  .home-one-cert-list { display: grid; grid-template-columns: 1fr 1fr; }
  .home-one-cert-list span { justify-content: flex-start; white-space: normal; }
  .factory-keyfacts { gap: 12px; }
  .factory-keyfact small { font-size: 10px; }
  .factory-keyfact b { font-size: 21px; }
  .factory-workhead { display: block; }
  .factory-workhead a { display: inline-block; margin-top: 10px; }
  .factory-process-grid { grid-template-columns: 1fr; }
  .factory-process-card { min-height: 230px; }
  .cooperation-steps { grid-template-columns: 1fr; }
  .scenario-grid { grid-template-columns: 1fr; }
}
.model-spec-table :is(th, td) { overflow-wrap: anywhere; }

.product-category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-block: 0 32px;
}
.product-category-nav .secondary[aria-current="page"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}
