/* shopmzwallace.com — independent MZ Wallace showcase */
:root {
  --bg: #f6f1ea;
  --bg-2: #efe8dd;
  --ink: #1a1714;
  --muted: #5e574e;
  --line: #d9d0c4;
  --accent: #6b2d2a;
  --accent-hover: #4e201e;
  --max: 44rem;
  --wide: 72rem;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}
.skip-link {
  position: absolute; left: 1rem; top: -100px;
  background: var(--ink); color: var(--bg);
  padding: .5rem .75rem; z-index: 20;
}
.skip-link:focus { top: 1rem; }
a { color: var(--accent); }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.wrap { width: min(100% - 2rem, var(--wide)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 2rem, 46rem); margin-inline: auto; }

header { border-bottom: 1px solid var(--line); background: var(--bg); }
.header-inner {
  width: min(100% - 2rem, var(--wide));
  margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: .9rem 0;
}
.wordmark {
  font-weight: 600; color: var(--ink); text-decoration: none;
  letter-spacing: .01em; font-size: 1rem;
}
.wordmark:hover { color: var(--ink); text-decoration: underline; text-underline-offset: .2em; }
.nav-desktop ul, .nav-toggle nav ul {
  display: flex; flex-wrap: wrap; gap: .15rem .9rem;
  list-style: none; margin: 0; padding: 0;
}
.nav-desktop a, .nav-toggle nav a {
  color: var(--muted); text-decoration: none; font-size: .92rem;
}
.nav-desktop a:hover, .nav-desktop a[aria-current="page"],
.nav-toggle nav a:hover, .nav-toggle nav a[aria-current="page"] {
  color: var(--ink); text-decoration: underline; text-underline-offset: .2em;
}
.nav-toggle { display: none; }
.nav-toggle summary {
  cursor: pointer; list-style: none; font-size: .95rem; color: var(--ink);
}
.nav-toggle summary::-webkit-details-marker { display: none; }
.banner {
  margin: 0; padding: .45rem 0 .7rem;
  width: min(100% - 2rem, var(--wide)); margin-inline: auto;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: .82rem; color: var(--muted);
}
@media (max-width: 880px) {
  .nav-desktop { display: none; }
  .nav-toggle { display: block; position: relative; }
  .nav-toggle nav {
    position: absolute; right: 0; top: calc(100% + .4rem);
    background: var(--bg); border: 1px solid var(--line);
    padding: .75rem 1rem; min-width: 14rem; z-index: 8;
    box-shadow: 0 8px 24px rgba(26,23,20,.08);
  }
  .nav-toggle nav ul { flex-direction: column; gap: .45rem; }
}

