:root {
  --forest: #123f36;
  --forest-deep: #0a2b25;
  --moss: #4f745c;
  --sage: #dce7da;
  --cream: #f6f1e7;
  --paper: #fffdf8;
  --sun: #e4ad32;
  --blue: #2d5f92;
  --blue-deep: #173d63;
  --sky: #dce9f3;
  --ink: #172822;
  --muted: #68766e;
  --line: #d9dfd7;
  --shadow: 0 24px 65px rgba(18, 63, 54, 0.13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  line-height: 1.55;
}
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
.skip-link { position: fixed; left: 1rem; top: -6rem; z-index: 100; background: white; padding: .8rem 1rem; border-radius: .5rem; }
.skip-link:focus { top: 1rem; }
.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; }

.site-header {
  width: min(1180px, calc(100% - 40px));
  height: 84px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: inline-flex; align-items: center; gap: .8rem; text-decoration: none; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 50% 50% 48% 52%;
  display: grid; place-items: center;
  background: var(--forest); color: white;
  font-family: "Fraunces", serif; font-size: 1.35rem;
  box-shadow: inset -6px -4px 0 rgba(255,255,255,.08);
}
.brand-copy { display: grid; line-height: 1.08; }
.brand-copy strong { font-family: "Fraunces", serif; font-size: 1.04rem; }
.brand-copy small { margin-top: .25rem; color: var(--moss); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
nav { display: flex; align-items: center; gap: 2rem; }
nav a { color: #375149; font-size: .9rem; font-weight: 600; text-decoration: none; }
nav a:hover { color: var(--forest); }
nav .nav-cta { color: white; background: var(--forest); padding: .72rem 1rem; border-radius: 999px; }

.hero {
  width: min(1240px, calc(100% - 32px));
  min-height: 650px;
  margin: 0 auto;
  padding: 72px clamp(28px, 6vw, 86px);
  border-radius: 28px;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  align-items: center;
  gap: clamp(48px, 7vw, 92px);
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 14%, rgba(255,255,255,.9) 0 2px, transparent 3px),
    radial-gradient(circle at 20% 80%, rgba(255,255,255,.75) 0 2px, transparent 3px),
    linear-gradient(135deg, var(--cream) 0%, #f7f3e8 62%, var(--sky) 100%);
}
.hero-copy { position: relative; z-index: 1; align-self: start; padding-top: clamp(22px, 4vw, 56px); }
.eyebrow { display: flex; align-items: center; gap: .6rem; margin: 0 0 1rem; color: var(--blue); font-size: .77rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow span { width: 28px; height: 2px; background: currentColor; }
h1, h2, h3 { font-family: "Fraunces", serif; line-height: 1.05; }
h1 { max-width: 670px; margin: 0; color: var(--forest-deep); font-size: clamp(3.1rem, 6vw, 5.75rem); letter-spacing: -.045em; }
.hero-intro { max-width: 585px; margin: 1.6rem 0 0; color: #52665d; font-size: clamp(1.05rem, 1.8vw, 1.25rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2rem; }
.button { min-height: 48px; padding: .82rem 1.2rem; border: 1px solid transparent; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; text-decoration: none; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); }
.button:focus-visible, .filter:focus-visible, .text-button:focus-visible, .close-button:focus-visible { outline: 3px solid rgba(243, 180, 63, .75); outline-offset: 3px; }
.button-primary { background: var(--forest); color: white; box-shadow: 0 10px 24px rgba(18, 63, 54, .19); }
.button-primary:hover { background: #0b332b; }
.button-secondary { border-color: #9db5ca; background: rgba(255,255,255,.62); color: var(--blue-deep); }
.button-sun { background: var(--sun); color: var(--forest-deep); }
.button-full { width: 100%; }
button:disabled { cursor: not-allowed; opacity: .45; transform: none !important; box-shadow: none; }
.hero-visual { position: relative; min-height: 480px; display: grid; place-items: center; }
.sun-shape { position: absolute; width: 420px; height: 420px; border-radius: 50%; background: var(--sky); box-shadow: 52px 36px 0 var(--sun); }
.sun-shape::before, .sun-shape::after { content: ""; position: absolute; border: 1px solid rgba(18,63,54,.15); border-radius: 50%; }
.sun-shape::before { inset: -26px; }
.sun-shape::after { inset: 46px; }
.bundle-card { position: relative; z-index: 2; width: min(390px, 84vw); padding: 1.45rem; border: 1px solid rgba(255,255,255,.8); border-radius: 24px; background: rgba(255,253,248,.96); box-shadow: var(--shadow); transform: rotate(-2deg); }
.bundle-kicker, .mini-label { margin: 0 0 .4rem; color: var(--blue); font-size: .72rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.bundle-price { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.bundle-price span { font: 700 1.45rem/1.1 "Fraunces", serif; color: var(--forest); }
.bundle-price strong { font: 700 3rem/1 "Fraunces", serif; color: var(--forest-deep); }
.bundle-savings { margin-top: .65rem; padding: .55rem .7rem; border-radius: 9px; display: flex; justify-content: space-between; gap: .75rem; background: #fff1bf; color: var(--blue-deep); font-size: .72rem; }
.bundle-savings strong { text-transform: uppercase; letter-spacing: .06em; }
.bundle-savings span { color: var(--blue); font-weight: 800; }
.bundle-card > p:last-child { margin: 1rem 0 0; color: var(--muted); font-size: .84rem; }
.bundle-photo { width: 100%; aspect-ratio: 4 / 3; margin-top: 1rem; display: block; object-fit: cover; border-radius: 15px; box-shadow: 0 12px 24px rgba(28,54,43,.17); }
.note-card { position: absolute; z-index: 3; right: -8px; bottom: 28px; display: flex; align-items: center; gap: .75rem; width: 245px; padding: 1rem; border-radius: 16px; background: var(--forest); color: white; box-shadow: 0 18px 36px rgba(18,63,54,.25); }
.note-card > span { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--sun); color: var(--forest); font-weight: 800; }
.note-card p { margin: 0; font-size: .72rem; line-height: 1.4; }

.meal-section { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 110px 0; }
.section-heading { display: grid; grid-template-columns: 1.35fr .65fr; align-items: end; gap: 2rem; }
.section-heading h2, .support-section h2 { max-width: 760px; margin: 0; font-size: clamp(2.45rem, 5vw, 4rem); letter-spacing: -.035em; color: var(--forest-deep); }
.section-heading > p { margin: 0 0 .3rem; color: var(--muted); }
.browse-tools { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: 2.5rem 0 1.5rem; }
.search-box { width: min(330px, 100%); position: relative; }
.search-box svg { position: absolute; width: 19px; left: 15px; top: 50%; transform: translateY(-50%); fill: none; stroke: var(--moss); stroke-width: 1.8; stroke-linecap: round; }
.search-box input { width: 100%; height: 46px; padding: 0 1rem 0 2.8rem; border: 1px solid var(--line); border-radius: 12px; background: white; color: var(--ink); }
.filters { display: flex; gap: .45rem; padding: .35rem; border-radius: 13px; background: #eff2ec; scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.filter { padding: .55rem .8rem; border: 0; border-radius: 9px; background: transparent; color: #5d6c64; font-size: .8rem; font-weight: 700; cursor: pointer; }
.filter.active { background: white; color: var(--blue-deep); box-shadow: 0 3px 8px rgba(18,63,54,.08); }
.meal-layout { display: grid; grid-template-columns: 1fr 325px; gap: 2rem; align-items: start; }
.meal-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.meal-card { min-height: 210px; padding: 1.3rem; border: 1px solid var(--line); border-radius: 18px; display: flex; flex-direction: column; background: white; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.meal-card:last-child:nth-child(odd) { grid-column: 1 / -1; min-height: 180px; }
.meal-card:hover { transform: translateY(-3px); border-color: #b7c8b9; box-shadow: 0 16px 32px rgba(18,63,54,.09); }
.meal-top { display: flex; align-items: flex-start; justify-content: space-between; gap: .75rem; }
.meal-icon { flex: 0 0 auto; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--cream); }
.meal-icon svg { width: 34px; height: 34px; }
.meal-card h3 { margin: .9rem 0 .45rem; color: var(--forest-deep); font-size: 1.22rem; letter-spacing: -.015em; }
.meal-card p { margin: 0; color: var(--muted); font-size: .84rem; }
.meal-card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: auto; padding-top: 1rem; }
.meal-card-bottom strong { color: var(--forest); }
.add-button { min-width: 84px; height: 38px; border: 1px solid #b8c7bb; border-radius: 10px; background: white; color: var(--forest); font-weight: 800; cursor: pointer; }
.add-button:hover { background: var(--forest); border-color: var(--forest); color: white; }
.quantity-control { height: 38px; display: grid; grid-template-columns: 34px 32px 34px; align-items: center; border: 1px solid var(--forest); border-radius: 10px; overflow: hidden; }
.quantity-control button { height: 100%; border: 0; background: var(--forest); color: white; font-size: 1.2rem; cursor: pointer; }
.quantity-control span { text-align: center; font-weight: 800; }
.tag { padding: .35rem .55rem; border-radius: 999px; background: #eaf1f7; color: var(--blue); font-size: .66rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.no-results { padding: 2rem; border: 1px dashed var(--line); border-radius: 16px; text-align: center; color: var(--muted); }

.order-card { position: sticky; top: 20px; padding: 1.4rem; border-radius: 20px; background: var(--forest-deep); color: white; box-shadow: var(--shadow); }
.order-card-head { display: flex; align-items: start; justify-content: space-between; gap: 1rem; }
.order-card .mini-label { color: var(--sun); }
.order-card h3 { margin: 0; font-size: 1.55rem; }
.text-button { border: 0; background: none; color: #b8cbc2; font-size: .76rem; font-weight: 700; text-decoration: underline; cursor: pointer; }
.bundle-progress { margin: 1.25rem 0; }
.progress-track { height: 6px; overflow: hidden; border-radius: 999px; background: rgba(255,255,255,.13); }
.progress-track span { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--sun); transition: width .25s ease; }
.bundle-progress p { margin: .55rem 0 0; color: #bfd0c8; font-size: .72rem; }
.cart-items { max-height: 250px; overflow-y: auto; padding-right: .2rem; }
.empty-cart { min-height: 120px; padding: 1rem; border: 1px dashed rgba(255,255,255,.23); border-radius: 12px; display: grid; place-items: center; text-align: center; color: #a9beb5; }
.empty-cart span { width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; }
.empty-cart p { margin: 0; font-size: .78rem; }
.cart-line { display: grid; grid-template-columns: 1fr auto; gap: .75rem; padding: .65rem 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.cart-line span { color: #c8d7d0; font-size: .78rem; }
.cart-line strong { color: white; }
.cart-savings { color: #ffe49d; }
.cart-savings span, .cart-savings strong { color: #ffe49d; }
.order-total { display: flex; align-items: baseline; justify-content: space-between; margin: 1.1rem 0; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.16); }
.order-total span { color: #bfd0c8; font-size: .8rem; }
.order-total strong { font: 700 1.8rem/1 "Fraunces", serif; }
.order-card .button-primary { background: var(--sun); color: var(--forest-deep); }
.review-note { margin: .6rem 0 0; text-align: center; color: #abc0b7; font-size: .68rem; }

.support-section { width: min(1240px, calc(100% - 32px)); margin: 0 auto 32px; border-radius: 28px; display: grid; grid-template-columns: 1.02fr .98fr; overflow: hidden; background: linear-gradient(155deg, var(--forest) 0%, #123d45 55%, var(--blue-deep) 100%); }
.ordering-panel { padding: clamp(44px, 7vw, 86px); color: white; }
.eyebrow-light { color: var(--sun); }
.support-section h2 { color: white; font-size: clamp(2.5rem, 4.5vw, 3.85rem); }
.senior-photo { margin: 1.7rem 0 2rem; }
.senior-photo img { width: 100%; aspect-ratio: 16 / 9; display: block; object-fit: cover; border: 4px solid rgba(228,173,50,.72); border-radius: 18px; box-shadow: 0 18px 42px rgba(4,24,25,.24); }
.steps { margin: 2.2rem 0; padding: 0; list-style: none; display: grid; gap: 1.2rem; }
.steps li { display: flex; align-items: flex-start; gap: 1rem; }
.steps li > span { flex: 0 0 auto; width: 32px; height: 32px; border: 1px solid rgba(255,255,255,.32); border-radius: 50%; display: grid; place-items: center; color: var(--sun); font-weight: 800; }
.steps strong { display: block; }
.steps p { margin: .18rem 0 0; color: #bfd0c8; font-size: .86rem; }
.detail-pills { display: flex; flex-wrap: wrap; gap: .55rem; }
.detail-pills span { padding: .55rem .75rem; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; color: #c4d5ce; font-size: .73rem; }
.detail-pills strong { color: white; }
.payment-copy { max-width: 520px; color: #b8ccc3; font-size: .77rem; }
.inquiry-panel { margin: 18px; padding: clamp(30px, 5vw, 54px); border-radius: 20px; background: var(--cream); }
.inquiry-panel h3 { margin: .2rem 0 .6rem; color: var(--forest-deep); font-size: 2.2rem; }
.inquiry-panel > p:not(.mini-label) { color: var(--muted); }
.review-banner { margin: 1rem 0; padding: .75rem .85rem; border: 1px solid #b8cbdd; border-radius: 10px; background: #edf5fb; color: var(--blue-deep); font-size: .72rem; }
.review-banner span { margin-right: .45rem; padding: .22rem .38rem; border-radius: 5px; background: var(--sun); color: var(--forest-deep); font-weight: 800; text-transform: uppercase; }
form { display: grid; gap: .9rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
label { color: #40564d; font-size: .76rem; font-weight: 700; }
input, select, textarea { width: 100%; margin-top: .35rem; padding: .78rem .85rem; border: 1px solid #cbd4cc; border-radius: 10px; background: white; color: var(--ink); outline: none; }
input:focus, select:focus, textarea:focus { border-color: var(--forest); box-shadow: 0 0 0 3px rgba(18,63,54,.1); }
textarea { resize: vertical; }
.optional { color: #89968f; font-weight: 400; }
.honeypot { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; white-space: nowrap !important; }

footer { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 2rem 0 3rem; display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 2rem; color: var(--muted); font-size: .75rem; }
footer p { margin: 0; }
.footer-brand .brand-mark { width: 34px; height: 34px; font-size: 1rem; }
.footer-brand .brand-copy strong { font-size: .86rem; }
.footer-brand .brand-copy small { font-size: .6rem; }

.mobile-cart { position: fixed; z-index: 20; left: 12px; right: 12px; bottom: 12px; min-height: 54px; padding: 0 1rem; border: 0; border-radius: 14px; align-items: center; justify-content: space-between; background: var(--forest-deep); color: white; box-shadow: 0 14px 34px rgba(8,34,29,.3); }
dialog { width: min(640px, calc(100% - 24px)); max-height: min(860px, calc(100vh - 24px)); padding: 0; border: 0; border-radius: 22px; color: var(--ink); box-shadow: 0 30px 90px rgba(6,25,21,.35); }
dialog::backdrop { background: rgba(6,25,21,.62); backdrop-filter: blur(4px); }
.dialog-shell { display: block; }
.dialog-head { padding: 1.4rem 1.5rem 1rem; display: flex; justify-content: space-between; align-items: start; border-bottom: 1px solid var(--line); }
.dialog-head h2 { margin: 0; font-size: 2.1rem; }
.close-button { width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--cream); color: var(--ink); font-size: 1.6rem; line-height: 1; cursor: pointer; }
.dialog-scroll { max-height: calc(100vh - 230px); overflow-y: auto; padding: 1.1rem 1.5rem; display: grid; gap: .85rem; }
.dialog-summary { padding: 1rem; border-radius: 12px; background: #f0f5ef; }
.dialog-summary small { display: block; margin-top: .3rem; color: var(--blue); font-weight: 700; }
.dialog-summary ul { margin: .5rem 0 0; padding-left: 1.2rem; columns: 2; color: var(--muted); font-size: .78rem; }
.dialog-summary strong { color: var(--forest); }
.dialog-actions { padding: 1rem 1.5rem 1.4rem; display: grid; grid-template-columns: .8fr 1.2fr; gap: .75rem; border-top: 1px solid var(--line); }
.toast { position: fixed; z-index: 100; left: 50%; bottom: 24px; max-width: calc(100% - 32px); padding: .8rem 1rem; border-radius: 999px; background: var(--ink); color: white; font-size: .82rem; box-shadow: var(--shadow); transform: translate(-50%, 120px); opacity: 0; transition: .25s ease; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; padding-bottom: 36px; }
  .hero-copy { align-self: auto; padding-top: 0; text-align: center; }
  .hero-copy .eyebrow, .hero-actions { justify-content: center; }
  .hero-intro { margin-left: auto; margin-right: auto; }
  .hero-visual { min-height: 430px; }
  .meal-layout { grid-template-columns: 1fr 290px; }
  .meal-grid { grid-template-columns: 1fr; }
  .support-section { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .site-header { width: calc(100% - 28px); height: 72px; }
  nav a:not(.nav-cta) { display: none; }
  nav .nav-cta { padding: .62rem .8rem; font-size: .75rem; }
  .brand-copy strong { font-size: .92rem; }
  .brand-copy small { font-size: .6rem; }
  .hero { min-height: auto; padding: 54px 20px 30px; border-radius: 20px; }
  h1 { font-size: clamp(2.8rem, 13vw, 4.1rem); }
  .hero-visual { min-height: 390px; }
  .sun-shape { width: 310px; height: 310px; }
  .bundle-card { width: min(330px, 90vw); }
  .note-card { right: 0; bottom: 5px; width: 220px; }
  .meal-section { width: calc(100% - 28px); padding: 76px 0; }
  .section-heading { grid-template-columns: 1fr; gap: 1rem; }
  .browse-tools { align-items: stretch; flex-direction: column; }
  .search-box { width: 100%; }
  .filters { overflow-x: auto; }
  .filter { flex: 0 0 auto; }
  .meal-layout { grid-template-columns: 1fr; }
  .order-card { display: none; }
  .mobile-cart[hidden] { display: none; }
  .mobile-cart:not([hidden]) { display: flex; }
  .support-section { width: calc(100% - 20px); margin-bottom: 12px; border-radius: 20px; }
  .ordering-panel { padding: 46px 24px; }
  .inquiry-panel { margin: 10px; padding: 28px 18px; }
  .field-row { grid-template-columns: 1fr; }
  footer { padding-bottom: 86px; display: grid; grid-template-columns: 1fr; gap: .85rem; }
  .dialog-summary ul { columns: 1; }
  .toast { bottom: 78px; }
}

@media (max-width: 420px) {
  .site-header { width: calc(100% - 20px); }
  .brand { gap: .55rem; }
  .brand-mark { width: 36px; height: 36px; font-size: 1.1rem; }
  .brand-copy strong { font-size: .8rem; }
  .brand-copy small { font-size: .5rem; letter-spacing: .05em; }
  nav .nav-cta { padding: .58rem .68rem; font-size: .68rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Keep local contact information easy to find. */
.footer-phone { display: inline-block; margin-top: .4rem; color: var(--forest); font-weight: 700; font-size: .95rem; }
.no-script-note { padding: 1rem; border: 1px solid var(--line); border-radius: 12px; }

/* Photorealistic menu imagery */
.meal-top { position: relative; display: block; margin: -1.3rem -1.3rem 0; }
.meal-photo { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 17px 17px 0 0; background: var(--cream); }
.meal-top .tag { position: absolute; bottom: .7rem; left: .8rem; background: rgba(255,255,255,.94); }

/* Phone installation and focused meal browsing. */
.install-banner { max-width: 1160px; margin: 12px auto; padding: 18px 24px; display: flex; align-items: center; gap: 16px; background: #edf3eb; border-radius: 18px; }
.install-banner[hidden], .connection-status[hidden] { display: none; }
.install-banner img { border-radius: 12px; flex-shrink: 0; }
.install-banner div { flex: 1; }
.install-banner strong { color: var(--forest); font-size: 1.1rem; }
.install-banner p { margin: 4px 0 0; }
.install-content > p, .install-content > div:not(.dialog-head), .install-content > a { margin: 20px 24px; }
.install-content ol { padding-left: 24px; line-height: 1.8; }
.install-content .install-note { font-size: .95rem; color: var(--muted); }
.connection-status { margin: 16px; padding: 16px; background: #fff0ce; border-radius: 12px; }
.app-mode .hero { display: none; }
.app-mode .meal-section { padding-top: 28px; }
.app-mode .site-header { position: sticky; top: 0; z-index: 15; background: var(--cream); }
button, .add-button, .quantity-control button, .close-button { min-height: 44px; }
.quantity-control button { min-width: 44px; }
.mobile-cart { bottom: max(12px, env(safe-area-inset-bottom)); }
@media (max-width: 760px) {
  .install-banner { margin: 10px 14px; padding: 16px; flex-wrap: wrap; }
  .install-banner div { min-width: 170px; }
  .install-banner .button { width: 100%; }
  .app-mode .meal-grid { grid-template-columns: 1fr; }
  input, select, textarea { font-size: 16px; }
  .install-content .dialog-head h2 { font-size: 1.7rem; }
}
