:root {
  color-scheme: light;
  --ink: #202426;
  --muted: #545b60;
  --paper: #fbfaf7;
  --line: #deded8;
  --accent: #ad3528;
  --dark: #202729;
  --wide: 74rem;
  font: 100%/1.6 "Inter", "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; }
a { color: inherit; text-underline-offset: .25em; }
a:focus-visible, button:focus-visible { outline: .16rem solid var(--accent); outline-offset: .3rem; }
h1, h2, h3, p, figure { margin: 0; }
img { display: block; max-width: 100%; }
button { font: inherit; }
.wrap { width: min(var(--wide), calc(100% - 6rem)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -6rem; padding: .6rem 1rem; background: #fff; color: var(--ink); z-index: 1; }
.skip-link:focus { top: 1rem; }

.site-header { border-bottom: 1px solid var(--line); }
.header-inner, .site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
}
.header-inner { min-height: 4.85rem; padding-block: .75rem; }
.wordmark { display: inline-flex; gap: .7rem; align-items: center; text-decoration: none; font-weight: 750; line-height: 1.15; }
.wordmark small { display: block; margin-top: .3rem; font-size: .75rem; color: var(--muted); letter-spacing: .12em; }
.logo { position: relative; display: block; width: 2.25rem; height: 2.25rem; background: var(--dark); border-radius: .35rem; }
.logo::before, .logo::after, .logo i { position: absolute; content: ""; background: #fff; border-radius: 1px; }
.logo::before { inset: .52rem auto .54rem .62rem; width: .17rem; }
.logo::after { inset: .52rem .58rem auto .62rem; height: .17rem; }
.logo i { inset: .98rem .88rem auto .62rem; height: .17rem; }
nav { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem clamp(.7rem, 2.5vw, 1.85rem); }
nav a { font-size: .9rem; font-weight: 650; text-decoration: none; }
nav a:hover, .site-footer a:hover { text-decoration: underline; }
.languages {
  display: inline-flex;
  align-items: stretch;
  gap: .14rem;
  padding: .15rem;
  border: 1px solid var(--line);
  border-radius: 2rem;
}
.languages a {
  display: grid;
  place-items: center;
  padding: .28rem .65rem;
  border-radius: 2rem;
  white-space: nowrap;
}
.languages a:hover { background: #eeece6; text-decoration: none; }
.languages a[aria-current="page"] { background: var(--dark); color: #fff; }

.hero { background: #232829; color: #f6f5f0; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  align-items: center;
  gap: clamp(1.65rem, 4.6vw, 4.75rem);
  min-height: 31rem;
  padding-block: clamp(2.35rem, 5vw, 4.55rem);
}
.brand {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .65rem;
  font-size: .91rem;
  font-weight: 720;
  letter-spacing: .075em;
  color: #dedbd4;
}
.brand span { width: .34rem; height: .34rem; border-radius: 50%; background: #ee7c62; }
h1 { font-size: clamp(3rem, 5.4vw, 5.25rem); line-height: 1.04; letter-spacing: -.062em; margin-block: 1.1rem 1.45rem; font-weight: 780; }
:lang(zh-CN) h1 { letter-spacing: -.06em; line-height: 1.12; }
.period { color: #ec745b; }
.intro { max-width: 27rem; font-size: clamp(1rem, 1.3vw, 1.18rem); color: #dedbd4; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .7rem; margin-top: 1.7rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: .64rem 1.05rem;
  background: var(--accent);
  color: #fff;
  border: 1px solid var(--accent);
  border-radius: .36rem;
  font-size: .95rem;
  font-weight: 660;
  text-decoration: none;
}
.button:hover { background: #963124; border-color: #963124; }
.button-secondary { border-color: #7d807c; background: transparent; }
.button-secondary:hover { border-color: #d1d0c8; background: #394041; }
.hero a:focus-visible, .company a:focus-visible { outline-color: #fb947b; }
.hero-figure {
  min-width: 0;
  overflow: hidden;
  border-radius: .75rem;
  border: 1px solid #ede8de;
  background: #ece7de;
  color: var(--ink);
}
.product-image {
  display: grid;
  place-items: center;
  aspect-ratio: 1.52;
  padding: clamp(.8rem, 2.9vw, 2.1rem) clamp(1rem, 4vw, 3rem);
  background: radial-gradient(ellipse at 54% 45%, #fffefa 8%, #efede6 58%, #e8e3d9 99%);
}
.product-image img { width: 100%; height: 100%; min-height: 0; object-fit: contain; mix-blend-mode: multiply; }
figcaption {
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  padding: .78rem 1.15rem;
  border-top: 1px solid #dcd5c8;
  color: #394144;
  font: 650 .8rem/1.5 "SFMono-Regular", Consolas, monospace;
  letter-spacing: .055em;
}

.catalogue { padding-block: clamp(2.4rem, 6vw, 5rem); }
.catalogue-head { display: flex; align-items: end; justify-content: space-between; gap: .8rem 1.25rem; margin-bottom: 1.65rem; }
h2 { font-size: clamp(1.95rem, 3.65vw, 3.1rem); line-height: 1.16; letter-spacing: -.045em; }
.filters { display: flex; flex-wrap: wrap; gap: .42rem; }
.filters button {
  min-height: 2.65rem;
  padding: .36rem .9rem;
  border: 1px solid var(--line);
  border-radius: 2rem;
  color: var(--muted);
  background: transparent;
  font-size: .9rem;
  font-weight: 640;
  cursor: pointer;
}
.filters button:hover { border-color: #989a95; color: var(--ink); }
.filters button[aria-pressed="true"] { border-color: var(--dark); background: var(--dark); color: #fff; }

.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.product-card {
  min-width: 0;
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: .64rem;
  scroll-margin-top: 1.25rem;
}
.product-card:target { border-color: var(--accent); }
.product-photo {
  display: grid;
  place-items: center;
  aspect-ratio: 1.3;
  padding: 1.05rem 1.25rem;
  background: #f5f3ee;
  border-bottom: 1px solid #e5e2db;
  overflow: hidden;
}
.product-photo:focus-visible { outline-offset: -.25rem; }
.product-photo img { width: 100%; height: 100%; min-height: 0; object-fit: contain; mix-blend-mode: multiply; transition: transform 180ms ease-out; }
.product-photo:hover img { transform: scale(1.035); }
.product-copy { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 1.12rem 1.25rem 1.3rem; }
.product-meta { display: flex; gap: .5rem .65rem; align-items: baseline; flex-wrap: wrap; margin-bottom: .42rem; color: var(--muted); font-size: .84rem; }
.product-meta span:first-child { font: 700 .84rem/1.5 "SFMono-Regular", Consolas, monospace; color: var(--accent); }
.product-copy h3 { font-size: clamp(1.15rem, 1.5vw, 1.35rem); line-height: 1.28; letter-spacing: -.02em; }
.product-description { margin-top: .55rem; margin-bottom: .95rem; color: var(--muted); }
.product-link { align-self: flex-start; margin-top: auto; font-weight: 700; font-size: .94rem; }
.product-link:hover { color: var(--accent); }

.company { background: #ebe8df; color: var(--ink); border-block: 1px solid #dedacf; }
.company-inner { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: 1rem 2rem; padding-block: clamp(2.5rem, 5vw, 4.25rem); }
.section-label { padding-top: .32rem; color: var(--muted); font-size: .88rem; font-weight: 750; letter-spacing: .025em; }
.company h2 { font-size: clamp(1.55rem, 3.15vw, 2.6rem); letter-spacing: -.025em; }
.company p:not(.section-label) { max-width: 43rem; margin-top: .74rem; color: #3a4244; }
.company p.company-note { color: var(--muted); font-size: .94rem; }
.company a:focus-visible { outline-color: var(--accent); }
.text-link { display: inline-block; margin-top: 1rem; font-weight: 700; }
.text-link:hover { color: var(--accent); }
.site-footer { padding-block: 1.5rem; color: var(--muted); font-size: .9rem; }
.site-footer a { text-decoration: none; }
.site-footer .record { display: inline-block; margin-inline-start: .65rem; font-size: .8rem; }

@media (max-width: 58rem) {
  .wrap { width: calc(100% - 3rem); }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-grid { min-height: 0; }
}

@media (max-width: 43rem) {
  .wrap { width: calc(100% - 2.25rem); }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 1.55rem; padding-block: 2.4rem 2rem; }
  h1 { margin-block: .75rem 1rem; font-size: clamp(2.75rem, 10vw, 3.8rem); }
  .hero-actions { margin-top: 1.25rem; }
  .catalogue-head { align-items: start; flex-direction: column; margin-bottom: 1.2rem; }
  .product-grid { gap: .85rem; }
  .product-photo { padding: .7rem; }
  .product-copy { padding: .85rem .9rem 1rem; }
  .company-inner { grid-template-columns: minmax(0, 1fr); gap: .5rem; }
  .site-footer { flex-wrap: wrap; gap: .4rem 1.5rem; }
  .site-footer .record { display: block; margin-inline-start: 0; }
}

@media (max-width: 32rem) {
  .product-grid { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .product-copy { padding: 1rem 1.15rem 1.2rem; }
  .product-photo { padding: .85rem 1.3rem; }
  .hero-actions .button { padding-inline: .78rem; font-size: .88rem; }
}

@media (max-width: 24rem) {
  .header-inner { flex-wrap: wrap; gap: .65rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .product-photo img { transition: none; }
}
