:root {
  color-scheme: light;
  --wine: #2c1a21;
  --wine-dark: #201318;
  --rose: #eebcb0;
  --paper: #f8efde;
  --white: #fff8e9;
  --ink: #321e23;
  --muted-light: #ebd0ca;
  --muted-dark: #694c4d;
  --rule: #d9c4b5;
  --dark-rule: #78515a;
  --pad: clamp(1.15rem, 4vw, 4.75rem);
}

html { scroll-padding-top: 1rem; }
body {
  background: var(--wine-dark);
  color: var(--white);
  font-family: "DM Sans", "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
}
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { line-height: 1.17; }
h2 { font-size: clamp(2.2rem, 5.05vw, 4.7rem); letter-spacing: -0.065em; font-weight: 650; }
a { color: inherit; }
.wrap { width: min(100% - 2 * var(--pad), 91rem); margin-inline: auto; }

.site-head, .footer { display: flex; justify-content: space-between; align-items: center; gap: 1rem 2rem; }
.site-head { padding-block: 1rem; border-bottom: 1px solid var(--dark-rule); }
.site-head nav, .footer nav { display: flex; flex-wrap: wrap; gap: 0.35rem clamp(0.9rem, 3vw, 2.7rem); }
.site-head nav a, .footer nav a { padding-block: 0.35rem; text-decoration: none; font-size: 0.94rem; }
.site-head nav a:hover, .footer nav a:hover { text-decoration: underline; text-underline-offset: 0.26rem; }
.wordmark { display: block; width: fit-content; font-size: 1.27rem; font-weight: 750; letter-spacing: 0.04em; line-height: 1.2; text-decoration: none; }
.wordmark span { display: block; color: var(--rose); margin-top: 0.31rem; font-size: 0.87rem; font-weight: 500; letter-spacing: 0.06em; }
.link { width: fit-content; font-weight: 630; text-decoration-thickness: 1px; text-underline-offset: 0.27em; }
.link:hover { text-decoration-thickness: 2px; }
.button { display: inline-flex; min-height: 2.8rem; padding: 0.55rem 1rem; align-items: center; justify-content: center; text-decoration: none; font-weight: 720; }
.light-button { background: var(--rose); color: var(--ink); }
.light-button:hover { background: #f6cfc1; }
.controls { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.3rem; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.075fr);
  align-items: center;
  gap: clamp(1.25rem, 3.6vw, 3.75rem);
  padding-block: clamp(1.5rem, 4vw, 4rem) clamp(2.5rem, 8vw, 7.5rem);
}
.hero-copy { position: relative; padding: clamp(1.25rem, 4vw, 4rem) 0; }
.location { color: var(--rose); font-size: 0.94rem; font-weight: 650; letter-spacing: 0.07em; }
.hero h1 {
  font-size: clamp(2.6rem, 5.2vw, 6.1rem);
  font-weight: 680;
  letter-spacing: -0.079em;
  margin-block: 1.1rem clamp(0.95rem, 2.5vw, 2rem);
}
.hero-description { max-width: 24ch; color: var(--muted-light); }
.hero .controls { margin-block-start: 1.5rem; }
.hero-picture {
  position: relative;
  border: 1px solid var(--dark-rule);
  padding: clamp(0.45rem, 1.35vw, 1.4rem);
  border-radius: 47% 47% 0 0 / 31% 31% 0 0;
}
.hero-picture img {
  width: 100%;
  aspect-ratio: 1.27;
  object-fit: cover;
  object-position: 50% 54%;
  border-radius: 47% 47% 0 0 / 31% 31% 0 0;
  background: #503026;
}
.hero-picture figcaption {
  padding: 0.6rem 0.2rem 0.11rem;
  color: var(--rose);
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-align: center;
}

