/* Shopbell — structure stylesheet. Colors come ONLY from var(--m-*) set in seasoning.css. */

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background: var(--m-bg);
  color: var(--m-text);
  font-family: var(--m-font-body), system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--m-font-display), Georgia, serif; font-weight: 600; }

a { color: inherit; text-decoration: none; transition: color 0.18s ease; }

.wrap { max-width: 960px; margin: 0 auto; padding: 0 28px; }

/* ---- Navigation ---- */
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 0; border-bottom: 1px solid var(--m-line);
}
.logo { display: flex; align-items: center; gap: 10px; color: var(--m-heading); }
.logo .bell { color: var(--m-accent); flex: none; transform-origin: 50% 4px; animation: bell-swing 1.1s ease-in-out 0.4s 1; }
@keyframes bell-swing {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(13deg); }
  55% { transform: rotate(-9deg); }
  80% { transform: rotate(4deg); }
}
@media (prefers-reduced-motion: reduce) { .logo .bell { animation: none; } }
.logo .name { font-family: var(--m-font-display), Georgia, serif; font-size: 1.2rem; font-weight: 700; }
.logo:hover .name { color: var(--m-accent); }
.links { display: flex; gap: 22px; }
.links a { font-size: 0.88rem; color: var(--m-soft); }
.links a:hover { color: var(--m-accent); }
.links a[aria-current="page"] { color: var(--m-heading); font-weight: 600; }

/* ---- Hero ---- */
.hero { padding: 56px 0 64px; }
.hero-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 52px; align-items: center; }
.hero-photo img { display: block; width: 100%; height: 460px; object-fit: cover; border-radius: 5px; }
.hero-copy h1 { font-size: clamp(1.9rem, 4.2vw, 2.7rem); line-height: 1.16; color: var(--m-heading); }
.hero-copy .intro { margin-top: 16px; color: var(--m-soft); max-width: 480px; }
.quiet-link { color: var(--m-accent); text-decoration: underline; text-underline-offset: 4px; }
.hero-copy .quiet-link { display: inline-block; margin-top: 18px; font-size: 0.92rem; }

/* ---- Sandwich board ---- */
.board-band { background: var(--m-surface); padding: 56px 0 64px; }
.board-flex { display: flex; gap: 56px; align-items: center; flex-wrap: wrap; }
.aframe { flex: none; position: relative; width: 300px; padding-top: 10px; }
.aframe .board {
  background: var(--m-heading);
  border: 6px solid var(--m-line);
  border-radius: 6px;
  padding: 24px 22px 20px;
  transform: rotate(-1.2deg);
  box-shadow: 0 8px 20px rgba(0,0,0,0.16);
}
.aframe .board h3 {
  font-family: "Annie Use Your Telescope", cursive; font-weight: 400;
  color: var(--m-bg); font-size: 1.5rem; letter-spacing: 0.04em;
  border-bottom: 2px dashed var(--m-faint); padding-bottom: 6px;
}
.aframe .board ul { list-style: none; margin-top: 12px; }
.aframe .board li {
  font-family: "Annie Use Your Telescope", cursive;
  font-size: 1.25rem; line-height: 1.6; color: var(--m-bg);
}
.aframe .legs {
  display: block; margin: -3px auto 0; width: 240px; height: 26px; color: var(--m-line);
}
.board-side { flex: 1; min-width: 260px; }
.sec-title { font-size: 1.6rem; color: var(--m-heading); }
.board-side p { margin-top: 12px; font-size: 0.95rem; color: var(--m-soft); max-width: 440px; }

/* ---- Shelf talkers ---- */
.talkers { padding: 64px 0 70px; }
.sec-note { margin-top: 8px; color: var(--m-soft); font-size: 0.95rem; max-width: 560px; }
.talker-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 34px; margin-top: 30px; }
.talker {
  position: relative;
  background: var(--m-surface);
  border-radius: 3px;
  padding: 22px 24px 20px;
  box-shadow: 0 3px 9px rgba(0,0,0,0.08);
}
.talker:nth-child(odd) { transform: rotate(-0.6deg); }
.talker:nth-child(even) { transform: rotate(0.5deg); }
.talker::before {
  content: ""; position: absolute; top: -9px; left: 50%; margin-left: -34px;
  width: 68px; height: 20px;
  background: var(--m-accent); opacity: 0.25; transform: rotate(-2deg);
}
.talker .row { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; }
.talker h3 { font-size: 1.12rem; color: var(--m-heading); }
.talker .price {
  font-family: "Annie Use Your Telescope", cursive;
  font-size: 1.45rem; color: var(--m-accent); white-space: nowrap;
}
.talker p { margin-top: 8px; font-size: 0.9rem; line-height: 1.6; color: var(--m-soft); }

/* ---- How buying works ---- */
.buying { padding-bottom: 72px; }
.buy-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 10px; align-items: center; }
.buy-text p { margin-top: 12px; font-size: 0.96rem; color: var(--m-text); }
.buy-text strong { color: var(--m-heading); font-weight: 600; }
.buy-photo img { display: block; width: 100%; height: 380px; object-fit: cover; border-radius: 5px; }

/* ---- Inner pages ---- */
.page { padding: 56px 0 80px; }
.wrap.page { padding-left: 28px; padding-right: 28px; }
.page-title { font-size: clamp(1.8rem, 4vw, 2.4rem); color: var(--m-heading); line-height: 1.2; }
.page-lede { margin-top: 14px; color: var(--m-soft); max-width: 560px; }
.prose-block { margin-top: 42px; max-width: 620px; }
.prose-block h2 { font-size: 1.3rem; color: var(--m-heading); margin-bottom: 8px; }
.prose-block p { margin-top: 12px; font-size: 0.96rem; color: var(--m-text); }
.prose-block strong { color: var(--m-heading); font-weight: 600; }

.c-item { padding: 20px 0; border-top: 1px solid var(--m-line); max-width: 560px; }
.c-item h3 { font-size: 1.1rem; color: var(--m-heading); margin-bottom: 4px; }
.c-item p { font-size: 0.94rem; color: var(--m-soft); }
.c-item .big-line { font-family: var(--m-font-display), Georgia, serif; font-size: 1.5rem; font-weight: 700; color: var(--m-accent); }
.fine-note { margin-top: 32px; font-size: 0.85rem; font-style: italic; color: var(--m-faint); }

/* ---- Footer ---- */
footer { border-top: 1px solid var(--m-line); padding: 30px 0 38px; }
.foot-row { display: flex; justify-content: space-between; gap: 20px; font-size: 0.85rem; color: var(--m-soft); flex-wrap: wrap; }
.foot-legal { margin-top: 12px; font-size: 0.78rem; color: var(--m-faint); font-style: italic; }

@media (max-width: 800px) {
  .hero { padding: 38px 0 50px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-photo img { height: 300px; }
  .board-flex { gap: 36px; }
  .aframe { margin: 0 auto; }
  .talker-grid { grid-template-columns: 1fr; gap: 22px; }
  .buy-cols { grid-template-columns: 1fr; gap: 30px; }
  .buy-photo img { height: 280px; }
  .logo .name { font-size: 1rem; }
  .links { gap: 12px; }
  .links a { font-size: 0.76rem; }
  .foot-row { flex-direction: column; gap: 6px; }
}
