:root {
  --brand: #a60530;
  --brand-dark: #82041f;
  --ink: #222;
  --muted: #5c5c5c;
  --bg: #fff;
  --soft: #f5f2ef;
  --line: #e4dfda;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font: 400 1rem/1.6 "Montserrat", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; }
h1, h2 { font-family: "Playfair Display", Georgia, serif; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; }
h1 { font-size: clamp(1.9rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }

:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }

.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: fixed; top: 8px; left: 8px; z-index: 10; padding: 12px 16px; background: #fff; }

.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }

/* header */
.site-header {
  position: relative;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  max-width: var(--max); margin: 0 auto; padding: 16px var(--gutter);
}
.site-header nav ul { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.site-header nav a {
  display: inline-block; padding: 12px 0; text-decoration: none;
  font-weight: 600; font-size: .85rem; text-transform: uppercase; letter-spacing: .05em;
  border-bottom: 2px solid transparent; transition: border-color .2s, color .2s;
}
.site-header nav a:hover, .site-header nav a[aria-current] { color: var(--brand); border-color: var(--brand); }
.menu-toggle, .menu-btn { display: none; }

@media (max-width: 860px) {
  .menu-toggle { display: block; position: absolute; right: var(--gutter); top: 20px; width: 44px; height: 44px; opacity: 0; z-index: 2; cursor: pointer; margin: 0; }
  .menu-btn { display: grid; place-items: center; width: 44px; height: 44px; }
  .menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 24px; height: 2px; background: var(--ink); content: ""; position: relative; }
  .menu-btn span::before { position: absolute; top: -7px; }
  .menu-btn span::after { position: absolute; top: 7px; }
  .menu-toggle:focus-visible + .menu-btn { outline: 3px solid var(--brand); }
  .site-header nav { display: none; position: absolute; top: 100%; left: 0; right: 0; z-index: 1; background: #fff; border-block: 1px solid var(--line); padding: 8px var(--gutter); }
  .menu-toggle:checked ~ nav { display: block; }
  .site-header nav ul { flex-direction: column; gap: 0; }
  .site-header nav a { display: block; padding: 14px 0; }
}

/* hero */
.hero { padding: 40px var(--gutter) 32px; max-width: var(--max); margin: 0 auto; text-align: center; }
.hero .lead { max-width: 62ch; margin: 16px auto 0; color: var(--muted); font-size: 1.1rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero .actions { justify-content: center; }

.btn {
  display: inline-block; padding: 14px 28px; background: var(--brand); color: #fff;
  text-decoration: none; font-weight: 600; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em;
  border: 2px solid var(--brand); transition: background .2s, color .2s;
}
.btn:hover { background: var(--brand-dark); border-color: var(--brand-dark); }
.btn.ghost { background: transparent; color: var(--brand); }
.btn.ghost:hover { background: var(--brand); color: #fff; }

/* tiles */
.tiles { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); margin: 24px 0; }
.tile {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px;
  aspect-ratio: 1 / .8; padding: 24px; overflow: hidden;
  color: #fff; text-decoration: none;
  background: linear-gradient(to top, rgb(0 0 0 / .7), rgb(0 0 0 / .05) 65%), var(--bg) center / cover;
  transition: transform .25s ease;
}
.tile h2 { font-size: 1.4rem; }
.tile span {
  align-self: flex-start; padding: 8px 18px; background: var(--brand);
  font-weight: 600; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em;
}
.tile:hover { transform: translateY(-3px); }
.home-tiles .tiles { margin-top: 8px; }

/* content pages */
.content { padding-bottom: 56px; }
.cards { display: grid; gap: 40px 32px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); margin: 24px 0; }
.card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; margin-bottom: 16px; }
.card h3, .prose h3 { margin: 0 0 8px; font-size: 1.2rem; }
.card h4, .prose h4 { margin: 16px 0 6px; }
.card p, .prose p { color: var(--muted); }
.card .btn { margin-top: 4px; padding: 10px 20px; }
.card ul, .prose ul { margin: 0 0 1em; padding-left: 1.2em; list-style: disc; color: var(--muted); }
.prose { max-width: 75ch; margin: 32px auto; }
.prose h3 { margin-top: 1.5em; }
.legal-text { margin-bottom: 64px; }
.legal-text p { color: var(--ink); }
.section-h { margin: 48px 0 8px; text-align: center; }

