/* The Aluminum Facts sections shown inside the aluminum explainer
   (/whats-the-deal-with-aluminum-and-natural-clinoptilolite-zeolite, views/worldwide_medical_research.php), 23 Nov 2026,
   Matt Sena: "it cleans it up", "What happened to blood aluminum?", "Where the numbers come from", and the dark closing
   band. The rules are the Aluminum Facts page's own (aluminum-facts.css), only the ones these sections use, so the
   explainer does not depend on that page's files. Scoped to .alf. Nothing animates until its block is on screen
   (aluminum-proof.js adds .is-go); every block is complete without the script. */
.alf { --paper: #FFFFFF; --wash: #F1F9FB; --ink: #1F2E35; --body: #43535B; --muted: #6E7E86; --line: #D6E3E8;
       --mp: #2E93AE; --mp-fill: #3FA7C2; --mp-pale: #DDF3F9; --hot: #C4412A; --slate: #5B7480; --good: #1E9A45;
       font-family: "Montserrat", "Segoe UI", system-ui, sans-serif; color: var(--body); font-size: 17px; line-height: 1.6; background: var(--paper); overflow-x: clip; }
.alf *, .alf *::before, .alf *::after { box-sizing: border-box; }
.alf h2, .alf h3, .alf p, .alf figure { margin: 0; padding: 0; }
.alf h2, .alf h3 { font-family: inherit; color: var(--ink); letter-spacing: -.01em; text-wrap: balance; }
.alf h2 span, .alf h3 span { color: var(--mp); }
.alf p { opacity: 1; }
.alf img { max-width: 100%; }
.alf :focus-visible { outline: 3px solid var(--mp); outline-offset: 3px; }
.alf-in { max-width: 1150px; margin: 0 auto; padding: 0 20px; }
.alf-band { padding: 92px 0; background: var(--paper); }
.alf-band--wash { background: var(--wash); }
.alf-band--wash + .alf-band--wash { padding-top: 0; }   /* two pale bands in a row read as one: no double gap */
.alf-kicker { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--mp); }
.alf-head { margin: 0 auto 46px; text-align: center; }
.alf-head h2 { margin-top: 12px; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.14; font-weight: 800; }
.alf-lead { max-width: 740px; margin: 18px auto 0 !important; font-size: 19px; font-weight: 500; }
.alf-fine { font-size: 14px; line-height: 1.55; font-weight: 500; color: var(--muted); }
.alf-good { color: var(--good); }
.alf-btn { display: inline-flex; align-items: center; justify-content: center; height: 54px; padding: 0 28px; border: 0; border-radius: 8px; background: var(--mp-fill); color: #fff !important; font: 700 16px "Montserrat", sans-serif; text-decoration: none !important; cursor: pointer; transition: background .15s; }
.alf-btn:hover { background: var(--mp); }
.alf-btn--light { background: #fff; color: var(--ink) !important; }
.alf-btn--light:hover { background: var(--mp-pale); }
.alf-link { display: inline-block; margin-top: 14px; font-size: 15px; font-weight: 700; color: var(--mp) !important; text-decoration: underline !important; text-underline-offset: 3px; }

/* ---------- "it cleans it up" ---------- */
.alf .alf-better { width: 100%; max-width: 900px; margin: 0 auto; padding: 36px 40px; border-radius: 20px; background: var(--mp-pale); text-align: center; }
.alf .alf-better h3 { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.3; font-weight: 800; }
.alf .alf-better__big { margin-top: 14px; color: var(--ink); font-size: clamp(26px, 2.8vw, 36px); line-height: 1.2; font-weight: 800; }
.alf .alf-better__big span { color: var(--mp); white-space: nowrap; }   /* "it cleans it up!" stays together on one line */
.alf .alf-better p:not(.alf-better__big) { margin: 14px auto 24px; max-width: 640px; font-size: 18px; font-weight: 600; color: var(--body); }

/* ---------- measured in people ---------- */
.alf-pilot { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: center; padding: 48px; background: var(--paper); border: 1px solid var(--line); border-top: 5px solid var(--good); }
.alf-pilot__tubes { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: end; }
.alf-tube { text-align: center; }
.alf-tube__glass { position: relative; width: 112px; height: 330px; margin: 0 auto; border: 4px solid var(--ink); border-top: 0; border-radius: 0 0 56px 56px; overflow: hidden; background: #fff; }
.alf-tube__level { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; display: block; background: var(--slate); }
/* a MasterPeace bottle stands in the second tube, behind the level: it is covered at 100% and shows as the level falls */
.alf .alf-tube__bottle { position: absolute; z-index: 0; left: 50%; bottom: 74px; height: 232px; width: auto; max-width: none; transform: translateX(-50%); }
.alf-tube__level--mp { background: var(--good); }
.alf-tube b { display: block; margin-top: 14px; font-size: 30px; line-height: 1; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
.alf-tube b i { font-style: normal; }
.alf-tube span { display: block; margin-top: 8px; font-size: 13.5px; line-height: 1.4; font-weight: 600; color: var(--body); }
.alf-pilot__k { display: flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.alf-pilot__k img { width: 33px; height: auto; flex: none; }
.alf-pilot__big { margin-top: 8px !important; font-size: clamp(96px, 13vw, 176px); line-height: .9; font-weight: 800; color: var(--good); font-variant-numeric: tabular-nums; }
.alf-pilot__sub { margin-top: 12px !important; font-size: 28px; line-height: 1.15; font-weight: 800; color: var(--ink); }
.alf-pilot__t { margin-top: 18px !important; font-size: 18px; font-weight: 500; max-width: 540px; }
.alf-author { margin-top: 24px; display: flex; align-items: center; gap: 14px; }
.alf-author img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; }
.alf-author b { display: block; font-size: 15.5px; font-weight: 700; color: var(--ink); }
.alf-author span { display: block; font-size: 14px; font-weight: 500; color: var(--muted); }
.alf-flat { margin-top: 24px; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 48px; align-items: center; padding: 40px 48px; background: var(--paper); border: 1px solid var(--line); }
.alf-flat h3 { margin-top: 10px; font-size: 30px; line-height: 1.18; font-weight: 800; }
.alf-flat__copy > p:not(.alf-pilot__k) { margin-top: 14px !important; font-weight: 500; }
.alf-flat__fig { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px 28px; align-items: center; }
.alf-flat__fig figcaption { grid-column: 1 / -1; text-align: center; }
/* the calendar: its number counts the days, and four weeks fill in under it */
.alf-cal { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.alf-cal__page { position: relative; width: 150px; padding: 26px 0 14px; text-align: center; background: #fff; border: 2px solid var(--ink); border-radius: 12px; box-shadow: 0 5px 0 #C9D9E0, 0 10px 0 #E3ECF0, 0 22px 26px rgba(31, 46, 53, .16); }
.alf-cal__page::before { content: ""; position: absolute; left: -2px; right: -2px; top: -2px; height: 26px; background: var(--hot); border: 2px solid var(--ink); border-radius: 12px 12px 0 0; }
.alf-cal__bind { position: absolute; left: 0; right: 0; top: -12px; display: flex; justify-content: space-between; padding: 0 30px; z-index: 1; }
.alf-cal__bind i { width: 9px; height: 24px; border-radius: 5px; background: var(--ink); }
.alf-cal__page span { display: block; margin-top: 10px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.alf-cal__page b { display: block; font-size: 68px; line-height: 1; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
.alf-cal__page em { display: block; margin-top: 4px; font-style: normal; font-size: 13px; font-weight: 700; color: var(--mp); }
.alf-cal__grid { display: grid; grid-template-columns: repeat(7, 14px); gap: 5px; }
.alf-cal__grid i { width: 14px; height: 14px; border-radius: 3px; background: #DCE7EC; transition: background .2s; }
.alf-cal__grid i.is-on { background: var(--mp-fill); }
/* the meter: its needle never leaves zero */
.alf-meter { text-align: center; }
.alf-meter svg { display: block; width: 100%; max-width: 280px; height: auto; margin: 0 auto; overflow: visible; }
.alf-meter__ping { transform-origin: 30px 140px; opacity: 0; }
.alf-meter__read { margin-top: 4px !important; }
.alf-meter__read b { display: block; font-size: 46px; line-height: 1; font-weight: 800; color: var(--good); transform-box: fill-box; transform-origin: center; }
.alf-meter__read span { display: block; margin-top: 6px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }

/* ---------- the two published papers, shown as their own first pages ---------- */
.alf-papers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.alf-paper { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 26px; align-items: center; padding: 26px; background: rgba(255, 255, 255, .86); border: 1px solid var(--line); border-radius: 14px; color: inherit !important; text-decoration: none !important; transition: border-color .15s, box-shadow .15s; }
.alf-paper:hover { border-color: var(--mp-fill); box-shadow: 0 14px 30px rgba(31, 46, 53, .1); }
.alf-paper__page { display: block; background: #fff; border: 1px solid #C9D6DC; box-shadow: 0 2px 0 #E3ECF0, 0 12px 22px rgba(31, 46, 53, .14); overflow: hidden; }
.alf-paper__page img { display: block; width: 100%; height: auto; }
.alf-paper__copy { display: flex; flex-direction: column; min-width: 0; }
.alf-paper__k { font-size: 12px; line-height: 1.4; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--mp); }
.alf-paper__copy b { margin-top: 6px; font-size: 22px; line-height: 1.2; font-weight: 800; color: var(--ink); }
.alf-paper__title { margin-top: 12px; font-size: 16px; line-height: 1.45; font-weight: 600; color: var(--ink); }
.alf-paper__by { margin-top: 10px; font-size: 13.5px; line-height: 1.45; font-weight: 500; color: var(--muted); }

/* ---------- the dark closing band, straight above the footer ---------- */
.alf-cta { background: #383838; padding: 76px 0; text-align: center; }
.alf-cta img { width: 180px; height: auto; display: block; margin: 0 auto 26px; }
.alf-cta h2 { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.2; font-weight: 800; color: #fff; margin-bottom: 30px; }
.alf-cta h2 span { color: #7FD0E4; }

/* ---------- entrances: a panel plays once it is on screen ---------- */
@keyframes alf-rise { from { opacity: .001; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes alf-ping { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(2.6); opacity: 0; } }
@keyframes alf-zero { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.14); } }
.alf.is-live [data-go] { visibility: hidden; }
.alf.is-live [data-go].is-go { visibility: visible; animation: alf-rise 1s ease-out both; }
.alf.is-live .alf-flat.is-go .alf-meter__ping { animation: alf-ping 1.3s ease-out infinite; }
.alf.is-live .alf-flat.is-go .alf-meter__read b { animation: alf-zero 1.3s ease-in-out infinite; }

@media (max-width: 1023px) {
    .alf-band { padding: 64px 0; }
    .alf-pilot, .alf-flat { grid-template-columns: 1fr; }
    .alf-pilot { padding: 32px 24px; gap: 36px; }
    .alf-flat { padding: 30px 24px; gap: 24px; }
    .alf-papers { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .alf { font-size: 16px; }
    .alf-flat__fig { grid-template-columns: 1fr; }
    .alf-tube__glass { width: 84px; height: 240px; }
    .alf .alf-tube__bottle { bottom: 54px; height: 168px; }
    .alf-paper { grid-template-columns: 1fr; }
    .alf .alf-better { padding: 26px 20px; }
    .alf .alf-better .alf-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    .alf.is-live [data-go] { visibility: visible; }
    .alf.is-live [data-go].is-go, .alf.is-live .is-go * { animation: none !important; }
}

/* Matt Sena, 27 Nov 2026: the blood-aluminum heading came off, so this band starts with the 28-day card; less open space above it */
.alf .alf-band--nohead, .alf-band.alf-band--nohead { padding-top: 40px; }
