/* ==========================================================================
   goUnSugar.com V3: learning pages (sugar calculator, glossary, heat study, FAQ).
   Uses the tokens in v3.css. Class prefix: vl-
   Motion is transform/opacity/stroke only; reduced motion shows final states.
   ========================================================================== */
:root {
  --vl-sugar: #EBDDBF;          /* sugar in the illustrations (crystal white on cream) */
  --vl-sugar-line: #D3BF95;
  --vl-card-shadow: 0 24px 48px -32px rgba(15, 34, 48, .35);
}

/* ---- Shared ---------------------------------------------------------------- */
.vl-hero { padding: calc(var(--section-y) * .55) 0 calc(var(--section-y) * .3); }
.vl-hero .v-h1 { margin-top: var(--s-4); }
.vl-hero-lead { margin: var(--s-5) auto 0; max-width: 46ch; }
.vl-hero-lead--left { margin-left: 0; }
.vl-help { font-size: var(--fs-small); color: var(--slate); margin-top: 6px; }
.vl-empty { padding: var(--s-7) 0; color: var(--slate); text-align: center; }
[data-filter-item][hidden], [data-filter-group][hidden] { display: none !important; }

/* Filter box */
.vl-search { position: relative; max-width: 560px; }
.vl-search input {
  width: 100%; min-height: 54px; padding: 14px 18px 14px 50px; border: 1.5px solid var(--line); border-radius: var(--r-pill);
  background: var(--white); color: var(--navy); font: 400 16px/1.3 var(--font); -webkit-appearance: none; appearance: none;
  transition: border-color var(--dur-fast) var(--ease-std), box-shadow var(--dur-fast) var(--ease-std);
}
.vl-search::before { content: ""; position: absolute; left: 20px; top: 17px; width: 20px; height: 20px; background: var(--teal-ink);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='8.5' cy='8.5' r='6' fill='none' stroke='black' stroke-width='2'/%3E%3Cpath d='M13 13l5 5' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='8.5' cy='8.5' r='6' fill='none' stroke='black' stroke-width='2'/%3E%3Cpath d='M13 13l5 5' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat; }
.vl-search input:focus { outline: none; border-color: var(--teal-ink); box-shadow: 0 0 0 3px rgba(43, 163, 154, .18); }
.vl-search input::placeholder { color: var(--slate-soft); }
.vl-search-count { margin-top: 8px; padding-left: 20px; font-size: var(--fs-small); color: var(--slate); }

/* Keep learning cards */
.vl-rels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-5); margin-top: var(--s-7); }
.vl-rel { display: flex; flex-direction: column; border-radius: var(--r-card); overflow: hidden; background: var(--white); border: 1px solid var(--line); color: var(--slate);
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out); }
.vl-rel:hover { transform: translateY(-4px); box-shadow: var(--vl-card-shadow); }
.vl-rel-img { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--mist); }
.vl-rel-img img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-base) var(--ease-out); }
.vl-rel:hover .vl-rel-img img { transform: scale(1.04); }
.vl-rel-body { display: flex; flex-direction: column; gap: 6px; padding: var(--s-5); }
.vl-rel-h { font-size: var(--fs-h3); font-weight: 700; line-height: 1.2; color: var(--navy); }
.vl-rel-p { font-size: var(--fs-small); }
@media (max-width: 860px) { .vl-rels { grid-template-columns: 1fr; } .vl-rel { flex-direction: row; } .vl-rel-img { flex: 0 0 34%; aspect-ratio: auto; } .vl-rel-body { padding: var(--s-4); } }

