@font-face {
  font-family: "Bricolage";
  src: url("assets/bricolage-500.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Bricolage";
  src: url("assets/bricolage-800.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #f5f0e4;
  --surface: #fbf8f0;
  --surface-alt: #ede5d4;
  --ink: #242820;
  --muted: #5e6257;
  --orange: #ff693c;
  --rust: #c74420;
  --line: rgba(36, 40, 32, 0.13);
  --shadow: 0 10px 26px rgba(36, 40, 32, 0.08);
  --radius: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .brand, .btn-primary, .btn-etsy, .header-cta {
  font-family: "Bricolage", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

.skip-link {
  position: absolute; left: -9999px; top: 8px;
  background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: 8px; z-index: 100;
}
.skip-link:focus { left: 12px; }

.wrap {
  width: min(1200px, 100% - 32px);
  margin-inline: auto;
}

/* Holiday Banner */
.holiday-bar {
  background: var(--ink);
  color: var(--paper);
  font-size: 0.9rem;
  border-bottom: 3px solid var(--orange);
}
.holiday-bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  padding: 10px 0;
}
.holiday-bar p { margin: 0; }
.holiday-bar strong { color: #ffb39a; }
.holiday-bar-link {
  color: var(--paper);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid var(--orange);
  padding-bottom: 1px;
  white-space: nowrap;
}
.holiday-bar-link:hover { color: #ffb39a; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 240, 228, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}
.brand-dot { color: var(--orange); }
.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.95rem;
  font-weight: 600;
}
.site-nav a {
  text-decoration: none;
  color: var(--muted);
  padding: 6px 2px;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ink); }
.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--rust);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.92rem;
  padding: 10px 16px;
  border-radius: 999px;
  white-space: nowrap;
  transition: background 0.15s ease, transform 0.15s ease;
}
.header-cta:hover { background: var(--ink); transform: translateY(-1px); }

/* Hero */
.hero {
  padding: 40px 0 36px;
  border-bottom: 1px solid var(--line);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
}
.eyebrow {
  margin: 0 0 12px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--rust);
}
.spark { color: var(--orange); }
.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(2.1rem, 4.3vw, 3.35rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
}
.hero-lead {
  margin: 0 0 24px;
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 52ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--rust);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: 1rem;
  padding: 14px 24px;
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(199, 68, 32, 0.25);
  transition: background 0.15s ease, transform 0.15s ease;
}
.btn-primary:hover { background: var(--ink); transform: translateY(-1px); }
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  padding: 13px 22px;
  border-radius: 999px;
  border: 1.5px solid var(--ink);
  transition: background 0.15s ease;
}
.btn-secondary:hover { background: var(--surface-alt); }

.trust-row {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 0.88rem;
  color: var(--muted);
}
.trust-row li::before {
  content: "✓ ";
  color: var(--rust);
  font-weight: 800;
}

