:root {
  color-scheme: light;
  --ink: #211b21;
  --muted: #655c61;
  --paper: #f8f6f2;
  --line: #d9d1cb;
  --wine: #351921;
  --stage: #181818;
  --light-ink: #fff8f3;
  font-family: system-ui, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); }
body, main { min-width: 0; }
main { min-height: 55vh; }
img { display: block; max-width: 100%; height: auto; }
p, h1, h2, h3, figure, dl, dd { margin: 0; }
h1, h2, h3 { font-weight: 650; text-wrap: balance; }
p { text-wrap: pretty; }
h1 { font-size: 3.75rem; line-height: 1; letter-spacing: -.055em; }
h2 { font-size: 2.25rem; line-height: 2.5rem; letter-spacing: -.04em; }
h3 { font-size: 1.25rem; line-height: 1.75rem; }
a { color: inherit; text-underline-offset: .3em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 3px solid #946ab7; outline-offset: 4px; }
.skip { position: absolute; z-index: 2; top: 8px; left: 16px; background: white; padding: 8px 12px; transform: translateY(-200%); }
.skip:focus { transform: none; }
.shell { width: min(100% - 64px, 1280px); margin-inline: auto; }

.mast { background: var(--stage); color: var(--light-ink); }
.mast-inner, .footer-inner, .section-head, .card-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.mast-inner { min-height: 80px; }
.brand { display: block; margin-inline-start: -20px; }
.mast nav { display: flex; align-items: center; gap: 24px; }
.mast nav a, .footer a, .back { display: inline-flex; align-items: center; min-height: 44px; }
.mast nav a { color: #e3d7d6; text-decoration: none; font-size: .875rem; line-height: 1.25rem; }
.mast nav a:hover, .mast nav a[aria-current="page"] { color: white; text-decoration: underline; }

.hero { background: var(--stage); color: var(--light-ink); padding: 24px 0 48px; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  min-height: 480px;
  background: var(--wine);
}
.hero-copy { padding: 48px 40px; align-self: center; }
.product-en { font-size: .875rem; line-height: 1.25rem; letter-spacing: .09em; color: var(--muted); margin-bottom: 16px; }
.hero .product-en { color: #e6bdb1; }
.hero-description { max-width: 19em; color: #eee0dc; font-size: 1.125rem; line-height: 1.75rem; margin: 24px 0 32px; }
.hero-media { min-width: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 52% center; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 48px;
  padding: 8px 12px;
  background: var(--wine);
  color: white;
  font-weight: 650;
  text-decoration: none;
}
.button-light { background: var(--light-ink); color: var(--wine); }
.button:hover { text-decoration: underline; }
.button:active { transform: translateY(1px); }

.collection { padding-block: 64px 80px; }
.section-head a { font-size: .875rem; line-height: 1.25rem; display: inline-flex; align-items: center; min-height: 44px; }
.product-grid {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.product-card { display: block; text-decoration: none; }
.product-card:hover h3 { text-decoration: underline; }
.card-media, .detail-media { display: grid; grid-template-columns: minmax(0, 1fr); min-width: 0; overflow: hidden; background: #eae4e1; }
.card-media { aspect-ratio: 4 / 3; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-title { margin-top: 12px; }
.card-title > span { color: var(--wine); }
.product-card p, .pending { margin-top: 4px; color: var(--muted); font-size: .875rem; line-height: 1.25rem; }

.detail { padding-block: 16px 80px; }
.back { margin-bottom: 16px; font-size: .875rem; line-height: 1.25rem; }
.detail-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: center; }
.detail-media { aspect-ratio: 615 / 480; }
.detail-media img { width: 100%; height: 100%; object-fit: cover; }
.detail-body { max-width: 760px; margin: 48px auto 0; }
.detail-body section { padding-block: 24px; border-top: 1px solid var(--line); }
.detail-body h2 { font-size: 1.5rem; line-height: 2rem; margin-bottom: 12px; }
.detail-body p { max-width: 38em; }
.effect-photo { width: 100%; margin-top: 24px; }
.detail-body dl > div { display: grid; grid-template-columns: minmax(6em, 1fr) 2fr; gap: 16px; padding-block: 8px; }
dt { font-weight: 650; }
dd { color: var(--muted); }
.qr { margin-bottom: 12px; }

.footer { border-top: 1px solid var(--line); }
.footer-inner { min-height: 80px; font-size: .875rem; line-height: 1.25rem; }
.footer-inner span span { color: var(--muted); margin-inline-start: 8px; }

@media (max-width: 1000px) {
  h1 { font-size: 3rem; }
  .hero-grid { min-height: 0; }
  .hero-copy { padding: 32px 24px; }
}
@media (max-width: 760px) {
  .shell { width: calc(100% - 32px); }
  .mast-inner { min-height: 64px; }
  .brand { margin-inline-start: -14px; }
  .brand img { width: 174px; }
  .mast nav { gap: 12px; }
  .mast nav a { white-space: nowrap; }
  h1 { font-size: 2.25rem; line-height: 2.5rem; }
  h2 { font-size: 1.875rem; line-height: 2.25rem; }
  .hero { padding: 0 0 16px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-media { order: -1; aspect-ratio: 5 / 4; overflow: hidden; }
  .hero-copy { padding: 24px; }
  .hero .product-en { margin-bottom: 8px; }
  .hero-description { margin: 12px 0 16px; }
  .collection { padding-block: 40px 48px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
  .product-grid li:first-child { grid-column: 1 / -1; }
  .product-grid li:first-child .card-media { aspect-ratio: 16 / 9; }
  .detail-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .detail-body { margin-top: 32px; }
}

@media (min-width: 761px) and (max-width: 900px) {
  h1 { font-size: 2.25rem; line-height: 2.5rem; }
}

.card-media, .detail-media { position: relative; }
.media-caption {
  position: absolute;
  bottom: 8px;
  left: 8px;
  padding: 4px 8px;
  background: #181818;
  color: var(--light-ink);
  font-size: .75rem;
  line-height: 1rem;
}
.model-media img {
  object-fit: contain;
  background: #252820;
}
.card-without-photo { height: 100%; }
.card-text {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: 24px;
  background: #e3e8e4;
}
.card-text .card-title { margin-top: 24px; }
.card-category {
  font-size: .75rem;
  line-height: 1rem;
  color: #4c5d51;
}
.detail-text-only { display: block; padding: 40px; background: #e3e8e4; }
.detail-text-only .detail-lead { max-width: 34em; }
.detail-intro .detail-lead { margin-top: 24px; color: var(--muted); }
.partner { margin-top: 16px; font-size: .875rem; line-height: 1.25rem; }
.photo-note { margin-top: 16px; }
@media (max-width: 760px) {
  .card-text { padding: 12px; }
  .card-text .card-title { margin-top: 12px; gap: 4px; }
  .product-card { overflow-wrap: anywhere; }
  .detail-text-only { padding: 24px; }
  .detail-intro .detail-lead { margin-top: 12px; }
}