/* ---- 1. Calculator ------------------------------------------------------------ */
.vl-calcsec { padding: 0 0 calc(var(--section-y) * .6); }
.vl-calc { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(20px, 3vw, 40px); background: var(--tint-beverages); border-radius: calc(var(--r-card) + 8px); padding: clamp(16px, 3vw, 40px); }
.vl-calc-in { padding: clamp(8px, 1.5vw, 16px); display: grid; gap: var(--s-6); align-content: start; }
.vl-fs { border: 0; margin: 0; padding: 0; min-width: 0; }
.vl-legend, .vl-field > label { display: block; padding: 0; font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: var(--s-3); }
.vl-legend span { display: block; font-size: var(--fs-small); font-weight: 400; color: var(--slate); margin-top: 2px; }
.vl-presets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-2); }
.vl-preset { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-height: 60px; padding: 10px 14px; text-align: left; border-radius: var(--r-sm);
  border: 1.5px solid rgba(15, 34, 48, .08); background: rgba(255, 255, 255, .75); color: var(--navy);
  transition: background var(--dur-fast) var(--ease-std), border-color var(--dur-fast) var(--ease-std), color var(--dur-fast) var(--ease-std), transform var(--dur-fast) var(--ease-std); }
.vl-preset b { font-size: 15px; font-weight: 600; }
.vl-preset span { font-size: 12.5px; color: var(--slate); }
.vl-preset:hover { border-color: var(--teal-ink); }
.vl-preset:active { transform: scale(.98); }
.vl-preset[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.vl-preset[aria-pressed="true"] span { color: var(--teal-light); }
.vl-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
.vl-unit { position: relative; }
.vl-unit input { width: 100%; min-height: 56px; padding: 12px 92px 12px 16px; border: 1.5px solid rgba(15, 34, 48, .1); border-radius: var(--r-sm); background: var(--white);
  color: var(--navy); font: 700 22px/1 var(--font); font-variant-numeric: tabular-nums; -moz-appearance: textfield; }
.vl-unit input::-webkit-outer-spin-button, .vl-unit input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.vl-unit input:focus { outline: none; border-color: var(--teal-ink); box-shadow: 0 0 0 3px rgba(43, 163, 154, .2); }
.vl-unit input[aria-invalid="true"] { border-color: #B4472F; }
.vl-unit span { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-size: 14px; color: var(--slate); pointer-events: none; }
.vl-field > label output { color: var(--teal-ink); font-variant-numeric: tabular-nums; }
.vl-range { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; margin: 0; background: transparent; cursor: pointer; }
.vl-range::-webkit-slider-runnable-track { height: 10px; border-radius: 5px; background: linear-gradient(90deg, var(--teal) var(--pct, 64%), rgba(15, 34, 48, .14) var(--pct, 64%)); }
.vl-range::-moz-range-track { height: 10px; border-radius: 5px; background: rgba(15, 34, 48, .14); }
.vl-range::-moz-range-progress { height: 10px; border-radius: 5px; background: var(--teal); }
.vl-range::-webkit-slider-thumb { -webkit-appearance: none; width: 32px; height: 32px; margin-top: -11px; border-radius: 50%; background: var(--white); border: 3px solid var(--teal-ink); box-shadow: 0 4px 12px rgba(15, 34, 48, .2); transition: transform var(--dur-fast) var(--ease-std); }
.vl-range:active::-webkit-slider-thumb { transform: scale(1.1); }
.vl-range::-moz-range-thumb { width: 26px; height: 26px; border-radius: 50%; background: var(--white); border: 3px solid var(--teal-ink); }
.vl-range:focus-visible { outline: 3px solid rgba(43, 163, 154, .4); outline-offset: 4px; border-radius: 8px; }
.vl-ticks { position: relative; display: flex; justify-content: space-between; font-size: 12px; color: var(--slate); }
.vl-tick-start { position: absolute; left: 64.3%; transform: translateX(-50%); white-space: nowrap; color: var(--teal-ink); font-weight: 600; }
.vl-tick-start::before { content: ""; position: absolute; left: 50%; top: -14px; width: 2px; height: 8px; border-radius: 1px; background: var(--teal-ink); }
.vl-hint { margin-top: var(--s-4); font-size: var(--fs-small); color: var(--navy); background: rgba(255, 255, 255, .6); border-radius: var(--r-sm); padding: 10px 14px; }

.vl-calc-out { background: var(--white); border-radius: var(--r-card); padding: clamp(20px, 3vw, 36px); box-shadow: var(--vl-card-shadow); align-self: start; }
.vl-viz { display: grid; gap: 10px; }
.vl-viz-row { display: grid; grid-template-columns: 52px minmax(0, 1fr); align-items: center; gap: 10px; }
.vl-viz-lab { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--slate); }
.vl-viz-track { position: relative; display: block; height: 30px; }
.vl-viz-sugar, .vl-viz-ghost { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 15px; }
.vl-viz-sugar { width: 100%; background: linear-gradient(180deg, #fff, var(--vl-sugar)); border: 1px solid var(--vl-sugar-line); transform-origin: left; }
.vl-viz-sugar--left { transform: scaleX(var(--left, .35)); transition: transform 500ms var(--ease-out); }
.vl-viz-ghost { width: 100%; border: 1.5px dashed var(--vl-sugar-line); }
.vl-viz-dot { position: absolute; top: 50%; left: calc(var(--left, .35) * 100%); width: 12px; height: 12px; margin: -6px 0 0 6px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 5px rgba(43, 163, 154, .2);
  transition: left 500ms var(--ease-out); }
.vl-viz-key { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 6px 0 0 62px; font-size: 12px; color: var(--slate); }
.vl-viz-key i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; background: var(--vl-sugar); border: 1px solid var(--vl-sugar-line); }
.vl-viz-key i.t { border-radius: 50%; background: var(--teal); border-color: var(--teal); }
.vl-viz-same { color: var(--teal-ink); font-weight: 600; }
.vl-eq { margin-top: var(--s-5); padding-top: var(--s-5); border-top: 1px solid var(--line); font-size: 17px; color: var(--navy); line-height: 1.45; }
.vl-eq b { font-weight: 800; color: var(--teal-ink); font-variant-numeric: tabular-nums; }
.vl-out-h { margin-top: var(--s-5); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--slate); }
.vl-read { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); margin: var(--s-3) 0 0; }
.vl-read div { background: var(--mist); border-radius: var(--r-sm); padding: 14px 16px; min-width: 0; }
.vl-read .vl-read-wide { grid-column: 1 / -1; }
.vl-read dt { font-size: 12.5px; color: var(--slate); }
.vl-read dd { margin: 4px 0 0; font-size: clamp(24px, 2.3vw, 32px); font-weight: 800; color: var(--navy); line-height: 1.1; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.vl-read--batch div { background: rgba(43, 163, 154, .08); }
.vl-read--batch dd { color: var(--teal-ink); }
.vl-read dd.is-bump { animation: vl-bump 380ms var(--ease-out); }
@keyframes vl-bump { 0% { transform: translateY(4px); opacity: .5; } 100% { transform: none; opacity: 1; } }
.vl-caveat { margin-top: var(--s-5); font-size: var(--fs-small); color: var(--slate); }
.vl-calc-cta { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-5); }
.vl-calc-cta .v-btn { flex: 1 1 auto; }

