:root {
  color-scheme: light;
  --paper: #f7f6f1;
  --ink: #211e1a;
  --muted: #625a50;
  --line: #e2ded3;
  --accent: #a34029;
  --accent-light: #f0c8a0;
  --hero: #2b2621;
  font-family: "Bricolage Grotesque", "Microsoft YaHei UI", "PingFang SC", "Noto Sans CJK SC", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid #b04f32; outline-offset: 4px; }
img { max-width: 100%; }
h1, h2, h3, p { margin: 0; }
.wrap { width: min(1256px, calc(100% - 108px)); margin-inline: auto; }
.skip { position: fixed; top: 8px; left: 8px; z-index: 4; padding: 12px; color: white; background: var(--ink); transform: translateY(-150%); }
.skip:focus { transform: translateY(0); }
.site-header { border-bottom: 1px solid var(--line); }
.masthead {
  position: relative; display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; min-height: 79px; gap: 25px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; justify-self: start; white-space: nowrap; }
.brand-mark {
  display: grid; place-items: center; width: 41px; height: 41px; border-radius: 8px;
  color: #fff3e3; background: var(--accent); font-size: 23px; font-weight: 800;
}
.wordmark { font-size: 15px; line-height: 1.02; font-weight: 850; letter-spacing: .10em; }
.wordmark small { display: block; margin-top: 5px; color: var(--muted); font-size: 10px; font-weight: 650; letter-spacing: .12em; }
.main-nav, .footer-inner nav { display: flex; align-items: center; flex-wrap: wrap; gap: clamp(14px, 3vw, 43px); }
.main-nav a, .footer-inner a { display: inline-flex; align-items: center; min-height: 38px; font-size: 14px; }
.main-nav a:hover, .footer-inner a:hover { color: var(--accent); }
.member { justify-self: end; display: inline-flex; gap: 9px; align-items: center; min-height: 42px; padding: 0 13px 0 15px; font-size: 13px; font-weight: 750; border: 1px solid var(--line); border-radius: 7px; }
.member:hover { color: var(--accent); border-color: var(--accent); }
.nav-toggle { display: none; }

.hero {
  display: grid; grid-template-columns: .91fr 1fr; align-items: stretch;
  min-height: 493px; margin-top: 28px; overflow: hidden; border-radius: 14px;
  color: #fff7ea; background: var(--hero);
}
.hero-copy { align-self: center; padding: clamp(32px, 4.7vw, 72px) clamp(26px, 4.05vw, 63px); }
.hero-label { margin-bottom: 19px; color: #fac99a; font-size: 12px; font-weight: 800; letter-spacing: .14em; }
.hero h1 { font-size: clamp(30px, 3.8vw, 65px); font-weight: 900; line-height: 1.16; letter-spacing: -.05em; }
.hero-intro { max-width: 29em; margin-top: 22px; color: #e2d7c8; font-size: clamp(14px, 1.3vw, 17px); line-height: 1.85; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 13px 23px; margin-top: 28px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; gap: 13px; padding: 0 15px; border-radius: 7px; font-size: 14px; font-weight: 780; }
.button-primary { color: #362417; background: var(--accent-light); }
.button-primary:hover { background: #ffe0ba; }
.button-quiet { padding-inline: 0; color: #fff0df; }
.button-quiet:hover, .text-link:hover { text-decoration: underline; text-underline-offset: .22em; }
.hero-media { position: relative; display: block; min-height: 330px; overflow: hidden; background: #b6ab9a; color: #fff5e8; }
.hero-media img { display: block; width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; filter: sepia(.27) saturate(.65) contrast(.94); }
.hero-media::after { content: ""; position: absolute; inset: 48% 0 0; background: linear-gradient(transparent, #1f1a16bf); pointer-events: none; }
.hero-media:focus-visible { outline-offset: -5px; z-index: 1; }
.media-caption { position: absolute; inset: auto 22px 20px; z-index: 1; display: flex; justify-content: space-between; gap: 12px; align-items: center; font-size: 17px; font-weight: 800; }
.media-caption small { display: block; margin-top: 4px; font-size: 12px; font-weight: 500; color: #f5e3ce; }
.media-arrow, .product-arrow { display: grid; width: 37px; height: 37px; flex: 0 0 37px; place-items: center; border: 1px solid currentColor; border-radius: 50%; font-size: 19px; }
.hero-media:hover .media-arrow { background: #fff7ea; color: var(--hero); }

.featured, .tools, .business { margin-top: 65px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; margin-bottom: 19px; }
.kicker { color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: .13em; margin-bottom: 6px; }
.section-heading h2, .contact h2 { font-size: clamp(26px, 3vw, 41px); font-weight: 850; letter-spacing: -.045em; line-height: 1.17; }
.text-link { display: inline-flex; align-items: center; gap: 8px; min-height: 35px; color: var(--accent); font-size: 14px; font-weight: 750; }
.featured-grid, .tool-grid, .brand-grid { display: grid; gap: 16px; }
.featured-grid, .tool-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.product { min-width: 0; display: block; overflow: hidden; background: #fdfcf8; border: 1px solid var(--line); border-radius: 10px; transition: border-color .18s; }
.product:hover { border-color: #a34029; }
.product-image { display: grid; align-items: stretch; overflow: hidden; aspect-ratio: 1.87; }
.product-image img { display: block; width: 100%; height: 100%; object-fit: cover; min-height: 0; }
.image-door { background: #c2b6a2; }
.image-door img { object-position: center 57%; }
.image-motion { background: #eae5d8; }
.image-motion img { object-fit: contain; }
.image-terrain { background: #6f8766; }
.product-content { display: flex; align-items: start; justify-content: space-between; gap: 10px; padding: 18px 17px 19px; }
.product-content h3 { font-size: clamp(17px, 1.6vw, 23px); line-height: 1.28; }
.product-content p, .brand-grid p, .about p, .contact p { margin-top: 7px; color: var(--muted); font-size: 14px; line-height: 1.65; }
.product-arrow { color: var(--accent); width: 32px; height: 32px; flex-basis: 32px; font-size: 16px; border-color: #e8cbbd; }
.product:hover .product-arrow { color: white; background: var(--accent); border-color: var(--accent); }

.tool-group { padding: 17px; border: 1px solid var(--line); border-radius: 10px; background: #fdfcf8; }
.tool-group h3 { padding: 0 5px 11px; font-size: 19px; }
.tool-group ul { padding: 0; margin: 0; list-style: none; }
.tool-group li { border-top: 1px solid var(--line); }
.tool-group li a {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; color: var(--accent);
  min-height: 63px; padding: 8px 5px; border-radius: 3px;
}
.tool-group li a:hover { background: #f5f0e6; }
.tool-group strong { color: var(--ink); font-size: 15px; }
.tool-group small { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; line-height: 1.45; }
.developer-link {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 3px 18px;
  margin-top: 16px; padding: 13px 18px; border-radius: 8px; background: #eee8dc; font-size: 14px;
}
.developer-link strong { display: inline-block; margin-right: 10px; }
.developer-link div span { color: var(--muted); }
.business { padding-top: 26px; border-top: 1px solid var(--line); }
.brand-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.brand-grid article { border-left: 2px solid #e2c6b3; padding: 5px 11px 5px 13px; }
.brand-grid h3, .about h2 { font-size: 17px; }
.about { margin: 34px 0 19px; }
.contact {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px;
  margin-top: 20px; padding: clamp(19px, 3vw, 36px); border-radius: 12px; color: #fff6e8; background: var(--hero);
}
.contact p { color: #e2d7c8; }
.phone { white-space: nowrap; }
.site-footer { margin-top: 38px; border-top: 1px solid var(--line); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 4px 18px; min-height: 69px; padding-block: 8px; color: var(--muted); font-size: 13px; }
.footer-inner nav { gap: 4px 20px; }

@media (max-width: 1050px) {
  .wrap { width: calc(100% - 64px); }
  .hero { min-height: 410px; }
  .masthead { gap: 15px; }
  .main-nav { gap: 18px; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 36px); }
  .masthead { grid-template-columns: 1fr auto auto; gap: 9px; min-height: 65px; }
  .brand-mark { width: 36px; height: 36px; font-size: 20px; }
  .brand { gap: 7px; }
  .wordmark { font-size: 14px; }
  .member { grid-column: 2; grid-row: 1; min-height: 37px; padding: 0 9px; }
  .nav-toggle {
    grid-column: 3; grid-row: 1; width: 39px; height: 37px;
    padding: 8px; border: 1px solid var(--line); border-radius: 7px; background: transparent; cursor: pointer;
  }
  .nav-toggle span { display: block; height: 2px; margin: 4px 0; background: currentColor; }
  .nav-ready .nav-toggle { display: inline-block; }
  .main-nav { grid-column: 1 / -1; display: flex; gap: 1px 12px; padding-bottom: 10px; }
  .nav-ready .main-nav {
    display: none; position: absolute; top: calc(100% + 1px); right: 0; left: 0; z-index: 2;
    padding: 8px; background: #fdfcf8; border: 1px solid var(--line); border-radius: 8px;
  }
  .nav-ready .nav-toggle[aria-expanded="true"] + .main-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav-ready .main-nav a { padding: 5px 9px; }
  .hero { grid-template-columns: 1fr; min-height: auto; margin-top: 16px; }
  .hero-copy { padding: 26px 22px 24px; }
  .hero-label { margin-bottom: 12px; }
  .hero h1 { font-size: clamp(31px, 6.7vw, 47px); }
  .hero-intro { margin-top: 13px; }
  .hero-actions { margin-top: 17px; gap: 7px 17px; }
  .hero-media { min-height: clamp(205px, 53vw, 315px); }
  .media-caption { inset: auto 13px 12px; font-size: 15px; }
  .featured, .tools, .business { margin-top: 41px; }
  .featured-grid, .tool-grid { grid-template-columns: 1fr; gap: 12px; }
  .product { display: grid; grid-template-columns: minmax(105px, .66fr) 1fr; min-height: 120px; }
  .product-image { aspect-ratio: auto; }
  .product-content { padding: 13px 11px 13px 13px; gap: 5px; }
  .product-content p { font-size: 12px; }
  .product-arrow { width: 24px; height: 24px; flex-basis: 24px; font-size: 13px; }
  .brand-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 10px; }
  .developer-link div span { display: block; margin-top: 4px; }
}
@media (max-width: 360px) {
  .wrap { width: calc(100% - 24px); }
  .hero-copy { padding-inline: 15px; }
  .hero h1 { font-size: 30px; }
  .product-content { padding-inline: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .product { transition: none; }
}
