:root {
  --bg: #fffcf6;
  --surface: #ffffff;
  --ink: #1d1a17;
  --muted: #7d6a5f;
  --line: #ebe3d6;
  --accent: #a9532b;
  --radius: 14px;
  --serif: "Fraunces", Georgia, serif;
  --italic: "Fraunces", Georgia, serif;
  --blush: #f3e2d4;
  --lime: #cdda5e;
  --sans: "Jost", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.1; margin: 0; }
h1 { font-size: clamp(42px, 6vw, 68px); }
h2 { font-size: clamp(30px, 4vw, 42px); }
.eyebrow { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); margin: 0 0 12px; }

/* header + footer */
.announce { background: var(--ink); color: #f5eee6; text-align: center; font-size: 13px; letter-spacing: 0.05em; padding: 8px 16px; }
header.site { border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: 0; z-index: 10; }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { font-family: var(--serif); font-size: 28px; font-weight: 500; letter-spacing: 0.04em; text-decoration: none; white-space: nowrap; }
nav a { text-decoration: none; margin-left: 24px; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
nav a:hover { color: var(--ink); }
footer.site { border-top: 1px solid var(--line); padding: 40px 0; color: var(--muted); font-size: 14px; }
footer.site .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
footer.site a { margin-right: 18px; text-decoration: none; }
footer.site a:hover { color: var(--ink); }

/* buttons */
.btn { display: inline-block; background: var(--ink); color: #fff; text-decoration: none; padding: 15px 30px; border-radius: 999px; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; border: 1px solid var(--ink); cursor: pointer; font-family: inherit; }
.btn:hover { background: #000; }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: #fff; }
.btn[disabled] { background: var(--line); border-color: var(--line); color: var(--muted); cursor: not-allowed; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* homepage */
.hero { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; padding-block: 64px; }
.lead { font-size: 18px; color: var(--muted); max-width: 440px; margin: 20px 0 32px; }
.mosaic { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mosaic a { aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; display: block; }
.mosaic a:nth-child(2) { transform: translateY(28px); }
.mosaic a:nth-child(4) { transform: translateY(28px); }
.mosaic svg, .mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.mosaic a:hover svg, .mosaic a:hover img { transform: scale(1.04); }

.pull { margin: 0; background: #efe4d6; border-radius: var(--radius); padding: 56px 44px; font-family: var(--serif); font-size: clamp(28px, 3.4vw, 40px); line-height: 1.2; color: var(--ink); }

.section { padding: 72px 0; border-top: 1px solid var(--line); }
.section-head { margin-bottom: 32px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card { text-decoration: none; display: block; }
.card .thumb { aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; position: relative; background: var(--surface); }
.card .thumb svg, .card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.card:hover .thumb svg, .card:hover .thumb img { transform: scale(1.04); }
.card h3 { font-size: 22px; margin-top: 14px; }
.card .meta { display: flex; justify-content: space-between; gap: 8px; color: var(--muted); font-size: 14px; }
.badge { position: absolute; top: 12px; left: 12px; background: var(--bg); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; }

.values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; text-align: center; }
.values h3 { font-size: 24px; margin-bottom: 6px; }
.values p { color: var(--muted); margin: 0; }

.about { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about p { color: var(--muted); font-size: 17px; }

.faq { max-width: 760px; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); }
.faq details[open] summary::after { content: "–"; }
.faq p { color: var(--muted); margin: 10px 0 0; }

/* product page */
.crumbs { font-size: 13px; color: var(--muted); padding-top: 24px; }
.crumbs a { text-decoration: none; }
.product { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; padding: 32px 0 72px; }
.gallery-main { aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.gallery-main svg, .gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: flex; gap: 10px; margin-top: 10px; }
.thumbs button { width: 72px; height: 72px; padding: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; cursor: pointer; background: none; }
.thumbs button.active { border-color: var(--ink); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.price { font-size: 24px; margin: 14px 0 2px; }
.material { color: var(--muted); margin: 0 0 24px; }
.details { padding-left: 18px; color: var(--muted); }
.buy { display: block; width: 100%; text-align: center; margin: 28px 0 12px; }
.note { font-size: 13px; color: var(--muted); text-align: center; margin: 0; }

.center { text-align: center; padding: 120px 0; }
.center p { color: var(--muted); max-width: 460px; margin: 16px auto 32px; }

@media (max-width: 820px) {
  .hero, .about, .product { grid-template-columns: 1fr; gap: 32px; }
  .hero { padding-block: 40px 64px; }
  .pull { padding: 40px 28px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .values { grid-template-columns: 1fr; }
  .card h3 { font-size: 19px; }
  .card .meta { flex-direction: column; gap: 0; }
  nav a { margin-left: 16px; }
}
@media (max-width: 480px) {
  .logo { font-size: 24px; }
  nav a.hide-sm { display: none; }
}

/* ── Brand look: chartreuse + black + rust, chunky serif, playful lowercase ── */
h1, h2, h3 { font-weight: 600; letter-spacing: -0.02em; font-variation-settings: "SOFT" 50, "WONK" 0; }
h1 { font-weight: 800; }
.logo { font-weight: 900; font-size: 34px; letter-spacing: -0.03em; line-height: 1; }
.logo::after { content: "."; }
.logo { position: relative; display: inline-block; margin-left: 0.3em; font-size: 44px; }
.logo-arc { position: absolute; left: -0.333em; top: 0; width: 1.167em; height: 1.083em; overflow: visible; }
.logo-arc text { font-family: var(--serif); font-weight: 600; fill: currentColor; }
.announce { background: var(--ink); color: var(--lime); }
.btn { background: var(--ink); border-color: var(--ink); }
.btn:hover { background: var(--accent); border-color: var(--accent); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: #fff; }
.eyebrow { font-family: var(--italic); font-style: italic; font-weight: 400; font-size: 20px; letter-spacing: 0; text-transform: none; color: var(--accent); }

/* hero sits on a full-bleed chartreuse band */
.hero-band { background: var(--lime); }
.hero-band .eyebrow { color: var(--ink); }
.hero-band .lead { color: #3b3a22; }
.mosaic a { box-shadow: 0 18px 40px -18px rgba(40, 45, 0, 0.45); }

.pull { background: var(--accent); color: #fff6ee; text-align: center; display: flex; flex-direction: column; justify-content: center; aspect-ratio: 1; padding: 40px; font-weight: 700; }
.pull em { display: block; font-family: var(--italic); font-style: italic; font-weight: 400; font-size: 0.55em; margin-top: 12px; }

.values > div { background: var(--blush); border-radius: var(--radius); padding: 32px 24px; }
.values > div:nth-child(2) { background: var(--lime); }
.values > div:nth-child(2) p { color: #3b3a22; }
.card h3 { font-size: 21px; }
.badge { background: var(--ink); color: var(--lime); }
.price { font-family: var(--serif); font-weight: 600; }
.section { border-top: 0; }
footer.site { background: var(--ink); color: #cfc8bd; border-top: 0; }
footer.site a:hover { color: var(--lime); }
@media (max-width: 820px) { .pull { aspect-ratio: auto; padding: 56px 28px; } }

.mosaic.single { grid-template-columns: 1fr; }
.mosaic.single a { aspect-ratio: 1; transform: none; }
.low { font-family: var(--sans); font-size: 13px; font-weight: 400; color: var(--accent); margin-left: 8px; letter-spacing: 0.04em; }

/* color picker */
.swatches { display: flex; gap: 10px; flex-wrap: wrap; margin: 18px 0 6px; }
.swatch { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px 8px 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font: inherit; font-size: 14px; color: var(--ink); cursor: pointer; }
.swatch:hover { border-color: var(--ink); }
.swatch.active { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.swatch.out { opacity: 0.45; text-decoration: line-through; }
.dot { width: 18px; height: 18px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, 0.12); }
.dot.gold { background: linear-gradient(135deg, #f0d48a, #b8893e); }
.dot.silver { background: linear-gradient(135deg, #f4f5f7, #a3a8ae); }
.dot.rose { background: linear-gradient(135deg, #f1c9bb, #c08371); }

/* cart */
.cart-link { background: none; border: 0; padding: 0; margin-left: 24px; cursor: pointer; font-family: inherit; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink); }
.cart-shade { position: fixed; inset: 0; background: rgba(29, 26, 23, 0.45); z-index: 20; }
.cart-panel { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100vw); background: var(--bg); z-index: 21; display: flex; flex-direction: column; transform: translateX(100%); visibility: hidden; transition: transform 0.22s ease, visibility 0.22s; outline: none; }
.cart-panel.open { transform: none; visibility: visible; }
.cart-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.cart-head h2 { font-size: 26px; }
.cart-head button { background: none; border: 0; font-size: 30px; line-height: 1; cursor: pointer; color: var(--ink); padding: 0 4px; }
.cart-body { flex: 1; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; }
.cart-empty { color: var(--muted); margin: 0 0 20px; }
.cart-body > .btn { align-self: flex-start; }
.cart-lines { list-style: none; margin: 0; padding: 0; flex: 1; }
.cart-lines li { display: flex; gap: 14px; padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid var(--line); }
.cart-thumb { width: 84px; height: 84px; flex: none; border-radius: 10px; overflow: hidden; background: var(--surface); }
.cart-thumb img, .cart-thumb svg { width: 100%; height: 100%; object-fit: cover; }
.cart-info { min-width: 0; display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.cart-info a { font-family: var(--serif); font-weight: 600; font-size: 16px; line-height: 1.25; text-decoration: none; }
.cart-info > span { color: var(--muted); }
.cart-info .cart-warn { color: var(--accent); }
.qty { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.qty button { width: 30px; height: 30px; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); color: var(--ink); cursor: pointer; font-size: 16px; line-height: 1; }
.qty button[disabled] { color: var(--line); cursor: not-allowed; }
.qty .cart-remove { width: auto; height: auto; border: 0; background: none; color: var(--muted); font-family: inherit; font-size: 13px; text-decoration: underline; margin-left: 8px; }
.cart-totals > div { display: flex; justify-content: space-between; padding: 3px 0; }
.cart-free { margin: 0 0 10px; font-size: 14px; color: var(--accent); }
.cart-error { margin: 8px 0 0; font-size: 14px; color: var(--accent); }
.cart-totals .buy { margin: 12px 0 0; }

/* policies */
.policy { max-width: 680px; padding-block: 64px; }
.policy h2 { font-size: 24px; margin: 32px 0 8px; }
.policy p { margin: 0; }

/* standalone pages */
.page-top { border-top: 0; padding-top: 56px; }

@media (max-width: 640px) {
  .logo { font-size: 38px; }
  header.site nav { white-space: nowrap; }
  header.site nav a, .cart-link { margin-left: 10px; font-size: 12px; letter-spacing: 0.05em; }
}
@media (max-width: 370px) {
  .logo { font-size: 32px; }
  header.site nav a, .cart-link { margin-left: 7px; font-size: 11px; letter-spacing: 0.03em; }
}

/* shop filters */
.filters { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-bottom: 28px; }
.filter-group { display: flex; flex-wrap: wrap; gap: 8px; }
.filter { background: transparent; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-family: inherit; font-size: 13px; letter-spacing: 0.04em; color: var(--ink); cursor: pointer; }
.filter:hover { border-color: var(--ink); }
.filter.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.filter:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.filter-empty { grid-column: 1 / -1; color: var(--muted); margin: 0; }

/* email forms */
.signup, .restock { width: 100%; }
.signup { max-width: 420px; }
footer.site .wrap { align-items: flex-end; }
.signup label { display: block; font-family: var(--serif); font-weight: 700; font-size: 22px; color: var(--lime); }
.signup p, .restock p { margin: 2px 0 10px; font-size: 14px; }
.restock { margin-bottom: 12px; }
.restock label { display: block; font-weight: 500; }
.restock p { color: var(--muted); }
.signup-row { display: flex; gap: 8px; }
.signup-row input { flex: 1; min-width: 0; border: 1px solid var(--line); border-radius: 999px; padding: 12px 16px; font: inherit; font-size: 15px; background: var(--surface); color: var(--ink); }
.signup-row input:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.signup-row .btn { padding: 12px 20px; white-space: nowrap; }
.form-status { margin: 8px 0 0 !important; color: var(--accent); }
.form-status:empty { display: none; }
.signup .form-status { color: var(--lime); }
.signup .btn { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.signup .btn:hover { background: #fff; border-color: #fff; }
