:root {
  --forest: #1c3c30;
  --muted: #5d6d64;
  --terra: #c56b4e;
  --terra-deep: #a85238;
  --cream: #fbf6f0;
  --white: #fffdfb;
  --sage: #e7f2e4;
  --sage-icon: #e3f0df;
  --line: #e5ddd2;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --script: "Caveat", "Segoe Script", cursive;
  --sans: "Outfit", "Segoe UI", sans-serif;
  --shadow: 0 12px 32px rgba(28, 60, 48, 0.08);
  --header: 76px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--cream);
  color: var(--forest);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.5;
}

main { flex: 1; }

img { max-width: 100%; display: block; }

a { color: inherit; }

button, input, select { font: inherit; color: inherit; }

h1, h2, h3, p { margin: 0; }

::selection { background: #f3d2c6; color: var(--forest); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 30;
  background: var(--forest);
  color: white;
  padding: 8px 12px;
  border-radius: 8px;
}

.skip:focus { top: 12px; }

.container {
  width: min(1140px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 253, 251, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(229, 221, 210, 0.9);
}

.header-bar {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
  min-height: var(--header);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--forest);
  justify-self: start;
}

.logo-mark { width: 46px; height: 38px; flex: none; }

.logo-words {
  display: flex;
  flex-direction: column;
  line-height: 0.95;
}

