/* LACEPOP shared styles — coordinator-owned, do not edit from page tasks */
:root {
  --cream: #FAF6F0;
  --surface: #FFFFFF;
  --ink: #141414;
  --accent: #FF5C39;
  --muted: #6b655e;
  --line: #e6ded2;
  --radius: 16px;
  --font-display: 'Archivo Black', 'Noto Sans SC', sans-serif;
  --font-body: 'Noto Sans SC', sans-serif;
  --font-mono: 'Space Mono', monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
h1, h2, h3, .display { font-family: var(--font-display); font-weight: 900; letter-spacing: -0.01em; line-height: 1.12; }
h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.25rem); }
p { max-width: 65ch; }
.mono { font-family: var(--font-mono); font-size: 0.85rem; letter-spacing: 0.04em; }
.muted { color: var(--muted); }
a { color: inherit; }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.wordmark { font-family: var(--font-display); font-size: 1.5rem; text-decoration: none; letter-spacing: 0.01em; }
.wordmark .pop { color: var(--accent); }
.main-nav { display: flex; gap: 28px; align-items: center; }
.main-nav a { text-decoration: none; font-weight: 500; font-size: 0.95rem; padding: 6px 2px; border-bottom: 2px solid transparent; }
.main-nav a:hover, .main-nav a[aria-current="page"] { border-bottom-color: var(--accent); }
.cart-btn { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
@media (max-width: 860px) {
  .main-nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--cream); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 16px; border-bottom: 1px solid var(--line); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: inline-flex; }
}

/* buttons: one pill style only on the page that uses it */
.btn-pill {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--accent); color: #fff;
  font-weight: 700; text-decoration: none;
  padding: 14px 28px; border-radius: 999px; border: 0;
}
.btn-pill:hover { filter: brightness(0.95); }
.link-thread {
  display: inline-flex; align-items: center; gap: 8px;
  text-decoration: none; font-weight: 700; color: var(--ink);
  border-bottom: 2px solid var(--accent); padding-bottom: 4px;
}
.stamp-btn {
  display: inline-block; background: var(--accent); color: #fff;
  font-weight: 700; text-decoration: none; text-align: center;
  padding: 14px 36px; border: 2px dashed rgba(255,255,255,0.55); outline: 3px solid var(--accent);
}
.viewfinder-link {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; font-weight: 700; padding: 10px 14px; position: relative;
}
.viewfinder-link::before, .viewfinder-link::after {
  content: ""; position: absolute; width: 14px; height: 14px; border: 2px solid var(--accent);
}
.viewfinder-link::before { left: 0; top: 0; border-right: 0; border-bottom: 0; }
.viewfinder-link::after { right: 0; bottom: 0; border-left: 0; border-top: 0; }

/* product cards */
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1024px) { .card-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
.product-card {
  background: var(--surface); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); text-decoration: none; display: block;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.product-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(20,20,20,0.08); }
.product-card img { width: 100%; aspect-ratio: 1/1; object-fit: cover; display: block; }
.product-card .pc-body { padding: 12px 16px 16px; display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.product-card .pc-name { font-weight: 700; font-size: 0.95rem; }
.product-card .pc-price { font-family: var(--font-mono); }
.tag {
  display: inline-block; background: var(--accent); color: #fff;
  font-size: 0.75rem; font-weight: 700; padding: 4px 10px; border-radius: 6px;
}

/* chips */
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  border: 1px solid var(--ink); background: transparent; color: var(--ink);
  border-radius: 999px; padding: 8px 18px; font-weight: 500; cursor: pointer; font-size: 0.9rem;
  text-decoration: none; display: inline-block;
}
.chip.active, .chip:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

/* dark band */
.band-dark { background: var(--ink); color: var(--cream); }
.marquee { overflow: hidden; white-space: nowrap; }
.marquee-track { display: inline-block; animation: scroll 22s linear infinite; font-family: var(--font-display); font-size: clamp(1.4rem, 3vw, 2.2rem); }
.marquee-track .accent { color: var(--accent); }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }
.thread-line { display: block; width: 100%; height: 6px; }
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: center; padding: 56px 0; }
.metrics .num { font-family: var(--font-mono); font-size: clamp(3rem, 8vw, 5.5rem); font-weight: 700; line-height: 1; }
.metrics .lbl { font-weight: 700; margin-top: 8px; }

/* polaroid */
.polaroid { background: #fff; padding: 10px 10px 26px; border: 1px solid var(--line); box-shadow: 0 8px 20px rgba(20,20,20,0.12); }
.polaroid img { display: block; width: 100%; aspect-ratio: 1/1; object-fit: cover; }

/* FAQ */
.faq-row { border-bottom: 1px solid var(--line); }
.faq-row summary { list-style: none; cursor: pointer; display: flex; gap: 18px; align-items: baseline; padding: 20px 0; }
.faq-row summary::-webkit-details-marker { display: none; }
.faq-row .idx { font-family: var(--font-mono); color: var(--accent); }
.faq-row .q { font-weight: 700; flex: 1; }
.faq-row .plus { color: var(--accent); font-weight: 700; }
.faq-row[open] .plus .v { display: none; }
.faq-row .a { padding: 0 0 20px 44px; color: var(--muted); }

/* forms */
.field { display: block; margin-bottom: 26px; }
.field span { display: block; font-weight: 700; margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%; border: 0; border-bottom: 1.5px solid var(--ink); background: transparent;
  padding: 10px 2px; font: inherit; border-radius: 0;
}
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--accent); }
.radio-row { display: flex; gap: 28px; margin: 10px 0 28px; }
.radio-row label { display: inline-flex; gap: 8px; align-items: center; font-weight: 500; }
.radio-row input { accent-color: var(--accent); width: 18px; height: 18px; }

/* footer */
.site-footer { background: var(--ink); color: var(--cream); margin-top: 0; }
.site-footer .wrap { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; padding: 56px 24px 32px; }
.site-footer a { color: var(--cream); text-decoration: none; opacity: 0.85; }
.site-footer a:hover { opacity: 1; color: var(--accent); }
.site-footer .foot-bottom { border-top: 1px solid rgba(250,246,240,0.2); padding: 18px 0 28px; text-align: center; font-size: 0.85rem; opacity: 0.7; }
@media (max-width: 768px) { .site-footer .wrap { grid-template-columns: 1fr; } }

/* page hero paddings */
.page-intro { padding: 64px 0 32px; }
.section-pad { padding: 72px 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
