:root {
  color-scheme: light;
  --page: #faf9f5;
  --ink: #22201d;
  --muted: #625e57;
  --line: #dedbd2;
  --red: #a62d25;
  --red-dark: #81241c;
  --cream: #fff7df;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  color: var(--ink);
  background: var(--page);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; line-height: 1.65; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #b94d19; outline-offset: 4px; }
.wrap { width: min(100% - 3rem, 76rem); margin-inline: auto; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: absolute; z-index: 5; inset: .5rem auto auto .5rem; background: #fff; padding: .6rem 1rem; }
.site-header { border-bottom: 1px solid var(--line); }
.masthead { min-height: 5.25rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: flex; align-items: center; gap: .7rem; flex-shrink: 0; }
.brand img { width: 2.9rem; height: 2.9rem; object-fit: contain; }
.brand strong { color: var(--red-dark); font-size: 1.18rem; font-weight: 750; letter-spacing: .05em; line-height: 1.4; }
nav { display: flex; gap: clamp(1rem, 4vw, 3rem); align-items: center; }
nav a { font-size: .9375rem; font-weight: 650; padding-block: .6rem; white-space: nowrap; }
nav a:hover { color: var(--red); }
.hero { min-height: clamp(31rem, 41vw, 39rem); display: grid; align-items: center; position: relative; isolation: isolate; overflow: hidden; background: #261f1a; color: #fffaf0; }
.hero-photo { position: absolute; z-index: -2; width: 72%; height: 100%; right: 0; object-fit: cover; object-position: 56% center; }
.hero::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #261f1a 0%, #261f1a 26%, #261f1af0 38%, #261f1a5f 68%, #261f1a21 100%); }
.hero-content { padding-block: 4.5rem; }
h1, h2, h3, p, figure { margin: 0; }
h1 { font-size: clamp(3.4rem, 6.15vw, 6rem); font-weight: 850; line-height: 1.08; letter-spacing: -.035em; }
h1 span { display: block; color: #f7cf82; margin-top: .08em; }
.hero p { max-width: 25rem; margin-top: 1.4rem; color: #f4eadb; font-size: clamp(1rem, 1.5vw, 1.18rem); }
.actions { margin-top: 1.8rem; display: flex; flex-wrap: wrap; gap: .8rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 2.9rem; padding: .65rem 1.15rem; border-radius: .45rem; border: 1px solid transparent; font-weight: 700; }
.button.primary { background: #f7cf82; color: #32210b; }
.button.primary:hover { background: #ffdda0; }
.button.outline { border-color: #f3dfb695; color: var(--cream); }
.button.outline:hover { background: #fff2d321; }
.button.secondary { border-color: #c99f96; color: var(--red-dark); }
.button.secondary:hover { background: #fdf1e5; }
.section { padding-block: clamp(3.5rem, 6.5vw, 6.25rem); }
.section-head { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 1.25rem 2rem; margin-bottom: 1.65rem; }
h2 { font-size: clamp(2rem, 4vw, 3.05rem); line-height: 1.16; letter-spacing: -.025em; }
.section-head p { margin-top: .65rem; color: var(--muted); }
.filters { display: flex; flex-wrap: wrap; gap: .35rem; }
.filters button { min-height: 2.65rem; padding: .45rem .76rem; border-radius: .42rem; border: 1px solid var(--line); color: var(--ink); background: #fff; cursor: pointer; font-size: .9375rem; white-space: nowrap; }
.filters button:hover { border-color: #b96e58; }
.filters button[aria-pressed="true"] { background: var(--red-dark); border-color: var(--red-dark); color: #fff; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.85rem, 2vw, 1.45rem); }
.product { background: #fff; border: 1px solid var(--line); border-radius: .65rem; overflow: hidden; }
.product img { width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: cover; background: #eeeae1; }
.product-copy { padding: .9rem 1rem 1rem; border-top: 1px solid #ede8dd; }
h3 { font-size: 1.14rem; line-height: 1.35; }
.product-copy p { margin-top: .35rem; color: var(--muted); font-size: .9375rem; }
.company { background: #eee9de; }
.company-grid { display: grid; align-items: center; gap: clamp(2rem, 7vw, 6rem); grid-template-columns: 1.12fr 1fr; }
.company-photo { position: relative; border-radius: .7rem; overflow: hidden; background: #c0a782; }
.company-photo img { width: 100%; height: auto; aspect-ratio: 3/2; object-fit: cover; }
figcaption { position: absolute; inset: auto auto 0 0; padding: .6rem .85rem; background: #251d18ea; color: #fff7e9; font-size: .875rem; }
.company-text p { color: #49453e; margin-top: 1rem; max-width: 30rem; }
.company-text .button { margin-top: 1.5rem; }
.contact { background: #26211c; color: #fff7e9; }
.contact .section-head p, .contact article p, address { color: #e4d8ca; }
.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.contact article { padding: 1.25rem 1.45rem; border: 1px solid #615248; border-radius: .6rem; }
.contact h3 { margin-bottom: .75rem; }
.contact-phone { font-size: 1.2rem; font-weight: 750; width: fit-content; font-variant-numeric: tabular-nums; }
.contact article p { font-size: .9375rem; }
.contact article p + .contact-phone { display: inline-block; margin-top: .55rem; }
address { font-style: normal; }
.contact-phone { color: #f7cf82; }
.contact-phone:hover, .footer a:hover { text-decoration: underline; }
.footer { background: #1b1814; color: #e9ddd0; font-size: .875rem; }
.footer-inner { padding-block: 1.2rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 1.5rem; }
@media (max-width: 55rem) {
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 42rem) {
  .wrap { width: calc(100% - 2rem); }
  .masthead { display: grid; gap: .3rem; justify-content: stretch; padding-top: .65rem; }
  .brand img { width: 2.5rem; height: 2.5rem; }
  nav { gap: 1.5rem; }
  .hero { min-height: 35rem; align-items: end; }
  .hero-photo { width: 100%; height: 65%; inset: 0 0 auto; object-position: center 41%; }
  .hero::after { background: linear-gradient(0deg, #261f1a 8%, #261f1a 28%, #261f1ac7 51%, #261f1a1c 79%); }
  .hero-content { padding-block: 2.1rem; }
  h1 { font-size: clamp(2.65rem, 11vw, 4.15rem); }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-copy { padding-inline: .75rem; }
  .company-grid, .contact-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