.gallery { columns: 3 220px; column-gap: 12px; margin: 24px 0; }
.gallery img { width: 100%; margin-bottom: 12px; break-inside: avoid; }

/* home */
.split {
  display: grid; gap: 32px; align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  padding-block: 72px;
}
.split-text { display: grid; gap: 16px; justify-items: start; }
.split-text p { margin: 0; color: var(--muted); max-width: 55ch; }
.split-text li { padding-left: 1.2em; position: relative; }
.split-text li::before { content: ""; position: absolute; left: 0; top: .7em; width: 7px; height: 7px; background: var(--brand); border-radius: 50%; }

.services {
  display: grid; gap: 32px; background: var(--soft);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  padding: 72px max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter)));
}
.services-intro { display: grid; gap: 16px; justify-items: start; align-content: start; }
.services-intro p, .services article p { margin: 0; color: var(--muted); }
.services h3 { margin: 12px 0 4px; }
.services h3 a { text-decoration: none; }
.services h3 a:hover { color: var(--brand); text-decoration: underline; }
.work { padding-block: 72px; }
.work h2 { margin-bottom: 32px; text-align: center; }

.visit { padding: 56px var(--gutter); background: var(--brand); color: #fff; text-align: center; }
.features { display: flex; flex-wrap: wrap; justify-content: center; gap: 32px 64px; margin-top: 32px; }
.features li { display: grid; justify-items: center; gap: 8px; font-weight: 600; }

/* products */
.crumbs { margin: 8px 0 24px; font-size: .85rem; color: var(--muted); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; color: var(--brand); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.chips a { display: inline-block; padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .85rem; }
.chips a:hover { border-color: var(--brand); color: var(--brand); }
.pgrid { display: grid; gap: 28px 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); margin-bottom: 56px; }
.pcard { text-decoration: none; display: block; }
.pcard img, .noimg { width: 100%; aspect-ratio: 1; object-fit: contain; background: var(--soft); margin-bottom: 10px; transition: opacity .2s; }
.pcard:hover img { opacity: .85; }
.pcard h3 { font-size: .95rem; font-weight: 600; }
.pcard:hover h3 { color: var(--brand); }
.price { color: var(--brand); font-weight: 700; margin: 0; }
.product { padding-top: 16px; padding-bottom: 24px; }
.product-main { display: grid; gap: 40px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); align-items: start; }
.product-img img, .product-img .noimg { width: 100%; max-height: 640px; object-fit: contain; background: var(--soft); }
.noimg.big { aspect-ratio: 1; }
.product-info h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 12px; }
.big-price { font-size: 1.5rem; margin-bottom: 16px; }
.product-info p { color: var(--muted); }

/* contact */
.contact { display: grid; gap: 40px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); padding-bottom: 56px; }
.contact h2 { margin-bottom: 16px; font-size: 1.5rem; }
address { font-style: normal; margin-bottom: 1em; }
.hours { display: grid; grid-template-columns: max-content 1fr; gap: 6px 24px; margin: 0; }
.hours dd { margin: 0; }
.hours dt { font-weight: 600; }

/* footer */
footer { background: #111; color: #ddd; }
.foot-grid {
  display: grid; gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  max-width: var(--max); margin: 0 auto; padding: 56px var(--gutter);
}
.foot-logo { filter: brightness(0) invert(1); margin-bottom: 16px; }
footer h2 { font-size: 1rem; margin: 0 0 8px; color: #fff; }
footer h2:not(:first-child) { margin-top: 20px; }
footer li a { display: inline-block; padding: 4px 0; text-decoration: none; }
footer a:hover { color: #fff; text-decoration: underline; }
.legal {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px;
  max-width: var(--max); margin: 0 auto; padding: 20px var(--gutter);
  border-top: 1px solid #333; font-size: .85rem;
}
.legal p { margin: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