main { flex: 1; }
.hero { padding: clamp(2.5rem, 8vw, 5.5rem) 0 clamp(2rem, 5vw, 3.5rem); }
.kicker {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: .72rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 1rem;
}
h1 {
  font-size: clamp(2rem, 5.4vw, 3.6rem);
  line-height: 1.1; letter-spacing: -.02em; font-weight: 600;
  margin: 0 0 1rem; max-width: 16ch;
}
.lede { font-size: clamp(1.1rem, 2vw, 1.3rem); max-width: var(--max); margin: 0 0 1.4rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

.btn {
  display: inline-block; padding: .7rem 1.1rem;
  text-decoration: none; font-size: .95rem;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  border: 1px solid var(--ink); border-radius: 2px;
}
.btn-solid { background: var(--ink); color: var(--bg); }
.btn-solid:hover { background: #000; color: var(--bg); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--bg-2); color: var(--ink); }
.btn-wide { text-align: center; }

.section { padding: clamp(2rem, 5vw, 3.5rem) 0; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section h2 { font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -.02em; margin: 0 0 .5rem; }
.section .intro { color: var(--muted); max-width: var(--max); margin: 0 0 1.5rem; }
.source {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: .8rem; color: var(--muted);
}
.features { display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
@media (min-width: 700px) { .features { grid-template-columns: 1fr 1fr; } }
.feature {
  background: var(--bg); border: 1px solid var(--line); padding: 1.15rem 1.2rem;
}
.feature h3 { margin: 0 0 .4rem; font-size: 1.15rem; }
.feature p { margin: 0 0 .6rem; color: var(--muted); }

.cats { display: grid; gap: .8rem; grid-template-columns: 1fr 1fr; }
@media (min-width: 800px) { .cats { grid-template-columns: repeat(3, 1fr); } }
.cat-tile {
  display: block; padding: 1.1rem 1.15rem; background: var(--bg);
  border: 1px solid var(--line); text-decoration: none; color: var(--ink);
}
.cat-tile:hover { background: #fff; color: var(--ink); }
.cat-tile strong { display: block; font-size: 1.1rem; }
.cat-tile span { color: var(--muted); font-size: .9rem; }

.grid {
  display: grid; gap: 1.25rem;
  grid-template-columns: 1fr 1fr;
}
@media (min-width: 800px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .grid.grid-4 { grid-template-columns: repeat(4, 1fr); } }
.card { display: flex; flex-direction: column; }
.card-media { display: block; background: #fff; aspect-ratio: 360 / 450; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card-body { padding: .7rem 0 0; display: flex; flex-direction: column; gap: .15rem; flex: 1; }
.card-body h3 { font-size: 1rem; margin: 0; font-weight: 600; line-height: 1.35; }
.card-body h3 a { color: var(--ink); text-decoration: none; }
.card-body h3 a:hover { text-decoration: underline; text-underline-offset: .15em; }
.card-color, .card-price { margin: 0; }
.card-color { color: var(--muted); font-size: .9rem; }
.card-price { font-weight: 600; margin-bottom: .5rem !important; }
.card .btn { margin-top: auto; align-self: flex-start; padding: .45rem .7rem; font-size: .82rem; }

.page-head { padding: clamp(2rem, 6vw, 3.5rem) 0 1.2rem; }
.page-head h1 { max-width: 20ch; }
.prose { padding: 0 0 clamp(2.5rem, 6vw, 4rem); }
.prose h1 { font-size: clamp(2rem, 4vw, 2.7rem); }
.prose h2 { font-size: 1.3rem; margin: 2rem 0 .6rem; }
.prose p, .prose li { color: var(--muted); max-width: var(--max); }
.prose ul { padding-left: 1.15rem; }
.note { font-size: .92rem; color: var(--muted); }

.product { padding: clamp(1.5rem, 4vw, 2.5rem) 0 3rem; }
.product-layout { display: grid; gap: 2rem; }
@media (min-width: 860px) {
  .product-layout { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: start; }
}
.product-media { background: #fff; }
.product-media img { width: 100%; height: auto; display: block; }
.product-info h1 { font-size: clamp(1.6rem, 3vw, 2.3rem); max-width: 20ch; }
.product-info .price { font-size: 1.25rem; font-weight: 600; margin: 0 0 .4rem; }
.meta { color: var(--muted); margin: 0 0 1rem; font-size: .95rem; }
.product-info .overview { margin: 0 0 1.2rem; }
.specs h2 { font-size: 1.05rem; margin: 1.2rem 0 .35rem; }
.specs ul { margin: 0; padding-left: 1.15rem; color: var(--muted); }
.colors { display: flex; flex-wrap: wrap; gap: .4rem; margin: .4rem 0 1rem; }
.colors a, .colors span {
  display: inline-block; border: 1px solid var(--line); padding: .25rem .55rem;
  text-decoration: none; color: var(--ink); font-size: .85rem; background: #fff;
}
.colors a[aria-current="page"] { border-color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.1rem 0; }

footer { border-top: 1px solid var(--line); padding: 1.6rem 0 2rem;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: .88rem; color: var(--muted); }
.footer-inner {
  width: min(100% - 2rem, var(--wide)); margin: 0 auto 1rem;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.2rem;
}
.wordmark-f { color: var(--ink); font-family: "Iowan Old Style", Palatino, Georgia, serif; font-weight: 600; margin: 0 0 .35rem; }
footer ul { list-style: none; margin: 0; padding: 0; }
footer li { margin: 0 0 .3rem; }
footer a { color: var(--muted); }
footer a:hover { color: var(--ink); }
.fine { width: min(100% - 2rem, var(--wide)); margin: 0 auto; font-size: .8rem; }
