:root {
  color-scheme: light;
  --ink: #2b2426;
  --wine: #552b39;
  --paper: #fbf8f2;
  --line: #e6ddd6;
  --muted: #685b60;
  --olive: #e2e5d7;
  font: 16px/1.5 system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
button,select { font: inherit; color: inherit; }
button,select { cursor: pointer; }
:focus-visible { outline: 3px solid #92536b; outline-offset: 4px; }
.wrap { width: min(1120px, calc(100% - 3rem)); margin-inline: auto; }
.top,.footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.top { min-height: 90px; flex-wrap: wrap; }
.top-contact { display: flex; align-items: center; flex-wrap: wrap; gap: .55rem 1rem; }
.logo { display: block; width: 140px; height: auto; mix-blend-mode: multiply; }
.quiet { color: var(--wine); text-underline-offset: .26em; }
.hero {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  min-height: 460px;
  background: #472430;
  border-radius: 22px;
  overflow: hidden;
  color: #fff8f1;
}
.hero-text { align-self: center; padding: clamp(2rem, 5vw, 4.5rem); }
h1,h2,h3 { font-family: Georgia, serif; font-weight: 400; line-height: 1.07; margin: 0; }
h1 { font-size: clamp(3rem, 6vw, 5.4rem); letter-spacing: -.06em; max-width: 8ch; }
.hero-text p { max-width: 31ch; margin: 1.1rem 0 1.55rem; color: #f0dfdf; }
.primary { display: inline-block; padding: .7rem 1rem; border-radius: 8px; color: white; background: var(--wine); text-decoration: none; font-weight: 650; }
.hero-text .primary { color: #472430; background: #f8ecdf; }
.hero-art { position: relative; min-height: 360px; background: #d3b99d; }
.hero-scene { position: absolute; width: 100%; height: 100%; inset: 0; object-fit: cover; object-position: center 43%; }
.collection { padding-block: clamp(2.4rem, 5vw, 4.3rem); }
.collection > h2 { font-size: clamp(2.1rem, 5vw, 3.3rem); color: var(--wine); }
.filters { display: flex; flex-wrap: wrap; gap: .55rem; margin-block: 1.2rem 2.4rem; }
.filters button:not([aria-pressed=true]) { background: var(--olive); border-color: #c9cdbb; }
.filters button,.angles button { background: transparent; border: 1px solid #b9aab0; padding: .43rem .85rem; min-height: 44px; border-radius: 100px; }
.filters button[aria-pressed=true],.angles button[aria-pressed=true] { color: white; background: var(--wine); border-color: var(--wine); }
.group + .group { margin-top: 2.8rem; }
.group h3 { font-size: 2rem; margin-bottom: 1rem; padding-bottom: .6rem; border-bottom: 1px solid var(--line); }
.grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(min(100%, 220px),1fr)); gap: 1.15rem; }
.card { display: flex; flex-direction: column; min-width: 0; text-decoration: none; border: 1px solid var(--line); background: white; border-radius: 14px; overflow: hidden; box-shadow: 0 3px 12px #4724300b; }
.card:hover { border-color: #9e7886; box-shadow: 0 8px 22px #47243019; }
.card .picture { aspect-ratio: 1.06; }
.picture { position: relative; aspect-ratio: 1.22; background: #ede6dd; overflow: hidden; }
.picture img,.picture canvas { position: absolute; inset: 12% 13%; width: 74%; height: 76%; object-fit: contain; }
.picture img { filter: drop-shadow(0 7px 8px #2b181321); }
.card .title { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: .25rem .7rem; padding: .9rem 1rem .25rem; }
.card .title strong { font-family: Georgia,serif; font-size: 1.28rem; font-weight: 400; }
.price { white-space: nowrap; color: var(--wine); font-weight: 700; }
.card small { color: var(--muted); padding: 0 1rem .9rem; font-size: .9rem; }
.footer { min-height: 108px; border-top: 1px solid var(--line); color: var(--muted); flex-wrap: wrap; }
.footer span { font-family: Georgia,serif; font-size: 1.5rem; color: var(--wine); }
dialog { width: min(900px, calc(100% - 1.5rem)); max-height: calc(100dvh - 1.5rem); overflow: auto; padding: 1.2rem; border: 0; border-radius: 17px; color: var(--ink); background: var(--paper); }
dialog::backdrop { background: #241820a1; }
.dialog-close { display: flex; justify-content: end; margin-bottom: .6rem; }
.dialog-close button { width: 44px; height: 44px; background: white; border: 1px solid var(--line); border-radius: 50%; }
.detail-layout { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,1fr); gap: 1.5rem; }
.detail-layout .picture { border-radius: 13px; max-height: 360px; }
.detail-layout h2 { font-size: clamp(2rem,4.9vw,3rem); color: var(--wine); }
.detail-layout .price { margin: .55rem 0 1rem; font-size: 1.15rem; }
.controls { display: grid; gap: .8rem; }
.controls label { display: grid; gap: .3rem; font-weight: 650; }
select { width: 100%; padding: .55rem .65rem; min-height: 44px; border: 1px solid #b9aab0; border-radius: 7px; background: white; }
.detail-meta { color: var(--muted); margin: .65rem 0; }
.chips,.angles { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .75rem; }
.chip { display: inline-flex; align-items: center; gap: .35rem; padding: .15rem .45rem; border: 1px solid var(--line); border-radius: 15px; font-size: .9rem; }
.chip i { width: .9rem; height: .9rem; border-radius: 50%; border: 1px solid #34282b44; }
.inquire { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.15rem; }
.inquire .contact-button { min-height: 44px; font-size: .9rem; }
.instagram-photo { margin: .85rem 0 0; }
.instagram-photo img { display: block; width: 100%; height: auto; max-height: 360px; object-fit: contain; border-radius: 13px; }
@media (max-width: 620px) {
  .wrap { width: calc(100% - 1.5rem); }
  .top { min-height: 70px; }
  .hero { grid-template-columns: 1fr; }
  .hero-text { padding: 1.55rem; }
  .hero-art { min-height: 290px; }
  .hero-scene { object-position: center 42%; }
  .grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: .62rem; }
  .card .title { padding-inline: .65rem; }
  .card small { padding-inline: .65rem; }
  .detail-layout { grid-template-columns: 1fr; }
  dialog { padding: .8rem; }
}

.detail-layout .picture { background: radial-gradient(ellipse at 42% 33%, #f7f1e9, #e6ddd3 83%); }
.detail-layout .picture canvas { filter: drop-shadow(0 10px 12px #32221d30); }
.render-caption { color: var(--muted); font-size: .9rem; margin: .5rem 0 0; }
.render-caption:empty { display: none; }

.photo-heading { margin-top: 1.3rem; font-size: 1.35rem; color: var(--wine); }

.contact-button { display: inline-flex; align-items: center; gap: .45rem; }
.top-contact .contact-button { font-size: .9rem; }
.contact-icon { width: 1.15em; height: 1.15em; flex: none; }
