/* NIA House Montessori — Smoked Turkey Drive
   Palette built from the school logo: NIA Teal + Sunshine, with Ember (teal's complement) reserved for order buttons. */
:root {
  --paper: #ffffff;
  --mist: #f3f9f9;
  --sunwash: #fffbe6;
  --line: #e1ecee;
  --ink: #18292c;
  --ink-2: #3d5357;
  --muted: #62777b;
  --teal: #64b2be;        /* logo teal */
  --lagoon: #1d5c66;      /* deep teal */
  --lagoon-hover: #154850;
  --sun: #f0da4b;         /* logo yellow */
  --sun-ink: #3a3305;
  --ember: #c4552c;       /* order buttons */
  --ember-hover: #a8451f;
  --band: #133f46;
  --band-ink: #e6f2f2;
  --band-muted: #9fc2c6;
  --radius: 22px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(24, 41, 44, .06), 0 14px 34px -16px rgba(24, 41, 44, .28);
  --shadow-lg: 0 2px 4px rgba(24, 41, 44, .06), 0 30px 60px -24px rgba(24, 41, 44, .32);
  --display: "Nunito", "Varela Round", "Segoe UI", system-ui, sans-serif;
  --sans: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;
  --wrap: 1160px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--lagoon); text-underline-offset: 3px; }
