
/* Shared reset; each site adds its own palette and layout below. */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 100%; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: var(--font);
  line-height: 1.65;
}
img { max-width: 100%; height: auto; border: 0; }
a { color: var(--accent); }
a:hover { color: var(--accent-2); }
.wrap { width: min(100% - 2rem, var(--max, 68rem)); margin-inline: auto; }
.site-header {
  background: var(--header-bg);
  color: var(--header-fg);
  border-bottom: var(--header-border, none);
}
.site-header a { color: inherit; text-decoration: none; }
.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding: 0.85rem 0;
}
.brand { display: flex; align-items: center; gap: 0.65rem; font-weight: 700; letter-spacing: 0.01em; }
.brand img { display: block; width: 2.75rem; height: 2.75rem; }
.nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; align-items: center; }
.nav a { font-size: 0.95rem; }
.nav a.is-current { font-weight: 700; text-decoration: underline; text-underline-offset: 0.3em; }
.nav-cta, .btn {
  display: inline-block;
  background: var(--btn-bg);
  color: var(--btn-fg) !important;
  padding: 0.55rem 1rem;
  border-radius: var(--radius, 4px);
  text-decoration: none !important;
  font-weight: 650;
}
.nav-cta:hover, .btn:hover { filter: brightness(1.08); }
.btn-ghost {
  background: transparent;
  color: var(--accent) !important;
  border: 2px solid var(--accent);
}
main { padding: 2rem 0 3rem; }
h1, h2, h3, h4 { line-height: 1.25; color: var(--heading); text-wrap: balance; }
h1 { font-size: clamp(1.6rem, 2.5vw + 1rem, 2.4rem); margin: 0 0 1rem; }
h2 { font-size: clamp(1.25rem, 1.2vw + 1rem, 1.7rem); margin: 2rem 0 0.7rem; }
h3 { font-size: 1.15rem; margin: 1.4rem 0 0.45rem; }
p, li { font-size: 1.05rem; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0 0 1rem; padding-left: 1.3rem; }
li { margin: 0 0 0.35rem; }
table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.4rem; font-size: 0.98rem; }
th, td { border: 1px solid var(--line, #ccc); padding: 0.55rem 0.7rem; text-align: left; vertical-align: top; }
th { background: var(--th-bg, #eee); }
.lede { font-size: 1.2rem; color: var(--muted, inherit); }
.cta-box, .panel, .note, .callout {
  background: var(--panel, #f4f4f4);
  border: 1px solid var(--line, #ddd);
  border-radius: var(--radius, 6px);
  padding: 1.1rem 1.2rem;
  margin: 1.4rem 0;
}
.cta-row { display: flex; flex-wrap: wrap; gap: 0.7rem; margin: 1.2rem 0; }
.site-footer {
  background: var(--footer-bg, #111);
  color: var(--footer-fg, #eee);
  padding: 1.6rem 0 2rem;
  font-size: 0.95rem;
}
.site-footer a { color: var(--footer-link, #fff); }
.grid-2, .grid-3 { display: grid; gap: 1rem; margin: 1rem 0 1.5rem; }
@media (min-width: 740px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr 1fr; }
}
.steps { counter-reset: step; list-style: none; padding: 0; }
.steps li { position: relative; padding: 0.4rem 0 1rem 3rem; }
.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute; left: 0; top: 0.15rem;
  width: 2.1rem; height: 2.1rem; border-radius: 50%;
  background: var(--accent); color: var(--btn-fg, #fff);
  display: flex; align-items: center; justify-content: center; font-weight: 700;
}
@media (max-width: 700px) {
  .header-inner { align-items: flex-start; }
  .nav { width: 100%; }
  table { display: block; overflow-x: auto; }
}

:root {
  --bg: #f6ece4;
  --text: #2a1610;
  --heading: #5a1414;
  --muted: #4a3028;
  --accent: #8b1e1e;
  --accent-2: #5a1414;
  --header-bg: #3d2314;
  --header-fg: #f8ece4;
  --btn-bg: #8b1e1e;
  --btn-fg: #fff8f4;
  --footer-bg: #24140c;
  --footer-fg: #ead8cc;
  --footer-link: #f0b8a0;
  --panel: #efe0d4;
  --line: #d4b8a8;
  --th-bg: #e8d0c4;
  --font: "Segoe UI", system-ui, sans-serif;
  --max: 62rem;
  --radius: 10px;
}
.hero-dark { background: #3d2314; color: #f8ece4; padding: 1.4rem 1.5rem; border-radius: 10px; margin: 0 0 1.5rem; }
.hero-dark h2, .hero-dark p { color: #f8ece4; }
.hero-dark a { color: #f0b8a0; }
.brand-tag { font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; color: #c45c4c; font-weight: 700; }


/* Images added in v2 */
.hero-figure { margin: 0 0 1.6rem; }
.hero-figure img {
  width: 100%;
  height: auto;
  max-height: 28rem;
  object-fit: cover;
  display: block;
  border-radius: var(--radius, 6px);
  background: var(--panel, #eee);
}
figure.inline-figure, figure.pair-figure {
  margin: 1.25rem 0 1.5rem;
}
figure img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius, 6px);
  background: var(--panel, #eee);
}
figcaption {
  font-size: 0.92rem;
  color: var(--muted, #555);
  margin-top: 0.4rem;
  line-height: 1.45;
}
.img-pair {
  display: grid;
  gap: 1rem;
  margin: 1.25rem 0 1.5rem;
}
@media (min-width: 700px) {
  .img-pair { grid-template-columns: 1fr 1fr; }
}
.product-gallery-wrap { margin: 2rem 0 1.2rem; }
.product-gallery {
  display: grid;
  gap: 1rem;
  margin: 0.8rem 0 0;
}
@media (min-width: 700px) {
  .product-gallery { grid-template-columns: repeat(3, 1fr); }
}
.product-card {
  display: block;
  background: var(--panel, #f4f4f4);
  border: 1px solid var(--line, #ddd);
  border-radius: var(--radius, 6px);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}
.product-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 0;
}
.product-card p {
  margin: 0;
  padding: 0.7rem 0.8rem 0.85rem;
  font-size: 0.98rem;
  font-weight: 650;
  color: var(--heading);
}
.product-card:hover p { color: var(--accent); }
