:root {
  color-scheme: light;
  --paper: #faf9f6;
  --ink: #211f1c;
  --muted: #585651;
  --line: #d7d4cd;
  --image-ground: #eeede8;
  --accent: #a82d21;
  --accent-hover: #832318;
  font-family: 'Segoe UI', 'Microsoft YaHei UI', 'PingFang SC', 'Noto Sans CJK SC', system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: auto; }
h1, h2, h3, p, figure { margin: 0; }
section { scroll-margin-top: 1.25rem; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.shell { width: min(77rem, calc(100% - 5rem)); margin-inline: auto; }
.skip-link { position: fixed; top: .75rem; left: .75rem; z-index: 5; padding: .65em 1em; background: #fff; transform: translateY(-180%); }
.skip-link:focus { transform: none; }

.header {
  display: flex;
  min-height: 5rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--ink);
}
.brand { display: inline-flex; align-items: baseline; gap: .85rem; text-decoration: none; }
.brand-name { font-size: 1.45rem; font-weight: 760; letter-spacing: .035em; }
.brand small { color: var(--muted); font-size: .875rem; font-weight: 600; letter-spacing: .045em; }
.header nav { display: flex; align-items: center; gap: clamp(1rem, 4vw, 2.9rem); font-weight: 640; }
.header nav a:hover, .footer a:hover { text-decoration: underline; text-underline-offset: .25em; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding-block: clamp(1.9rem, 4vw, 3.75rem);
}
.hero h1 {
  font-size: clamp(3.15rem, 5.9vw, 5.8rem);
  line-height: 1.08;
  letter-spacing: -.046em;
  font-weight: 760;
}
html[lang="zh-CN"] .hero h1 { letter-spacing: -.026em; }
.hero p {
  max-width: 24rem;
  margin-top: 1.3rem;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.8;
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem 1.3rem; margin-top: 1.65rem; }
.hero .payment-note { margin-top: .65rem; font-size: .9rem; line-height: 1.5; }
.payment-note strong { color: var(--ink); }
.button { display: inline-flex; min-height: 2.9rem; align-items: center; justify-content: center; padding: .55rem .95rem; font-size: .95rem; font-weight: 730; }
.button-primary { background: var(--accent); color: #fff; }
.button-primary:hover { background: var(--accent-hover); }
.button-secondary { padding-inline: .1rem; text-decoration: underline; text-underline-offset: .32em; }
.button-secondary:hover { color: var(--accent); }
.hero-product {
  display: grid;
  grid-template-rows: 1fr auto;
  min-width: 0;
  aspect-ratio: 1.365;
  background: var(--image-ground);
  border-top: .25rem solid var(--accent);
}
.hero-product img { width: 100%; height: 100%; min-height: 0; object-fit: contain; filter: drop-shadow(0 .55rem .45rem #332d2421); }
.hero-product figcaption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: .25rem 1rem;
  padding: .7rem 1.05rem;
  border-top: 1px solid #d2d0c8;
  color: var(--muted);
  font-size: .875rem;
}
.hero-product figcaption strong { color: var(--ink); font-size: 1rem; }

.samples {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(18rem, 1.05fr) max-content;
  align-items: center;
  gap: .7rem clamp(1rem, 3vw, 2.5rem);
  padding: 1.1rem 0 1.2rem;
  border-block: 1px solid var(--line);
}
.samples h2 { font-size: clamp(1.15rem, 2vw, 1.4rem); line-height: 1.4; }
.samples p { margin-top: .18rem; color: var(--muted); }
.sample-locations { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem 1rem; margin: 0; padding: 0; list-style: none; }
.sample-locations li { display: flex; align-items: center; gap: .55rem; min-width: 0; font-weight: 670; }
.sample-locations img { flex: none; width: 3rem; height: 2.75rem; object-fit: contain; }
.samples-link { border: 1px solid var(--accent); color: var(--accent); }
.samples-link:hover { background: #f5e8e3; }

.catalog { padding-block: clamp(2.7rem, 5.5vw, 5rem); }
.section-title { display: flex; align-items: baseline; justify-content: space-between; gap: .5rem 1.5rem; margin-bottom: 1.35rem; }
.section-title h2, .contact h2 { font-size: clamp(1.9rem, 3.6vw, 3.05rem); line-height: 1.18; letter-spacing: -.025em; }
.section-title p { color: var(--muted); }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem 1.5rem; }
.product { display: flex; flex-direction: column; min-width: 0; border-bottom: 1px solid var(--line); }
.product-image { position: relative; display: block; aspect-ratio: 1.34; background: var(--image-ground); overflow: hidden; }
.product-image img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .22s ease; }
.product-image:hover img { transform: scale(1.045); }
.zoom {
  position: absolute;
  display: grid;
  place-items: center;
  inset: auto .65rem .65rem auto;
  width: 1.65rem;
  height: 1.65rem;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  font-size: 1.1rem;
  line-height: 1;
}
.product-info { display: flex; flex: 1; flex-direction: column; padding: .85rem .05rem .8rem; }
.product-info h3 { font-size: clamp(1.15rem, 2.2vw, 1.55rem); line-height: 1.3; letter-spacing: -.02em; overflow-wrap: anywhere; }
.product-info p { margin-top: .17rem; line-height: 1.5; }
.product-info ul { display: flex; flex-wrap: wrap; gap: .2rem .75rem; margin: .45rem 0 .55rem; padding: 0; list-style: none; }
.product-info li { color: var(--muted); font-size: .875rem; }
.product-info li:not(:last-child)::after { content: '·'; position: relative; left: .38rem; color: #78756d; }
.product-quote {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  min-height: 2.75rem;
  margin-top: auto;
  color: var(--accent);
  font-weight: 720;
  text-decoration: underline;
  text-underline-offset: .3em;
}
.product-quote:hover { color: var(--accent-hover); }

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(17rem, .9fr);
  align-items: center;
  gap: 1.5rem clamp(1.75rem, 5vw, 4rem);
  padding: clamp(1.45rem, 4vw, 3.2rem);
  background: #24221f;
  color: #fffdfa;
}
.contact a:focus-visible { outline-color: #fffdfa; }
.contact-intro p { max-width: 29rem; margin-top: .65rem; color: #e2ddd7; }
.contact-methods { display: grid; gap: .25rem; margin: 0; font-style: normal; }
.contact-methods > a { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .1rem .75rem; min-height: 2.85rem; padding: .55rem .15rem; border-bottom: 1px solid #ffffff38; overflow-wrap: anywhere; }
.contact-methods > a:not(.button-whatsapp):hover { color: #f5c2aa; }
.contact-methods .button-whatsapp { margin-bottom: .3rem; padding-inline: .8rem; background: #fffdfa; color: var(--ink); }
.contact-methods .button-whatsapp:hover { background: #f2e4dc; }
.button-whatsapp span { color: #56504b; }
.contact-methods > a:not(.button-whatsapp) span { color: #ded8d2; }
.contact-methods strong { font-size: .94rem; font-weight: 640; }

.footer { padding-block: 1.3rem 1.75rem; font-size: .9rem; font-weight: 650; }
.footer span { margin-left: .5rem; color: var(--muted); font-weight: 500; }

@media (max-width: 57rem) {
  .shell { width: calc(100% - 3rem); }
  .hero { gap: 1.4rem; }
  .hero h1 { font-size: clamp(2.8rem, 6.9vw, 4.65rem); }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 43rem) {
  .shell { width: calc(100% - 2rem); }
  .header { min-height: 4.35rem; }
  .brand { display: grid; gap: .05rem; line-height: 1.25; }
  .brand-name { font-size: 1.22rem; }
  .brand small { font-size: .8rem; }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 1.35rem; padding-block: 1.5rem; }
  .hero h1 { font-size: clamp(2.1rem, 9.8vw, 3.9rem); line-height: 1.14; }
  html[lang="zh-CN"] .hero h1 br { display: none; }
  .hero p { margin-top: .75rem; font-size: 1rem; }
  .hero-actions { margin-top: .95rem; gap: .3rem .85rem; }
  .hero-product figcaption { padding: .5rem .65rem; }
  .samples { grid-template-columns: minmax(0, 1fr) max-content; gap: .75rem; }
  .sample-locations { grid-column: 1 / -1; grid-row: 2; }
  .sample-locations img { width: 2.65rem; height: 2.4rem; }
  .section-title { display: grid; margin-bottom: 1rem; }
  .product-grid { gap: 1.3rem .85rem; }
  .contact { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; }
}