a:hover { color: var(--lagoon-hover); }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3 { font-family: var(--display); color: var(--ink); line-height: 1.12; letter-spacing: -.01em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); font-weight: 900; }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.35rem; font-weight: 800; }
p { margin: 0 0 1em; }
svg { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55em;
  font: 700 .8rem/1.2 var(--sans); letter-spacing: .13em; text-transform: uppercase;
  color: var(--lagoon); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: .7em; height: .7em; border-radius: 50%; background: var(--sun); flex: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font: 700 1rem/1 var(--sans); padding: 1em 1.55em; border-radius: 999px;
  border: 2px solid transparent; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn svg { transition: transform .2s; }
.btn:hover svg:last-child { transform: translateX(2px); }
.btn-primary { background: var(--ember); color: #fff; box-shadow: 0 10px 22px -12px var(--ember); }
.btn-primary:hover { background: var(--ember-hover); color: #fff; transform: translateY(-1px); }
.btn-outline, .btn-ghost { border-color: var(--lagoon); color: var(--lagoon); background: transparent; }
.btn-outline:hover, .btn-ghost:hover { background: var(--lagoon); color: #fff; }
.btn-light { background: #fff; color: var(--lagoon); }
.btn-light:hover { background: var(--sun); color: var(--sun-ink); transform: translateY(-1px); }
.btn-ghost-light { color: #fff; border-color: rgba(255, 255, 255, .6); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .12); color: #fff; border-color: #fff; }
.btn-disabled { background: var(--mist); color: var(--muted); cursor: not-allowed; width: 100%; }
.btn-lg { font-size: 1.05rem; padding: 1.05em 1.7em; }
.btn-sm { font-size: .92rem; padding: .7em 1.15em; }
.btn-block { width: 100%; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Announcement + nav ---------- */
.announce {
  display: flex; align-items: center; justify-content: center; gap: .6em; flex-wrap: wrap;
  background: var(--lagoon); color: #fff; font-size: .94rem; font-weight: 600;
  padding: .6rem 16px; text-align: center;
}
.announce svg { color: var(--sun); }

.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s;
}
.nav.scrolled { box-shadow: 0 6px 20px -16px rgba(24, 41, 44, .5); }
.nav-inner { display: flex; align-items: center; gap: 28px; min-height: 78px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand-logo { height: 44px; width: auto; }
.brand-label { font: 800 .78rem/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); border-left: 1px solid var(--line); padding-left: 14px; }
.brand-text { font: 800 1.15rem/1.2 var(--display); color: var(--lagoon); }
.nav-links { display: flex; gap: 24px; }
.nav-links a { color: var(--ink-2); text-decoration: none; font-weight: 600; }
.nav-links a:hover { color: var(--lagoon); }

/* ---------- Hero ---------- */
.hero { padding: 56px 0 72px; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 52px; align-items: center; }
.hero h1 { margin-bottom: .45em; }
.hero h1 em { font-style: normal; color: var(--lagoon); }
.lede { font-size: 1.2rem; color: var(--ink-2); max-width: 34em; margin-bottom: 1.8rem; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 14px 30px; margin: 2rem 0 0; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.hero-facts > div { display: flex; align-items: center; gap: 12px; }
.hero-facts dt { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--mist); color: var(--lagoon); }
.hero-facts dd { margin: 0; display: flex; flex-direction: column; line-height: 1.25; }
.hero-facts dd strong { font-weight: 700; }
.hero-facts dd span { font-size: .9rem; color: var(--muted); }
.countdown {
  display: inline-flex; align-items: center; gap: .5em; margin: 1.4rem 0 0;
  padding: .45em 1em; border-radius: 999px; font-weight: 700; font-size: .95rem;
  background: var(--sunwash); color: var(--ink); border: 1px solid rgba(240, 218, 75, .6);
}
.countdown::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 3px rgba(240, 218, 75, .35); }

.hero-art { position: relative; aspect-ratio: 1 / .96; max-width: 540px; width: 100%; justify-self: center; }
.hero-blob { position: absolute; inset: 6% 0 0 10%; border-radius: 46% 54% 50% 50% / 52% 44% 56% 48%; background: var(--mist); }
.photo { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--mist); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-main { position: absolute; top: 0; right: 0; width: 80%; aspect-ratio: 1; border: 7px solid var(--paper); }
.photo-inset { position: absolute; left: 0; bottom: 0; width: 42%; aspect-ratio: 2 / 3; border: 7px solid var(--paper); transform: rotate(-3deg); }
.hero-seal {
  position: absolute; right: 2%; bottom: 6%; width: 118px; height: 118px; border-radius: 50%;
  background: var(--sun); color: var(--sun-ink); display: grid; place-items: center; text-align: center;
  font: 900 1rem/1.08 var(--display); box-shadow: var(--shadow-lg);
}
.hero-seal::after { content: ""; position: absolute; top: 18%; right: 22%; width: 22%; height: 12%; border-top: 3px solid rgba(255, 255, 255, .75); border-radius: 50%; transform: rotate(32deg); }

/* ---------- Stats ---------- */
.stats { background: var(--lagoon); color: #fff; padding: 30px 0; }
.stat-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.stat-list li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; }
.stat-list strong { font: 900 2.2rem/1.1 var(--display); color: var(--sun); }
.stat-list span { opacity: .9; font-size: .98rem; }
.progress-card { margin: 0 auto 26px; max-width: 760px; }
.progress-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.progress-raised { font: 900 2rem/1 var(--display); color: var(--sun); }
.progress-of { opacity: .85; }
.progress-label { font-weight: 700; }
.progress-bar { height: 14px; background: rgba(255, 255, 255, .18); border-radius: 999px; overflow: hidden; }
.progress-bar span { display: block; height: 100%; background: var(--sun); border-radius: inherit; transition: width 1.2s ease; }
.progress-sub { margin: 10px 0 0; text-align: center; opacity: .9; }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-head { text-align: center; max-width: 660px; margin: 0 auto 44px; display: flex; flex-direction: column; align-items: center; }
.section-head p:last-child { color: var(--ink-2); font-size: 1.12rem; margin: 0; }

/* ---------- Products ---------- */
.featured-list { display: grid; gap: 26px; margin-bottom: 64px; }
.product {
  position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; min-width: 0;
  transition: transform .25s, box-shadow .25s;
}
.product:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
/* Signature frame is drawn as a ring, not a border, so its photo stays the same size as its neighbor's. */
.product-signature, .product-signature:hover { box-shadow: 0 0 0 3px var(--teal), var(--shadow-lg); }
.product h3 { margin-bottom: .3em; }
.product .btn { margin-top: auto; }
.product-desc { color: var(--ink-2); }
.price-row { display: flex; align-items: baseline; gap: 10px; margin-bottom: 14px; }
.price { font: 900 2.6rem/1 var(--display); color: var(--ink); display: inline-flex; align-items: flex-start; font-variant-numeric: tabular-nums; }
.price-cur { font-size: .45em; margin-top: .3em; margin-right: 2px; color: var(--muted); }
.price-any svg { width: 2.4rem; height: 2.4rem; color: var(--ember); }
.price-note { color: var(--muted); }
.badge { display: inline-block; align-self: flex-start; font: 800 .74rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; background: var(--sun); color: var(--sun-ink); padding: .6em .95em; border-radius: 999px; margin-bottom: 14px; }
.badge-soft { position: absolute; top: -11px; left: 22px; background: var(--lagoon); color: #fff; margin: 0; }
.checks { list-style: none; padding: 0; margin: 0 0 1.6rem; display: grid; gap: .5rem; }
.checks li { display: flex; gap: .6em; align-items: flex-start; }
.checks svg { display: none; }
.checks li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--teal); margin-top: .55em; flex: none; }

.product-featured { flex-direction: row; padding: 0; overflow: hidden; }
.product-featured .product-media { flex: 0 0 42%; min-height: 400px; background: var(--mist); position: relative; }
.product-featured .product-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.product-featured .product-body { padding: 40px 44px; display: flex; flex-direction: column; flex: 1; }
.product-featured h3 { font-size: 1.9rem; }
.product-featured .price { font-size: 3rem; }
.product-featured .btn { margin-top: 8px; align-self: flex-start; }
.featured-multi { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.featured-multi .product-featured { flex-direction: column; }
.featured-multi .product-featured .product-media { flex: none; width: 100%; min-height: 0; aspect-ratio: 4 / 3; }
.featured-multi .product-featured .product-body { padding: 30px 32px 32px; }
.featured-multi .product-featured .btn { align-self: stretch; margin-top: auto; }

.low-stock { margin: -6px 0 14px; font-weight: 700; color: var(--ember); font-size: .95rem; }
.give-title { text-align: center; font: 800 1.45rem/1.2 var(--display); margin-bottom: 32px; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 22px; }
.product-grid .price { color: var(--lagoon); font-size: 2.4rem; }
.pay-note { text-align: center; color: var(--muted); font-size: .95rem; max-width: 640px; margin: 36px auto 12px; }
.local-only { display: flex; gap: .6em; justify-content: center; align-items: flex-start; color: var(--ink-2); font-size: .98rem; max-width: 640px; margin: 0 auto; }
.local-only svg { color: var(--ember); margin-top: .25em; }

/* ---------- Cause & steps ---------- */
.cause, .pickup { border-block: 1px solid var(--line); }
.cause-grid, .steps-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 64px; align-items: center; }
.steps-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
.photo-tilt, .photo-tilt-r { aspect-ratio: 3 / 4; max-width: 400px; width: 100%; margin: 0 auto; border-radius: 28px; border: 8px solid var(--paper); box-shadow: var(--shadow-lg); }
.cause-copy, .steps-copy { min-width: 0; }
.cause-copy p:not(.eyebrow) { color: var(--ink-2); max-width: 60ch; }
.text-link { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

.step-list { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; gap: 24px; }
.step-list li { display: flex; gap: 18px; }
.step-num { flex: none; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: var(--sun); color: var(--sun-ink); font: 900 1.3rem/1 var(--display); }
.step-list h3 { font-size: 1.25rem; margin-bottom: .15em; }
.step-list p { margin: 0; color: var(--ink-2); }

/* ---------- Pickup ---------- */
.pickup-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg); background: var(--paper); border: 1px solid var(--line); }
.pickup-card { padding: 48px 44px; }
.pickup-list { list-style: none; padding: 0; margin: 1.4rem 0; display: grid; gap: 16px; }
.pickup-list li { display: flex; gap: 14px; align-items: flex-start; }
.pickup-list svg { width: 22px; height: 22px; color: var(--lagoon); margin-top: 3px; }
.pickup-list div { display: flex; flex-direction: column; line-height: 1.35; }
.pickup-list strong a { color: inherit; text-decoration: none; }
.pickup-list strong a:hover { color: var(--lagoon); }
.pickup-list span { color: var(--muted); font-size: .96rem; }
.pickup-notes { font-size: .98rem; color: var(--ink-2); background: var(--sunwash); border-radius: var(--radius-sm); padding: 14px 18px; }
.map { min-height: 420px; background: var(--mist); position: relative; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 820px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 4px; font: 800 1.12rem/1.35 var(--display); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--lagoon); }
.faq-list summary i { flex: none; position: relative; width: 30px; height: 30px; border-radius: 50%; background: var(--mist); }
.faq-list summary i::before, .faq-list summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--lagoon); transform: translate(-50%, -50%); transition: transform .25s; }
.faq-list summary i::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-list details[open] summary i::after { transform: translate(-50%, -50%) rotate(0); }
.faq-a { padding: 0 4px 20px; color: var(--ink-2); max-width: 64ch; }
.faq-a p:last-child { margin-bottom: 0; }

