:root {
  color-scheme: light;
  --paper: #f7f6ef;
  --white: #fffefa;
  --pine: #213a2e;
  --fern: #475b50;
  --mist: #e8eee4;
  --action: #27563e;
  --copper: #92502e;
  --line: #c7d2c5;
  --control-line: #788a7e;
  --gutter: clamp(20px, 6.5vw, 116px);
  --heading: "Bahnschrift", "Arial Narrow", "Helvetica Neue", sans-serif;
  --body: "Segoe UI", Arial, sans-serif;
  font-family: var(--body);
  color: var(--pine);
  background: var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p, figure { margin: 0; }
button, select, textarea { font: inherit; }
a { color: inherit; }
::selection { background: #cfdfca; color: var(--pine); }
img { display: block; width: 100%; object-fit: cover; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #53765d; outline-offset: 4px; }
.skip { position: absolute; z-index: 3; top: 10px; left: 12px; padding: 12px; background: white; transform: translateY(-150%); }
.skip:focus { transform: none; }

.site-header, .site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0 var(--gutter);
}
.site-header { min-height: 76px; background: var(--paper); border-bottom: 1px solid var(--line); }
.site-header nav:first-of-type { margin-left: auto; }
.languages { gap: 13px; margin-left: clamp(12px, 3vw, 40px); }
.languages a { color: var(--fern); font-size: .78rem; white-space: nowrap; }
.languages [aria-current="page"] { color: var(--pine); text-decoration: underline; text-underline-offset: 4px; }
:lang(zh-Hans) { --heading: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", sans-serif; --body: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", sans-serif; }
html[lang="zh-Hans"] h1, html[lang="zh-Hans"] h2, html[lang="zh-Hans"] h3, html[lang="zh-Hans"] summary > span:first-child { letter-spacing: 0; line-height: 1.1; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 700 clamp(23px, 3vw, 33px)/1 var(--heading);
  letter-spacing: -.045em;
  text-decoration: none;
  white-space: nowrap;
}
.mark { display: flex; align-items: center; gap: 2px; width: 28px; height: 33px; }
.mark i:first-child { width: 40%; height: 58%; background: #ac420e; clip-path: polygon(0 0,53% 0,100% 50%,53% 100%,0 100%,46% 50%); }
.mark i:last-child { width: 61%; height: 100%; background: #235b3a; clip-path: polygon(56% 0,100% 0,46% 50%,100% 100%,56% 100%,0 50%); }
nav { display: flex; align-items: center; gap: clamp(12px, 3.6vw, 55px); }
nav a { padding: 9px 0; font-size: .87rem; font-weight: 650; text-decoration: none; }
nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
nav .nav-contact { border-bottom: 1px solid currentColor; }
.nav-contact span { margin-left: 5px; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, .91fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(22px, 3vw, 52px);
  padding: clamp(28px, 4vw, 65px) var(--gutter);
  background: var(--paper);
}
.hero-content { padding-block: 20px; }
.hero-media { position: relative; min-width: 0; }
.hero-photo { height: clamp(400px, 48vw, 720px); object-position: 58% center; }
h1, h2 { font-family: var(--heading); font-weight: 700; letter-spacing: -.04em; }
h1 { font-size: clamp(46px, 6.15vw, 105px); line-height: .95; }
.hero-content p { max-width: 35ch; margin: 24px 0; color: var(--fern); font-size: clamp(1rem, 1.55vw, 1.19rem); line-height: 1.55; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 48px;
  padding: 12px 17px;
  border: 1px solid transparent;
  border-radius: 3px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.button-dark { color: var(--white); background: var(--action); }
.button-dark:hover { background: var(--pine); }
.hero-media figcaption, .sample figcaption {
  position: absolute;
  bottom: 12px;
  left: 12px;
  max-width: calc(100% - 24px);
  padding: 5px 8px;
  color: var(--pine);
  background: var(--white);
  font-size: .75rem;
}
.wrap { width: min(100% - 2 * var(--gutter), 1420px); margin-inline: auto; }
.materials, .contact { padding-block: clamp(56px, 7vw, 116px); }
.materials { background: var(--white); }
h2 { font-size: clamp(40px, 5.15vw, 82px); line-height: 1; text-wrap: balance; }
.section-intro {
  display: grid;
  grid-template-columns: 1.65fr 1fr;
  align-items: center;
  gap: 14px 7%;
  margin-bottom: clamp(28px, 4vw, 55px);
}
.section-intro p, .contact p { max-width: 36ch; font-size: 1.08rem; line-height: 1.55; color: var(--fern); }
.material-layout, .spec-layout, .contact { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: clamp(25px, 5vw, 75px); }
.sample { position: relative; background: var(--mist); align-self: stretch; min-height: 330px; }
.sample img { height: 100%; position: absolute; inset: 0; }
.material-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 22px 0; list-style: none; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
summary > span:first-child { font: 700 clamp(25px, 2.9vw, 46px)/1.05 var(--heading); letter-spacing: -.035em; }
summary small { display: block; margin-bottom: 7px; color: var(--fern); font: 650 .82rem/1.2 var(--body); letter-spacing: normal; }
.toggle { display: grid; place-items: center; flex: 0 0 34px; height: 34px; border: 1px solid var(--control-line); border-radius: 50%; font-size: 1.35rem; line-height: 1; }
summary:hover .toggle { background: var(--mist); }
.toggle::after { content: "+"; }
details[open] .toggle { background: var(--mist); }
details[open] .toggle::after { content: "−"; }
.detail { padding: 0 12px 24px 0; }
.detail p { max-width: 47ch; margin-bottom: 13px; color: var(--fern); line-height: 1.55; }
.detail a, .email { font-weight: 700; text-underline-offset: .24em; }
.detail a span, .email span { display: inline-block; margin-left: 4px; }

.specification { background: var(--mist); color: var(--pine); padding-block: clamp(55px, 7vw, 112px); }
.specification ol { list-style: none; padding: 0; margin: 0; counter-reset: step; }
.specification li { display: grid; grid-template-columns: 2rem 1fr; gap: 14px; padding: 17px 0; border-top: 1px solid #aebfae; }
.specification li::before { counter-increment: step; content: counter(step, decimal-leading-zero); color: var(--copper); padding-top: 4px; font-weight: 700; font-variant-numeric: tabular-nums; }
.specification h3 { font: 700 clamp(21px, 2.8vw, 35px)/1.1 var(--heading); letter-spacing: -.035em; }
.specification p { margin-top: 7px; color: var(--fern); line-height: 1.55; max-width: 49ch; }
.contact h2 { margin-bottom: 18px; }
.contact p { margin-bottom: 15px; }
form { display: grid; align-content: start; gap: 8px; }
form label { font-weight: 700; font-size: .92rem; }
form select, form textarea { width: 100%; padding: 12px; background: var(--white); color: var(--pine); border: 1px solid var(--control-line); border-radius: 3px; }
form textarea::placeholder { color: var(--fern); opacity: 1; }
form select { margin-bottom: 10px; }
form textarea { resize: vertical; }
form button { justify-self: start; margin-top: 8px; }
.site-footer { min-height: 84px; color: var(--pine); background: var(--paper); border-top: 1px solid var(--line); font-size: .82rem; }
.site-footer > a:last-child { text-decoration: none; }
.site-footer > a:last-child:hover { text-decoration: underline; }

@media (max-width: 760px) {
  .site-header { min-height: 68px; }
  .hero { grid-template-columns: 1fr; gap: 24px; padding-top: 35px; }
  .hero-content { padding-block: 0; }
  .hero-photo { height: auto; aspect-ratio: 1.23; object-position: 55% center; }
  .hero-content p { margin-block: 17px 21px; }
  h1 { font-size: clamp(45px, 11vw, 75px); }
  .section-intro, .material-layout, .spec-layout, .contact { grid-template-columns: 1fr; }
  .sample { min-height: 0; aspect-ratio: 1.4; }
  .spec-layout { gap: 30px; }
}

@media (max-width: 640px) {
  .site-header { display: grid; grid-template-columns: 1fr auto; gap: 1px 10px; padding-block: 9px; }
  .site-header nav:first-of-type { grid-column: 1 / -1; grid-row: 2; margin-left: 0; justify-content: space-between; }
  .site-header .languages { grid-column: 2; grid-row: 1; margin-left: 0; }
}

@media (max-width: 400px) {
  .site-header, .site-footer { padding-inline: 14px; gap: 8px; }
  .brand { gap: 5px; }
  .mark { width: 21px; height: 25px; }
  nav { gap: 9px; }
  nav a { font-size: .74rem; }
  .nav-contact span { margin-left: 1px; }
  .site-footer > span { display: none; }
}
