/* The Caviar Atlas (Journal guides 1–7): the interactive pieces and their page furniture. Prefix cmb-at-.
   Colours come from the brand variables on .cmb (brand.css). Without JavaScript every page still reads in full. */

html body .cmb .cmb-at-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
html body .cmb :is(.cmb-at-stop, .cmb-at-arrow, .cmb-at-lens-stops button, .cmb-at-pm, .cmb-at-cp, .cmb-at-q-btns button, .cmb-at-q-next, .cmb-at-next):focus-visible { outline: 2px solid var(--b-gold); outline-offset: 3px; }

/* one pearl, lit from the upper left (colours from --c1 / --c2 on the element) */
html body .cmb :is(.cmb-at-dot, .cmb-at-ball, .cmb-at-cp i, .cmb-at-big i, .cmb-at-pair-p) {
  border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, rgba(255, 255, 255, .85) 0, rgba(255, 255, 255, .22) 14%, rgba(255, 255, 255, 0) 27%),
              radial-gradient(circle at 50% 55%, var(--c1) 0, var(--c1) 22%, var(--c2) 80%, var(--c2) 100%);
}
/* a field of pearls packed like caviar in a tin (--p = one grain, in px) */
html body .cmb :is(.cmb-at-goldtin i, .cmb-at-cmp-a, .cmb-at-cmp-b, .cmb-at-q-pic) {
  --hl: rgba(255, 255, 255, .7);
  background-color: var(--bg, var(--c2));
  background-image:
    radial-gradient(circle at calc(50% - var(--p) * .16) calc(50% - var(--p) * .17), var(--hl) 0, rgba(255, 255, 255, 0) calc(var(--p) * .14)),
    radial-gradient(circle at calc(50% - var(--p) * .16) calc(50% - var(--p) * .17), var(--hl) 0, rgba(255, 255, 255, 0) calc(var(--p) * .14)),
    radial-gradient(circle at 50% 50%, var(--c1) 0, var(--c1) calc(var(--p) * .1), var(--c2) calc(var(--p) * .43), rgba(0, 0, 0, .5) calc(var(--p) * .49), rgba(0, 0, 0, 0) calc(var(--p) * .51)),
    radial-gradient(circle at 50% 50%, var(--c1) 0, var(--c1) calc(var(--p) * .1), var(--c2) calc(var(--p) * .43), rgba(0, 0, 0, .5) calc(var(--p) * .49), rgba(0, 0, 0, 0) calc(var(--p) * .51));
  background-size: var(--p) calc(var(--p) * 1.732);
  background-position: 0 0, calc(var(--p) / 2) calc(var(--p) * .866), 0 0, calc(var(--p) / 2) calc(var(--p) * .866);
}
@keyframes cmb-at-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ================= 1. Meet the sturgeon: the life ring ================= */
html body .cmb .cmb-at-life { display: grid; gap: clamp(28px, 5vw, 72px); align-items: center; }
@media (min-width: 960px) { html body .cmb .cmb-at-life { grid-template-columns: minmax(0, 480px) minmax(0, 1fr); } }
html body .cmb .cmb-at-ring { position: relative; width: min(100%, 480px); aspect-ratio: 1; margin: 0 auto 26px; touch-action: pan-y; }
html body .cmb .cmb-at-ring-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
html body .cmb .cmb-at-track { fill: none; stroke: var(--b-line); stroke-width: 1.5; }
html body .cmb .cmb-at-arc { fill: none; stroke: var(--b-gold); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 83.3; transition: stroke-dashoffset .8s var(--b-ease); }
html body .cmb .cmb-at-inner { fill: var(--b-white); stroke: var(--b-line); stroke-width: 1; }
html body .cmb .cmb-at-centre { position: absolute; left: 24%; right: 24%; top: 24%; bottom: 24%; display: grid; place-items: center; }
html body .cmb .cmb-at-draw { grid-area: 1 / 1; width: 100%; height: auto; overflow: visible; fill: none; stroke: var(--b-gold-ink); color: var(--b-gold-ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transform: scale(.9); transition: opacity .5s var(--b-ease), transform .7s var(--b-ease); }
html body .cmb .cmb-at-draw.is-on { opacity: 1; transform: none; }
html body .cmb .cmb-at-thin { opacity: .45; }
html body .cmb .cmb-at-stops { position: absolute; inset: 0; list-style: none; }
html body .cmb .cmb-at-stops li { position: absolute; transform: translate(-50%, -50%); }
html body .cmb .cmb-at-stop { position: relative; display: grid; place-items: center; width: 52px; height: 52px; padding: 0; border: 1px solid var(--b-gold); border-radius: 50%; background: var(--b-paper); color: var(--b-navy); cursor: pointer; transition: background-color .35s, color .35s, box-shadow .35s, transform .35s var(--b-ease); }
html body .cmb .cmb-at-stop:hover { transform: scale(1.07); }
html body .cmb .cmb-at-stop.is-past { background: var(--b-band); }
html body .cmb .cmb-at-stop[aria-pressed="true"] { background: var(--b-navy); color: var(--b-ivory); box-shadow: 0 0 0 6px rgba(194, 163, 107, .22); }
html body .cmb .cmb-at-stop-n { font: 400 21px/1 "Bodoni Moda", Georgia, serif; }
html body .cmb .cmb-at-stop-t { position: absolute; top: calc(100% + 7px); left: 50%; transform: translateX(-50%); white-space: nowrap; font: 500 11px/1 "Jost", sans-serif; letter-spacing: .16em; text-transform: uppercase; color: var(--b-gold-ink); }
html body .cmb .cmb-at-stop[aria-pressed="true"] .cmb-at-stop-t { color: var(--b-navy); }
html body .cmb .cmb-at-life-side { display: flex; flex-direction: column; gap: 26px; min-width: 0; }
html body .cmb .cmb-at-stage[hidden] { display: none; }
html body .cmb.cmb-js .cmb-at-stage { animation: cmb-at-in .5s var(--b-ease); }
html body .cmb .cmb-at-stage h3 { margin-top: 10px; font-size: clamp(32px, 3.6vw, 46px); line-height: 1.04; }
html body .cmb .cmb-at-stage p { margin-top: 14px; max-width: 540px; font: 400 17px/1.7 "Lora", Georgia, serif; color: var(--b-ink); }
html body .cmb .cmb-at-meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin-top: 22px; max-width: 540px; background: var(--b-line); border: 1px solid var(--b-line); }
html body .cmb .cmb-at-meta div { background: var(--b-white); padding: 14px 16px; }
html body .cmb .cmb-at-meta dt { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--b-gold-ink); }
html body .cmb .cmb-at-meta dd { margin-top: 5px; font: 400 17px/1.3 "Bodoni Moda", Georgia, serif; }
html body .cmb:not(.cmb-js) .cmb-at-stage + .cmb-at-stage { margin-top: 34px; padding-top: 30px; border-top: 1px solid var(--b-line); }
html body .cmb:not(.cmb-js) .cmb-at-life-nav { display: none; }
html body .cmb .cmb-at-life-nav { display: flex; gap: 12px; align-items: center; }
html body .cmb .cmb-at-arrow { display: grid; place-items: center; flex: none; width: 56px; height: 56px; padding: 0; border: 1px solid var(--b-gold); border-radius: 0; background: transparent; color: var(--b-navy); cursor: pointer; transition: background-color .3s; }
html body .cmb .cmb-at-arrow:hover { background: rgba(194, 163, 107, .12); }
html body .cmb :is(.cmb-at-arrow, .cmb-at-next) svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
html body .cmb .cmb-at-next { gap: 16px; }