.vl-mathwrap { max-width: calc(860px + 2 * var(--gutter)); }
.vl-math-lead { margin-top: var(--s-5); font-size: var(--fs-lead); line-height: 1.5; }
.vl-math { margin-top: var(--s-6); border: 1.5px solid var(--line); border-radius: var(--r-card); padding: 0 var(--s-5); }
.vl-math summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--s-4); min-height: 64px; color: var(--navy); font-weight: 600; font-size: 17px; }
.vl-math summary::-webkit-details-marker { display: none; }
.vl-math summary::after { content: ""; flex: none; width: 11px; height: 11px; border-right: 2px solid var(--teal-ink); border-bottom: 2px solid var(--teal-ink); transform: rotate(45deg); transition: transform var(--dur-fast) var(--ease-std); margin-right: 4px; }
.vl-math[open] summary::after { transform: rotate(225deg); }
.vl-math .vl-help { padding-bottom: var(--s-5); }
.vl-steps { margin: 0; padding: 0 0 var(--s-3); list-style: none; counter-reset: s; display: grid; gap: var(--s-3); }
.vl-steps li { counter-increment: s; position: relative; padding-left: 44px; }
.vl-steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--mist); color: var(--teal-ink); font-weight: 700; font-size: 14px; display: grid; place-items: center; }
.vl-steps b { color: var(--navy); }
.vl-why { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5); margin-top: var(--s-7); }
.vl-why > div { background: var(--mist); border-radius: var(--r-card); padding: var(--s-6); }
.vl-why p { margin-top: var(--s-3); }

