:root {
  --bg: #f7f2ea;
  --paper: #fffdf9;
  --ink: #2a2320;
  --muted: #76695e;
  --accent: #b5482f;
  --accent-dark: #8f3622;
  --indigo: #2f4a7a;
  --line: #e4d9cb;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 14px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-dark); }
h1, h2, h3, .logo { font-family: var(--serif); font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; }
h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); margin: 0 0 .5em; }
h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin: 0 0 .8em; }

.announce { background: var(--indigo); color: #fff; text-align: center; padding: .5em 1em; font-size: .9rem; }

.site-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem clamp(1rem, 4vw, 3rem); border-bottom: 1px solid var(--line); background: var(--paper); position: sticky; top: 0; z-index: 10; }
.logo { font-size: 1.6rem; color: var(--ink); text-decoration: none; margin: 0; }
.nav { display: flex; gap: 1.5rem; }
.nav a { color: var(--ink); text-decoration: none; }
.nav a[aria-current="page"], .nav a:hover { color: var(--accent); }
.menu-btn { display: none; background: none; border: 0; font-size: 1.5rem; cursor: pointer; color: var(--ink); }
@media (max-width: 640px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .nav a { padding: .9rem clamp(1rem, 4vw, 3rem); border-top: 1px solid var(--line); }
}

main { max-width: 1180px; margin: 0 auto; padding: 0 clamp(1rem, 4vw, 3rem); }
.section { padding: clamp(2rem, 5vw, 4rem) 0; }

.hero { padding: clamp(3rem, 9vw, 7rem) 0 clamp(2rem, 5vw, 3rem); max-width: 760px; }
.hero p { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }

.btn { display: inline-block; background: var(--accent); color: #fff; text-decoration: none; padding: .85em 1.6em; border-radius: 999px; font-weight: 600; transition: background .15s; }
.btn:hover { background: var(--accent-dark); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: clamp(1rem, 2.5vw, 2rem); }
.card { text-decoration: none; color: var(--ink); }
.card-img { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--line); aspect-ratio: 4 / 5; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .card-img img { transform: scale(1.03); }
.card h3 { font-size: 1.05rem; margin: .7em 0 .15em; font-weight: 500; }
.card .price { margin: 0; color: var(--muted); }
.card.is-sold .card-img img { opacity: .6; }
.badge { position: absolute; top: .7rem; left: .7rem; background: var(--paper); padding: .2em .7em; border-radius: 999px; font-size: .8rem; font-weight: 600; }
.empty { color: var(--muted); }

.cats { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.cats a { text-decoration: none; color: var(--ink); border: 1px solid var(--line); background: var(--paper); padding: .45em 1em; border-radius: 999px; font-size: .95rem; }
.cats a[aria-current="page"], .cats a:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.story > div { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 3rem); max-width: 760px; }

.product { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(1.5rem, 4vw, 4rem); padding: clamp(1.5rem, 4vw, 3rem) 0; }
@media (max-width: 800px) { .product { grid-template-columns: 1fr; } }
.main-img { border-radius: var(--radius); overflow: hidden; background: var(--line); }
.thumbs { display: flex; gap: .6rem; margin-top: .8rem; flex-wrap: wrap; }
.thumbs button { padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; width: 70px; cursor: pointer; background: none; }
.thumbs button.active { border-color: var(--accent); }
.crumbs { font-size: .9rem; color: var(--muted); margin: 0 0 .5rem; }
.crumbs a { color: var(--muted); }
.price.big { font-size: 1.5rem; font-family: var(--serif); margin: 0 0 1rem; }
.btn-buy { width: 100%; text-align: center; font-size: 1.05rem; }
.small { font-size: .9rem; color: var(--muted); }
.sold-note { background: var(--paper); border: 1px solid var(--line); padding: 1rem; border-radius: var(--radius); }
.facts { display: grid; grid-template-columns: auto 1fr; gap: .4rem 1.2rem; margin: 1.5rem 0; padding: 1rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; }

.making { margin: 1.5rem 0; }
.making h2 { font-size: 1.25rem; }
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--ink); }
.video iframe, .video video, .video-facade { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video video { object-fit: contain; }
.video.vertical { aspect-ratio: 9 / 16; max-width: 360px; max-height: 80vh; }
.video-facade { cursor: pointer; background: var(--ink) center / cover no-repeat; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .8rem; color: #fff; }
.video-facade::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.35); }
.video-facade .play { position: relative; width: 64px; height: 64px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; font-size: 1.4rem; padding-left: 4px; }
.video-note { position: relative; font-size: .85rem; }
.btn-outline { background: transparent; color: var(--accent-dark); border: 2px solid var(--accent); }
.btn-outline:hover { background: var(--accent); color: #fff; }

.stars { color: #c98a1a; letter-spacing: .1em; }
.stars .off { color: var(--line); }
.rating-summary { color: var(--muted); }
.rating-summary a { color: inherit; text-decoration: none; }
.rating-summary.big { font-size: 1.15rem; }
.reviews { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 1.2rem; margin-bottom: 1.5rem; }
.review { margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.4rem; }
.review blockquote { margin: .6rem 0 .9rem; font-family: var(--serif); font-size: 1.05rem; }
.review figcaption { font-size: .95rem; }
.policy { max-width: 70ch; margin-top: 2rem; }

.prose { max-width: 720px; }
.prose.center { text-align: center; margin: 0 auto; }
.about-img { border-radius: var(--radius); margin: 1rem 0 2rem; }
.todo { background: #fff4d6; border-left: 4px solid #e0a800; padding: .8rem 1rem; }

.site-footer { margin-top: 4rem; background: var(--ink); color: #e9e1d6; padding: 3rem clamp(1rem, 4vw, 3rem) 2rem; }
.site-footer a { color: #e9e1d6; display: block; text-decoration: none; margin-bottom: .4rem; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-cols { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; }
.site-footer .logo { color: #fff; }
.legal { max-width: 1180px; margin: 2rem auto 0; font-size: .85rem; color: #a99d90; }
