/* IV Revival, idea G: the B-complex and zinc pages (2026-11-16). Ian asked why the ingredients list was only four, and
   picked "build B-complex and zinc in the same style, so the menu lists all six". Both pages sit on the Vitamin C frame
   (gi-learn.css) and share gi-ingr.css with the other three; this file is only what is new on these two:
     1. B-complex: five in one (five B tiles; when B2 lands, a drawn bag turns yellow) and the five drips that carry it
     2. Zinc: a pair (the Zn tile between the two drips that carry it, a line drawn to each) and a review band with no
        photo (the two bags instead)
   Every font size keeps a rem part (the zoom test). Reduce Motion: calmer, never frozen. */

/* ---------- 1. B-complex ---------- */
.gb-five { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(36px, 5vw, 100px); align-items: center; max-width: 1240px; margin: 0 auto; }
.gb-tiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(10px, 1.2vw, 18px); }
.gb-t { display: grid; grid-template-rows: auto 1fr auto; gap: 8px; aspect-ratio: 3 / 4; padding: clamp(10px, 1vw, 16px); border-radius: 18px; background: var(--ink); color: var(--sun); box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--blue), 0 26px 34px -26px rgba(13,13,12,.6); }
.gb-t small { font: 700 .66rem/1 var(--font); font-stretch: var(--wide); letter-spacing: .08em; text-transform: uppercase; color: #fff; }
.gb-t b { align-self: center; font: 900 clamp(1.9rem, 1.3rem + 1.6vw, 3.3rem)/.9 var(--font); font-stretch: var(--wide); letter-spacing: -.02em; }
.gb-t span { font: 800 clamp(.74rem, .68rem + .2vw, .88rem)/1.2 var(--text); color: #fff; hyphens: manual; }
/* B2, riboflavin: the yellow one */
.gb-t--y { background: #f6c21a; color: var(--ink); box-shadow: 0 0 0 3px #fff, 0 0 0 6px #f6c21a, 0 26px 34px -26px rgba(13,13,12,.6); }
.gb-t--y small, .gb-t--y span { color: var(--ink); }
.gb-tiles__cap { margin-top: clamp(22px, 2vw, 30px); font: 700 .8rem/1.3 var(--font); font-stretch: var(--wide); letter-spacing: .12em; text-transform: uppercase; color: var(--mute-ink); }

/* the drawn bag: clear until B2 lands, then yellow */
.gb-bag { display: grid; justify-items: center; gap: clamp(18px, 2vw, 28px); margin: 0; }
.gb-bag svg { width: min(100%, 230px); height: auto; overflow: visible; filter: drop-shadow(0 26px 24px rgba(13,13,12,.18)); }
.gb-bag__body { fill: #fff; stroke: var(--ink); stroke-width: 6; }
.gb-bag__fluid { fill: #f6c21a; }
.gb-bag__line { stroke: var(--ink); stroke-width: 4; stroke-linecap: round; opacity: .55; }
.gb-bag__ink { fill: var(--ink); }
.gb-bag__hang { fill: none; stroke: var(--ink); stroke-width: 6; }
.gb-bag__tag { fill: #fff; stroke: var(--ink); stroke-width: 3; }
.gb-bag figcaption { max-width: 34ch; text-align: center; }
.gb-bag h3 { font: 900 clamp(1.15rem, 1rem + .5vw, 1.5rem)/1.08 var(--font); font-stretch: var(--wide); text-transform: uppercase; }
.gb-bag p { margin-top: 10px; font: 400 1.02rem/1.55 var(--text); color: var(--mute-ink); }
.gb-bag p b { color: var(--ink); }

.f-js .gb-tiles .gb-t { transition: opacity .4s ease, translate .7s cubic-bezier(.34,1.45,.64,1); transition-delay: calc(var(--k, 0) * 170ms + .2s); }
.f-js .gb-five:not(.is-in) .gb-t { opacity: 0; translate: 0 34px; }
.f-js .gb-bag__fluid { transition: fill 1.3s ease .95s; }
.f-js .gb-five:not(.is-in) .gb-bag__fluid { fill: #e7f0f4; }
.f-js .gb-bag__tag { transition: opacity .4s ease 1.6s; }
.f-js .gb-five:not(.is-in) .gb-bag__tag { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .f-js .gb-tiles .gb-t { translate: none !important; transition: opacity .5s ease; transition-delay: calc(var(--k, 0) * 110ms + .2s); } }
@media (max-width: 899px) {
  .gb-five { grid-template-columns: minmax(0, 1fr); }
  .gb-bag { grid-template-columns: auto minmax(0, 1fr); align-items: center; justify-items: start; max-width: 560px; margin-inline: auto; }
  .gb-bag svg { width: clamp(108px, 30vw, 170px); }
  .gb-bag figcaption { text-align: left; }
}
/* a phone: three tiles, then two, centred */
@media (max-width: 599px) {
  .gb-tiles { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 12px; }
  .gb-t { width: calc((100% - 24px) / 3); aspect-ratio: auto; min-height: 136px; border-radius: 15px; }
  .gb-t b { font-size: 2.1rem; }
  .gb-tiles__cap { text-align: center; }
}

/* the five drips that carry it, and the one it can be added to: three across */
.gn-count.gb-count { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 1080px; }
.gb-chip { display: inline-flex; align-items: center; min-height: 30px; margin-top: 6px; padding: 5px 12px; border-radius: 999px; background: #f6c21a; color: var(--ink); font: 800 .74rem/1 var(--font); font-stretch: 112%; letter-spacing: .06em; text-transform: uppercase; box-shadow: 0 0 0 2px var(--ink); }
.gn-count__add .gb-chip { background: transparent; box-shadow: inset 0 0 0 2px rgba(13,13,12,.45); }
.gb-count .gn-count__add .gn-count__mini { align-self: start; align-items: start; } /* the Replenish card kept its shape; it stretched to the row's height */
.f-js .gb-count > li[data-rise] .gb-chip { transition: scale .5s cubic-bezier(.34,1.5,.64,1), opacity .3s ease; transition-delay: calc(var(--d, 0) * 120ms + .55s); }
.f-js .gb-count > li[data-rise]:not(.is-in) .gb-chip { scale: .3; opacity: 0; }
@media (prefers-reduced-motion: reduce) { .f-js .gb-count > li[data-rise] .gb-chip { scale: none !important; } }
@media (max-width: 1099px) { .gn-count.gb-count { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 720px; } }
@media (max-width: 599px) { .gb-count > li:last-child { grid-column: auto; } }

/* ---------- 2. Zinc ---------- */
/* the pair: Renew and the Immunity Booster, the Zn tile between them, a line drawn out to each */
.gz-pair { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: clamp(20px, 3vw, 60px); max-width: 1080px; margin: 0 auto; }
.gz-pair::before { content: ""; position: absolute; z-index: 0; left: 25%; right: 25%; top: 50%; height: 6px; margin-top: -3px; border-radius: 3px; background: var(--ink); transform-origin: 50% 50%; }
.gz-card { position: relative; z-index: 1; display: grid; justify-items: center; gap: 6px; padding: 24px 20px 26px; border-radius: 26px; background: var(--tint); color: var(--ink); text-align: center; text-decoration: none; transition: translate .25s ease, box-shadow .25s ease; }
.gz-card img { width: min(52%, 170px); height: auto; aspect-ratio: 3 / 4; object-fit: contain; margin-bottom: 6px; filter: drop-shadow(0 16px 14px rgba(13,13,12,.22)); transition: transform .5s cubic-bezier(.2,.7,.2,1); }
@media (hover: hover) and (pointer: fine) { .gz-card:hover { translate: 0 -4px; box-shadow: 0 24px 36px -24px rgba(13,13,12,.55); } .gz-card:hover img { transform: rotate(-4deg) scale(1.04); } }
.gz-card__n { font: 900 clamp(1.15rem, 1rem + .5vw, 1.5rem)/1.05 var(--font); font-stretch: var(--wide); text-transform: uppercase; }
.gz-card__p { font: 800 .95rem/1.3 var(--text); }
.gz-card__has { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 10px; }
.gz-card__has span { display: inline-flex; align-items: center; gap: 7px; min-height: 34px; padding: 5px 13px 5px 6px; border-radius: 999px; background: #fff; font: 800 .8rem/1.1 var(--text); }
.gz-card__has i { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; background: var(--ink); color: var(--sun); font: 900 .72rem/1 var(--font); font-style: normal; font-stretch: var(--wide); }
.gz-card__w { max-width: 32ch; margin-top: 8px; font: 400 .95rem/1.45 var(--text); color: var(--ink-2, #3a3a36); }
.gz-card__go { margin-top: 8px; font: 800 .76rem/1.2 var(--font); font-stretch: 112%; letter-spacing: .06em; text-transform: uppercase; text-decoration: underline; text-decoration-color: var(--ink); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.gz-hub { position: relative; z-index: 2; display: grid; place-items: center; align-content: center; width: clamp(118px, 5.4rem + 3.4vw, 170px); aspect-ratio: 1; border-radius: 22px; background: var(--ink); color: var(--sun); box-shadow: 0 0 0 5px #fff, 0 0 0 9px var(--blue), 0 30px 40px -26px rgba(13,13,12,.6); }
.gz-hub small { position: absolute; top: 10px; left: 12px; font: 800 .8rem/1 var(--font); color: #fff; }
.gz-hub b { font: 900 clamp(2.6rem, 2rem + 1.6vw, 3.9rem)/.9 var(--font); font-stretch: var(--wide); letter-spacing: -.02em; }
.gz-hub span { margin-top: 6px; font: 700 .72rem/1 var(--font); font-stretch: var(--wide); letter-spacing: .1em; text-transform: uppercase; color: #fff; }
.f-js .gz-pair .gz-hub { transition: opacity .3s ease .15s, translate .8s cubic-bezier(.34,1.4,.64,1) .15s, rotate .8s cubic-bezier(.34,1.4,.64,1) .15s; }
.f-js .gz-pair:not(.is-in) .gz-hub { opacity: 0; translate: 0 -90px; rotate: -16deg; }
.f-js .gz-pair::before { transition: scale .8s cubic-bezier(.45,.05,.3,1) .75s; }
.f-js .gz-pair:not(.is-in)::before { scale: 0 1; }
.f-js .gz-pair .gz-card { transition: opacity .5s ease, translate .7s cubic-bezier(.34,1.3,.64,1); transition-delay: 1.15s; }
.f-js .gz-pair:not(.is-in) .gz-card { opacity: 0; }
.f-js .gz-pair:not(.is-in) .gz-card:first-child { translate: 40px 0; }
.f-js .gz-pair:not(.is-in) .gz-card:last-child { translate: -40px 0; }
.f-js .gz-pair .gz-card__has span:first-child { transition: scale .5s cubic-bezier(.34,1.6,.64,1) 1.75s; }
.f-js .gz-pair:not(.is-in) .gz-card__has span:first-child { scale: .3; }
@media (prefers-reduced-motion: reduce) {
  .f-js .gz-pair .gz-hub, .f-js .gz-pair .gz-card { translate: none !important; rotate: none !important; transition: opacity .5s ease .2s; }
  .f-js .gz-pair::before { transition: opacity .5s ease .5s; scale: none !important; }
  .f-js .gz-pair:not(.is-in)::before { opacity: 0; }
  .f-js .gz-pair .gz-card__has span:first-child { scale: none !important; }
}
/* narrower: the tile on top, the two drips side by side under it, the line down from the tile and across */
@media (max-width: 899px) {
  .gz-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "hub hub" "a b"; row-gap: 46px; column-gap: 14px; max-width: 720px; }
  .gz-hub { grid-area: hub; justify-self: center; }
  .gz-card:first-child { grid-area: a; } .gz-card:last-child { grid-area: b; }
  .gz-pair { --hub: clamp(118px, 5.4rem + 3.4vw, 170px); }
  .gz-pair::before { left: 25%; right: 25%; top: calc(var(--hub) + 40px); height: 6px; margin-top: 0; }
  .gz-pair::after { content: ""; position: absolute; z-index: 0; left: 50%; width: 6px; margin-left: -3px; top: calc(var(--hub) - 12px); height: 58px; border-radius: 3px; background: var(--ink); transform-origin: 50% 0; }
  .f-js .gz-pair::after { transition: scale .4s ease .55s; }
  .f-js .gz-pair:not(.is-in)::after { scale: 1 0; }
}
@media (max-width: 599px) {
  .gz-card { padding: 16px 10px 18px; border-radius: 20px; }
  .gz-card img { width: 64%; }
  .gz-card__has span { min-height: 30px; padding: 4px 10px 4px 5px; font-size: .74rem; }
  .gz-card__w { font-size: .88rem; }
}

/* the review band without a photo: the two bags that carry it, then the words */
.gz-rev .gn-fan { margin-bottom: clamp(30px, 3vw, 48px); }
.gz-rev .gi-quote__src, .gz-rev .gi-quote cite { color: rgba(255,255,255,.84); }
.gz-rev .gi-quote cite b { color: #fff; }
.gz-rev { overflow-x: clip; }