@media (max-width: 960px) {
  .vl-calc { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .vl-calc { padding: 12px; border-radius: var(--r-card); }
  .vl-presets { grid-template-columns: 1fr 1fr; }
  .vl-row2, .vl-why { grid-template-columns: 1fr; }
  .vl-unit input { padding-right: 84px; }
  .vl-calc-cta .v-btn { width: 100%; white-space: normal; }
}

/* ---- 2. Glossary -------------------------------------------------------------- */
.vl-ghero { padding-bottom: calc(var(--section-y) * .35); }
.vl-ghero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 5vw, 80px); align-items: center; }
.vl-chips { position: relative; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; padding: clamp(20px, 3vw, 40px); background: var(--mist); border-radius: 200px 200px var(--r-card) var(--r-card); }
.vl-chips span { display: inline-flex; align-items: center; min-height: 48px; padding: 10px 20px; border-radius: var(--r-pill); background: var(--white); color: var(--navy); font-weight: 700; font-size: clamp(16px, 1.6vw, 22px);
  box-shadow: 0 10px 24px -16px rgba(15, 34, 48, .4); animation: vl-float 6s var(--ease-std) infinite alternate; animation-delay: calc(var(--i) * -0.9s); }
.vl-chips span:nth-child(3n+1) { color: var(--teal-ink); }
.vl-chips span:nth-child(4n+2) { background: var(--teal-light); }
@keyframes vl-float { from { transform: translateY(-4px); } to { transform: translateY(4px); } }

