/* Harvest Table — 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: 980px; 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 {
  font-family: var(--m-font-display), Georgia, serif;
  font-size: 1.3rem; font-weight: 700; color: var(--m-heading);
}
.logo:hover { color: var(--m-accent); }
.links { display: flex; gap: 24px; }
.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; }

/* ---- Prominent hero: crates of produce + week schedule taped over it ---- */
.hero { position: relative; min-height: 78vh; display: flex; align-items: flex-end; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 24%, var(--m-bg) 97%),
              linear-gradient(100deg, var(--m-bg) 2%, transparent 54%);
  opacity: 0.95;
}
.hero-copy { position: relative; width: 100%; padding-top: 90px; padding-bottom: 54px; }
.hero-flex { display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; }
.hero-copy h1 { font-size: clamp(2.2rem, 5.2vw, 3.5rem); line-height: 1.14; color: var(--m-heading); max-width: 600px; }
.hero-copy .intro { margin-top: 16px; color: var(--m-soft); max-width: 520px; }

/* ---- The week: paper schedule taped up over the photo ---- */
.week-card {
  position: relative; flex-shrink: 0; width: 340px;
  background: var(--m-bg); padding: 26px 28px 20px;
  box-shadow: 0 14px 34px rgba(0,0,0,0.22);
  transform: rotate(1.1deg);
}
.week-card::before {
  content: ""; position: absolute; top: -11px; left: 50%; margin-left: -40px;
  width: 80px; height: 22px;
  background: var(--m-accent); opacity: 0.28; transform: rotate(-3deg);
}
.week-head {
  font-family: "Patrick Hand", cursive; font-weight: 400;
  font-size: 1.3rem; color: var(--m-heading); margin-bottom: 8px;
}
.week-row { display: grid; grid-template-columns: 48px 1fr; gap: 14px; padding: 7px 0; border-top: 1px solid var(--m-line); }
.week-row .day {
  font-family: var(--m-font-display), Georgia, serif; font-weight: 700;
  font-size: 0.95rem; color: var(--m-accent); text-transform: uppercase; letter-spacing: 0.04em;
}
.week-row p { font-size: 0.88rem; line-height: 1.5; color: var(--m-text); }
.week-row.quiet p, .week-row.quiet .day { color: var(--m-faint); }

/* ---- Taped needs note ---- */
.needs-band { background: var(--m-surface); padding: 58px 0 64px; }
.needs-flex { display: flex; gap: 56px; align-items: center; flex-wrap: wrap; }
.taped-note {
  position: relative; background: var(--m-bg); padding: 30px 34px 26px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.09);
  transform: rotate(-1.2deg);
  max-width: 340px; flex: none;
}
.taped-note::before, .taped-note::after {
  content: ""; position: absolute; width: 74px; height: 22px;
  background: var(--m-accent); opacity: 0.28; transform: rotate(-4deg);
}
.taped-note::before { top: -10px; left: 26px; }
.taped-note::after { bottom: -8px; right: 30px; transform: rotate(3deg); }
.taped-note h3 {
  font-family: "Patrick Hand", cursive; font-weight: 400;
  font-size: 1.25rem; color: var(--m-heading); letter-spacing: 0.02em;
}
.taped-note ul { list-style: none; margin-top: 10px; }
.taped-note li {
  font-family: "Patrick Hand", cursive; font-size: 1.15rem; line-height: 1.75;
  color: var(--m-text);
}
.taped-note li::before { content: "– "; color: var(--m-accent); }
.needs-side { flex: 1; min-width: 260px; }
.sec-title { font-size: 1.6rem; color: var(--m-heading); }
.needs-side p { margin-top: 12px; font-size: 0.95rem; color: var(--m-soft); max-width: 460px; }
.quiet-link { color: var(--m-accent); text-decoration: underline; text-underline-offset: 4px; }

