:root {
  --bg: #1c1612;
  --bg-elev: #261f19;
  --bg-card: #2e261f;
  --ink: #f3ebe1;
  --ink-soft: #d4c4b0;
  --muted: #a8947e;
  --line: #3d3228;
  --accent: #c56a3a;
  --accent-soft: #e08a58;
  --sage: #7a8f6e;
  --sage-soft: #9bb08f;
  --cream: #e8d5c4;
  --focus: #f0c49a;
  --warn: #d4a017;
  --warn-bg: rgba(212, 160, 23, 0.12);
  --warn-border: rgba(212, 160, 23, 0.55);
  --radius: 18px;
  --shadow: 0 18px 50px rgba(0,0,0,.35);
  --font: "Source Sans 3", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --max: 1100px;
  --header-h: 4rem;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
body {
  margin: 0;
  font-family: var(--font);
  background:
    radial-gradient(900px 520px at 8% -8%, #3a2a1f 0%, transparent 55%),
    radial-gradient(700px 480px at 100% 12%, #2a3328 0%, transparent 50%),
    var(--bg);
  color: var(--ink);
  line-height: 1.65;
  font-size: 1.05rem;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
img { max-width: 100%; display: block; height: auto; }
a { color: var(--accent-soft); text-underline-offset: 3px; }
a:hover { color: var(--cream); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }

.skip {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--accent); color: #1c1612; padding: .6rem 1rem; border-radius: 8px; font-weight: 600;
}
.skip:focus { top: 1rem; }
.wrap { width: min(100% - 2rem, var(--max)); margin-inline: auto; }

/* AI-TODO scaffolding badge */
.ai-todo {
  margin: 1rem 0;
  padding: .85rem 1rem;
  border: 1.5px dashed var(--warn-border);
  background: var(--warn-bg);
  border-radius: 12px;
  color: #f5e6c0;
  font-size: .9rem;
  line-height: 1.45;
}
.ai-todo strong {
  color: var(--warn);
  letter-spacing: .04em;
  font-size: .78rem;
  text-transform: uppercase;
}
.ai-todo-area {
  color: var(--warn);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .82rem;
}
.example-badge {
  display: inline-block;
  font-size: .68rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 700;
  color: #1c1612;
  background: var(--warn);
  padding: .2rem .45rem;
  border-radius: 6px;
  margin-right: .35rem;
  vertical-align: middle;
}

/* Header / nav */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: var(--header-h); padding: .55rem 0;
}
.logo {
  display: inline-flex; align-items: center; gap: .65rem;
  text-decoration: none; color: var(--ink); font-family: var(--display);
  font-weight: 600; letter-spacing: -.02em; font-size: 1.12rem; z-index: 60;
}
.logo-mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(145deg, #3a2a22, #1c1612);
  border: 1px solid var(--line);
  display: grid; place-items: center; flex-shrink: 0;
}
.logo-mark span {
  width: 14px; height: 14px; border: 1.5px solid var(--cream); border-radius: 3px;
  box-shadow: inset 0 -5px 0 -3px var(--accent);
}
.nav-toggle {
  display: none;
  z-index: 60;
  width: 2.6rem; height: 2.6rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--bg-elev);
  color: var(--ink);
  cursor: pointer;
  align-items: center; justify-content: center;
  padding: 0;
}
.nav-toggle:hover { border-color: var(--cream); }
.nav-toggle-bars {
  display: block; width: 1.1rem; height: 2px; background: var(--cream);
  box-shadow: 0 -5px 0 var(--cream), 0 5px 0 var(--cream);
}
.nav-panel { display: flex; align-items: center; gap: 1rem; }
.nav-links {
  display: flex; flex-wrap: wrap; gap: .2rem .75rem; list-style: none; margin: 0; padding: 0;
  justify-content: flex-end; align-items: center;
}
.nav-links a {
  color: var(--ink-soft); text-decoration: none; font-size: .92rem; font-weight: 500;
  padding: .4rem .25rem; border-bottom: 1px solid transparent;
  transition: color .2s, border-color .2s;
}
.nav-links a:hover, .nav-links a[aria-current="page"] {
  color: var(--ink); border-color: var(--accent);
}
.nav-cta {
  background: var(--accent) !important; color: #1c1612 !important; border: none !important;
  padding: .45rem .95rem !important; border-radius: 999px !important; font-weight: 600 !important;
  border-bottom: none !important;
}
.nav-cta:hover { background: var(--accent-soft) !important; color: #1c1612 !important; }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav-panel {
    position: fixed; inset: 0 0 auto 0; top: 0;
    padding: calc(var(--header-h) + .75rem) 1.25rem 1.5rem;
    background: color-mix(in srgb, var(--bg) 96%, #000);
    border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch;
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: transform .25s ease, opacity .2s ease;
    box-shadow: var(--shadow);
  }
  body.nav-open .nav-panel {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links {
    flex-direction: column; align-items: stretch; gap: .15rem;
  }
  .nav-links a {
    padding: .75rem .5rem;
    border-bottom: 1px solid var(--line);
    font-size: 1.05rem;
  }
  .nav-cta {
    text-align: center; margin-top: .5rem;
    border-bottom: none !important;
  }
}

/* Hero */
.hero { padding: 3.5rem 0 2.75rem; }
.kicker {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .78rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--sage-soft); font-weight: 600; margin-bottom: 1.1rem;
}
.kicker::before { content: ""; width: 1.5rem; height: 1px; background: var(--sage); }
h1 {
  font-family: var(--display);
  font-size: clamp(2.35rem, 5.8vw, 3.55rem);
  line-height: 1.1; letter-spacing: -.035em;
  margin: 0 0 1.1rem; font-weight: 600;
  max-width: 15ch;
}
.hero-lead {
  font-size: clamp(1.08rem, 2.2vw, 1.28rem);
  color: var(--ink-soft); max-width: 38rem; margin: 0 0 1.85rem;
  line-height: 1.55;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 1.5rem; }
.hero-note { color: var(--muted); font-size: .92rem; max-width: 34rem; margin: 0; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  padding: .88rem 1.4rem; border-radius: 999px; font-weight: 600;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  font-family: inherit; font-size: 1rem;
  transition: transform .15s ease, background .2s, border-color .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.btn-primary {
  background: linear-gradient(180deg, var(--accent-soft), var(--accent));
  color: #1c1612; box-shadow: 0 8px 24px rgba(197,106,58,.28);
}
.btn-primary:hover { color: #1c1612; box-shadow: 0 12px 28px rgba(197,106,58,.38); }
.btn-ghost {
  background: transparent; color: var(--cream); border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--cream); color: var(--ink); background: color-mix(in srgb, var(--bg-card) 60%, transparent); }
.btn-sm { padding: .55rem 1rem; font-size: .92rem; }

section { padding: 3.75rem 0; }
.section-head { margin-bottom: 1.85rem; max-width: 42rem; }
.section-head h2 {
  font-family: var(--display); font-size: clamp(1.7rem, 3.5vw, 2.2rem);
  letter-spacing: -.025em; margin: 0 0 .65rem; font-weight: 600;
}
.section-head p { margin: 0; color: var(--ink-soft); }
.page-hero { padding: 2.75rem 0 1.5rem; }
.page-hero h1 { max-width: 20ch; font-size: clamp(2rem, 4.5vw, 2.75rem); }

.grid-2 { display: grid; gap: 1.25rem; }
@media (min-width: 800px) { .grid-2 { grid-template-columns: 1fr 1fr; gap: 1.5rem; } }

.card {
  background: linear-gradient(165deg, color-mix(in srgb, var(--bg-card) 92%, #4a3a2c), var(--bg-elev));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.45rem 1.45rem;
  box-shadow: var(--shadow);
}
.card h3 { font-family: var(--display); font-size: 1.22rem; margin: 0 0 .55rem; font-weight: 600; }
.card p { margin: 0; color: var(--ink-soft); font-size: .98rem; }
.promise .card { transition: border-color .2s, transform .2s; }
.promise .card:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); transform: translateY(-2px); }
.icon-pill {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.5rem; height: 2.5rem; border-radius: 11px; margin-bottom: .9rem;
  background: color-mix(in srgb, var(--accent) 18%, transparent);
  color: var(--accent-soft); font-size: 1.1rem;
}

.steps { display: grid; gap: 1rem; counter-reset: step; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step {
  background: var(--bg-elev); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.45rem 1.35rem; transition: border-color .2s, box-shadow .2s;
}
.step:hover { border-color: color-mix(in srgb, var(--sage) 50%, var(--line)); box-shadow: 0 12px 32px rgba(0,0,0,.25); }
.step::before {
  counter-increment: step; content: counter(step);
  display: inline-flex; align-items: center; justify-content: center;
  width: 2rem; height: 2rem; border-radius: 999px;
  background: color-mix(in srgb, var(--sage) 25%, transparent);
  color: var(--sage-soft); font-weight: 700; font-size: .9rem; margin-bottom: .85rem;
}
.step h3 { font-family: var(--display); font-size: 1.15rem; margin: 0 0 .45rem; }
.step p { margin: 0; color: var(--muted); font-size: .95rem; }

.boutique-grid {
  display: grid; gap: 1.25rem; grid-template-columns: 1fr;
}
@media (min-width: 560px) { .boutique-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 920px) { .boutique-grid { grid-template-columns: repeat(3, 1fr); } }
.boutique {
  background: var(--bg-elev); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .2s, border-color .2s, box-shadow .2s;
  text-decoration: none; color: inherit;
}
a.boutique:hover, .boutique:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--cream) 25%, var(--line));
  box-shadow: var(--shadow);
}
.boutique-media {
  aspect-ratio: 900 / 700; background: #1a1410; overflow: hidden; position: relative;
}
.boutique-media img {
  width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease;
}
.boutique:hover .boutique-media img { transform: scale(1.045); }
.boutique-body { padding: 1.1rem 1.15rem 1.25rem; flex: 1; display: flex; flex-direction: column; gap: .35rem; }
.boutique-tag {
  font-size: .72rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--sage-soft); font-weight: 600;
}
.boutique h3 { font-family: var(--display); font-size: 1.18rem; margin: 0; font-weight: 600; color: var(--ink); }
.boutique .place { color: var(--muted); font-size: .9rem; margin: 0; }
.boutique .blurb { color: var(--ink-soft); font-size: .93rem; margin: .3rem 0 0; flex: 1; }
.credit { margin-top: .7rem; font-size: .72rem; color: var(--muted); line-height: 1.4; }
.credit a { color: var(--muted); }
.credit a:hover { color: var(--cream); }

