/* Primary page — authority sections. Loaded only on /primary/ from page-primary.php
   under its own filename. Uses the shared design tokens from school.css. */

/* ---------- Colour system ----------
   Four accents from the Food Village Kids brand and the produce in the photographs:
   gold (Primary), leaf green, teal, coral. Each section sets a "tone":
     --a        accent for text/marks on light backgrounds (AA contrast)
     --a-bright accent for dark backgrounds
     --tint     soft background for tinted sections
   Buttons stay Primary gold in every section. */
.fva-section, .fva-proof { --a: #8a5a0a; --a-bright: #f5b921; --tint: #fbf1d2; --d: #f5b921; }
.fva-tone--gold  { --a: #8a5a0a; --a-bright: #f5b921; --tint: #fbf1d2; }
.fva-tone--green { --a: #46731c; --a-bright: #8fcb55; --tint: #eaf3df; }
.fva-tone--teal  { --a: #1b6b7e; --a-bright: #55bcd0; --tint: #e1f0f3; }
.fva-tone--coral { --a: #b0402a; --a-bright: #ff8f70; --tint: #fcebe4; }
.fva-section { --fv-world-accent: var(--a-bright); --fv-world-accent-on-light: var(--a); }

/* ---------- Section chrome ---------- */
.fva-section { scroll-margin-top: 4.5rem; }
.fva-section--tint { background: var(--tint); }
.fva-section--paper { background: var(--fv-paper); }
.fva-section--ink { background: var(--fv-ink); color: var(--fv-paper); }
.fva-section .fv-btn--world { background: var(--fv-primary-accent); color: var(--fv-ink); }
.fva-h2 { max-width: 40rem; text-wrap: balance; }
.fva-h2--dark { color: var(--fv-paper); }
.fva-lede { max-width: 44rem; font-size: 1rem; line-height: 1.65; color: rgba(20,20,20,0.7); }
.fva-lede--dark { color: rgba(255,253,248,0.75); }
.fva-subhead { margin: 2.75rem 0 0; font-family: var(--fv-font-display); font-weight: 500; font-size: 1.35rem; line-height: 1.25; letter-spacing: -0.01em; }
.fva-split .fva-subhead:first-child, .fva-split > div > .fva-subhead:first-child { margin-top: 0; }
.fva-sublede { margin: 0.75rem 0 0; max-width: 38rem; font-size: 0.95rem; line-height: 1.65; color: rgba(20,20,20,0.72); }
.fva-section--ink .fva-sublede { color: rgba(255,253,248,0.75); }
.fva-note { margin: 1rem 0 0; max-width: 38rem; font-size: 0.8125rem; line-height: 1.6; color: rgba(20,20,20,0.62); }
.fva-note--dark, .fva-section--ink .fva-note { color: rgba(255,253,248,0.65); }
.fva-note a, .fva-fact__body a, .fva-faq__a a { text-decoration: underline; text-underline-offset: 0.18em; text-decoration-thickness: 1px; }

/* ---------- Proof strip and colour stripe ---------- */
.fva-proof { background: var(--fv-ink); color: var(--fv-paper); border-top: 1px solid rgba(247,241,230,0.12); }
.fva-proof__list { list-style: none; margin: 0; padding: 1.75rem 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem 1rem; }
@media (min-width: 768px) { .fva-proof__list { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .fva-proof__list { grid-template-columns: repeat(6, 1fr); gap: 1rem 1.5rem; padding: 2rem 0; } }
.fva-proof__num { display: block; font-family: var(--fv-font-display); font-weight: 500; font-size: clamp(1.2rem, 2.6vw, 1.55rem); line-height: 1.15; color: var(--c, var(--fv-primary-accent)); }
.fva-proof__list li:nth-child(4n+1) { --c: #f5b921; }
.fva-proof__list li:nth-child(4n+2) { --c: #8fcb55; }
.fva-proof__list li:nth-child(4n+3) { --c: #55bcd0; }
.fva-proof__list li:nth-child(4n+4) { --c: #ff8f70; }
.fva-proof__label { display: block; margin-top: 0.3rem; font-size: 0.75rem; line-height: 1.4; color: rgba(255,253,248,0.72); }
.fva-stripe { display: flex; height: 0.4rem; }
.fva-stripe span { flex: 1; }
.fva-stripe span:nth-child(1) { background: #f5b921; }
.fva-stripe span:nth-child(2) { background: #7ab648; }
.fva-stripe span:nth-child(3) { background: #2f8fa3; }
.fva-stripe span:nth-child(4) { background: #ee6c4d; }

/* ---------- Fact cards ---------- */
.fva-facts { display: grid; gap: 1rem; margin-top: 2rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .fva-facts--3, .fva-facts--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .fva-facts--3 { grid-template-columns: repeat(3, 1fr); } .fva-facts--4 { grid-template-columns: repeat(4, 1fr); } }
.fva-fact { background: var(--fv-paper); border: 1px solid rgba(20,20,20,0.1); border-radius: var(--fv-radius-2xl); padding: 1.35rem; }
.fva-section--paper .fva-fact { background: var(--tint); border-color: transparent; }
.fva-fact:nth-child(4n+1) { --d: #f5b921; }
.fva-fact:nth-child(4n+2) { --d: #7ab648; }
.fva-fact:nth-child(4n+3) { --d: #2f8fa3; }
.fva-fact:nth-child(4n+4) { --d: #ee6c4d; }
.fva-fact__title { margin: 0; font-family: var(--fv-font-display); font-weight: 500; font-size: 1.125rem; line-height: 1.25; color: var(--fv-ink); }
.fva-fact__title::before { content: ""; display: inline-block; width: 0.55rem; height: 0.55rem; margin-right: 0.55rem; border-radius: 50%; background: var(--d); vertical-align: 0.08em; }
.fva-fact__body { margin: 0.55rem 0 0; font-size: 0.9rem; line-height: 1.65; color: rgba(20,20,20,0.72); }
.fva-section--ink .fva-fact { background: rgba(247,241,230,0.05); border-color: rgba(247,241,230,0.13); }
.fva-section--ink .fva-fact__title { color: var(--fv-paper); }
.fva-section--ink .fva-fact__body { color: rgba(255,253,248,0.75); }

/* ---------- Two-column layout with photo ---------- */
.fva-split { display: grid; gap: 2rem; margin-top: 3rem; grid-template-columns: 1fr; }
@media (min-width: 1024px) {
  .fva-split { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 4rem; align-items: start; }
  .fva-split--photo-left { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
}
.fva-photo { position: relative; margin: 0; overflow: hidden; border-radius: 1.5rem; aspect-ratio: 4 / 3; background: var(--fv-oat); box-shadow: 0 0 0 0.4rem color-mix(in srgb, var(--a-bright) 55%, transparent); }
@media (min-width: 1024px) { .fva-photo { aspect-ratio: 4 / 5; position: sticky; top: 6rem; } }
.fva-photo img { width: 100%; height: 100%; object-fit: cover; }
.fva-split--photo-left .fva-photo { order: -1; }
.fva-section--tint .fva-photo { box-shadow: 0 0 0 0.4rem var(--fv-paper); }

/* ---------- FAQ (native details) ---------- */
.fva-faq { margin-top: 1.5rem; border-top: 1px solid rgba(20,20,20,0.14); }
.fva-faq--wide { margin-top: 2.5rem; max-width: 52rem; }
.fva-faq details { border-bottom: 1px solid rgba(20,20,20,0.14); }
.fva-faq summary { position: relative; display: block; cursor: pointer; list-style: none; padding: 1rem 2.5rem 1rem 0; font-size: 0.95rem; font-weight: 600; line-height: 1.45; }
.fva-faq summary::-webkit-details-marker { display: none; }
.fva-faq summary::after { content: "+"; position: absolute; right: 0.25rem; top: 0.8rem; font-family: var(--fv-font-mono); font-size: 1.3rem; line-height: 1; color: var(--a); }
.fva-faq details[open] summary::after { content: "\2013"; }
.fva-faq summary:focus-visible { outline: 2px solid var(--a); outline-offset: 2px; border-radius: 0.25rem; }
.fva-faq__a { padding: 0 0 1.15rem; max-width: 42rem; font-size: 0.9rem; line-height: 1.7; color: rgba(20,20,20,0.74); }
.fva-faq__a p { margin: 0 0 0.75rem; }
.fva-faq__a p:last-child { margin-bottom: 0; }
.fva-section--ink .fva-faq { border-top-color: rgba(247,241,230,0.18); }
.fva-section--ink .fva-faq details { border-bottom-color: rgba(247,241,230,0.18); }
.fva-section--ink .fva-faq summary { color: var(--fv-paper); }
.fva-section--ink .fva-faq summary::after { color: var(--a-bright); }
.fva-section--ink .fva-faq__a { color: rgba(255,253,248,0.78); }
.fva-section--ink .fva-faq summary:focus-visible { outline-color: var(--a-bright); }

/* ---------- Numbered steps ---------- */
.fva-steps { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: 1fr; counter-reset: fva-step; }
@media (min-width: 640px) { .fva-steps--3, .fva-steps--4, .fva-steps--5 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .fva-steps--3 { grid-template-columns: repeat(3, 1fr); }
  .fva-steps--4 { grid-template-columns: repeat(4, 1fr); }
  .fva-steps--5 { grid-template-columns: repeat(5, 1fr); }
}
.fva-steps--tight { margin-top: 1.25rem; }
.fva-step { display: flex; flex-direction: column; counter-increment: fva-step; background: var(--fv-paper); border: 1px solid rgba(20,20,20,0.1); border-radius: var(--fv-radius-2xl); padding: 1.25rem; }
.fva-section--paper .fva-step { background: var(--tint); border-color: transparent; }
.fva-step::before { content: counter(fva-step); display: flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; margin-bottom: 0.85rem; border-radius: 50%; background: var(--a); font-family: var(--fv-font-mono); font-size: 0.75rem; font-weight: 600; color: #fff; }
.fva-step__title { margin: 0; font-family: var(--fv-font-display); font-weight: 500; font-size: 1.05rem; line-height: 1.25; color: var(--fv-ink); }
.fva-step__body { margin: 0.5rem 0 0; font-size: 0.875rem; line-height: 1.6; color: rgba(20,20,20,0.72); }
.fva-step__link { margin-top: auto; padding-top: 0.9rem; font-family: var(--fv-font-mono); font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--a); }
.fva-step__link::after { content: " \2192"; }
.fva-step__link:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.fva-section--ink .fva-step { background: rgba(247,241,230,0.05); border-color: rgba(247,241,230,0.13); }
.fva-section--ink .fva-step::before { background: var(--a-bright); color: var(--fv-ink); }
.fva-section--ink .fva-step__title { color: var(--fv-paper); }
.fva-section--ink .fva-step__body { color: rgba(255,253,248,0.75); }
/* the overview steps cycle through all four colours */
.fva-steps--cycle .fva-step:nth-child(4n+1) { --a: #8a5a0a; --tint: #fbf1d2; }
.fva-steps--cycle .fva-step:nth-child(4n+2) { --a: #46731c; --tint: #eaf3df; }
.fva-steps--cycle .fva-step:nth-child(4n+3) { --a: #1b6b7e; --tint: #e1f0f3; }
.fva-steps--cycle .fva-step:nth-child(4n+4) { --a: #b0402a; --tint: #fcebe4; }

/* ---------- Lists, cards, columns ---------- */
.fva-cols2, .fva-cols3 { display: grid; gap: 1rem; margin-top: 1rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .fva-cols2 { grid-template-columns: repeat(2, 1fr); } .fva-cols3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .fva-cols3 { grid-template-columns: repeat(3, 1fr); } }
.fva-split .fva-cols2 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .fva-split .fva-cols2 { grid-template-columns: repeat(2, 1fr); } }
.fva-listcard { background: var(--fv-paper); border: 1px solid rgba(20,20,20,0.1); border-radius: var(--fv-radius-2xl); padding: 1.25rem; }
.fva-cols2 .fva-listcard:nth-child(1), .fva-cols3 .fva-listcard:nth-child(1) { --a: #8a5a0a; --a-bright: #f5b921; }
.fva-cols2 .fva-listcard:nth-child(2), .fva-cols3 .fva-listcard:nth-child(2) { --a: #46731c; --a-bright: #8fcb55; }
.fva-cols3 .fva-listcard:nth-child(3) { --a: #1b6b7e; --a-bright: #55bcd0; }
.fva-listcard__title { margin: 0 0 0.6rem; font-family: var(--fv-font-mono); font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--a); }
.fva-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.5rem; }
.fva-list li { position: relative; padding-left: 1.1rem; font-size: 0.875rem; line-height: 1.55; color: rgba(20,20,20,0.75); }
.fva-list li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 0.4rem; height: 0.4rem; border-radius: 50%; background: var(--a-bright); }
.fva-section--ink .fva-listcard { background: rgba(247,241,230,0.05); border-color: rgba(247,241,230,0.13); }
.fva-section--ink .fva-listcard__title { color: var(--a-bright); }
.fva-section--ink .fva-list li { color: rgba(255,253,248,0.8); }

.fva-checks { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; gap: 0.6rem 2rem; grid-template-columns: 1fr; max-width: 56rem; }
@media (min-width: 768px) { .fva-checks { grid-template-columns: repeat(2, 1fr); } }
.fva-checks li { position: relative; padding: 0.7rem 0.9rem 0.7rem 2.4rem; background: var(--tint); border-radius: 0.75rem; font-size: 0.9rem; line-height: 1.5; color: rgba(20,20,20,0.8); }
.fva-checks li::before { content: ""; position: absolute; left: 0.95rem; top: 0.95rem; width: 0.7rem; height: 0.4rem; border-left: 2px solid var(--a); border-bottom: 2px solid var(--a); transform: rotate(-45deg); }

.fva-links { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: 0.6rem; }
.fva-links a { display: block; padding: 0.9rem 1rem; background: var(--fv-paper); border: 1px solid rgba(20,20,20,0.1); border-radius: 0.9rem; transition: border-color 0.15s ease, transform 0.15s ease; }
.fva-links a:hover { border-color: var(--a); transform: translateY(-1px); }
.fva-links__title { display: block; font-size: 0.9rem; font-weight: 600; color: var(--fv-ink); }
.fva-links__title::after { content: " \2197"; font-weight: 400; color: var(--a); }
.fva-links__body { display: block; margin-top: 0.15rem; font-size: 0.8125rem; line-height: 1.5; color: rgba(20,20,20,0.65); }

.fva-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }
.fv-btn--outline-light { background: transparent; border-color: rgba(247,241,230,0.3); color: rgba(255,253,248,0.9); font-weight: 500; }
.fv-btn--outline-light:hover { border-color: rgba(247,241,230,0.55); color: var(--fv-paper); }

/* ---------- Stats ---------- */
.fva-stats { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 1.25rem 1rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 1024px) { .fva-stats { grid-template-columns: repeat(4, 1fr); } }
.fva-stats li { padding-top: 1rem; border-top: 3px solid var(--c, #f5b921); }
.fva-stats li:nth-child(4n+1) { --c: #f5b921; }
.fva-stats li:nth-child(4n+2) { --c: #8fcb55; }
.fva-stats li:nth-child(4n+3) { --c: #55bcd0; }
.fva-stats li:nth-child(4n+4) { --c: #ff8f70; }
.fva-stats__num { display: block; font-family: var(--fv-font-display); font-weight: 500; font-size: clamp(1.5rem, 3.4vw, 2.25rem); line-height: 1.1; color: var(--c, #f5b921); }
.fva-stats__label { display: block; margin-top: 0.35rem; font-size: 0.8125rem; line-height: 1.4; color: rgba(255,253,248,0.75); }

/* ---------- For-schools jump cards ---------- */
.fva-jump { display: grid; gap: 1rem; margin-top: 2rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .fva-jump { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .fva-jump { grid-template-columns: repeat(4, 1fr); } }
.fva-jump__card { position: relative; display: flex; flex-direction: column; gap: 0.5rem; padding: 1.35rem 1.35rem 2.6rem; border: 1px solid rgba(247,241,230,0.15); border-top: 3px solid var(--c, #f5b921); border-radius: var(--fv-radius-2xl); background: rgba(247,241,230,0.05); transition: background 0.15s ease, transform 0.15s ease; }
.fva-jump__card:nth-child(4n+1) { --c: #f5b921; }
.fva-jump__card:nth-child(4n+2) { --c: #8fcb55; }
.fva-jump__card:nth-child(4n+3) { --c: #55bcd0; }
.fva-jump__card:nth-child(4n+4) { --c: #ff8f70; }
.fva-jump__card:hover { background: rgba(247,241,230,0.09); transform: translateY(-2px); }
.fva-jump__title { font-family: var(--fv-font-display); font-weight: 500; font-size: 1.15rem; line-height: 1.25; color: var(--fv-paper); }
.fva-jump__body { font-size: 0.875rem; line-height: 1.55; color: rgba(255,253,248,0.72); }
.fva-jump__go { position: absolute; left: 1.35rem; bottom: 1rem; font-family: var(--fv-font-mono); font-size: 1rem; color: var(--c, #f5b921); }

/* ---------- Service models ---------- */
.fva-models { display: grid; gap: 1rem; margin-top: 2rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .fva-models { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .fva-models { grid-template-columns: repeat(4, 1fr); } }
.fva-model { display: flex; flex-direction: column; background: var(--tint); border-radius: var(--fv-radius-2xl); padding: 1.35rem; }
.fva-model:nth-child(4n+1) { --a: #8a5a0a; --tint: #fbf1d2; }
.fva-model:nth-child(4n+2) { --a: #46731c; --tint: #eaf3df; }
.fva-model:nth-child(4n+3) { --a: #1b6b7e; --tint: #e1f0f3; }
.fva-model:nth-child(4n+4) { --a: #b0402a; --tint: #fcebe4; }
.fva-model__title { margin: 0; font-family: var(--fv-font-display); font-weight: 500; font-size: 1.3rem; line-height: 1.2; }
.fva-model__facts { margin: 1rem 0 0; display: grid; gap: 0.75rem; }
.fva-model__facts dt { font-family: var(--fv-font-mono); font-size: 0.625rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--a); }
.fva-model__facts dd { margin: 0.2rem 0 0; font-size: 0.9rem; font-weight: 600; line-height: 1.4; }
.fva-model__note { margin: 1rem 0 0; padding-top: 0.9rem; border-top: 1px solid color-mix(in srgb, var(--a) 30%, transparent); font-size: 0.8125rem; line-height: 1.6; color: rgba(20,20,20,0.72); }

/* ---------- Menu gallery ---------- */
.fva-menu { margin-top: 3rem; }
.fva-menu__title { margin: 0; font-family: var(--fv-font-display); font-weight: 500; font-size: 1.5rem; line-height: 1.2; }
.fva-menu__note { margin: 0.4rem 0 0; max-width: 40rem; font-size: 0.85rem; line-height: 1.55; color: rgba(20,20,20,0.62); }
.fva-chips { margin-top: 1.25rem; }
.fva-chips .fv-tab--world.is-active { background: var(--fv-primary-accent); color: var(--fv-ink); }
.fva-grid { display: grid; gap: 0.75rem; margin-top: 1.25rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .fva-grid { grid-template-columns: repeat(3, 1fr); gap: 1.1rem; } }
@media (min-width: 1024px) { .fva-grid { grid-template-columns: repeat(4, 1fr); gap: 1.35rem; } }
.fva-card { position: relative; display: block; width: 100%; margin: 0; padding: 0; border: 0; border-radius: var(--fv-radius-2xl); overflow: hidden; aspect-ratio: 4 / 3.35; background: var(--fv-oat); box-shadow: 0 1px 2px rgba(20,20,20,0.08); cursor: pointer; text-align: left; font: inherit; color: inherit; }
.fva-card[hidden] { display: none; }
.fva-card img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.fva-card:hover img { transform: scale(1.035); }
.fva-card:focus-visible { outline: 3px solid var(--a); outline-offset: 2px; }
.fva-card__cap { position: absolute; inset-inline: 0; bottom: 0; display: flex; flex-direction: column; gap: 0.1rem; padding: 0.7rem 0.8rem 0.6rem; background: linear-gradient(to top, rgba(20,20,20,0.82), rgba(20,20,20,0.18) 65%, transparent); color: var(--fv-paper); }
.fva-card__name { font-size: 0.85rem; font-weight: 600; line-height: 1.25; }
.fva-card__meta { font-family: var(--fv-font-mono); font-size: 0.625rem; text-transform: uppercase; letter-spacing: 0.05em; color: rgba(255,253,248,0.78); }
@media (min-width: 1024px) { .fva-card__name { font-size: 0.95rem; } }
.fva-more { margin-top: 1.5rem; text-align: center; }
.fva-more [data-fva-more] { font-family: inherit; appearance: none; -webkit-appearance: none; }
.fva-more [data-fva-more][hidden] { display: none; }

/* ---------- Nutrition table ---------- */
.fva-tablewrap { margin-top: 2.5rem; border: 1px solid rgba(20,20,20,0.12); border-radius: var(--fv-radius-2xl); background: var(--fv-paper); overflow: hidden; }
.fva-tablewrap__summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.25rem; cursor: pointer; list-style: none; font-family: var(--fv-font-display); font-weight: 500; font-size: 1.15rem; }
.fva-tablewrap__summary::-webkit-details-marker { display: none; }
.fva-tablewrap__summary::after { content: "+"; font-family: var(--fv-font-mono); font-size: 1.4rem; line-height: 1; color: var(--a); margin-left: auto; }
.fva-tablewrap[open] .fva-tablewrap__summary::after { content: "\2013"; }
.fva-tablewrap__count { padding: 0.15rem 0.6rem; border-radius: 999px; background: var(--tint); font-family: var(--fv-font-mono); font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--a); }
.fva-tablewrap__summary:focus-visible { outline: 2px solid var(--a); outline-offset: -2px; }
.fva-tablewrap__scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.fva-tablewrap__scroll:focus-visible { outline: 2px solid var(--a); outline-offset: -2px; }
.fva-tablewrap__note { margin: 0; padding: 1rem 1.25rem 1.25rem; font-size: 0.8125rem; line-height: 1.6; color: rgba(20,20,20,0.62); border-top: 1px solid rgba(20,20,20,0.1); }

.fva-table { --t-bg: var(--fv-paper); --t-line: rgba(20,20,20,0.1); --t-ink: var(--fv-ink); --t-muted: rgba(20,20,20,0.66); width: 100%; min-width: 54rem; border-collapse: collapse; font-size: 0.8125rem; font-variant-numeric: tabular-nums; }
.fva-table th, .fva-table td { padding: 0.65rem 0.9rem; text-align: left; vertical-align: top; border-top: 1px solid var(--t-line); background: var(--t-bg); color: var(--t-muted); }
.fva-table thead th { position: sticky; top: 0; font-family: var(--fv-font-mono); font-size: 0.625rem; font-weight: 400; text-transform: uppercase; letter-spacing: 0.1em; color: var(--t-muted); border-top: 0; border-bottom: 1px solid var(--t-line); white-space: nowrap; }
.fva-table tbody th[scope="row"] { color: var(--t-ink); font-weight: 600; white-space: nowrap; }
.fva-table th:first-child, .fva-table td:first-child { position: sticky; left: 0; z-index: 1; }
.fva-table td:last-child { min-width: 12rem; }
.fva-table__group th { padding-top: 1rem; font-family: var(--fv-font-mono); font-size: 0.6875rem; font-weight: 400; text-transform: uppercase; letter-spacing: 0.12em; color: var(--a); background: color-mix(in srgb, var(--tint) 80%, var(--t-bg)); }
.fva-table tbody:nth-of-type(5n+1) .fva-table__group th { --a: #8a5a0a; --tint: #fbf1d2; }
.fva-table tbody:nth-of-type(5n+2) .fva-table__group th { --a: #b0402a; --tint: #fcebe4; }
.fva-table tbody:nth-of-type(5n+3) .fva-table__group th { --a: #46731c; --tint: #eaf3df; }
.fva-table tbody:nth-of-type(5n+4) .fva-table__group th { --a: #1b6b7e; --tint: #e1f0f3; }
.fva-table tbody:nth-of-type(5n+5) .fva-table__group th { --a: #8a5a0a; --tint: #fbf1d2; }
.fva-table__apple { margin-left: 0.35rem; padding: 0.05rem 0.4rem; border-radius: 999px; background: #fbe3e0; font-family: var(--fv-font-mono); font-size: 0.625rem; font-weight: 400; text-transform: uppercase; letter-spacing: 0.05em; color: #b0302a; }
.fva-table--compact { min-width: 0; }
.fva-table--compact th, .fva-table--compact td { padding: 0.6rem 0.8rem; }
.fva-table--compact th:first-child, .fva-table--compact td:first-child { position: static; }
.fva-table--wrap tbody th[scope="row"] { white-space: normal; min-width: 9rem; }
.fva-origin { margin-top: 0.9rem; border: 1px solid rgba(20,20,20,0.1); border-radius: 0.75rem; }
.fva-section--ink .fva-table { --t-bg: #1d1d1d; --t-line: rgba(247,241,230,0.14); --t-ink: var(--fv-paper); --t-muted: rgba(255,253,248,0.78); }
.fva-section--ink .fva-origin { border-color: rgba(247,241,230,0.14); }
.fva-tablewrap__scroll:not(.fva-origin) > .fva-table--compact { border: 1px solid rgba(20,20,20,0.1); border-radius: 0.75rem; }

/* ---------- Lightbox ---------- */
.fva-lb { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 1rem; }
.fva-lb[hidden] { display: none; }
.fva-lb__backdrop { position: absolute; inset: 0; background: rgba(20,20,20,0.86); }
.fva-lb__panel { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr; width: min(62rem, 100%); max-height: calc(100vh - 2rem); max-height: calc(100dvh - 2rem); overflow: auto; border-radius: 1.25rem; background: var(--fv-paper); color: var(--fv-ink); border-top: 0.4rem solid var(--a-bright); }
@media (min-width: 900px) { .fva-lb__panel { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); overflow: hidden; } .fva-lb__body { overflow: auto; } }
.fva-lb__media { background: var(--fv-oat); }
.fva-lb__media img { display: block; width: 100%; height: auto; max-height: 55vh; object-fit: cover; }
@media (min-width: 900px) { .fva-lb__media img { height: 100%; max-height: none; } }
.fva-lb__body { padding: 1.35rem 1.35rem 1.5rem; }
.fva-lb__cat { margin: 0; font-family: var(--fv-font-mono); font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--a); }
.fva-lb__title { margin: 0.35rem 0 0; font-family: var(--fv-font-display); font-weight: 500; font-size: 1.5rem; line-height: 1.2; padding-right: 2.5rem; }
.fva-lb__desc { margin: 0.6rem 0 0; font-size: 0.9rem; line-height: 1.6; color: rgba(20,20,20,0.75); }
.fva-lb__tags { margin: 0.75rem 0 0; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.fva-lb__tags:empty { display: none; }
.fva-lb__tag { padding: 0.2rem 0.65rem; border-radius: 999px; background: var(--tint); font-size: 0.75rem; font-weight: 600; color: var(--a); }
.fva-lb__tag:nth-child(2) { background: #fbe3e0; color: #b0302a; }
.fva-lb__nutri { margin: 1rem 0 0; display: grid; grid-template-columns: 1fr; border-top: 1px solid rgba(20,20,20,0.12); }
.fva-lb__nutri div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.45rem 0; border-bottom: 1px solid rgba(20,20,20,0.1); font-size: 0.85rem; font-variant-numeric: tabular-nums; }
.fva-lb__nutri dt { color: rgba(20,20,20,0.7); }
.fva-lb__nutri dt small { color: rgba(20,20,20,0.5); font-size: 0.75rem; }
.fva-lb__nutri dd { margin: 0; font-weight: 600; }
.fva-lb__allergens { margin: 1rem 0 0; font-size: 0.875rem; line-height: 1.55; }
.fva-lb__note { margin: 0.75rem 0 0; font-size: 0.75rem; line-height: 1.55; color: rgba(20,20,20,0.58); }
.fva-lb__nav { display: flex; gap: 0.6rem; margin-top: 1.1rem; }
.fva-lb__navbtn { flex: 1; padding: 0.65rem 1rem; border: 1px solid rgba(20,20,20,0.2); border-radius: 999px; background: transparent; font: inherit; font-size: 0.85rem; font-weight: 600; color: var(--fv-ink); cursor: pointer; transition: background 0.15s ease, border-color 0.15s ease; }
.fva-lb__navbtn:hover { background: var(--tint); border-color: var(--a); }
.fva-lb__navbtn[hidden] { display: none; }
.fva-lb__close { position: absolute; top: 0.6rem; right: 0.6rem; z-index: 2; display: flex; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; border: 0; border-radius: 50%; background: rgba(20,20,20,0.7); color: var(--fv-paper); font-size: 1.6rem; line-height: 1; cursor: pointer; }
.fva-lb__close:hover { background: rgba(20,20,20,0.9); }
.fva-lb__close:focus-visible, .fva-lb__navbtn:focus-visible { outline: 3px solid var(--a); outline-offset: 2px; }
html.fva-lb-open { overflow: hidden; }

/* ---------- Lunchtime photos (bottom of page) ---------- */
.fva-lifestyle .fv-image-grid-2 figure { box-shadow: 0 0 0 0.4rem var(--fv-paper); }
.fva-lifestyle .fva-duo { display: grid; grid-template-rows: 1fr 1fr; gap: 0.4rem; aspect-ratio: auto; background: var(--fv-paper); }
.fva-lifestyle .fva-duo img { width: 100%; height: 100%; min-height: 0; aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 640px) { .fva-lifestyle .fva-duo { aspect-ratio: 4 / 5; } .fva-lifestyle .fva-duo img { aspect-ratio: auto; } }

/* ---------- Print: keep the nutrition table readable ---------- */
@media print { .fva-lb, .fva-more, .fva-chips { display: none !important; } .fva-tablewrap:not([open]) > :not(summary) { display: block; } }
