:root {
  --paper: #f6f1ea;
  --paper-2: #efe7dc;
  --card: #fffdf9;
  --ink: #2b2620;
  --ink-2: #5e554b;
  --muted: #8b8075;
  --line: #e2d8ca;
  --accent: #b5552b;
  --accent-dark: #8f3f1c;
  --sage: #3d5a4f;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(43, 38, 32, .06), 0 6px 20px rgba(43, 38, 32, .06);
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: Inter, -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.6 var(--sans); }
img { max-width: 100%; display: block; }
a { color: var(--accent-dark); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 .4em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 640px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 50; background: #fff; padding: 8px 12px; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .74rem; font-weight: 600; color: var(--sage); margin-bottom: .6em; }
.eyebrow a { color: inherit; }
.lead { font-size: 1.12rem; color: var(--ink-2); max-width: 46em; }
.muted { color: var(--muted); font-size: .92rem; margin-top: 2em; }

/* buttons */
.btn { display: inline-block; background: var(--accent); color: #fff; text-decoration: none; font-weight: 600; padding: .8em 1.5em; border-radius: 999px; border: 2px solid var(--accent); transition: background .15s, border-color .15s; cursor: pointer; font-size: 1rem; font-family: inherit; }
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn-ghost { background: transparent; color: var(--accent-dark); }
.btn-ghost:hover { background: var(--accent); color: #fff; }
.btn-small { padding: .4em 1em; font-size: .9rem; }

/* header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(246, 241, 234, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--serif); font-size: 1.55rem; font-weight: 600; white-space: nowrap; }
.brand em, .footer-brand em { font-style: italic; color: var(--accent); }
.brand-mark { width: 34px; height: 34px; }
.site-nav { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.site-nav a { color: var(--ink-2); text-decoration: none; font-size: .95rem; font-weight: 500; }
.site-nav a:hover, .site-nav a.on { color: var(--accent-dark); }
.nav-search input { width: 150px; padding: .45em .9em; border: 1px solid var(--line); border-radius: 999px; background: var(--card); font: inherit; font-size: .9rem; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 999px; padding: .4em 1em; font: inherit; color: var(--ink); }

/* hero */
.hero { padding: 56px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 1.6em; }
.hero-art { position: relative; display: block; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.hero-art img { width: 100%; aspect-ratio: 4 / 3.3; object-fit: cover; }
.hero-caption { position: absolute; left: 14px; bottom: 14px; background: rgba(255, 253, 249, .92); color: var(--ink); padding: .35em .8em; border-radius: 999px; font-size: .85rem; }

.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--card); }
.strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 22px 24px; }
.strip strong { display: block; font-size: .95rem; }
.strip span { color: var(--muted); font-size: .88rem; }

/* sections */
.section { padding: 56px 0; }
.section-tight { padding: 28px 0 56px; }
.section-tint { background: var(--paper-2); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.section-head p { color: var(--ink-2); margin: 0; max-width: 40em; }
.more { white-space: nowrap; text-decoration: none; font-weight: 600; }
.page-head { padding: 48px 0 8px; }

/* product grid */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 28px 22px; }
.grid-wide { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.card { display: block; text-decoration: none; color: var(--ink); }
.card-img { position: relative; display: block; border-radius: var(--radius); overflow: hidden; background: var(--paper-2); box-shadow: var(--shadow); }
.card-img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .4s ease; }
/* Mixed grids crop everything to 4:5 so rows line up; Frame TV-only grids keep the wide shape. */
.grid-wide .card-img img { aspect-ratio: 16 / 10; }
.card:hover .card-img img { transform: scale(1.035); }
.badge { position: absolute; top: 10px; left: 10px; background: var(--sage); color: #fff; font-size: .72rem; font-weight: 600; letter-spacing: .04em; padding: .25em .7em; border-radius: 999px; }
.badge-set { background: var(--accent); }
.card-body { display: block; padding: 12px 2px 0; }
.card-title { display: block; font-family: var(--serif); font-size: 1.18rem; font-weight: 600; line-height: 1.25; }
.card-price { display: block; color: var(--ink-2); font-size: .92rem; margin-top: 4px; }
.card-price small, .price small { color: var(--muted); font-weight: 400; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: .5em 1.1em; text-decoration: none; color: var(--ink); font-weight: 500; }
.chip:hover { border-color: var(--accent); color: var(--accent-dark); }
.chip small { color: var(--muted); margin-left: 4px; }

.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.step { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 600; margin-bottom: 12px; }

/* collections */
.collection-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.collection { position: relative; display: block; border-radius: var(--radius); overflow: hidden; text-decoration: none; color: #fff; box-shadow: var(--shadow); background: var(--sage); min-height: 260px; }
.collection img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.collection:hover img { transform: scale(1.04); }
.collection-body { position: absolute; inset: auto 0 0 0; padding: 60px 18px 16px; background: linear-gradient(transparent, rgba(20, 16, 12, .78)); display: grid; gap: 2px; }
.collection-body strong { font-family: var(--serif); font-size: 1.6rem; }
.collection-body span { font-size: .9rem; opacity: .92; }
.collection-body small { opacity: .8; }

/* shop filters */
.filters { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; margin-bottom: 26px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.filters label { display: flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--ink-2); }
.filters select { font: inherit; padding: .4em .7em; border: 1px solid var(--line); border-radius: 8px; background: var(--card); color: var(--ink); }
.count { margin-left: auto; color: var(--muted); font-size: .9rem; }
.pager { display: flex; justify-content: center; align-items: center; gap: 24px; margin-top: 40px; }
.empty { padding: 40px 0; color: var(--ink-2); }

/* product page */
.crumbs { font-size: .88rem; color: var(--muted); margin: 8px 0 20px; }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.product { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.gallery { position: sticky; top: 88px; }
.gallery-main { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--paper-2); box-shadow: var(--shadow); }
.gallery-main img { width: 100%; max-height: 78vh; object-fit: contain; }
.thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-top: 10px; }
.thumb { padding: 0; border: 2px solid transparent; border-radius: 6px; overflow: hidden; background: none; cursor: pointer; }
.thumb.on { border-color: var(--accent); }
.thumb img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.product-sub { color: var(--ink-2); }
.price { font-size: 1.6rem; font-weight: 600; margin: .3em 0 .7em; }
.price small { font-size: .95rem; }
.btn-buy { width: 100%; text-align: center; font-size: 1.1rem; padding: .95em 1.5em; }
.buy-note { color: var(--muted); font-size: .86rem; margin-top: .7em; }
.facts { list-style: none; padding: 0; margin: 1.4em 0; border-top: 1px solid var(--line); }
.facts li { padding: .6em 0 .6em 1.6em; border-bottom: 1px solid var(--line); position: relative; font-size: .95rem; }
.facts li::before { content: '✓'; position: absolute; left: 0; color: var(--sage); font-weight: 600; }
.callout { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; margin-bottom: 1.4em; }
.callout p { margin-bottom: .4em; }
.callout a { display: block; }
.description { color: var(--ink-2); font-size: .96rem; }
.description h3 { font-family: var(--sans); font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; color: var(--ink); margin-top: 1.6em; }
.description ul { padding-left: 1.2em; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 1.4em; }
.tags a { font-size: .8rem; background: var(--paper-2); color: var(--ink-2); padding: .25em .7em; border-radius: 999px; text-decoration: none; }

/* prose pages */
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { font-family: var(--sans); font-size: 1.02rem; font-weight: 600; margin-top: 1.4em; }
.prose li { margin-bottom: .3em; }

/* contact */
.contact-form { display: grid; gap: 16px; }
.contact-form label { display: grid; gap: 6px; font-weight: 500; font-size: .95rem; }
.contact-form input, .contact-form textarea { font: inherit; padding: .7em .9em; border: 1px solid var(--line); border-radius: 8px; background: var(--card); color: var(--ink); }
.contact-form .hp { position: absolute; left: -5000px; }
.notice { background: #e8f0ea; border: 1px solid #b9d0c0; color: #23412f; padding: 14px 16px; border-radius: var(--radius); margin-bottom: 20px; }
.notice-error { background: #f8e8e2; border-color: #e4b9a6; color: #6e2a12; }

/* footer */
.site-footer { background: #2b2620; color: #d9cfc3; margin-top: 40px; }
.site-footer a { color: #f0e6da; text-decoration: none; display: block; padding: 3px 0; font-size: .93rem; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; padding: 48px 24px 32px; }
.footer-brand { font-family: var(--serif); font-size: 1.6rem; color: #fff; margin-bottom: .3em; }
.footer-head { color: #fff; font-weight: 600; margin-bottom: .5em; }
.site-footer .btn-ghost { display: inline-block; color: #f0e6da; border-color: #8d7f71; margin-top: .4em; }
.footer-fine { border-top: 1px solid #453d34; padding: 18px 24px 28px; font-size: .8rem; color: #9b8f82; }
.footer-fine p { margin: .2em 0; }

@media (max-width: 960px) {
  .hero-grid, .product { grid-template-columns: 1fr; gap: 32px; }
  .gallery { position: static; }
  .strip-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: var(--paper); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 18px; }
  .site-nav.open { display: flex; }
  .site-nav a { padding: .7em 0; border-bottom: 1px solid var(--line); }
  .nav-search { padding-top: 12px; }
  .nav-search input { width: 100%; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 20px 14px; }
  .grid-wide { grid-template-columns: 1fr; }
  .how-grid { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .hero { padding-top: 32px; }
  .card-title { font-size: 1.05rem; }
  .thumbs { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
}