.audience { display: grid; gap: 1.25rem; }
@media (min-width: 800px) { .audience { grid-template-columns: 1fr 1fr; } }
.audience-card {
  border-radius: var(--radius); padding: 1.6rem 1.5rem; border: 1px solid var(--line);
  background: var(--bg-elev);
}
.audience-card.makers {
  background: linear-gradient(155deg, #2f261e 0%, #241c16 100%);
  border-color: color-mix(in srgb, var(--accent) 35%, var(--line));
}
.audience-card.shoppers {
  background: linear-gradient(155deg, #243028 0%, #1c221c 100%);
  border-color: color-mix(in srgb, var(--sage) 40%, var(--line));
}
.audience-card h3 { font-family: var(--display); margin: 0 0 .75rem; font-size: 1.35rem; }
.audience-card ul { margin: 0; padding-left: 1.15rem; color: var(--ink-soft); }
.audience-card li { margin: .45rem 0; }

.waitlist-panel {
  background: linear-gradient(160deg, color-mix(in srgb, var(--accent) 12%, var(--bg-card)), var(--bg-elev));
  border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--line));
  border-radius: calc(var(--radius) + 4px);
  padding: 1.7rem 1.45rem 1.8rem;
  box-shadow: var(--shadow);
}
@media (min-width: 720px) { .waitlist-panel { padding: 2.1rem 2.2rem; } }
.waitlist-panel h2 { font-family: var(--display); margin: 0 0 .55rem; font-size: clamp(1.6rem, 3vw, 2rem); }
.waitlist-panel .lead { color: var(--ink-soft); margin: 0 0 1.4rem; max-width: 36rem; }
.form-grid { display: grid; gap: 1rem; }
@media (min-width: 640px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
  .form-grid .full { grid-column: 1 / -1; }
}
label { display: block; font-size: .88rem; font-weight: 600; color: var(--cream); margin-bottom: .35rem; }
label .req { color: var(--accent-soft); }
input, select, textarea {
  width: 100%; background: #16110e; border: 1px solid var(--line); border-radius: 12px;
  color: var(--ink); padding: .78rem .95rem; font: inherit;
  transition: border-color .2s, box-shadow .2s;
}
input:hover, select:hover, textarea:hover { border-color: color-mix(in srgb, var(--cream) 30%, var(--line)); }
input:focus, select:focus, textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 28%, transparent);
  outline: none;
}
textarea { min-height: 110px; resize: vertical; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .85rem; margin-top: .35rem; }
.form-status { font-size: .95rem; min-height: 1.4em; }
.form-status.ok { color: var(--sage-soft); }
.form-status.err { color: #e8a090; }
.hint { color: var(--muted); font-size: .85rem; margin: .85rem 0 0; }

/* Scaffold shells */
.shell-grid { display: grid; gap: 1rem; }
@media (min-width: 800px) { .shell-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 700px) { .shell-grid.cols-2 { grid-template-columns: 1fr 1fr; } }
.stat-card {
  background: var(--bg-elev); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.2rem 1.25rem;
}
.stat-card .stat-label { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.stat-card .stat-value {
  font-family: var(--display); font-size: 1.85rem; margin: .35rem 0 0; color: var(--cream);
}
.product-tile {
  background: var(--bg-elev); border: 1px solid var(--line); border-radius: 14px;
  padding: 1rem; min-height: 140px;
}
.product-tile .ph {
  height: 88px; border-radius: 10px; margin-bottom: .75rem;
  background: linear-gradient(135deg, #3a2e24, #241c16);
  border: 1px dashed var(--line);
}
.storefront-hero {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  background: var(--bg-elev); margin-bottom: 1.5rem;
}
.storefront-hero .cover {
  aspect-ratio: 21 / 9; background: linear-gradient(120deg, #3a2a1f, #2a3328 50%, #1c1612);
  display: grid; place-items: end start; padding: 1.5rem;
}
.storefront-hero h1 { max-width: none; margin: 0; font-size: clamp(1.8rem, 4vw, 2.4rem); }
.table-shell {
  width: 100%; border-collapse: collapse; font-size: .92rem;
}
.table-shell th, .table-shell td {
  text-align: left; padding: .7rem .6rem; border-bottom: 1px solid var(--line);
}
.table-shell th { color: var(--muted); font-weight: 600; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; }

.band {
  border-block: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
  background: color-mix(in srgb, var(--bg-elev) 55%, transparent);
}

.site-footer {
  margin-top: 2rem; border-top: 1px solid var(--line);
  padding: 2.1rem 0 2.5rem; color: var(--muted); font-size: .9rem;
}
.footer-grid { display: grid; gap: 1.35rem; }
@media (min-width: 720px) {
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; align-items: start; }
}
.site-footer h2 {
  font-family: var(--display); color: var(--ink-soft); font-size: 1rem;
  margin: 0 0 .55rem; font-weight: 600;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: .32rem 0; }
.site-footer a { color: var(--ink-soft); text-decoration: none; }
.site-footer a:hover { color: var(--cream); text-decoration: underline; }
.fineprint { margin-top: 1.6rem; font-size: .8rem; color: var(--muted); }

/* Cart badge + filters (file CMS) */
.nav-cart { position: relative; }
.cart-badge {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 1.25rem; height: 1.25rem; padding: 0 .35rem;
  margin-left: .25rem; border-radius: 999px;
  background: var(--accent); color: #1c1612;
  font-size: .72rem; font-weight: 700; vertical-align: middle;
}
.filter-bar label { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: .25rem; }
.filter-bar select, .filter-bar input[type="search"], .filter-bar input[type="number"] {
  background: var(--bg-elev); border: 1px solid var(--line); color: var(--cream);
  border-radius: 8px; padding: .55rem .7rem; font: inherit; min-width: 8rem;
}
.grid-2 { display: grid; gap: 1rem; }
@media (min-width: 800px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.table-shell { width: 100%; border-collapse: collapse; font-size: .92rem; }
.table-shell th, .table-shell td { text-align: left; padding: .55rem .4rem; border-bottom: 1px solid var(--line); }
.table-shell th { color: var(--muted); font-weight: 600; font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; }