.vl-az { position: sticky; top: var(--header-h); z-index: 20; background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.vl-az ul { list-style: none; margin: 0; padding: 8px 0; display: flex; justify-content: space-between; gap: 2px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.vl-az ul::-webkit-scrollbar { display: none; }
.vl-az li { flex: 0 0 auto; }
.vl-az a, .vl-az span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; font-size: 15px; font-weight: 700; }
.vl-az a { color: var(--navy); transition: background var(--dur-fast) var(--ease-std), color var(--dur-fast) var(--ease-std); }
.vl-az a:hover, .vl-az a.is-active { background: var(--navy); color: var(--white); }
.vl-az span { color: var(--line); }

.vl-gsec { padding-top: calc(var(--section-y) * .45); }
.vl-gsec .vl-search { margin-bottom: var(--s-6); }
.vl-letter { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: var(--s-6); padding: var(--s-6) 0; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 64px); }
.vl-letter-h { font-size: clamp(56px, 6vw, 88px); font-weight: 800; line-height: .9; color: var(--teal); letter-spacing: -.03em; position: sticky; top: calc(var(--header-h) + 80px); align-self: start; }
.vl-terms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-4); align-items: start; }
.vl-term { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); padding: var(--s-5); scroll-margin-top: calc(var(--header-h) + 72px); transition: border-color var(--dur-fast) var(--ease-std), box-shadow var(--dur-base) var(--ease-out); }
.vl-term:hover { border-color: var(--teal-light); box-shadow: var(--vl-card-shadow); }
.vl-term:target { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(43, 163, 154, .2); }
.vl-term-h { font-size: 19px; font-weight: 700; line-height: 1.25; }
.vl-term-h a { color: var(--navy); }
.vl-term-h a:hover { color: var(--teal-ink); }
.vl-term > p { margin-top: var(--s-3); }
.vl-term-note { font-size: var(--fs-small); color: var(--navy); background: var(--mist); border-radius: var(--r-sm); padding: 10px 12px; }
.vl-term-note span { display: inline-block; margin-right: 8px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-ink); }
.vl-term-link { font-size: 15px; }
@media (max-width: 960px) { .vl-terms { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
  .vl-ghero-grid { grid-template-columns: 1fr; }
  .vl-chips { border-radius: var(--r-card); padding: 16px; gap: 8px; }
  .vl-chips span { min-height: 40px; padding: 8px 14px; }
  .vl-letter { grid-template-columns: 1fr; gap: var(--s-3); }
  .vl-letter-h { position: static; font-size: 56px; }
  .vl-az ul { justify-content: flex-start; }
  .vl-az a, .vl-az span { width: 34px; height: 34px; font-size: 14px; }
}

/* ---- 3. Heat study ------------------------------------------------------------ */
.vl-hhero .v-lead { max-width: 40ch; }
.vl-gauges { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-5); margin-top: var(--s-8); }
.vl-gauge { margin: 0; text-align: center; background: var(--mist); border-radius: var(--r-card); padding: clamp(20px, 2.5vw, 32px) clamp(12px, 2vw, 24px); }
.vl-gauge-ring { position: relative; width: min(100%, 200px); margin: 0 auto; aspect-ratio: 1; }
.vl-gauge-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.vl-gauge circle { fill: none; stroke-width: 11; stroke-linecap: round; }
.vl-gauge-track { stroke: rgba(15, 34, 48, .08); }
.vl-gauge-fill { stroke: var(--teal); stroke-dasharray: 100; stroke-dashoffset: var(--off); }
.vl-gauge--warn .vl-gauge-fill { stroke: var(--amber); }
.js .vl-gauges .vl-gauge-fill { stroke-dashoffset: 100; transition: stroke-dashoffset 1400ms var(--ease-out); transition-delay: calc(200ms + var(--i) * 160ms); }
.js .vl-gauges.is-in .vl-gauge-fill { stroke-dashoffset: var(--off); }
.vl-gauge-val { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--navy); line-height: 1; }
.vl-gauge-val b { font-size: clamp(30px, 3.6vw, 48px); font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.vl-gauge-val small { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--slate); margin: 4px 0; }
.vl-gauge figcaption { margin-top: var(--s-4); display: grid; gap: 4px; }
.vl-gauge figcaption b { color: var(--navy); font-size: var(--fs-h3); }
.vl-gauge figcaption span { font-size: var(--fs-small); color: var(--slate); }
.vl-gauge--warn { background: #FBF3E4; }

.vl-method { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-3) var(--s-7); margin: var(--s-7) 0 0; }
.vl-method div { text-align: center; }
.vl-method dt { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--slate); font-weight: 600; }
.vl-method dd { margin: 4px 0 0; color: var(--navy); font-weight: 600; }

