:root {
  --parchment: #f2e7d7;
  --ivory: #fbf3e6;
  --ink: #38261e;
  --muted-ink: #695144;
  --mahogany: #542f26;
  --mahogany-dark: #40231d;
  --aged-brass: #815b30;
  --rule: #cdb29a;
  --wood-grain: url("assets/mahogany-grain.svg");
  --linen-weave:
    repeating-linear-gradient(90deg, #71523612 0 1px, transparent 1px 4px),
    repeating-linear-gradient(0deg, #fffaf45c 0 1px, #7152360c 1px 2px, transparent 2px 5px);
}

body {
  background-color: var(--parchment);
  color: var(--ink);
}

header, footer, footer.footer {
  background-color: var(--mahogany-dark);
  background-image: var(--wood-grain), linear-gradient(100deg, #47271f, #60362a 55%, #482820);
  color: var(--ivory);
  border-color: #886049;
}

header a { color: inherit; }
header .logo i { color: #efd0a2; }
header .languages button { border-color: #b58c6d; }
header .languages button[aria-pressed="true"] { background: var(--ivory); color: var(--mahogany-dark); }

.hero-copy { color: var(--ivory); }
.hero .kicker { color: #f1d3ab; }
.cta { background: #f0dfc3; color: var(--ink); }

.feature { background: #e7d3bc; }
.feature > div, .buy-layout > div:last-child, .summary, .confirmation {
  background-image: var(--linen-weave);
}
.buy-layout > div:last-child {
  background-color: var(--ivory);
  padding: clamp(18px, 3vw, 36px);
  min-width: 0;
}
.section.visit, .demo-banner { background-color: #eaddc9; }
.summary, .confirmation { background-color: #ead8c3; }
.payment-preview { background-color: #ede0ce; }
.dialog, .dialog .x, .hotspot-tip,
.quantity input, .checkout-form input, .summary select { background-color: var(--ivory); }

.intro, .item small, .scene-title small, .mini-product small, .muted,
.text-button, .breadcrumbs, .scene-hint { color: var(--muted-ink); }
.section > .kicker, .feature .kicker, .eyebrow, .demo-label, .price-demo-note { color: var(--aged-brass); }
.filters button, .cart-row, .mini-product, .mini-product .number,
.payment-preview, .summary-row.total, .checkout-items { border-color: var(--rule); }
.filters button.active, .shop-button { background: var(--mahogany); border-color: var(--mahogany); color: var(--ivory); }
.shop-button.secondary { background: transparent; color: var(--mahogany); }

:focus-visible { outline: 2px solid var(--aged-brass); outline-offset: 4px; }
header :focus-visible { outline-color: #f0c894; }