.catalog { background: var(--paper); color: var(--ink); padding-block: clamp(2.9rem, 6.4vw, 6.3rem); }
.catalog-heading { display: flex; justify-content: space-between; align-items: end; gap: 0.85rem 2rem; }
.catalog-heading h2 { margin-block-end: 0.7rem; }
.catalog-heading p { max-width: 37ch; color: var(--muted-dark); }
.catalog-heading .link { flex-shrink: 0; }
.filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-block: 1.65rem 0;
  padding-block-end: 0.7rem;
  border-bottom: 1px solid var(--rule);
}
.filters button {
  border: 1px solid #9c7577;
  border-radius: 99px;
  background: transparent;
  color: var(--ink);
  padding: 0.32rem 0.75rem;
  font-size: 0.93rem;
}
.filters button[aria-pressed="true"] { border-color: var(--wine); background: var(--wine); color: var(--white); }
.filters button:hover { box-shadow: inset 0 0 0 1px currentColor; }
.item-count { margin-inline-start: auto; padding-inline-start: 0.5rem; color: var(--muted-dark); font-size: 0.93rem; }
.products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.35rem, 3vw, 2.8rem) clamp(0.7rem, 1.6vw, 1.55rem);
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  align-items: start;
}
.product img {
  width: 100%;
  aspect-ratio: 1.1;
  object-fit: cover;
  background: #d8bbad;
}
.product-head { display: grid; gap: 0.23rem; margin-block: 0.65rem; }
.product-head h3 { font-size: clamp(1.05rem, 1.71vw, 1.5rem); font-weight: 680; line-height: 1.3; }
.category { color: var(--muted-dark); font-size: 0.88rem; }
.price { font-weight: 750; font-variant-numeric: tabular-nums; }
.price span { color: var(--muted-dark); font-size: 0.88rem; font-weight: 500; }
.product details {
  padding-block: 0.48rem;
  border-block: 1px solid var(--rule);
  font-size: 0.93rem;
}
.product details p { margin-block: 0.58rem; color: var(--muted-dark); }
.product summary { cursor: pointer; width: fit-content; font-weight: 650; }