.vl-mapgrid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.vl-map-copy { margin-top: var(--s-5); font-size: var(--fs-lead); line-height: 1.5; }
.vl-map-copy + .vl-map-copy { margin-top: var(--s-4); font-size: var(--fs-body); }
.vl-map { position: relative; margin: 0; padding: 0 0 28px 28px; }
.vl-map-plot { position: relative; aspect-ratio: 5 / 4; background: var(--white); border-radius: var(--r-card); border-left: 2px solid var(--navy); border-bottom: 2px solid var(--navy); border-top-left-radius: 0; border-bottom-left-radius: 0; border-bottom-right-radius: 0; overflow: hidden; }
.vl-map-zone { position: absolute; right: 0; top: 0; width: 50%; height: 60%; background: radial-gradient(ellipse at 100% 0, rgba(227, 174, 85, .28), rgba(227, 174, 85, .06) 70%, transparent 71%); display: flex; justify-content: flex-end; align-items: flex-end; padding: 14px 16px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #9A6A1E; }
.vl-map-y, .vl-map-x { position: absolute; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); }
.vl-map-y { left: 0; top: 0; writing-mode: vertical-rl; transform: rotate(180deg); }
.vl-map-y::after, .vl-map-x::after { content: " \2192"; }
.vl-map-x { right: 0; bottom: 0; }
.vl-dot { position: absolute; left: calc(var(--x) * 1%); bottom: calc(var(--y) * 1%); transform: translate(-50%, 50%); display: flex; flex-direction: column; align-items: center; text-align: center; white-space: nowrap; }
.vl-dot i { width: 22px; height: 22px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 8px rgba(43, 163, 154, .18); }
.vl-dot b { margin-top: 10px; font-size: 14px; color: var(--navy); line-height: 1.1; }
.vl-dot em { font-style: normal; font-size: 12.5px; font-weight: 600; color: var(--teal-ink); }
.vl-dot--warn i { background: var(--amber); box-shadow: 0 0 0 8px rgba(227, 174, 85, .25); }
.vl-dot--warn em { color: #9A6A1E; }
.vl-dot:nth-child(3) { transform: translate(-30%, 50%); } /* UHT sits near the left edge */
.vl-dot:nth-child(4) { transform: translate(-70%, 50%); } /* warm hold sits near the right edge */
.js .vl-map .vl-dot i { transform: scale(0); transition: transform 600ms var(--ease-out); transition-delay: calc(var(--i) * 140ms); }
.js .vl-map.is-in .vl-dot i { transform: scale(1); }

.vl-procs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-5); margin-top: var(--s-7); }
.vl-proc { border: 1px solid var(--line); border-radius: var(--r-card); padding: clamp(24px, 3vw, 36px); border-top: 6px solid var(--teal); scroll-margin-top: calc(var(--header-h) + 24px); }
.vl-proc--warn { border-top-color: var(--amber); }
.vl-proc-top { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-4); flex-wrap: wrap; }
.vl-proc-val { font-weight: 800; color: var(--teal-ink); font-size: 18px; }
.vl-proc--warn .vl-proc-val { color: #9A6A1E; }
.vl-proc-cond { margin: 4px 0 var(--s-4); font-size: var(--fs-small); font-weight: 600; color: var(--slate); }
.vl-proc-dl { margin: var(--s-5) 0 0; display: grid; gap: var(--s-3); }
.vl-proc-dl div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: var(--s-3); padding-top: var(--s-3); border-top: 1px solid var(--line); }
.vl-proc-dl dt { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--slate); font-weight: 600; padding-top: 2px; }
.vl-proc-dl dd { margin: 0; color: var(--navy); font-weight: 500; }