/* anatomy */
html body .cmb .cmb-at-anat { display: grid; gap: clamp(26px, 4vw, 52px); align-items: center; }
@media (min-width: 900px) { html body .cmb .cmb-at-anat { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); } }
html body .cmb .cmb-at-anat-pic { position: relative; margin: 10px 4px 0; }
html body .cmb .cmb-at-anat-pic svg { display: block; width: 100%; height: auto; overflow: visible; fill: none; stroke: var(--b-navy); color: var(--b-navy); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
html body .cmb .cmb-at-pin { position: absolute; transform: translate(-50%, -50%); display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--b-gold); color: var(--b-navy); font: 500 13px/1 "Jost", sans-serif; box-shadow: 0 0 0 4px var(--b-white); }
html body .cmb .cmb-at-anat-list { list-style: none; display: grid; gap: 16px; counter-reset: cmbat; }
html body .cmb .cmb-at-anat-list li { counter-increment: cmbat; display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 3px 16px; align-items: baseline; }
html body .cmb .cmb-at-anat-list li::before { content: counter(cmbat); grid-row: span 2; align-self: start; width: 26px; height: 26px; border-radius: 50%; background: var(--b-gold); color: var(--b-navy); display: grid; place-items: center; font: 500 13px/1 "Jost", sans-serif; }
html body .cmb .cmb-at-anat-list b { font: 400 22px/1.2 "Bodoni Moda", Georgia, serif; }
html body .cmb .cmb-at-anat-list span { font-size: 15px; line-height: 1.5; color: var(--b-ink); }