.bar { background: var(--wine); padding-block: clamp(2.7rem, 7vw, 6.8rem); }
.bar-layout { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(1.5rem, 5.4vw, 5.4rem); align-items: center; }
.bar-photo img { width: 100%; aspect-ratio: 1.18; object-fit: cover; object-position: 51% 50%; background: #503026; }
.bar-photo figcaption { color: var(--rose); font-size: 0.88rem; margin-top: 0.55rem; }
.bar-copy > p { margin-block: 0.75rem 1.3rem; max-width: 41ch; color: var(--muted-light); }
.menu { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; }
.menu h3 { font-size: 1.12rem; color: var(--rose); border-bottom: 1px solid var(--rose); padding-bottom: 0.55rem; }
.menu dl > div { display: flex; justify-content: space-between; gap: 0.32rem; padding-block: 0.4rem; border-bottom: 1px solid var(--dark-rule); }
.menu dd { font-variant-numeric: tabular-nums; white-space: nowrap; }

.story { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(1.5rem, 5.4vw, 5.4rem); align-items: center; padding-block: clamp(2.8rem, 7vw, 6.2rem); }
.story p { margin-block: 0.9rem; max-width: 35ch; color: var(--muted-light); }
.story img { width: 100%; aspect-ratio: 1.6; object-fit: cover; background: #52362c; }
.visit { background: #46252e; padding-block: clamp(2.3rem, 5.5vw, 5rem); }
.visit-layout { display: grid; grid-template-columns: minmax(0, 0.91fr) minmax(0, 1.09fr); align-items: end; gap: 1.1rem 2.5rem; }
.visit address { margin-block-start: 0.7rem; font-style: normal; }
.visit p { max-width: 40ch; }
.visit .controls { margin-block-start: 1rem; }
.footer { padding-block: 1.6rem; }

@media (max-width: 1000px) {
  .products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 750px) {
  .hero, .bar-layout, .story, .visit-layout { grid-template-columns: 1fr; }
  .hero { padding-block: 1.35rem 3.4rem; }
  .hero-copy { padding-block: 1.35rem 0; }
  .hero h1 { font-size: clamp(2.5rem, 10vw, 5.2rem); }
  .hero-picture { margin-inline-start: min(6vw, 2rem); }
  .hero-picture img { aspect-ratio: 1.43; }
  .bar-photo img { aspect-ratio: 1.5; }
}
@media (max-width: 550px) {
  .site-head, .footer, .catalog-heading { flex-direction: column; align-items: flex-start; }
  .site-head, .footer { gap: 0.45rem; }
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 375px) {
  .item-count { flex-basis: 100%; margin-inline-start: 0; padding: 0; }
}

/* Onyx reference: cream/black/peach palette, oversized display type and rigid shop grid. */
:root {
  --wine: #000; --wine-dark: #fbfaf3; --rose: #f5d8c2; --paper: #fbfaf3;
  --white: #101010; --ink: #0b0b0b; --muted-light: #3e3e3e;
  --muted-dark: #5d574f; --rule: #bcb8ae; --dark-rule: #171717;
}
body { background: #fbfaf3; color: #0b0b0b; }
.site-head {
  position: relative; z-index: 5; width: 100%; max-width: none; min-height: 6.5rem;
  padding: 1rem var(--pad); border-bottom: 1px solid #000; background: #fbfaf3; color: #000;
}
.site-head::before {
  content: "FREE SHIPPING ON ORDERS ¥350+"; position: absolute; inset: 0 0 auto;
  padding: .32rem; background: #000; color: #fff; text-align: center;
  font-size: .62rem; letter-spacing: .16em;
}
.wordmark { margin-top: 1.15rem; font-size: 1.8rem; font-weight: 950; letter-spacing: -.06em; text-transform: uppercase; }
.wordmark span { display: inline; margin-left: .65rem; color: #000; font-size: .57rem; letter-spacing: .18em; }
.site-head nav { margin-top: 1.15rem; }
.site-head nav a { color: #000; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.hero.wrap {
  width: 100%; max-width: none; min-height: calc(100svh - 6.5rem); padding: 0;
  grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr); gap: 0; border-bottom: 1px solid #000;
}
.hero-copy { display: grid; align-content: center; padding: clamp(3rem,7vw,7rem) var(--pad); background: #fbfaf3; }
.location { color: #000; font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; }
.hero h1 {
  max-width: 8ch; margin: 1rem 0; color: #000;
  font-family: Baskervville, Georgia, serif; font-size: clamp(4.2rem,9vw,10rem);
  font-weight: 500; line-height: .79; letter-spacing: -.09em; text-transform: uppercase;
}
.hero-description { max-width: 29rem; color: #252525; }
.hero-picture { height: 100%; padding: 0; border: 0; border-left: 1px solid #000; border-radius: 0; background: #f5d8c2; }
.hero-picture img { height: 100%; aspect-ratio: auto; border-radius: 0; filter: saturate(.78); }
.hero-picture figcaption {
  position: absolute; right: 1rem; bottom: 1rem; padding: .35rem .5rem;
  background: #fbfaf3; color: #000; font-size: .66rem; letter-spacing: .1em;
}
.light-button { border: 1px solid #000; background: #000; color: #fff; }
.hero .link { color: #000; }
.catalog { background: #fbfaf3; color: #000; border-bottom: 1px solid #000; }
.catalog h2, .bar h2, .story h2 { font-family: Baskervville, Georgia, serif; font-weight: 500; text-transform: uppercase; }
.filters { border-color: #000; }
.filters button { border-color: #000; border-radius: 0; color: #000; }
.filters button[aria-pressed="true"] { background: #000; color: #fff; }
.products { gap: 0; border-top: 1px solid #000; border-left: 1px solid #000; }
.product { padding: 1rem; border-right: 1px solid #000; border-bottom: 1px solid #000; }
.product:nth-child(4n+2) { background: #f5d8c2; }
.product img { aspect-ratio: 1; filter: saturate(.76); }
.product-head h3 { font-family: Baskervville, Georgia, serif; font-weight: 600; }
.product details { border-color: #000; }
.bar { background: #000; color: #fbfaf3; }
.bar h2, .bar .link, .bar h3 { color: #fbfaf3; }
.story { color: #000; }
.story p { color: #333; }
.visit { background: #f5d8c2; color: #000; border-top: 1px solid #000; }
.visit .light-button { background: #000; color: #fff; }
.footer { color: #000; border-top: 1px solid #000; }
@media (max-width: 750px) {
  .site-head { width: 100%; padding-inline: 1rem; }
  .hero.wrap { grid-template-columns: 1fr; }
  .hero-copy { padding: 3.5rem 1.2rem; }
  .hero h1 { font-size: clamp(4rem,20vw,7rem); }
  .hero-picture { min-height: 60svh; border-left: 0; border-top: 1px solid #000; }
  .hero-picture img { position: absolute; inset: 0; }
  .product { border-right: 1px solid #000; }
}