.vl-prods { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-4); margin-top: var(--s-7); }
.vl-prod { background: var(--white); border-radius: var(--r-card); overflow: hidden; display: flex; flex-direction: column; }
.vl-prod-img { display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.vl-prod-img img { width: 100%; height: 100%; object-fit: cover; }
.vl-prod-body { padding: var(--s-5); display: grid; gap: var(--s-2); align-content: start; }
.vl-prod-steps { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--slate); font-weight: 600; }
.vl-prod-saw { color: var(--teal-ink); font-weight: 700; }
.vl-prod--warn .vl-prod-saw { color: #9A6A1E; }
.vl-prod p:last-child { font-size: var(--fs-small); }

@media (max-width: 1023px) { .vl-gauges, .vl-prods { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { .vl-mapgrid, .vl-procs { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .vl-gauges { gap: 12px; }
  .vl-gauge { padding: 16px 10px; }
  .vl-gauge figcaption b { font-size: 17px; }
  .vl-gauge figcaption span { font-size: 12px; }
  .vl-gauge-val small { font-size: 10px; }
  .vl-prods { grid-template-columns: 1fr; }
  .vl-prod { flex-direction: row; }
  .vl-prod-img { flex: 0 0 34%; aspect-ratio: auto; }
  .vl-prod-body { padding: var(--s-4); }
  .vl-map-plot { aspect-ratio: 1; }
  .vl-dot b { font-size: 12.5px; }
  .vl-dot em { font-size: 11.5px; }
  .vl-map-zone { font-size: 10.5px; padding: 10px; }
  .vl-proc-dl div { grid-template-columns: 1fr; gap: 2px; }
}

/* ---- 4. FAQ ------------------------------------------------------------------- */
.vl-fhero .v-lead { max-width: 38ch; }
.vl-faqsec { padding-top: calc(var(--section-y) * .5); }
.vl-faqbar { display: grid; gap: var(--s-4); position: sticky; top: var(--header-h); z-index: 20; background: rgba(255, 255, 255, .95); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); padding: var(--s-3) 0; margin-bottom: var(--s-5); border-bottom: 1px solid var(--line); }
.vl-faqbar { grid-template-columns: minmax(0, 1fr); }
.vl-faqbar > * { min-width: 0; }
.vl-faqnav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: var(--s-2); overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.vl-faqnav ul::-webkit-scrollbar { display: none; }
.vl-faqnav li { flex: 0 0 auto; }
.vl-faqnav a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px; border-radius: var(--r-pill); border: 1.5px solid var(--line); background: var(--white); color: var(--navy); font-size: 14px; font-weight: 500; white-space: nowrap;
  transition: background var(--dur-fast) var(--ease-std), border-color var(--dur-fast) var(--ease-std), color var(--dur-fast) var(--ease-std); }
.vl-faqnav a span { font-size: 12px; font-weight: 600; color: var(--slate); }
.vl-faqnav a:hover { border-color: var(--teal-ink); color: var(--teal-ink); }
.vl-faqnav a.is-active { background: var(--navy); border-color: var(--navy); color: var(--white); }
.vl-faqnav a.is-active span { color: var(--teal-light); }
.vl-search--faq .vl-search-count { display: none; }
.vl-search--faq.is-filtering .vl-search-count { display: block; }
.vl-faqgroup { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--s-7); padding: var(--s-7) 0; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 150px); }
.vl-faqgroup:first-child { border-top: 0; }
.vl-faqgroup-h { font-size: var(--fs-h2); font-weight: 700; line-height: 1.1; letter-spacing: -.015em; position: sticky; top: calc(var(--header-h) + 160px); align-self: start; }
.vl-faqgroup .v-acc summary { font-size: 19px; }
.vl-faqgroup .v-acc-body a { font-weight: 600; text-decoration: underline; text-decoration-color: var(--teal-light); text-underline-offset: 3px; }
.vl-faqgroup .v-acc-body a:hover { text-decoration-color: currentColor; }
@media (min-width: 861px) { .vl-faqbar { grid-template-columns: minmax(0, 1fr) 300px; align-items: center; } .vl-faqnav ul { flex-wrap: wrap; } }
@media (max-width: 860px) {
  .vl-faqbar { position: static; }
  .vl-faqgroup { grid-template-columns: 1fr; gap: var(--s-3); padding: var(--s-6) 0; scroll-margin-top: calc(var(--header-h) + 16px); }
  .vl-faqgroup-h { position: static; font-size: 28px; }
  .vl-faqgroup .v-acc summary { font-size: 17px; }
}

/* ---- Reduced motion and failsafe: final states, no movement -------------------- */
@media (prefers-reduced-motion: reduce) {
  .vl-chips span { animation: none !important; }
  .js .vl-gauges .vl-gauge-fill { stroke-dashoffset: var(--off) !important; transition: none !important; }
  .js .vl-map .vl-dot i { transform: none !important; transition: none !important; }
  .vl-viz-sugar--left, .vl-viz-dot { transition: none !important; }
  .vl-read dd.is-bump { animation: none !important; }
  .vl-rel:hover, .vl-rel:hover .vl-rel-img img { transform: none; }
}
.v3-fail .vl-gauges .vl-gauge-fill { stroke-dashoffset: var(--off) !important; }
.v3-fail .vl-map .vl-dot i { transform: none !important; }
