:root {
  --ink: #1b221f;
  --muted: #59635d;
  --forest: #1b382e;
  --night: #101b17;
  --dark-panel: #1c2a23;
  --accent: #e9a055;
  --accent-dark: #84431d;
  --paper: #f5f5f0;
  --line: #dfe2da;
  --white: #fff;
  --wrap: 1240px;
  --gutter: clamp(18px, 4.2vw, 64px);
  --panel-padding: clamp(20px, 3vw, 38px);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.7 "Microsoft YaHei UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--forest); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: .28em; }
:where(a, button, input, textarea):focus-visible { outline: 2px solid var(--accent-dark); outline-offset: 4px; }
h1, h2, h3, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
.wrap { width: min(var(--wrap), calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.skip {
  position: fixed;
  z-index: 10;
  top: 8px;
  left: 8px;
  transform: translateY(-150%);
  padding: 8px 14px;
  background: var(--white);
}
.skip:focus { transform: none; }

.site-head {
  position: relative;
  z-index: 2;
  background: var(--night);
  border-bottom: 1px solid #34413a;
  color: var(--white);
}
.head {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(14px, 1.9vw, 29px);
}
.brand { display: flex; align-items: center; gap: 11px; color: #fafaf3; flex: 0 0 auto; }
.brand:hover { text-decoration: none; }
.brand img { width: 46px; height: 46px; }
.brand strong, .brand small { display: block; }
.brand strong { font-size: clamp(1rem, 1.5vw, 1.27rem); line-height: 1.32; font-weight: 750; }
.brand small { font-size: .78rem; color: #c0c9be; margin-top: 4px; }
.navigation { display: flex; align-items: center; justify-content: center; gap: clamp(6px, 1.55vw, 25px); }
.navigation a {
  min-height: 86px;
  display: grid;
  place-items: center;
  position: relative;
  padding-inline: 2px;
  font-size: .9rem;
  color: #e0e4db;
  white-space: nowrap;
}
.navigation a:hover, .navigation a[aria-current] { color: var(--accent); text-decoration: none; }
.navigation a[aria-current]::after {
  position: absolute;
  inset: auto 0 0;
  height: 2px;
  background: var(--accent);
  content: "";
}
.head-contact {
  flex: 0 0 auto;
  padding: 8px 15px;
  border: 1px solid #9b744d;
  color: #ffcf99;
  font-size: .875rem;
  text-align: center;
  white-space: nowrap;
}
.head-contact:hover { background: #392b20; text-decoration: none; }
.site-head :focus-visible, .hero :focus-visible, .intro :focus-visible, .footer :focus-visible {
  outline-color: var(--accent);
}

.hero {
  isolation: isolate;
  position: relative;
  background: #131f19;
  color: #fff;
  overflow: hidden;
}
.hero > img {
  position: absolute;
  z-index: -2;
  inset: 0 0 0 auto;
  width: 77%;
  height: 100%;
  object-fit: cover;
  object-position: 72% 50%;
}
.hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, #131f19 23%, rgba(19, 31, 25, .91) 30%, rgba(19, 31, 25, .41) 57%, rgba(19, 31, 25, 0) 83%),
    linear-gradient(0deg, rgba(13, 21, 17, .5), transparent 32%);
  content: "";
}
.hero-content {
  position: relative;
  z-index: 1;
  min-height: clamp(495px, 43vw, 645px);
  display: flex;
  align-items: center;
  padding-block: 48px 62px;
}
.hero-copy { max-width: 610px; }
.hero-label {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #ffd3a0;
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .1em;
}
.hero-label::before { content: ""; width: 30px; height: 2px; background: var(--accent); }
.hero h1 {
  margin: 20px 0;
  font-size: clamp(3.2rem, 5.75vw, 6rem);
  font-weight: 850;
  line-height: 1.08;
  letter-spacing: -.045em;
}
.hero h1 span { display: block; }
.hero-summary { font-size: clamp(1rem, 1.3vw, 1.2rem); color: #e0e5da; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 29px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 45px;
  padding: 9px 17px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #251609;
  font: inherit;
  font-size: .9375rem;
  font-weight: 750;
  cursor: pointer;
}
.button:hover { background: #ffc489; border-color: #ffc489; text-decoration: none; }
.button-outline { background: rgba(17, 27, 23, .24); color: #faf9f1; border-color: #aab2a5; }
.button-outline:hover { background: #28372d; border-color: #e9eee3; }
.image-note {
  position: absolute;
  right: 0;
  bottom: 18px;
  color: #f2f3ea;
  font-size: .78rem;
  background: #263129;
  padding: 3px 8px;
}

.home { display: grid; gap: clamp(30px, 4.6vw, 64px); padding-block: clamp(33px, 4.9vw, 66px) 70px; }
.panel {
  min-width: 0;
  background: var(--white);
  border: 1px solid var(--line);
}
.panel-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 19px 24px 15px;
  border-bottom: 1px solid var(--line);
}
.panel-head h2 { color: var(--ink); font-size: 1.19rem; font-weight: 800; line-height: 1.35; }
.panel-head > a {
  flex: 0 0 auto;
  color: var(--accent-dark);
  font-size: .9rem;
  font-weight: 700;
}
.products > .panel-head, .cases > .panel-head {
  padding: 0 0 18px;
  border-bottom: 0;
}
.products > .panel-head h2, .cases > .panel-head h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.9rem);
  letter-spacing: -.045em;
}
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 2vw, 25px); }
.product {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink);
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.product:hover {
  transform: translateY(-4px);
  border-color: #b8c6b7;
  box-shadow: 0 12px 30px rgba(21, 39, 28, .09);
  text-decoration: none;
}
.product img { width: 100%; aspect-ratio: 1.51; object-fit: cover; }
.product-copy { display: grid; align-content: start; gap: 7px; padding: 17px clamp(11px, 1.6vw, 22px) 20px; }
.product h3 { font-size: clamp(1rem, 1.45vw, 1.15rem); line-height: 1.4; }
.product p { color: var(--muted); font-size: .875rem; line-height: 1.55; }

.home-columns, .home .recommendations { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 26px); }
.intro {
  display: grid;
  gap: 18px;
  align-content: center;
  min-height: 265px;
  background: var(--dark-panel);
  color: #e8ede3;
  padding: clamp(24px, 3.45vw, 49px);
}
.intro .panel-head { padding: 0; border: 0; }
.intro .panel-head h2 { color: #fff; font-size: clamp(1.55rem, 2.55vw, 2.2rem); }
.summary p { margin-bottom: 17px; }
.text-link { font-weight: 750; text-decoration: underline; text-underline-offset: .28em; }
.intro .text-link { color: #ffd3a0; }
.home-news { padding: 6px 9px; }

.link-list { padding: 4px 24px 13px; }
.link-list li {
  padding-block: 10px;
  border-bottom: 1px solid var(--line);
  overflow-wrap: anywhere;
}
.link-list li:last-child { border: 0; }
.dated li { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
time { color: var(--muted); font-size: .83rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.case-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(13px, 2vw, 26px); }
.case-grid article { padding: clamp(18px, 2.2vw, 28px); border-top: 2px solid #839386; background: var(--white); }
.case-grid h3 { font-size: 1.11rem; line-height: 1.45; margin-bottom: 8px; }
.case-grid p, .article-list p { color: var(--muted); font-size: .95rem; }
.home-qa { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 20px; }
.home-qa li { border-bottom: 0; }

.interior { min-height: 56vh; padding-bottom: 66px; }
.breadcrumb { padding-block: 18px; font-size: .875rem; color: var(--muted); overflow-wrap: anywhere; }
.breadcrumb span, .breadcrumb a { margin-right: 8px; }
.inner-columns { display: grid; grid-template-columns: minmax(0, 1fr) minmax(248px, 310px); align-items: start; gap: clamp(18px, 2.4vw, 32px); }
.recommendations { display: grid; gap: 16px; }
.recommendations:empty { display: none; }
.recommendations .link-list { font-size: .9375rem; }
.section-title { padding: var(--panel-padding); border-bottom: 1px solid var(--line); }
.section-title h1 {
  color: var(--ink);
  font-size: clamp(1.7rem, 3vw, 2.65rem);
  line-height: 1.3;
  font-weight: 820;
  letter-spacing: -.035em;
  overflow-wrap: anywhere;
}
.section-title p { margin-top: 9px; color: var(--muted); }
.section-title time, .section-title a { display: inline-block; margin: 9px 12px 0 0; }
.subnav { display: flex; flex-wrap: wrap; gap: 8px; padding: 15px var(--panel-padding); background: #f0f2ec; }
.subnav a { border: 1px solid #c9d1c5; padding: 5px 10px; background: var(--white); font-size: .9rem; }
.article-list { padding: 0 var(--panel-padding); }
.article-list li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.article-list li > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.article-list h2 { font-size: 1.1rem; line-height: 1.45; }
.article-list p { margin-top: 6px; }
.article-list li:last-child { border: 0; }
.pagination { display: flex; flex-wrap: wrap; gap: 7px; padding: 20px var(--panel-padding); }
.pagination a, .pagination span { padding: 4px 11px; border: 1px solid var(--line); }
.pagination span { background: var(--forest); color: var(--white); }
.prose { padding: var(--panel-padding); line-height: 1.9; overflow-wrap: anywhere; }
.prose p { margin: 0 0 1em; }
.prose h2 { font-size: 1.26rem; margin: 1.15em 0 .45em; color: var(--ink); line-height: 1.45; }
.prose img { margin-inline: auto; }
.question, .answer { padding: 15px 18px; background: #edf1eb; border-left: 2px solid #889d8b; }
.prose .answer p { margin-bottom: 0; }
.answer { margin: 12px 0; }
.answer h3 { color: var(--forest); font-size: 1rem; margin-bottom: 4px; }
.neighbors { display: grid; gap: 7px; padding: 16px 0; margin-inline: var(--panel-padding); border-top: 1px solid var(--line); }
.comments { margin-top: 19px; }
.comment-body { padding: 16px 24px; }
.comment-body form { display: grid; gap: 8px; justify-items: start; }
.comment-body textarea { display: block; width: 100%; font: inherit; padding: 9px; border: 1px solid #abb8aa; }
.member { max-width: 480px; margin: 28px auto; }
.member form { display: grid; gap: 16px; padding: var(--panel-padding); justify-items: start; }
.member form label { display: grid; gap: 4px; width: 100%; }
.member form input:not([type=hidden]) { width: 100%; font: inherit; padding: 8px; border: 1px solid #abb8aa; }

.footer { background: var(--night); color: #f5f7ef; }
.footer a { color: #edf0e6; }
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 19px;
  padding-block: 18px;
  border-bottom: 1px solid #3b4b40;
}
.friend-links h2 { font-size: .98rem; }
.friend-links ul, .footer-body > div:last-child { display: flex; flex-wrap: wrap; align-items: baseline; gap: 7px 17px; }
.friend-links ul:empty { display: none; }
.friend-links span, .footer-body p { font-size: .875rem; color: #bcc7bb; }
.footer-body { display: flex; justify-content: space-between; gap: 16px 26px; padding-block: 27px 34px; }

@media (max-width: 1040px) {
  .head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 12px; }
  .brand { min-height: 68px; }
  .head-contact { grid-column: 2; grid-row: 1; }
  .primary { grid-column: 1 / -1; }
  .navigation { justify-content: space-between; gap: 10px; border-top: 1px solid #34413a; }
  .navigation a { min-height: 46px; }
  .hero > img { width: 88%; object-position: 69% center; }
  .inner-columns { grid-template-columns: minmax(0, 1fr) minmax(205px, 30%); }
}
@media (max-width: 720px) {
  .hero-content { min-height: 470px; padding-block: 32px 58px; }
  .hero > img { width: 100%; object-position: 65% center; }
  .hero::before {
    background:
      linear-gradient(90deg, rgba(16, 27, 23, .93) 0%, rgba(16, 27, 23, .65) 49%, rgba(16, 27, 23, .25)),
      linear-gradient(0deg, rgba(16, 27, 23, .57), transparent 55%);
  }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-columns, .home .recommendations, .home-qa, .case-grid, .inner-columns { grid-template-columns: minmax(0, 1fr); }
  .home-qa li:not(:last-child) { border-bottom: 1px solid var(--line); }
  .intro { min-height: 0; }
}
@media (max-width: 530px) {
  .head { grid-template-columns: minmax(0, 1fr) auto; gap: 0 8px; }
  .brand { min-width: 0; gap: 8px; }
  .brand img { width: 38px; height: 38px; flex: 0 0 38px; }
  .brand strong { font-size: .99rem; }
  .brand small { font-size: .69rem; line-height: 1.35; }
  .head-contact { padding: 6px 7px; font-size: .78rem; }
  .navigation { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
  .navigation a { min-height: 36px; padding: 2px 0; font-size: .85rem; }
  .navigation a[aria-current]::after { inset-inline: 20%; }
  .hero-content { min-height: 427px; }
  .hero h1 { font-size: clamp(2.5rem, 11vw, 3.15rem); }
  .hero-summary { font-size: .95rem; }
  .hero-actions { margin-top: 21px; }
  .hero-actions .button { min-height: 42px; padding-inline: 11px; font-size: .88rem; }
  .image-note { bottom: 12px; }
  .home { padding-bottom: 40px; }
  .article-list li > div, .footer-body { display: block; }
  .footer-body > div:last-child { margin-top: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .product { transition: none; }
  .product:hover { transform: none; }
}