.hero-mosaic {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.mosaic-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  text-decoration: none;
  aspect-ratio: 1 / 1;
}
.mosaic-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}
.mosaic-item:hover img { transform: scale(1.03); }
.mosaic-cap {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  background: rgba(36, 40, 32, 0.88);
  color: var(--paper);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Jump Strip */
.jump-strip {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}
.jump-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.jump-label {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--muted);
  margin-right: 4px;
}
.pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
}
.pill:hover { border-color: var(--ink); }
.pill.is-active {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.pill-outline {
  background: transparent;
  border-color: var(--rust);
  color: var(--rust);
}
.pill-outline:hover { background: var(--rust); color: #fff; border-color: var(--rust); }

/* Collections & Grid */
.collection { padding: 48px 0 16px; }
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 24px;
  margin-bottom: 22px;
}
.section-kicker {
  margin: 0 0 4px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--rust);
}
.section-head h2, .catalog-head h1, .about h2, .cta-banner h2 {
  margin: 0 0 6px;
  font-size: clamp(1.55rem, 2.8vw, 2.15rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
}
.section-sub {
  margin: 0;
  color: var(--muted);
  max-width: 62ch;
}
.section-more {
  font-weight: 800;
  color: var(--rust);
  text-decoration: none;
  white-space: nowrap;
}
.section-more:hover { text-decoration: underline; }

.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.card-media {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  background: var(--surface-alt);
  overflow: hidden;
}
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(36, 40, 32, 0.84);
  color: var(--paper);
  font-size: 0.74rem;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 999px;
}
.card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 14px 15px 15px;
}
.card-title {
  margin: 0 0 5px;
  font-size: 1.03rem;
  line-height: 1.25;
}
.card-title a { text-decoration: none; }
.card-title a:hover { color: var(--rust); }
.card-blurb {
  margin: 0 0 12px;
  font-size: 0.86rem;
  color: var(--muted);
  flex: 1;
}
.card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.card-price {
  font-weight: 800;
  font-size: 1.05rem;
  font-variant-numeric: tabular-nums;
}
.btn-etsy {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--rust);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.86rem;
  padding: 9px 14px;
  border-radius: 999px;
  white-space: nowrap;
}
.btn-etsy:hover { background: var(--ink); }
.card-alts {
  margin: 10px 0 0;
  padding-top: 9px;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
  color: var(--muted);
}
.card-alts a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}
.card-alts a:hover { color: var(--rust); text-decoration: underline; }

/* CTA Banner */
.cta-banner {
  margin-top: 48px;
  background: var(--surface-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 36px 0;
}
.cta-banner-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.cta-banner p { margin: 0; color: var(--muted); max-width: 58ch; }
.cta-banner-btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* About */
.about { padding: 52px 0; }
.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  align-items: start;
}
.about p { color: var(--muted); margin: 0 0 14px; }
.about a { color: var(--rust); font-weight: 600; }
.info-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.info-card h3 { margin: 0 0 12px; font-size: 1.15rem; }
.info-card ul {
  margin: 0 0 18px;
  padding-left: 18px;
  color: var(--muted);
  font-size: 0.92rem;
}
.info-card li { margin-bottom: 10px; }
.info-card strong { color: var(--ink); }
.social-links { display: flex; flex-direction: column; gap: 10px; }
.social-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 11px 16px;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
}
.social-btn:hover { background: var(--ink); color: var(--paper); }

/* Catalog page */
.catalog-main { padding: 34px 0 56px; }
.catalog-head { margin-bottom: 22px; }
.controls {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.search-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  justify-content: space-between;
}
.search-row input {
  flex: 1 1 280px;
  padding: 11px 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--paper);
  font-size: 0.98rem;
  color: var(--ink);
}
.count-label { font-size: 0.88rem; font-weight: 700; color: var(--muted); }
.filter-group { display: flex; flex-wrap: wrap; gap: 8px; }
.empty-msg { grid-column: 1 / -1; color: var(--muted); padding: 24px 0; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
  padding: 24px 0;
  font-size: 0.9rem;
  color: var(--muted);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand strong { color: var(--ink); }
.footer-links { display: flex; flex-wrap: wrap; gap: 14px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--rust); text-decoration: underline; }

@media (max-width: 1024px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .hero-grid, .about-grid { grid-template-columns: 1fr; }
  .site-nav { display: none; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .mosaic-cap { font-size: 0.67rem; padding: 4px 7px; }
}
.crumb { margin: 0 0 10px; font-size: 0.9rem; font-weight: 700; }
.crumb a { color: var(--rust); text-decoration: none; }
.crumb a:hover { text-decoration: underline; }

@media (max-width: 500px) {
  .wrap { width: min(1200px, 100% - 24px); }
  .hero { padding: 28px 0 26px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .card-body { padding: 11px 11px 12px; }
  .card-title { font-size: 0.92rem; }
  .card-blurb { font-size: 0.78rem; margin-bottom: 10px; }
  .card-foot { flex-direction: column; align-items: stretch; gap: 6px; }
  .btn-etsy { justify-content: center; width: 100%; font-size: 0.82rem; padding: 8px 10px; }
  .card-badge { font-size: 0.68rem; padding: 3px 7px; top: 7px; left: 7px; }
}