/* ---- Story ---- */
.story { padding: 66px 0 60px; }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.story-text p { margin-top: 14px; font-size: 0.97rem; color: var(--m-text); }
.pull {
  margin: 22px 0; padding-left: 20px; border-left: 3px solid var(--m-accent);
  font-family: var(--m-font-display), Georgia, serif;
  font-size: 1.25rem; font-style: italic; line-height: 1.5; color: var(--m-heading);
}
.story-photo img { display: block; width: 100%; height: 400px; object-fit: cover; border-radius: 4px; }

/* ---- The money ---- */
.money { padding-bottom: 72px; }
.money .sec-note { margin-top: 8px; font-size: 0.95rem; color: var(--m-soft); max-width: 560px; }
.ledger { margin-top: 24px; max-width: 640px; }
.spend { display: flex; align-items: baseline; gap: 14px; padding: 12px 0; border-top: 1px solid var(--m-line); }
.spend .mo { flex: none; width: 78px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--m-faint); }
.spend .what { flex: 1; font-size: 0.94rem; color: var(--m-text); }
.spend .amt { flex: none; font-weight: 700; color: var(--m-heading); font-variant-numeric: tabular-nums; }
.ledger-foot { margin-top: 18px; font-size: 0.9rem; color: var(--m-soft); font-style: italic; }

/* ---- Sign-up sheet ---- */
.sheet-wrap { margin-top: 44px; max-width: 560px; }
.clipboard {
  position: relative; background: var(--m-surface); border-radius: 6px;
  padding: 44px 34px 30px; box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}
.clipboard .clip {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  color: var(--m-faint);
}
.clipboard h3 { font-size: 1.15rem; color: var(--m-heading); }
.sign-line {
  display: flex; align-items: baseline; gap: 12px;
  border-bottom: 1.5px solid var(--m-line); padding: 10px 2px 2px;
}
.sign-line .slot { flex: none; font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--m-faint); width: 118px; }
.sign-line .name { font-family: "Patrick Hand", cursive; font-size: 1.15rem; color: var(--m-text); transform: rotate(-0.5deg); }
.sign-line .name.n2 { transform: rotate(0.7deg); }
.sheet-note { margin-top: 16px; font-size: 0.92rem; color: var(--m-soft); font-style: italic; }

/* ---- Inner pages ---- */
.page { padding: 56px 0 80px; }
.wrap.page { padding-left: 28px; padding-right: 28px; }
.page-title { font-size: clamp(1.9rem, 4vw, 2.5rem); 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.35rem; color: var(--m-heading); margin-bottom: 8px; }
.prose-block p { margin-top: 12px; font-size: 0.96rem; color: var(--m-text); }
.fine-note { margin-top: 34px; font-size: 0.85rem; font-style: italic; color: var(--m-faint); }

.c-item { padding: 20px 0; border-top: 1px solid var(--m-line); max-width: 620px; }
.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.4rem; font-weight: 600; color: var(--m-accent); }

/* ---- 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); }

@media (max-width: 800px) {
  .hero { min-height: 66vh; }
  .hero-shade {
    background: linear-gradient(180deg, transparent 5%, var(--m-bg) 55%),
                linear-gradient(100deg, var(--m-bg) 6%, transparent 70%);
  }
  .hero-copy { padding-top: 100px; padding-bottom: 44px; }
  .hero-flex { flex-direction: column; align-items: flex-start; gap: 36px; }
  .week-card { width: 100%; max-width: 360px; transform: rotate(0.6deg); }
  .story-grid { grid-template-columns: 1fr; gap: 32px; }
  .story-photo img { height: 280px; }
  .needs-flex { gap: 36px; }
  .taped-note { transform: rotate(-0.8deg); max-width: 100%; }
  .spend .mo { width: 58px; }
  .links { gap: 14px; }
  .links a { font-size: 0.78rem; }
  .foot-row { flex-direction: column; gap: 6px; }
}
