/* HOMEPAGE REDESIGN 4 (2026-11-07, revised same day at his word): flavor cards.
   What it is: the photo sits on top with rounded top corners, and the flavor color is a
   slab only under it, behind the name, taste, price and allergen lines, flush to the photo
   so the two read as one card. No color above or around the photo (his correction).
   Markup is unchanged, so links, the hover zoom and the drift animation in ftbars.css
   keep working; the slab is painted on the text elements themselves.
   Depends only on the tokens block from change 1 (--ft-berry-ground, --ft-nut, --ft-radius).
   Contrast: cream on the red ground 4.63, ink on the gold 7.16 (see the token comment).
   The Banana Nut card keeps `Contains: Milk, Almond, Walnut` (Website/CLAUDE.md section 6).
   Revert: delete this file and its <link> in index.html. */
.ftbars-flavors .flavor{--fl-pad:clamp(1.4rem,2.6vw,2.2rem);margin-top:0;display:flex;flex-direction:column}
.ftbars-flavors .flavor:nth-of-type(2){--fl-bg:var(--ft-berry-ground);--fl-fg:var(--cream)}
.ftbars-flavors .flavor:nth-of-type(1){--fl-bg:var(--ft-nut);--fl-fg:var(--ink)}
.ftbars-flavors .flavor-photo{border-radius:var(--ft-radius) var(--ft-radius) 0 0;isolation:isolate}
.ftbars-flavors .flavor-name,.ftbars-flavors .flavor-taste,.ftbars-flavors .flavor-meta,.ftbars-flavors .flavor-allergens{background:var(--fl-bg);color:var(--fl-fg);margin:0;padding-inline:var(--fl-pad)}
.ftbars-flavors .flavor-name{padding-top:clamp(1.3rem,2.2vw,1.8rem);padding-bottom:.6rem;font-size:clamp(2.2rem,4.2vw,3.6rem);line-height:.95}
.ftbars-flavors .flavor-taste{padding-bottom:.9rem;max-width:none}
.ftbars-flavors .flavor-meta{padding-bottom:.35rem}
.ftbars-flavors .flavor-allergens{flex:1;padding-bottom:clamp(1.4rem,2.6vw,2.2rem);border-radius:0 0 var(--ft-radius) var(--ft-radius)}
.ftbars-flavors .flavor-link:focus-visible{outline:3px solid currentColor;outline-offset:4px;border-radius:var(--ft-radius)}

/* Two Breakfast Flavors sits on the warm second cream, not white (his word 2026-11-07). */
.ftbars.ftbars-flavors{background:var(--ft-cream-2)}
/* New photos 2026-11-07 are cropped to show the whole box and bar: near square. */
.ftbars-flavors .flavor-photo{aspect-ratio:1 / 1}
@media(max-width:700px){.ftbars-flavors .flavor-photo{aspect-ratio:1 / 1}}
/* Banana Nut breaks onto two lines only when Strawberry Parfait has (index.html script, his ask 2026-11-18). */
.ftbars-flavors .flavor-name.fl-stack .fl-br{display:block;height:0;overflow:hidden}

/* Hovering a flavor card shows the eaten bar over the scene photo (his ask 2026-11-19). */
.ftbars-flavors .flavor-photo{position:relative}
.ftbars-flavors .flavor-photo .flavor-hover{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:var(--cream);opacity:0;transition:opacity .35s var(--ease-out);animation:none;transform:none}
@media(hover:hover){.ftbars-flavors .flavor:hover .flavor-photo .flavor-hover{opacity:1;transform:none}}
