/* LilacHands Studios — shared public styles */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,600&family=DM+Sans:wght@400;500;700&display=swap');

:root {
  --cream: #fbf8f4;
  --paper: #ffffff;
  --lilac-50: #f6f1fb;
  --lilac-100: #ece2f6;
  --lilac-200: #dccaee;
  --lilac-300: #c4a8e0;
  --lilac-500: #9a76c4;
  --lilac-700: #6b4c8a;
  --plum: #3b2950;
  --ink: #2a2033;
  --muted: #6e6278;
  --sage: #8ea58a;
  --sage-100: #e7efe5;
  --apricot: #e9a27c;
  --apricot-100: #fbe9df;
  --line: #e6dcef;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(59, 41, 80, .06), 0 8px 24px rgba(59, 41, 80, .08);
  --display: 'Fraunces', Georgia, serif;
  --body: 'DM Sans', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font: 16px/1.6 var(--body);
}
img { max-width: 100%; display: block; }
a { color: var(--lilac-700); }
a:hover { color: var(--plum); }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.15; color: var(--plum); margin: 0 0 .4em; }
h1 { font-size: clamp(2.2rem, 6vw, 3.8rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* header */
.site-head { padding: 18px 0; }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--plum); }
.brand svg { width: 38px; height: 38px; flex: none; }
.brand span { font-family: var(--display); font-size: 1.3rem; font-weight: 600; line-height: 1; }
.brand small { display: block; font-family: var(--body); font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.nav { display: flex; gap: 6px; flex-wrap: wrap; }
.nav a { text-decoration: none; color: var(--plum); font-weight: 500; padding: 8px 14px; border-radius: 999px; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--lilac-100); }

/* buttons + forms */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 1rem var(--body); border: 0; border-radius: 999px; padding: 12px 22px; cursor: pointer;
  background: var(--plum); color: #fff; text-decoration: none; transition: transform .15s, background .15s;
}
.btn:hover { background: var(--lilac-700); color: #fff; transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--plum); box-shadow: inset 0 0 0 1.5px var(--lilac-300); }
.btn.ghost:hover { background: var(--lilac-50); color: var(--plum); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
input, textarea, select {
  font: inherit; color: inherit; width: 100%; padding: 12px 16px; border-radius: 12px;
  border: 1.5px solid var(--line); background: var(--paper);
}
input:focus, textarea:focus, select:focus, .btn:focus-visible, a:focus-visible { outline: 3px solid var(--lilac-300); outline-offset: 2px; }
.signup { display: flex; gap: 8px; flex-wrap: wrap; max-width: 480px; }
.signup input[type=email] { flex: 1 1 220px; border-radius: 999px; }
.signup .hp { position: absolute; left: -9999px; }
.form-msg { min-height: 1.5em; font-size: .95rem; margin-top: 8px; }
.form-msg.ok { color: #3f6b3a; }
.form-msg.err { color: #a2412a; }

.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: var(--lilac-100); color: var(--lilac-700); font-weight: 600; font-size: .85rem; }
.pill::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--lilac-500); animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: .35; } }

.card { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; }
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
section { padding: 48px 0; }

/* products */
.product { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.product .ph { aspect-ratio: 4/3; background: var(--lilac-50); display: grid; place-items: center; color: var(--lilac-500); font-family: var(--display); }
.product .ph img { width: 100%; height: 100%; object-fit: cover; }
.product .body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.product .cat { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.product .price { font-weight: 700; color: var(--plum); }

/* markets */
.market { display: grid; grid-template-columns: 72px 1fr; gap: 16px; align-items: start; }
.datebox { background: var(--lilac-100); border-radius: 14px; text-align: center; padding: 8px 4px; color: var(--plum); }
.datebox b { display: block; font-family: var(--display); font-size: 1.8rem; line-height: 1; }
.datebox span { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; }
.market h3 { margin-bottom: 2px; }
.market .meta { color: var(--muted); font-size: .95rem; }
.market .links { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 6px; font-size: .95rem; }

/* social links */
.socials { display: flex; flex-wrap: wrap; gap: 10px; }
.socials a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: var(--paper); box-shadow: var(--shadow); text-decoration: none; color: var(--plum); font-weight: 600; }
.socials a:hover { background: var(--lilac-50); }
.socials svg { width: 18px; height: 18px; }

.site-foot { padding: 40px 0 56px; color: var(--muted); font-size: .92rem; border-top: 1px solid var(--line); margin-top: 32px; }
.site-foot .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.site-foot a { color: var(--muted); }

.empty { color: var(--muted); font-style: italic; }
.simple-msg { max-width: 480px; margin: 15vh auto; text-align: center; padding: 0 16px; }

@media (prefers-reduced-motion: reduce) { *, *::before { animation: none !important; transition: none !important; } }
