:root {
  --ink: #15171b;
  --steel: #262a31;
  --line: #e3e1db;
  --paper: #f6f5f1;
  --white: #fff;
  --muted: #6b6f76;
  --amber: #f0a500;
  --amber-d: #c98a00;
  --amber-text: #8a5a00; /* amber for text on light backgrounds, 5.9:1 on white */
  --radius: 6px;
  --wrap: 1200px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.6 var(--font); color: var(--ink); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.4rem, 2.5vw, 1.9rem); font-weight: 750; }
h1, h2, h3 { text-wrap: balance; }
.ftr-h { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: #a7abb2; font-weight: 600; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 700; color: var(--amber); margin-bottom: .8em; }

/* buttons */
.btn { display: inline-block; background: var(--amber); color: var(--ink); text-decoration: none; font-weight: 700; padding: .8em 1.4em; border-radius: var(--radius); border: 2px solid var(--amber); transition: background .15s, border-color .15s; }
.btn:hover { background: var(--amber-d); border-color: var(--amber-d); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { background: rgba(255,255,255,.1); border-color: var(--white); }
.btn-sm { padding: .45em 1em; font-size: .9rem; }

/* header */
.hdr { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.hdr-in { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: .55em; text-decoration: none; font-size: 1.45rem; font-weight: 800; letter-spacing: -.02em; }
.logo b { color: var(--amber); font-weight: 800; }
.logo-mark { width: 26px; height: 26px; background: var(--ink); border-radius: 4px; position: relative; overflow: hidden; }
.logo-mark::before { content: ""; position: absolute; inset: 0 45% 55% 0; background: var(--amber); }
.logo-inv { color: var(--white); }
.logo-inv .logo-mark { background: var(--white); }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { text-decoration: none; font-weight: 600; font-size: .95rem; color: #3a3e45; padding: 4px 0; border-bottom: 2px solid transparent; }
.nav a:not(.btn):hover, .nav a[aria-current] { color: var(--ink); border-bottom-color: var(--amber); }
.nav-btn { display: none; background: none; border: 0; padding: 0; }

/* hero */
.hero { position: relative; color: var(--white); background: var(--ink); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(21,23,27,.92) 0%, rgba(21,23,27,.55) 60%, rgba(21,23,27,.2) 100%); }
.hero-in { position: relative; z-index: 1; padding: clamp(80px, 12vw, 150px) 24px; max-width: var(--wrap); }
.hero h1 { max-width: 15ch; }
.hero-sub { max-width: 48ch; font-size: 1.1rem; color: #d6d8dc; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }

/* sections */
.band { padding: clamp(48px, 7vw, 88px) 0; }
.band-tight { padding: 40px 0 72px; }
.band-alt { background: var(--paper); }
.band-dark { background: var(--steel); color: var(--white); }
.band-dark .muted { color: #b5b9c0; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.sec-head h2 { margin: 0; }
.more { font-weight: 600; text-decoration: none; color: var(--amber-text); white-space: nowrap; }
.more:hover { text-decoration: underline; }
.page-head { background: var(--paper); border-bottom: 1px solid var(--line); padding: 56px 0 36px; }
.page-head .muted { max-width: 60ch; margin: 0; }

/* product grid */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; transition: border-color .15s, box-shadow .15s, transform .15s; }
.card:hover { border-color: #c9c6bd; box-shadow: 0 6px 20px rgba(0,0,0,.08); transform: translateY(-2px); }
.card[hidden] { display: none; }
.card-img { aspect-ratio: 4 / 3; background: #eeede8; display: flex; align-items: center; justify-content: center; }
.card-img img { width: 100%; height: 100%; object-fit: contain; }
.card-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 2px; }
.card-name { font-weight: 700; }
.card-meta { font-size: .82rem; color: var(--muted); }

/* brands */
.brands { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.brands { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.brands li { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); height: 110px; padding: 14px 18px; display: flex; align-items: center; justify-content: center; }
.brands img { max-width: 100%; max-height: 100%; object-fit: contain; mix-blend-mode: multiply; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; }
.dl { display: grid; grid-template-columns: max-content 1fr; gap: 12px 24px; margin: 0; }
.dl dt { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: #a7abb2; font-weight: 600; padding-top: .2em; }
.dl dd { margin: 0; }
.band-dark .dl a { color: var(--amber); }
.dl-sm { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); font-size: .95rem; }
.dl-sm dt { color: var(--muted); }

/* shop filters */
.filters { display: flex; flex-direction: column; gap: 14px; margin-bottom: 20px; }
.search { width: 100%; max-width: 520px; font: inherit; padding: .75em 1em; border: 1px solid #cfccc4; border-radius: var(--radius); background: var(--white); }
.search:focus { outline: 2px solid var(--amber); outline-offset: 1px; border-color: var(--amber); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.chips-label { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; min-width: 88px; }
.chip { font: inherit; font-size: .88rem; padding: .35em .9em; border-radius: 999px; border: 1px solid #cfccc4; background: var(--white); cursor: pointer; color: #3a3e45; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.count { color: var(--muted); font-size: .9rem; margin: 0 0 16px; }
.empty { padding: 40px 0; color: var(--muted); }

/* product detail */
.crumbs { font-size: .88rem; color: var(--muted); margin-bottom: 24px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.pd { display: grid; grid-template-columns: 1.35fr 1fr; gap: 48px; align-items: start; }
.gallery-main { background: #eeede8; border-radius: var(--radius); overflow: hidden; }
.gallery-main img { width: 100%; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); gap: 8px; margin-top: 10px; }
.thumb { padding: 0; border: 2px solid transparent; border-radius: 4px; overflow: hidden; cursor: pointer; background: none; aspect-ratio: 1; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb[aria-pressed="true"] { border-color: var(--amber); }
.pd-info h1 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: .6em; }
.pd-sub { display: block; font-size: .5em; font-weight: 600; color: var(--muted); letter-spacing: 0; margin-top: .3em; }
.specs { display: grid; grid-template-columns: max-content 1fr; margin: 0 0 24px; border-top: 1px solid var(--line); }
.specs dt, .specs dd { margin: 0; padding: 10px 0; border-bottom: 1px solid var(--line); }
.specs dt { color: var(--muted); font-size: .9rem; padding-right: 32px; }
.specs dd { font-weight: 600; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.tag { font-size: .82rem; padding: .25em .75em; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: #3a3e45; }
.tag:hover { border-color: var(--ink); }

/* highlights */
.highlights { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .92rem; font-weight: 600; color: #3a3e45; }
.highlights li { display: flex; align-items: center; gap: 8px; }
.highlights li::before { content: ""; width: 14px; height: 8px; border-left: 2.5px solid var(--amber-d); border-bottom: 2.5px solid var(--amber-d); transform: rotate(-45deg) translateY(-2px); }
.highlights-dark { margin-top: 28px; color: #e3e5e8; }
.highlights-dark li::before { border-color: var(--amber); }

/* faq */
.faq { border-top: 1px solid var(--line); margin-bottom: 32px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 36px 18px 0; font-weight: 700; font-size: 1.05rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; font-weight: 400; color: var(--muted); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq summary:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }
.faq details p { margin: 0 0 20px; color: #3a3e45; }

/* prose */
.prose { max-width: 72ch; }
.prose .lead { font-size: 1.2rem; font-weight: 500; }
.prose a { color: var(--amber-text); font-weight: 600; }

/* footer */
.ftr { background: var(--ink); color: #cfd2d7; font-size: .92rem; }
.ftr-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 32px; padding-top: 56px; padding-bottom: 40px; }
.ftr p { margin: 0; }
.ftr .muted { color: #a7abb2; }
.ftr .logo { margin-bottom: 12px; }
.ftr a { color: var(--amber); }
.ftr .logo { color: var(--white); }
.ftr-bot { border-top: 1px solid #2c3037; padding-top: 18px; padding-bottom: 24px; color: #8a8f97; font-size: .82rem; }

@media (max-width: 900px) {
  .contact-grid, .pd { grid-template-columns: 1fr; gap: 32px; }
  .ftr-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav-btn { display: flex; width: 40px; height: 40px; align-items: center; justify-content: center; cursor: pointer; }
  .nav-btn span, .nav-btn span::before, .nav-btn span::after { display: block; width: 22px; height: 2px; background: var(--ink); position: relative; content: ""; }
  .nav-btn span::before { position: absolute; top: -7px; }
  .nav-btn span::after { position: absolute; top: 7px; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--white); border-bottom: 1px solid var(--line); padding: 8px 24px 20px; }
  .nav a:not(.btn) { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 14px; text-align: center; }
  .nav.open { display: flex; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .chips-label { min-width: 100%; }
  .ftr-grid { grid-template-columns: 1fr; }
  .sec-head { flex-direction: column; gap: 4px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