/* ---------- Closing band ---------- */
.closing { position: relative; isolation: isolate; color: #fff; padding: 104px 0; text-align: center; background: var(--band) var(--bg, none) center / cover no-repeat; }
.closing::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 34, 38, .78), rgba(10, 34, 38, .88)); }
.closing-inner { max-width: 780px; }
.closing h2 { color: #fff; }
.closing p { font-size: 1.18rem; color: #d6ecee; margin-bottom: 2rem; }
.closing .cta-row { justify-content: center; }

/* ---------- Footer ---------- */
.footer { background: var(--band); color: var(--band-muted); padding: 56px 0 28px; font-size: .96rem; }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; }
.footer-logo { display: inline-block; background: #fff; border-radius: 14px; padding: 10px 14px; margin-bottom: 14px; }
.footer-logo img { height: 38px; width: auto; }
.footer-brand { font: 800 1.35rem/1.2 var(--display); color: #fff; margin-bottom: .4rem; }
.footer-note { max-width: 460px; font-size: .92rem; margin-top: .8rem; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; align-content: start; }
.footer-links a { color: var(--band-ink); text-decoration: none; display: inline-flex; align-items: center; gap: .55em; }
.footer-links a:hover { color: var(--sun); }
.footer-links svg { color: var(--sun); }
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .86rem; }
.footer-staff { display: inline-flex; gap: 20px; }
.footer-admin { color: var(--band-muted); text-decoration: none; }
.footer-admin:hover { color: #fff; }

/* ---------- Mobile sticky CTA ---------- */
.mobile-bar { display: none; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .hero-grid, .cause-grid, .steps-grid, .pickup-grid { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .pickup-grid { gap: 0; }
  .steps-grid .photo-tilt-r { order: -1; }
  .photo-tilt, .photo-tilt-r { max-width: 320px; }
  .product-featured { flex-direction: column; }
  .product-featured .product-media { flex: none; min-height: 0; aspect-ratio: 16 / 10; }
  .featured-multi .product-featured .product-media { aspect-ratio: 4 / 3; }
  .featured-multi { grid-template-columns: minmax(0, 1fr); }
  .nav-links { display: none; }
}
@media (max-width: 720px) {
  .wrap { padding: 0 16px; }
  .nav-inner { min-height: 66px; gap: 12px; }
  .brand-logo { height: 34px; }
  .announce svg { display: none; }
  .brand-label { display: none; }
  .hero { padding: 32px 0 52px; }
  .lede { font-size: 1.1rem; }
  .cta-row .btn-lg { flex: 1 1 100%; }
  .hero-seal { width: 92px; height: 92px; font-size: .84rem; }
  .section { padding: 64px 0; }
  .stat-list { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .product-featured .product-body, .featured-multi .product-featured .product-body { padding: 24px 22px 26px; }
  .product-featured .btn { align-self: stretch; }
  .pickup-card { padding: 32px 22px; }
  .map { min-height: 300px; }
  .closing { padding: 80px 0; }
  .footer { padding-bottom: 100px; }
  .mobile-bar {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, .96); border-top: 1px solid var(--line); backdrop-filter: blur(8px);
    transform: translateY(110%); transition: transform .3s;
  }
  .mobile-bar.show { transform: none; }
}
