:root {
  color-scheme: light;
  --paper: #faf6ee;
  --ink: #31221e;
  --muted: #67554f;
  --wine: #792e42;
  --line: #e3d6cb;
  --serif: "Playfair Display", Georgia, serif;
  font-family: "DM Sans", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body, figure { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--wine); outline-offset: 5px; }
[hidden] { display: none !important; }
.wrap { width: min(1160px, 100% - 2.5rem); margin-inline: auto; }
.site-header, .site-footer { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-block: 1rem; }
.site-header { border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; gap: .7rem; align-items: center; font: 700 1.3rem var(--serif); text-decoration: none; }
.brand img { object-fit: cover; border-radius: 50%; }
nav { display: flex; gap: clamp(.8rem, 3vw, 2rem); font-size: .9rem; }
nav a, .site-footer a { text-decoration: none; }
a:hover { text-decoration: underline; }
.hero { display: grid; grid-template-columns: .9fr 1.1fr; align-items: stretch; margin-block: 2rem 4.5rem; background: #f2e4db; border-radius: 1.5rem; overflow: hidden; }
.hero-copy { align-self: center; padding: clamp(1.4rem, 5vw, 4.5rem); }
h1, h2, h3 { font-family: var(--serif); margin: 0; }
h1 { max-width: 8ch; font-size: clamp(3rem, 7vw, 6.3rem); line-height: 1; letter-spacing: -.055em; }
h1 em { color: var(--wine); }
p { line-height: 1.6; color: var(--muted); }
.hero p { max-width: 31ch; margin: 1.3rem 0 1.8rem; }
.hero-photo img { width: 100%; height: 100%; max-height: 540px; object-fit: cover; }
.button { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .8rem; padding: .85rem 1.2rem; border-radius: 2rem; background: var(--wine); color: white; font-weight: 700; text-decoration: none; }
.button:hover { background: #602335; text-decoration: none; }
h2 { font-size: clamp(2rem, 4vw, 3.15rem); line-height: 1.15; letter-spacing: -.035em; }
.catalog { scroll-margin-top: 1.5rem; }
.catalog-heading, .contact { display: flex; justify-content: space-between; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.catalog-heading { margin-bottom: 1.5rem; }
.filters { display: flex; flex-wrap: wrap; gap: .4rem; }
.filters button { border: 1px solid var(--line); color: var(--ink); background: transparent; padding: .55rem .85rem; border-radius: 2rem; font: inherit; cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--ink); color: white; border-color: var(--ink); }
.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; }
.product { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 1.1rem; background: #fffcf7; }
.product img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #f2e4db; }
.product-body { padding: 1.2rem; display: flex; flex-direction: column; flex: 1; }
.product h3 { font-size: 1.45rem; }
.product p { margin: .6rem 0 1.1rem; font-size: .95rem; }
.product-action { display: flex; justify-content: space-between; align-items: center; gap: .7rem; flex-wrap: wrap; margin-top: auto; }
.product-action a { color: var(--wine); font-weight: 700; }
.product-action span { color: var(--muted); }
.contact { margin-block: 4rem 2rem; background: #f2e4db; border-radius: 1.2rem; padding: clamp(1.4rem, 4vw, 2.7rem); }
.contact h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
.contact p { margin-bottom: 0; }
.site-footer { color: var(--muted); border-top: 1px solid var(--line); font-size: .9rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 820px) {
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero { margin-bottom: 3rem; }
}
@media (max-width: 590px) {
  .wrap { width: calc(100% - 1.5rem); }
  .hero { grid-template-columns: 1fr; margin-top: 1rem; }
  .hero-photo img { aspect-ratio: 4 / 3; }
  .products { grid-template-columns: 1fr; }
  .brand { font-size: 1.12rem; }
  .brand img { width: 34px; height: 34px; }
  .contact { margin-top: 3rem; }
}