/* ================= 2. Species explorer ================= */
html body .cmb .cmb-at-lens { max-width: 600px; margin: 0 auto clamp(28px, 4vw, 44px); text-align: center; }
html body .cmb .cmb-at-lens-q { display: block; font: 500 12px/1.3 "Jost", sans-serif; letter-spacing: .22em; text-transform: uppercase; color: var(--b-gold-ink); }
html body .cmb .cmb-at-lens .cmb-range { margin: 14px 0 0; }
html body .cmb .cmb-at-lens-stops { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
html body .cmb .cmb-at-lens-stops button { min-height: 48px; padding: 6px 0; border: 0; background: transparent; font: 400 clamp(20px, 2.2vw, 25px)/1 "Bodoni Moda", Georgia, serif; color: var(--b-faint); cursor: pointer; transition: color .3s; }
html body .cmb .cmb-at-lens-stops button:first-child { text-align: left; }
html body .cmb .cmb-at-lens-stops button:last-child { text-align: right; }
html body .cmb .cmb-at-lens-stops button[aria-pressed="true"] { color: var(--b-navy); }
html body .cmb .cmb-at-lens-cap { margin-top: 6px; font: italic 400 17px/1.4 "Lora", Georgia, serif; color: var(--b-muted); }
html body .cmb .cmb-at-lens-cap [hidden] { display: none; }
html body .cmb:not(.cmb-js) :is(.cmb-at-lens-q, .cmb-at-lens .cmb-range, .cmb-at-lens-stops) { display: none; }
html body .cmb :is(.cmb-at-lens, .cmb-at-cal-row) input.cmb-range:focus-visible { outline: 2px solid var(--b-gold); outline-offset: 4px; }
html body .cmb .cmb-at-sps { list-style: none; display: grid; gap: 12px; }
@media (min-width: 1000px) { html body .cmb .cmb-at-sps { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
html body .cmb .cmb-at-sp { position: relative; display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 22px 16px 24px; background: var(--b-white); border: 1px solid var(--b-line); text-align: center; }
html body .cmb .cmb-at-sp img { width: 100%; max-width: 168px; height: auto; }
html body .cmb .cmb-at-sp-id b { display: block; font: 400 28px/1.05 "Bodoni Moda", Georgia, serif; }
html body .cmb .cmb-at-sp-id em { display: block; margin-top: 5px; font: italic 400 14px/1.3 "Lora", Georgia, serif; color: var(--b-muted); }
html body .cmb .cmb-at-code { display: inline-block; margin-top: 9px; padding: 5px 9px; border: 1px solid var(--b-gold); font: 500 12px/1 "Jost", sans-serif; letter-spacing: .14em; color: var(--b-gold-ink); }
html body .cmb .cmb-at-rows { width: 100%; border-top: 1px solid var(--b-line); text-align: left; }
html body .cmb .cmb-at-rows > div { padding: 12px 10px; border-bottom: 1px solid var(--b-line); transition: background-color .45s var(--b-ease), box-shadow .45s var(--b-ease); }
html body .cmb .cmb-at-rows dt { font: 500 10.5px/1.2 "Jost", sans-serif; letter-spacing: .2em; text-transform: uppercase; color: var(--b-faint); }
html body .cmb .cmb-at-rows dd { margin-top: 7px; display: flex; align-items: center; gap: 12px; min-height: 46px; font-size: 14px; line-height: 1.4; color: var(--b-ink); }
html body .cmb .cmb-at-rows [data-row="taste"] dd { display: block; }
html body .cmb .cmb-at-dot { flex: none; width: calc(var(--mm) * 14px); height: calc(var(--mm) * 14px); box-shadow: 0 4px 9px -4px rgba(0, 14, 52, .55); }
html body .cmb .cmb-at-sw { flex: none; width: 44px; height: 24px; border-radius: 12px; background: linear-gradient(180deg, rgba(255, 255, 255, .35), rgba(255, 255, 255, 0) 55%), linear-gradient(90deg, var(--c1), var(--c2)); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); }
html body .cmb .cmb-at-char { display: inline-block; margin-bottom: 7px; padding: 5px 9px; background: var(--b-navy); color: var(--b-ivory); font: 500 11px/1 "Jost", sans-serif; letter-spacing: .14em; text-transform: uppercase; }
html body .cmb .cmb-at-char + span { display: block; }
html body .cmb .cmb-at-sps[data-lens="grain"] [data-row="grain"],
html body .cmb .cmb-at-sps[data-lens="colour"] [data-row="colour"],
html body .cmb .cmb-at-sps[data-lens="taste"] [data-row="taste"] { background: #FFFBF1; box-shadow: inset 3px 0 0 var(--b-gold); }
html body .cmb .cmb-at-sps[data-lens="grain"] [data-row="grain"] dt,
html body .cmb .cmb-at-sps[data-lens="colour"] [data-row="colour"] dt,
html body .cmb .cmb-at-sps[data-lens="taste"] [data-row="taste"] dt { color: var(--b-gold-ink); }
html body .cmb .cmb-at-sp .cmb-more { margin-top: auto; }
@media (max-width: 999px) {
  html body .cmb .cmb-at-sp { display: grid; grid-template-columns: 92px minmax(0, 1fr); align-items: start; gap: 10px 16px; padding: 18px 16px; text-align: left; }
  html body .cmb .cmb-at-sp img { grid-row: span 3; max-width: 92px; margin-top: 2px; }
  html body .cmb .cmb-at-sp .cmb-more { justify-self: start; }
  html body .cmb.cmb-js .cmb-at-sps[data-lens="grain"] .cmb-at-rows > div:not([data-row="grain"]),
  html body .cmb.cmb-js .cmb-at-sps[data-lens="colour"] .cmb-at-rows > div:not([data-row="colour"]),
  html body .cmb.cmb-js .cmb-at-sps[data-lens="taste"] .cmb-at-rows > div:not([data-row="taste"]) { display: none; }
}

/* ================= 3. Grain size at true scale ================= */
html body .cmb .cmb-at-grain { --cmb-at-mm: 1mm; display: grid; gap: 14px; }
@media (min-width: 960px) { html body .cmb .cmb-at-grain { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); align-items: stretch; } }
html body .cmb .cmb-at-grain .cmb-card { min-width: 0; }
html body .cmb .cmb-at-gstep { display: flex; align-items: center; gap: 12px; }
html body .cmb .cmb-at-gstep-n { flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--b-gold); display: grid; place-items: center; font: 400 16px/1 "Bodoni Moda", Georgia, serif; color: var(--b-gold-ink); }
html body .cmb .cmb-at-gstep b { font: 400 24px/1.15 "Bodoni Moda", Georgia, serif; }
html body .cmb .cmb-at-gstep--3 { margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--b-line); }
html body .cmb .cmb-at-small { margin-top: 12px; font-size: 15px; line-height: 1.55; color: var(--b-ink); }
html body .cmb .cmb-at-faint { font-size: 13px; color: var(--b-muted); }
html body .cmb .cmb-at-cardbox { display: flex; justify-content: center; margin: 30px calc(-1 * clamp(22px, 3vw, 36px)) 8px; padding-top: 14px; overflow: hidden; }
@media (max-width: 599px) { html body .cmb .cmb-at-cardbox { margin-left: calc(-1 * (clamp(22px, 3vw, 36px) + var(--b-pad))); margin-right: calc(-1 * (clamp(22px, 3vw, 36px) + var(--b-pad))); } }
html body .cmb .cmb-at-cardo { position: relative; flex: none; width: calc(53.98 * var(--cmb-at-mm)); height: calc(26 * var(--cmb-at-mm)); border: 2px solid var(--b-gold); border-bottom: 0; border-radius: calc(3.18 * var(--cmb-at-mm)) calc(3.18 * var(--cmb-at-mm)) 0 0; background: linear-gradient(180deg, rgba(194, 163, 107, .2), rgba(194, 163, 107, 0)); }
html body .cmb .cmb-at-cardo::before, html body .cmb .cmb-at-cardo::after { content: ""; position: absolute; top: -14px; width: 2px; height: 12px; background: var(--b-navy); }
html body .cmb .cmb-at-cardo::before { left: -2px; }
html body .cmb .cmb-at-cardo::after { right: -2px; }
html body .cmb .cmb-at-chip { position: absolute; left: 50%; top: calc(9 * var(--cmb-at-mm)); width: calc(11 * var(--cmb-at-mm)); height: calc(8.5 * var(--cmb-at-mm)); transform: translateX(-50%); border: 1px solid rgba(107, 90, 51, .5); border-radius: calc(1.4 * var(--cmb-at-mm)); background: linear-gradient(90deg, transparent 32%, rgba(107, 90, 51, .35) 32% 34%, transparent 34% 66%, rgba(107, 90, 51, .35) 66% 68%, transparent 68%); }
html body .cmb .cmb-at-cal-row { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
html body .cmb .cmb-at-cal-row .cmb-range { flex: 1; min-width: 0; margin: 0; }
html body .cmb .cmb-at-pm { flex: none; width: 44px; height: 44px; padding: 0; border: 1px solid var(--b-gold); border-radius: 50%; background: var(--b-white); color: var(--b-navy); font: 400 22px/1 "Jost", sans-serif; cursor: pointer; transition: background-color .25s; }
html body .cmb .cmb-at-pm:hover { background: #FFF8E8; }
html body .cmb .cmb-at-cal .cmb-at-faint { margin-top: 14px; }
html body .cmb .cmb-at-five { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin-top: 24px; }
html body .cmb .cmb-at-five li { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
html body .cmb .cmb-at-five li::before { content: ""; display: block; height: 0; }
html body .cmb .cmb-at-ball { display: block; width: calc(var(--d) * var(--cmb-at-mm)); height: calc(var(--d) * var(--cmb-at-mm)); margin: 22px 0 18px; box-shadow: 0 0 0 16px var(--b-paper), 0 0 0 17px var(--b-line), 0 1px 2px 16px rgba(0, 14, 52, .04); }
html body .cmb .cmb-at-five b { font: 400 18px/1.1 "Bodoni Moda", Georgia, serif; }
html body .cmb .cmb-at-five span { font-size: 12px; letter-spacing: .06em; color: var(--b-muted); }
html body .cmb .cmb-at-grain .cmb-chips { margin-top: 16px; }
html body .cmb .cmb-at-grain .cmb-chip { min-height: 44px; }
html body .cmb .cmb-at-ruler { position: relative; width: calc(50 * var(--cmb-at-mm)); max-width: 100%; margin-top: 26px; overflow: hidden; }
html body .cmb .cmb-at-line { --g: calc(var(--d) * var(--cmb-at-mm)); height: var(--g); background-image: radial-gradient(circle at 36% 30%, rgba(255, 255, 255, .85) 0, rgba(255, 255, 255, 0) calc(var(--g) * .2)), radial-gradient(circle closest-side, var(--c1) 0, var(--c1) 20%, var(--c2) 84%, rgba(0, 0, 0, .35) 95%, rgba(0, 0, 0, 0) 100%); background-size: var(--g) var(--g); background-repeat: repeat-x; }
html body .cmb .cmb-at-line.is-roll { animation: cmb-at-roll 1s var(--b-ease); }
@keyframes cmb-at-roll { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
html body .cmb .cmb-at-ticks { height: 12px; margin-top: 6px; border-top: 1px solid var(--b-navy); box-shadow: inset -1px 0 0 var(--b-navy);
  background: repeating-linear-gradient(90deg, var(--b-navy) 0 1px, transparent 1px calc(10 * var(--cmb-at-mm))) 0 0 / 100% 100% no-repeat,
              repeating-linear-gradient(90deg, var(--b-gold) 0 1px, transparent 1px var(--cmb-at-mm)) 0 0 / 100% 55% no-repeat; }
html body .cmb .cmb-at-cms { position: relative; height: 18px; margin-top: 4px; }
html body .cmb .cmb-at-cms span { position: absolute; top: 0; left: calc(var(--n) * 10 * var(--cmb-at-mm)); transform: translateX(-50%); font-size: 11px; color: var(--b-muted); white-space: nowrap; }
html body .cmb .cmb-at-cms span:first-child { transform: none; }
html body .cmb .cmb-at-cms span:last-child { transform: translateX(-100%); }
html body .cmb .cmb-at-per { margin-top: 14px; font: italic 400 17px/1.5 "Lora", Georgia, serif; color: var(--b-ink); }
html body .cmb .cmb-at-per output { font: 400 28px/1 "Bodoni Moda", Georgia, serif; color: var(--b-navy); }
html body .cmb:not(.cmb-js) :is(.cmb-at-cal-row, .cmb-at-grain .cmb-chips) { display: none; }
/* the five sizes, as bars */
html body .cmb .cmb-at-bars { list-style: none; display: grid; gap: 16px; margin-top: 20px; }
html body .cmb .cmb-at-bars li { display: grid; grid-template-columns: 72px minmax(0, 1fr) 52px; align-items: center; gap: 12px; }
html body .cmb .cmb-at-bars b { font: 400 19px/1 "Bodoni Moda", Georgia, serif; }
html body .cmb .cmb-at-bars i { position: relative; height: 10px; background: var(--b-line); overflow: hidden; }
html body .cmb .cmb-at-bars i::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: var(--w); background: linear-gradient(90deg, var(--b-gold-2), var(--b-gold)); transform-origin: left; transition: transform 1.4s var(--b-ease); }
html body .cmb.cmb-js .cmb-rise:not(.is-in) .cmb-at-bars i::after { transform: scaleX(0); }
html body .cmb .cmb-at-bars span { font-size: 13px; color: var(--b-muted); text-align: right; }

/* ================= 4. Colour guide: the line from jet to gold ================= */
html body .cmb .cmb-at-chero { position: relative; overflow: hidden; padding: clamp(56px, 8vw, 110px) var(--b-pad) clamp(56px, 7vw, 96px); background: radial-gradient(110% 80% at 85% 0%, #10245C 0, var(--b-navy) 62%); color: var(--b-ivory); }
html body .cmb .cmb-at-chero .cmb-k { color: var(--b-gold-2); }
html body .cmb .cmb-at-chero h1 { margin-top: 18px; max-width: 900px; font-size: clamp(42px, 6vw, 76px); line-height: 1.02; color: var(--b-ivory); }
html body .cmb .cmb-at-chero .cmb-lead { color: var(--b-mist); }
html body .cmb .cmb-at-cw { margin-top: clamp(36px, 5vw, 60px); }
html body .cmb .cmb-at-cw-top { display: grid; gap: 28px; align-items: center; }
@media (min-width: 800px) { html body .cmb .cmb-at-cw-top { grid-template-columns: auto minmax(0, 1fr); gap: clamp(36px, 5vw, 64px); } }
html body .cmb .cmb-at-big { position: relative; justify-self: center; width: clamp(150px, 19vw, 220px); aspect-ratio: 1; }
html body .cmb .cmb-at-big::before { content: ""; position: absolute; inset: -18%; border-radius: 50%; background: radial-gradient(circle, rgba(201, 169, 110, .18), rgba(201, 169, 110, 0) 65%); }
html body .cmb .cmb-at-big i { position: absolute; inset: 0; box-shadow: 0 34px 60px -26px rgba(0, 0, 0, .8), inset 0 -12px 30px rgba(0, 0, 0, .3); }
html body .cmb .cmb-at-big.is-pop i { animation: cmb-at-pop .55s var(--b-ease); }
@keyframes cmb-at-pop { 0% { transform: scale(.94); } 60% { transform: scale(1.03); } 100% { transform: none; } }
html body .cmb .cmb-at-cpanel[hidden] { display: none; }
html body .cmb.cmb-js .cmb-at-cpanel { animation: cmb-at-in .45s var(--b-ease); }
html body .cmb:not(.cmb-js) .cmb-at-cpanel + .cmb-at-cpanel { margin-top: 26px; }
html body .cmb .cmb-at-cname { display: block; margin-top: 10px; font: 400 clamp(30px, 3.6vw, 46px)/1.06 "Bodoni Moda", Georgia, serif; color: var(--b-ivory); }
html body .cmb .cmb-at-clatin { display: block; margin-top: 10px; max-width: 520px; font: italic 400 16px/1.55 "Lora", Georgia, serif; color: var(--b-mist); }
html body .cmb .cmb-at-chero .cmb-more { margin-top: 18px; color: var(--b-gold-2); }
html body .cmb .cmb-at-cline { position: relative; margin-top: clamp(34px, 5vw, 54px); padding-top: 70px; }
html body .cmb .cmb-at-cpearls { position: absolute; left: 0; right: 0; top: 0; height: 64px; }
html body .cmb .cmb-at-cp { position: absolute; top: 0; left: calc(17px + (100% - 34px) * var(--at)); transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 48px; min-height: 56px; padding: 0; border: 0; background: transparent; color: var(--b-mist); cursor: pointer; }
html body .cmb .cmb-at-cp i { display: block; width: 30px; height: 30px; box-shadow: 0 6px 14px -6px rgba(0, 0, 0, .9); transition: transform .4s var(--b-ease), box-shadow .4s var(--b-ease), filter .7s var(--b-ease); }
html body .cmb .cmb-at-cp span { font: 500 11px/1 "Jost", sans-serif; letter-spacing: .14em; text-transform: uppercase; transition: color .3s; }
html body .cmb .cmb-at-cp:hover i { transform: scale(1.12); }
html body .cmb .cmb-at-cp[aria-pressed="true"] i { transform: scale(1.22); box-shadow: 0 0 0 3px var(--b-navy), 0 0 0 4px var(--b-gold-2); }
html body .cmb .cmb-at-cp[aria-pressed="true"] span { color: var(--b-ivory); }
html body .cmb .cmb-at-ctrack { position: relative; height: 44px; }
html body .cmb .cmb-at-cgrad { position: absolute; left: 17px; right: 17px; top: 50%; height: 12px; margin-top: -6px; border-radius: 6px; background: linear-gradient(90deg, #0B0908 0%, #2A211B 8%, #2B2E34 20%, #5B5F66 29%, #8A9097 40%, #B9BEC4 50%, #A39D7A 60%, #8C7A3E 71%, #B69339 82%, #D9B45A 92%, #EBCD80 100%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); transition: filter .7s var(--b-ease); }
html body .cmb input.cmb-at-cr { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; background: transparent; -webkit-appearance: none; appearance: none; cursor: pointer; }
html body .cmb input.cmb-at-cr::-webkit-slider-runnable-track { height: 44px; background: transparent; border: 0; }
html body .cmb input.cmb-at-cr::-webkit-slider-thumb { -webkit-appearance: none; width: 34px; height: 34px; margin-top: 5px; border-radius: 50%; background: rgba(0, 14, 52, .25); border: 3px solid var(--b-ivory); box-shadow: 0 0 0 1px var(--b-gold-2), 0 6px 16px rgba(0, 0, 0, .55); }
html body .cmb input.cmb-at-cr::-moz-range-track { height: 44px; background: transparent; border: 0; }
html body .cmb input.cmb-at-cr::-moz-range-thumb { width: 28px; height: 28px; border-radius: 50%; background: rgba(0, 14, 52, .25); border: 3px solid var(--b-ivory); box-shadow: 0 0 0 1px var(--b-gold-2); }
html body .cmb input.cmb-at-cr:focus { outline: none; }
html body .cmb input.cmb-at-cr:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px var(--b-gold-2); }
html body .cmb input.cmb-at-cr:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 4px var(--b-gold-2); }
html body .cmb .cmb-at-cends { display: flex; justify-content: space-between; margin-top: 4px; padding: 0 4px; font: 500 11px/1 "Jost", sans-serif; letter-spacing: .2em; text-transform: uppercase; color: var(--b-faint); }
html body .cmb .cmb-at-lights { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 30px; }
html body .cmb .cmb-at-lights-q { font: 500 12px/1.3 "Jost", sans-serif; letter-spacing: .22em; text-transform: uppercase; color: var(--b-gold-2); }
html body .cmb .cmb-at-lights .cmb-chips { margin-top: 0; }
html body .cmb .cmb-at-chero .cmb-chip { min-height: 44px; background: transparent; color: var(--b-ivory); border-color: rgba(194, 163, 107, .55); }
html body .cmb .cmb-at-chero .cmb-chip:hover { border-color: var(--b-gold-2); }
html body .cmb .cmb-at-chero .cmb-chip[aria-pressed="true"] { background: var(--b-ivory); color: var(--b-navy); border-color: var(--b-ivory); }
html body .cmb .cmb-at-lcap { flex-basis: 100%; font: italic 400 16px/1.5 "Lora", Georgia, serif; color: var(--b-mist); }
html body .cmb .cmb-at-lcap [hidden] { display: none; }
html body .cmb .cmb-at-big i { transition: filter .7s var(--b-ease); }
html body .cmb .cmb-at-cw[data-light="lamp"] :is(.cmb-at-big i, .cmb-at-cp i, .cmb-at-cgrad) { filter: sepia(.32) saturate(1.2) hue-rotate(-4deg) brightness(.97); }
html body .cmb .cmb-at-cw[data-light="candle"] :is(.cmb-at-big i, .cmb-at-cp i, .cmb-at-cgrad) { filter: sepia(.62) saturate(1.4) hue-rotate(-8deg) brightness(.9); }
html body .cmb:not(.cmb-js) :is(.cmb-at-lights, .cmb-at-ctrack, .cmb-at-cends) { display: none; }
@media (max-width: 599px) {
  html body .cmb .cmb-at-cp span { font-size: 10px; letter-spacing: .1em; }
  html body .cmb .cmb-at-cw-top { grid-template-columns: auto minmax(0, 1fr); gap: 22px; }
  html body .cmb .cmb-at-big { width: 104px; align-self: start; margin-top: 6px; }
  html body .cmb .cmb-at-cname { font-size: 28px; }
  html body .cmb .cmb-at-clatin { font-size: 15px; }
  html body .cmb .cmb-at-five b { font-size: 15px; }
  html body .cmb .cmb-at-five span { font-size: 11px; letter-spacing: 0; }
  html body .cmb :is(.cmb-at-cmp-head, .cmb-at-cmp-row) { grid-template-columns: minmax(0, 1fr) 66px minmax(0, 1fr); gap: 6px 12px; }
  html body .cmb .cmb-at-cmp-row.is-diff dd:not(.cmb-at-cmp-sign) { font-size: 17px; }
  html body .cmb .cmb-at-cmp-sign { padding: 6px 5px; letter-spacing: .08em; }
}
/* what colour tells you */
html body .cmb .cmb-at-tell { display: grid; gap: 14px; }
@media (min-width: 900px) { html body .cmb .cmb-at-tell { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); align-items: start; } }
html body .cmb .cmb-at-crosses { list-style: none; display: grid; gap: 14px; margin-top: 16px; }
html body .cmb .cmb-at-crosses li { position: relative; padding-left: 32px; font-size: 16px; line-height: 1.5; color: var(--b-ink); }
html body .cmb .cmb-at-crosses li b { font-weight: 500; color: var(--b-navy); }
html body .cmb .cmb-at-crosses li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border: 1px solid var(--b-gold); border-radius: 50%; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%236B5A33' stroke-width='1.5'%3E%3Cpath d='M7 7l6 6M13 7l-6 6'/%3E%3C/svg%3E") center / 20px no-repeat; }
html body .cmb .cmb-at-pair { display: flex; align-items: center; justify-content: center; gap: clamp(14px, 3vw, 30px); padding: 20px 0; }
html body .cmb .cmb-at-pair-p { flex: none; width: clamp(110px, 15vw, 180px); aspect-ratio: 1; box-shadow: 0 26px 44px -22px rgba(0, 14, 52, .6); }
html body .cmb .cmb-at-pair-eq { flex: none; padding: 9px 12px; border: 1px solid var(--b-gold); font: 500 17px/1 "Jost", sans-serif; letter-spacing: .14em; color: var(--b-gold-ink); background: var(--b-white); }

/* ================= 5. Almas: from grey to gold ================= */
html body .cmb .cmb-hero-pic.cmb-at-goldpic { display: grid; place-items: center; min-height: 360px; padding: clamp(40px, 6vw, 80px) var(--b-pad); background: radial-gradient(65% 60% at 50% 46%, #1B2D63 0, var(--b-navy) 72%); }
html body .cmb .cmb-hero-pic.cmb-at-goldpic::after { content: none; }
html body .cmb .cmb-at-goldtin { position: relative; width: min(84%, 460px); aspect-ratio: 1; padding: 4.5%; border-radius: 50%; background: conic-gradient(from 210deg, #F6E7BE, #B38B45, #F3DFA8, #8E6A2E, #E9D29A, #B38B45, #F6E7BE); box-shadow: 0 44px 80px -36px rgba(0, 0, 0, .9), inset 0 0 0 1px rgba(255, 255, 255, .4); }
html body .cmb .cmb-at-goldtin i { --p: 26px; --c1: #F4DB95; --c2: #B4862C; --bg: #5A3F12; --hl: rgba(255, 252, 235, .85); position: relative; display: block; width: 100%; height: 100%; overflow: hidden; border-radius: 50%; box-shadow: inset 0 0 0 2px rgba(60, 40, 10, .45), inset 0 16px 34px rgba(40, 25, 5, .6); }
html body .cmb .cmb-at-goldtin i::after { content: ""; position: absolute; inset: -20%; background: linear-gradient(110deg, rgba(255, 250, 230, 0) 38%, rgba(255, 250, 230, .4) 50%, rgba(255, 250, 230, 0) 62%); transform: translateX(-70%); animation: cmb-at-sheen 7s var(--b-ease) infinite; }
@keyframes cmb-at-sheen { 0%, 40% { transform: translateX(-70%); } 80%, 100% { transform: translateX(70%); } }
html body .cmb .cmb-at-cmp { display: grid; gap: clamp(26px, 4vw, 56px); align-items: center; }
@media (min-width: 960px) { html body .cmb .cmb-at-cmp { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
html body .cmb .cmb-at-cmp-stage { --x: 50%; position: relative; width: min(100%, 520px); aspect-ratio: 1; margin: 0 auto; overflow: hidden; border: clamp(12px, 2.4vw, 20px) solid transparent; border-radius: 50%; background: linear-gradient(var(--b-navy), var(--b-navy)) padding-box, conic-gradient(from 210deg, #F6E7BE, #B38B45, #F3DFA8, #8E6A2E, #E9D29A, #B38B45, #F6E7BE) border-box; box-shadow: 0 40px 70px -40px rgba(0, 14, 52, .75); cursor: ew-resize; touch-action: pan-y; -webkit-user-select: none; user-select: none; }
html body .cmb .cmb-at-cmp-a, html body .cmb .cmb-at-cmp-b { position: absolute; inset: 0; }
html body .cmb .cmb-at-cmp-a { --p: 30px; --c1: #7B8088; --c2: #2A2D33; --bg: #111216; --hl: rgba(255, 255, 255, .6); }
html body .cmb .cmb-at-cmp-b { --p: 32px; --c1: #F4DB95; --c2: #B4862C; --bg: #5A3F12; --hl: rgba(255, 252, 235, .85); clip-path: inset(0 0 0 var(--x)); }
html body .cmb .cmb-at-cmp-a::after, html body .cmb .cmb-at-cmp-b::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 18px 40px rgba(0, 0, 0, .45); border-radius: 50%; }
html body .cmb .cmb-at-cmp-line { position: absolute; top: 0; bottom: 0; left: var(--x); width: 2px; margin-left: -1px; background: rgba(255, 250, 235, .92); box-shadow: 0 0 14px rgba(0, 0, 0, .45); pointer-events: none; }
html body .cmb .cmb-at-cmp-line i { position: absolute; top: 50%; left: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; background: var(--b-navy); border: 2px solid var(--b-gold-2); box-shadow: 0 8px 22px rgba(0, 0, 0, .5); }
html body .cmb .cmb-at-cmp-line i::before, html body .cmb .cmb-at-cmp-line i::after { content: ""; position: absolute; top: 50%; margin-top: -6px; border-style: solid; border-color: transparent; }
html body .cmb .cmb-at-cmp-line i::before { left: 10px; border-width: 6px 8px 6px 0; border-right-color: var(--b-ivory); }
html body .cmb .cmb-at-cmp-line i::after { right: 10px; border-width: 6px 0 6px 8px; border-left-color: var(--b-ivory); }
html body .cmb .cmb-at-cmp-tag { position: absolute; bottom: 19%; padding: 7px 11px; background: rgba(0, 14, 52, .78); color: var(--b-ivory); font: 500 11px/1 "Jost", sans-serif; letter-spacing: .2em; text-transform: uppercase; pointer-events: none; transition: opacity .3s; }
html body .cmb .cmb-at-cmp-tag--a { left: 16%; }
html body .cmb .cmb-at-cmp-tag--b { right: 16%; }
html body .cmb .cmb-at-cmp.is-b .cmb-at-cmp-tag--a, html body .cmb .cmb-at-cmp.is-a .cmb-at-cmp-tag--b { opacity: 0; }
html body .cmb input.cmb-at-cmp-r { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 44px; margin: 0; opacity: 0; cursor: ew-resize; }
html body .cmb.cmb-js input.cmb-at-cmp-r { pointer-events: none; }
html body .cmb .cmb-at-cmp-stage:focus-within .cmb-at-cmp-line i { box-shadow: 0 0 0 4px rgba(201, 169, 110, .6), 0 8px 22px rgba(0, 0, 0, .5); }
html body .cmb .cmb-at-cmp-rows { padding: clamp(18px, 2.6vw, 32px); background: var(--b-white); border: 1px solid var(--b-line); border-top: 2px solid var(--b-gold); }
html body .cmb .cmb-at-cmp-head, html body .cmb .cmb-at-cmp-row { display: grid; grid-template-columns: minmax(0, 1fr) 72px minmax(0, 1fr); gap: 6px 10px; align-items: center; }
html body .cmb .cmb-at-cmp-head { padding-bottom: 12px; border-bottom: 1px solid var(--b-line); font: 400 24px/1.1 "Bodoni Moda", Georgia, serif; }
html body .cmb .cmb-at-cmp-head span:last-child, html body .cmb .cmb-at-cmp-vb { text-align: right; }
html body .cmb .cmb-at-cmp-row { padding: 14px 0; border-bottom: 1px solid var(--b-line); }
html body .cmb .cmb-at-cmp-row dt { grid-column: 1 / -1; text-align: center; font: 500 10.5px/1.2 "Jost", sans-serif; letter-spacing: .2em; text-transform: uppercase; color: var(--b-faint); }
html body .cmb .cmb-at-cmp-row dd { margin: 0; font-size: 15px; line-height: 1.4; color: var(--b-ink); transition: color .35s; }
html body .cmb .cmb-at-cmp-sign { justify-self: center; padding: 6px 8px; border: 1px solid var(--b-line); font: 500 10px/1 "Jost", sans-serif; letter-spacing: .14em; text-transform: uppercase; text-align: center; color: var(--b-muted); }
html body .cmb .cmb-at-cmp-row.is-diff .cmb-at-cmp-sign { background: var(--b-navy); border-color: var(--b-navy); color: var(--b-gold-2); }
html body .cmb .cmb-at-cmp-row.is-diff dd:not(.cmb-at-cmp-sign) { font: 400 20px/1.2 "Bodoni Moda", Georgia, serif; color: var(--b-navy); }
html body .cmb .cmb-at-cmp.is-a .cmb-at-cmp-row.is-diff .cmb-at-cmp-va, html body .cmb .cmb-at-cmp.is-b .cmb-at-cmp-row.is-diff .cmb-at-cmp-vb { color: var(--b-gold-ink); }
html body .cmb .cmb-tiles.cmb-at-tiles3 { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 700px) { html body .cmb .cmb-tiles.cmb-at-tiles3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
html body .cmb.cmb-species-explorer .cmb-tile .cmb-more { align-self: flex-start; margin-top: 4px; }
html body .cmb .cmb-at-words { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
html body .cmb .cmb-at-words li { padding: 11px 18px; border: 1px solid var(--b-gold); border-radius: 999px; background: var(--b-white); font: italic 400 19px/1 "Bodoni Moda", Georgia, serif; }

/* ================= 6. 200 million years: the deep-time gauge ================= */
html body .cmb .cmb-at-deep { display: grid; gap: 28px; }
@media (min-width: 1000px) { html body .cmb .cmb-at-deep { grid-template-columns: 290px minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; } }
html body .cmb .cmb-at-gauge { position: sticky; top: calc(var(--cmb-at-top, 72px) + 28px); z-index: 4; }
html body .cmb .cmb-at-g-when { display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; min-height: 96px; }
html body .cmb .cmb-at-g-n { font: 400 clamp(48px, 4.4vw, 64px)/.9 "Bodoni Moda", Georgia, serif; color: var(--b-gold); font-variant-numeric: lining-nums tabular-nums; }
html body .cmb .cmb-at-g-u { font: 500 12px/1.3 "Jost", sans-serif; letter-spacing: .22em; text-transform: uppercase; color: var(--b-gold-ink); }
html body .cmb .cmb-at-gauge.is-word .cmb-at-g-n { display: none; }
html body .cmb .cmb-at-gauge.is-word .cmb-at-g-u { font: 400 clamp(30px, 2.8vw, 38px)/1.05 "Bodoni Moda", Georgia, serif; letter-spacing: 0; text-transform: none; color: var(--b-navy); }
html body .cmb .cmb-at-g-bar { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: 40px; height: min(48vh, 420px); margin-top: 30px; }
html body .cmb .cmb-at-g-end { font: 500 11px/1.3 "Jost", sans-serif; letter-spacing: .18em; text-transform: uppercase; color: var(--b-faint); }
html body .cmb .cmb-at-g-track { position: relative; width: 2px; margin-left: 32px; background: var(--b-line); }
html body .cmb .cmb-at-g-fill { position: absolute; left: 0; top: 0; width: 100%; height: 100%; background: var(--b-gold); transform-origin: top; transform: scaleY(var(--cmb-at-p, 0)); transition: transform 1.1s var(--b-ease); }
html body .cmb .cmb-at-g-fish { position: absolute; left: 50%; top: calc(var(--cmb-at-p, 0) * 100%); width: 66px; height: 25px; transform: translate(-50%, -50%) rotate(90deg); overflow: visible; fill: var(--b-paper); stroke: var(--b-navy); color: var(--b-navy); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; transition: top 1.1s var(--b-ease), left 1.1s var(--b-ease); }
html body .cmb .cmb-at-steps { list-style: none; }
html body .cmb .cmb-at-step { padding-bottom: clamp(70px, 11vw, 140px); transition: opacity .6s var(--b-ease); }
html body .cmb .cmb-at-step:last-child { padding-bottom: 0; }
html body .cmb.cmb-js .cmb-at-step:not(.is-on) { opacity: .38; }
html body .cmb .cmb-at-when { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
html body .cmb .cmb-at-when b { font: 400 clamp(56px, 8vw, 104px)/.95 "Bodoni Moda", Georgia, serif; color: var(--b-gold); }
html body .cmb .cmb-at-when span { font: 500 12px/1.3 "Jost", sans-serif; letter-spacing: .22em; text-transform: uppercase; color: var(--b-gold-ink); }
html body .cmb .cmb-at-when span:only-child { font: 400 clamp(42px, 5.6vw, 70px)/1 "Bodoni Moda", Georgia, serif; letter-spacing: 0; text-transform: none; color: var(--b-gold); }
html body .cmb .cmb-at-step > .cmb-k { margin-top: 18px; }
html body .cmb .cmb-at-step h3 { margin-top: 10px; font-size: clamp(28px, 3vw, 38px); line-height: 1.12; }
html body .cmb .cmb-at-step p:not(.cmb-at-when) { margin-top: 14px; max-width: 640px; font: 400 17px/1.7 "Lora", Georgia, serif; color: var(--b-ink); }
html body .cmb .cmb-at-step p.cmb-at-aside { padding: 12px 16px; border-left: 2px solid var(--b-gold); background: var(--b-band); font-style: italic; font-size: 16px; }
html body .cmb .cmb-at-ico { display: block; width: 200px; max-width: 70%; height: auto; margin-top: 24px; overflow: visible; fill: none; stroke: var(--b-gold-ink); color: var(--b-gold-ink); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 999px) {
  html body .cmb .cmb-at-gauge { top: var(--cmb-at-top, 60px); display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 18px; margin: 0 calc(var(--b-pad) * -1); padding: 10px var(--b-pad); background: rgba(252, 250, 243, .96); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-bottom: 1px solid var(--b-line); }
  html body .cmb .cmb-at-g-when { flex-direction: row; flex-wrap: wrap; align-items: baseline; justify-content: flex-start; gap: 0 8px; min-height: 0; max-width: 170px; }
  html body .cmb .cmb-at-g-n { font-size: 34px; }
  html body .cmb .cmb-at-g-u { font-size: 10px; letter-spacing: .12em; }
  html body .cmb .cmb-at-gauge.is-word .cmb-at-g-u { font-size: 21px; }
  html body .cmb .cmb-at-g-bar { display: block; height: 30px; margin: 0; }
  html body .cmb .cmb-at-g-end { display: none; }
  html body .cmb .cmb-at-g-track { display: block; width: auto; height: 2px; margin: 14px 26px 0; }
  html body .cmb .cmb-at-g-fill { transform-origin: left; transform: scaleX(var(--cmb-at-p, 0)); }
  html body .cmb .cmb-at-g-fish { top: 50%; left: calc(var(--cmb-at-p, 0) * 100%); width: 46px; height: 18px; transform: translate(-50%, -50%); }
}

/* ================= 7. Caviar or roe: the sorting game ================= */
html body .cmb .cmb-at-sort { max-width: 780px; margin: 0 auto; }
html body .cmb .cmb-at-sort-bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 14px; font: 500 12px/1 "Jost", sans-serif; letter-spacing: .2em; text-transform: uppercase; color: var(--b-gold-ink); }
html body .cmb .cmb-at-sort-bar output { font: 400 24px/1 "Bodoni Moda", Georgia, serif; letter-spacing: 0; color: var(--b-navy); }
html body .cmb .cmb-at-sort-dots { display: flex; gap: 6px; }
html body .cmb .cmb-at-sort-dots i { width: 9px; height: 9px; border-radius: 50%; border: 1px solid var(--b-gold); transition: background-color .3s; }
html body .cmb .cmb-at-sort-dots i.is-r { background: var(--b-gold); }
html body .cmb .cmb-at-sort-dots i.is-w { background: var(--b-navy); border-color: var(--b-navy); }
html body .cmb .cmb-at-deck { list-style: none; display: grid; gap: 14px; }
html body .cmb :is(.cmb-at-deck, .cmb-at-sort-bar)[hidden] { display: none; }
html body .cmb .cmb-at-q { display: grid; grid-template-columns: minmax(0, 1fr); overflow: hidden; background: var(--b-white); border: 1px solid var(--b-line); border-top: 2px solid var(--b-gold); }
@media (min-width: 700px) { html body .cmb .cmb-at-q { grid-template-columns: 250px minmax(0, 1fr); } }
html body .cmb .cmb-at-q[hidden] { display: none; }
html body .cmb .cmb-at-sort.is-live .cmb-at-q { animation: cmb-at-card .5s var(--b-ease); }
@keyframes cmb-at-card { from { opacity: 0; transform: translateX(26px); } to { opacity: 1; transform: none; } }
html body .cmb .cmb-at-q-pic { --p: var(--s); position: relative; min-height: 170px; }
html body .cmb .cmb-at-q-pic::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 40px rgba(0, 0, 0, .35); }
html body .cmb .cmb-at-q-body { display: flex; flex-direction: column; gap: 6px; padding: clamp(22px, 3vw, 34px); }
html body .cmb .cmb-at-q-name { font: 400 clamp(30px, 3.4vw, 40px)/1.05 "Bodoni Moda", Georgia, serif; }
html body .cmb .cmb-at-q-from { font: italic 400 16px/1.4 "Lora", Georgia, serif; color: var(--b-muted); }
html body .cmb .cmb-at-q-btns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
html body .cmb .cmb-at-q-btns button { min-height: 56px; padding: 0 10px; border: 1px solid var(--b-gold); border-radius: 0; background: var(--b-paper); color: var(--b-navy); font: 500 13px/1 "Jost", sans-serif; letter-spacing: .2em; text-transform: uppercase; cursor: pointer; transition: background-color .25s, color .25s, border-color .25s; }
html body .cmb .cmb-at-q-btns button:hover { background: #FFF8E8; }
html body .cmb .cmb-at-q-btns button[aria-pressed="true"] { background: var(--b-navy); border-color: var(--b-navy); color: var(--b-ivory); }
html body .cmb .cmb-at-q.is-done .cmb-at-q-btns button { cursor: default; }
html body .cmb .cmb-at-q.is-done .cmb-at-q-btns button[aria-pressed="false"] { opacity: .45; }
html body .cmb .cmb-at-q-a { margin-top: 16px; padding: 16px 18px; background: var(--b-paper); border-left: 2px solid var(--b-gold); }
html body .cmb .cmb-at-sort.is-live .cmb-at-q-a { animation: cmb-at-in .45s var(--b-ease); }
html body .cmb .cmb-at-q-a > b { display: block; font: 400 25px/1.1 "Bodoni Moda", Georgia, serif; }
html body .cmb .cmb-at-q-a p { margin-top: 6px; font: 400 16px/1.6 "Lora", Georgia, serif; color: var(--b-ink); }
html body .cmb .cmb-at-q-v { display: none; margin-bottom: 8px; font: 500 11px/1 "Jost", sans-serif; letter-spacing: .2em; text-transform: uppercase; }
html body .cmb .cmb-at-q.is-right .cmb-at-q-v--r { display: inline-block; color: var(--b-gold-ink); }
html body .cmb .cmb-at-q.is-wrong .cmb-at-q-v--w { display: inline-block; color: #9B2C2C; }
html body .cmb .cmb-at-q-next { margin-top: 14px; min-height: 48px; padding: 0 28px; border: 0; border-radius: 0; background: var(--b-navy); color: var(--b-ivory); font: 500 12px/1 "Jost", sans-serif; letter-spacing: .2em; text-transform: uppercase; cursor: pointer; }
html body .cmb .cmb-at-q-next:hover { background: var(--b-navy-2); }
html body .cmb .cmb-at-sort.is-live .cmb-at-q:not(.is-done) .cmb-at-q-a { display: none; }
html body .cmb .cmb-at-sort:not(.is-live) :is(.cmb-at-sort-bar, .cmb-at-q-btns, .cmb-at-q-next) { display: none; }
html body .cmb .cmb-at-end { padding: clamp(30px, 4vw, 52px); text-align: center; background: var(--b-white); border: 1px solid var(--b-line); border-top: 2px solid var(--b-gold); animation: cmb-at-in .5s var(--b-ease); }
html body .cmb .cmb-at-end[hidden], html body .cmb .cmb-at-end-t[hidden] { display: none; }
html body .cmb .cmb-at-end-n { margin-top: 12px; font: 400 clamp(60px, 8vw, 92px)/1 "Bodoni Moda", Georgia, serif; }
html body .cmb .cmb-at-end-n output { color: var(--b-gold); }
html body .cmb .cmb-at-end-t { max-width: 460px; margin: 14px auto 24px; font: italic 400 20px/1.5 "Lora", Georgia, serif; color: var(--b-ink); }