.logo-kicker {
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.logo-name {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.site-nav a {
  text-decoration: none;
  font-weight: 500;
  font-size: 0.96rem;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] { color: var(--terra); }

.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: white;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.burger,
.burger::before,
.burger::after {
  display: block;
  width: 16px;
  height: 2px;
  background: var(--forest);
  position: relative;
  border-radius: 2px;
}

.burger::before,
.burger::after {
  content: "";
  position: absolute;
  left: 0;
}

.burger::before { top: -6px; }
.burger::after { top: 6px; }

.nav-mobile-actions { display: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1;
  cursor: pointer;
  background: transparent;
}

.btn-sm { min-height: 40px; padding: 8px 16px; font-size: 0.92rem; }

.btn-solid { background: var(--terra); color: white; }
.btn-solid:hover { background: var(--terra-deep); }

.btn-line {
  background: white;
  color: var(--terra);
  border-color: #e2b2a3;
}

.btn-line:hover { background: #fdf4f0; border-color: var(--terra); }

.btn-text {
  min-height: 0;
  padding: 8px 2px;
  color: var(--forest);
}

.btn-text:hover { color: var(--terra); }

.btn:focus-visible,
.nav-toggle:focus-visible,
input:focus-visible,
select:focus-visible,
.faq-item button:focus-visible,
.stepper button:focus-visible {
  outline: 3px solid #1c3c30;
  outline-offset: 2px;
}

.hero { padding: 28px 0 12px; }

.hero-grid {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 36px;
  align-items: center;
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 560;
  font-size: clamp(2.7rem, 4.5vw, 4.15rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: var(--forest);
}

.hero h1 .script {
  display: block;
  margin-top: 8px;
  font-family: var(--script);
  font-weight: 600;
  font-size: 1.08em;
  line-height: 0.86;
  letter-spacing: 0;
  color: #c45c45;
}

.hero-lead {
  max-width: 46ch;
  margin-top: 18px;
  color: #4e5e56;
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 26px;
}

.hero-visual {
  position: relative;
  height: 560px;
  border-radius: 28px;
  overflow: hidden;
  background: #c9d7b4;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
}

.chalk {
  position: absolute;
  top: 13%;
  left: 7%;
  background: #1a2822;
  color: #f6f1e8;
  border-radius: 3px;
  padding: 14px 13px 12px;
  box-shadow: 0 0 0 6px #2c261f, 0 14px 24px rgba(0, 0, 0, 0.28);
  transform: rotate(-2deg);
}

.chalk p {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.35;
  text-align: center;
}

.paper-bag {
  position: absolute;
  width: 228px;
  right: 7%;
  bottom: 5%;
  filter: drop-shadow(0 16px 16px rgba(40, 28, 8, 0.28));
}

.bag-shape { width: 100%; height: auto; display: block; }

.bag-logo {
  position: absolute;
  left: 50%;
  top: 64%;
  transform: translate(-50%, -50%);
  width: 68%;
  text-align: center;
  color: var(--forest);
}

.bag-logo strong {
  display: block;
  margin-top: 2px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.features { padding: 42px 0 8px; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px 28px;
}

.feature {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--sage-icon);
  color: #3e6b4a;
  display: grid;
  place-items: center;
}

.feature h2 {
  font-size: 1rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.feature p {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.35;
}

.section { padding: 56px 0; }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 26px;
}

.section-title {
  font-family: var(--serif);
  font-weight: 560;
  font-size: clamp(2rem, 3vw, 2.7rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.link-arrow {
  color: var(--terra);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.link-arrow:hover { text-decoration: underline; text-underline-offset: 3px; }

.meals-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.meal a { text-decoration: none; color: inherit; display: block; }

.meal img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 16px;
  background: #efe6dc;
}

.meal .serve {
  margin: 8px 0 0;
  color: var(--terra);
  font-size: 0.84rem;
  font-weight: 550;
  line-height: 1.3;
}

.meal h3 {
  margin-top: 12px;
  font-size: 1.02rem;
  font-weight: 650;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

.meal .size { margin-top: 2px; color: var(--muted); font-size: 0.9rem; }
.meal .price { margin-top: 2px; font-weight: 700; }
.menu-grid .meal h2 {
  margin-top: 12px;
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 560;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

#how,
#meals,
#community,
#register { scroll-margin-top: 92px; }

.meal-blurb { margin-top: 8px; color: var(--muted); font-size: 0.92rem; }
.meal .btn { margin-top: 14px; }

.how {
  background: var(--sage);
  padding: 72px 0;
}

.steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 12px;
  align-items: stretch;
}

.step {
  background: white;
  border-radius: 18px;
  padding: 18px 16px 20px;
}

.step-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: #3e6b4a;
}

.step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--terra);
  color: white;
  display: grid;
  place-items: center;
  font-size: 0.82rem;
  font-weight: 700;
}

.step h3 { font-size: 1.02rem; font-weight: 700; margin-bottom: 6px; }

.step p { color: var(--muted); font-size: 0.92rem; line-height: 1.45; }

.step-arrow {
  align-self: center;
  color: #7f9786;
  font-size: 1.35rem;
  line-height: 1;
}

.pf {
  margin-top: 28px;
  background: #f7faf5;
  border: 1px solid #d5e4d0;
  border-radius: 22px;
  padding: 26px 28px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
}

.pf h2 {
  font-family: var(--serif);
  font-weight: 560;
  font-size: clamp(1.6rem, 2.4vw, 2.05rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.pf p { margin-top: 6px; color: #4e5e56; max-width: 62ch; }

.closer { padding: 78px 0 28px; }

.closer-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 40px;
  align-items: center;
}

.closer h2 {
  font-family: var(--serif);
  font-weight: 560;
  font-size: clamp(2.3rem, 4vw, 3.5rem);
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.closer p {
  margin: 16px 0 24px;
  max-width: 42ch;
  color: #4e5e56;
  font-size: 1.05rem;
}

.closer img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center 42%;
  border-radius: 28px;
  background: #efe6dc;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--white);
  padding: 28px 0 34px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 12px 24px;
  align-items: start;
}

.footer-grid .tag { margin-top: 8px; color: var(--muted); }

.copyright {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.85rem;
}

.footer-grid nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  justify-content: end;
}

.footer-grid nav a { text-decoration: none; font-weight: 550; }
.footer-grid nav a:hover { color: var(--terra); }

.legal {
  grid-column: 1 / -1;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.page-hero { padding: 42px 0 8px; }

.page-hero h1 {
  font-family: var(--serif);
  font-weight: 560;
  font-size: clamp(2.4rem, 4vw, 3.5rem);
  letter-spacing: -0.035em;
  line-height: 1.02;
  margin-top: 6px;
}

.schools-title { line-height: 1.12; }

.page-hero h2 {
  margin-top: 22px;
  font-family: var(--serif);
  font-weight: 560;
  font-size: clamp(1.45rem, 2.2vw, 1.85rem);
  letter-spacing: -0.03em;
}

.about-copy { max-width: none; }
.about-figure { margin: 28px 0 8px; }
.about-figure img {
  width: 100%;
  height: auto;
  border-radius: 18px;
}
.about-copy p + p { margin-top: 18px; }

.eyebrow {
  color: var(--terra);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.lede {
  max-width: 58ch;
  margin-top: 12px;
  color: #4e5e56;
  font-size: 1.05rem;
}

.lede.schools-lede { max-width: none; }

.lede p + p { margin-top: 14px; }

.partner-lede { max-width: 760px; }

.stack { display: flex; flex-direction: column; gap: 14px; }

.page-block { padding: 28px 0 64px; }

.school-grid,
.menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.school-card,
.panel,
.auth-card,
.summary,
.confirm {
  background: white;
  border: 1px solid #efe7de;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.school-card { padding: 22px; }

.school-card h2 { font-size: 1.25rem; font-family: var(--serif); font-weight: 560; margin: 10px 0 6px; }

.school-card p { color: var(--muted); }

.day-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--sage);
  font-size: 0.8rem;
  font-weight: 700;
}

.menu-grid .meal {
  background: white;
  border-radius: 18px;
  padding: 12px 12px 16px;
  border: 1px solid #efe7de;
}

.split {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 28px;
  align-items: start;
}

.callout {
  background: var(--sage);
  border-radius: 18px;
  padding: 22px;
}

.callout h2 {
  font-family: var(--serif);
  font-weight: 560;
  font-size: 1.8rem;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.prose p + p { margin-top: 14px; }
.prose p { color: #3e5148; font-size: 1.05rem; }
.prose.about-copy p + p { margin-top: 18px; }

.policy { max-width: 68ch; }
.policy h2 {
  font-family: var(--serif);
  font-weight: 560;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
  margin: 28px 0 8px;
}
.policy a { color: var(--terra); }

.faq-list { display: flex; flex-direction: column; gap: 10px; max-width: 760px; }

.faq-item {
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.faq-item button {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 16px 18px;
  font-weight: 650;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.faq-item button::after {
  content: "+";
  flex-shrink: 0;
  color: var(--terra);
  font-weight: 500;
  font-size: 1.4rem;
  line-height: 1;
}

.faq-item button[aria-expanded="true"]::after { content: "–"; }

.faq-panel { padding: 0 18px 16px; color: #4e5e56; }
.faq-panel p + p { margin-top: 12px; }
.faq-panel a { color: var(--terra); text-decoration: underline; text-underline-offset: 2px; }

.order-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.75fr);
  gap: 28px;
  align-items: start;
}

.panel, .summary, .auth-card, .confirm { padding: 22px; }

.summary { position: sticky; top: 96px; }

.field { display: flex; flex-direction: column; gap: 6px; font-weight: 650; font-size: 0.92rem; }

.field input,
.field select,
.field textarea {
  font: inherit;
  font-weight: 450;
  min-height: 46px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid #ddd4c8;
  background: white;
}

.field textarea { min-height: 120px; resize: vertical; }

.btn:disabled { opacity: 0.7; }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.span-2 { grid-column: 1 / -1; }

.lede a,
.fine a,
.hint a { color: var(--terra); }

.mode { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.choice {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  background: white;
  cursor: pointer;
  font-weight: 500;
}

.choice:has(input:checked) {
  border-color: var(--terra);
  background: #fdf6f3;
}

.choice strong { display: block; }
.choice small { display: block; color: var(--muted); font-weight: 500; }

.qty-row {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.qty-row img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 12px;
}

.qty-row p { color: var(--muted); font-size: 0.88rem; }
.qty-row .serve { margin-top: 2px; color: var(--terra); font-size: 0.82rem; }

.stepper { display: flex; align-items: center; gap: 8px; }

.stepper button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #ddd4c8;
  background: white;
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
}

.qty-value { min-width: 1.2ch; text-align: center; font-weight: 700; }

.hint { color: var(--muted); font-size: 0.92rem; }
.error { color: #9c341f; font-weight: 650; }
[hidden] { display: none !important; }

.summary h2, .panel h2, .confirm h2, .auth-card h2 {
  font-family: var(--serif);
  font-weight: 560;
  font-size: 1.7rem;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.summary ul { list-style: none; padding: 0; margin: 12px 0; }
.summary li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  border-bottom: 1px solid #f1ebe4;
}

.total {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 1.15rem;
}

.fine { margin-top: 10px; color: var(--muted); font-size: 0.85rem; }

.auth-wrap { padding-bottom: 56px; }
.auth-card { max-width: 460px; margin: 18px auto 0; }

.confirm { max-width: 680px; margin: 12px auto 48px; }
.confirm p { color: #3e5148; margin: 8px 0 18px; }

@media (max-width: 1100px) {
  .meals-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 920px) {
  .about-title { font-size: 2.15rem; }
  .header-bar { display: flex; justify-content: space-between; }
  .nav-toggle { display: inline-flex; }
  .header-actions .desktop-only { display: none; }

  .site-nav {
    display: none;
    position: fixed;
    top: 74px;
    left: 16px;
    right: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px;
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open { display: flex; }
  .site-nav > a { padding: 12px 10px; border-radius: 10px; }
  .site-nav > a:hover { background: var(--cream); }

  .nav-mobile-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
  }

  .hero-grid,
  .closer-grid,
  .feature-grid,
  .pf,
  .split,
  .order-layout,
  .school-grid,
  .form-grid,
  .footer-grid,
  .mode {
    grid-template-columns: 1fr;
  }

  .feature-grid { grid-template-columns: 1fr 1fr; }

  .hero-visual { height: 460px; }
  .paper-bag { width: 180px; }
  .steps { grid-template-columns: 1fr; }
  .step-arrow { justify-self: center; transform: rotate(90deg); }
  .footer-grid nav { justify-content: start; }
  .summary { position: static; }
  .pf .btn { justify-self: start; }
}

@media (max-width: 640px) {
  .meals-grid,
  .menu-grid,
  .feature-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.55rem; }
  .chalk { left: 16px; }
  .paper-bag { right: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
