/* HERA graphics · code-built visuals that replace photo slots.
   A .gfx root fills the media box it sits in (same child position as the old .ph), carries
   data-gfx (component) and data-reveal="gfx" (motion.js adds .in). Internals animate from .in:
   .g-a children fade up with a --d delay, .g-draw strokes draw with pathLength 100. */

/* ---------- base ---------- */
.gfx{position:absolute;inset:0;width:100%;height:100%;overflow:hidden;background:var(--tint);color:var(--ink);font-family:var(--sans);
  --ph0:#10232E;--ph1:#A6D8F0;--ph2:#BFE4F6;--ph3:#5C6C75;--mu:var(--muted);--ln:var(--line);--fg:var(--ink);--dot:var(--ink-hover);--cell:rgba(16,35,46,.06);--card:var(--white)}
.gfx--dark{background:var(--ink-deep);color:var(--pale);--ph0:#EEF5F8;--ph3:#8A9BA4;--mu:rgba(238,245,248,.62);--ln:var(--line-dark);--fg:var(--pale);--dot:var(--accent);--cell:rgba(238,245,248,.07);--card:rgba(255,255,255,.06)}
.gfx svg{display:block;overflow:visible}
.gfx .lbl{font-size:11px;line-height:1.3;letter-spacing:.9px;text-transform:uppercase;font-weight:500;color:var(--mu)}
.gfx .g-title{font-size:14px;line-height:1.35;font-weight:500;color:var(--fg);letter-spacing:-.1px}
.gfx .g-row{flex-wrap:wrap}
.gfx .g-key{display:flex;flex-wrap:wrap;gap:6px 16px;margin-top:4px}
.gfx .g-key span{display:inline-flex;align-items:center;gap:7px;font-size:12px;color:var(--mu)}
.gfx .g-key i{border-radius:50%;background:var(--dot);flex:none}
.gfx .g-key i.g-dot-s{width:7px;height:7px}.gfx .g-key i.g-dot-l{width:14px;height:14px}
.gfx .g-key i.ring{width:12px;height:12px;background:transparent;box-shadow:inset 0 0 0 1.5px var(--dot)}
/* hover or focus details */
.gfx [data-tip]{cursor:default}
.gfx [data-tip]::after{content:attr(data-tip);position:absolute;left:50%;bottom:calc(100% + 10px);transform:translateX(-50%);white-space:nowrap;padding:7px 11px;border-radius:10px;background:var(--white);color:var(--ink);font-size:12px;line-height:1.3;letter-spacing:0;text-transform:none;font-weight:400;box-shadow:rgba(16,35,46,.35) 0 14px 34px -14px,inset 0 0 0 1px var(--line);opacity:0;pointer-events:none;transition:opacity .25s var(--ease);z-index:6}
.gfx [data-tip]:hover::after,.gfx [data-tip]:focus-visible::after{opacity:1}
.gfx [data-tip]:focus-visible{outline:2px solid var(--accent-2);outline-offset:3px}
@media (max-width:809px){.gfx .g-title{font-size:13px}.gfx [data-tip]::after{font-size:11px;padding:5px 8px}}
.gfx .ac{font-family:var(--serif);font-style:italic;font-weight:400;letter-spacing:0;text-transform:none;color:var(--fg)}
.gfx .ln{fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.gfx .ph-0{background:var(--ph0)}.gfx .ph-1{background:var(--ph1)}.gfx .ph-2{background:var(--ph2)}.gfx .ph-3{background:var(--ph3)}
/* internal reveal states */
.gfx .g-a{opacity:0;transform:translateY(8px);transition:opacity .7s var(--ease) var(--d,0s),transform .7s var(--ease) var(--d,0s)}
.gfx.in .g-a{opacity:1;transform:none}
.gfx .g-draw{stroke-dasharray:100;stroke-dashoffset:100;transition:stroke-dashoffset 1.6s var(--ease) var(--d,0s)}
.gfx.in .g-draw{stroke-dashoffset:0}
/* clip reveal: a soft settle instead of the photo zoom */
[data-reveal="clip"]>.gfx{transform:translateY(-3%) scale(1.05);transition:transform 1.4s var(--ease) var(--rdl,0s)}
[data-reveal="clip"].in>.gfx{transform:none}
@media (prefers-reduced-motion:reduce){
  [data-reveal="clip"]>.gfx,.gfx .g-a,.gfx .g-draw,.gfx [class*="g-"]{opacity:1!important;transform:none!important;transition:none!important;animation:none!important;stroke-dashoffset:0!important}
}

.gfx .g-who{font-size:13px;line-height:1.5;color:var(--mu);margin:0}

/* ---------- C1 cycle strip ---------- */
.g-strip{position:absolute;left:36px;right:36px;top:44px;display:flex;flex-direction:column;gap:10px}
.g-row{display:flex;justify-content:space-between;align-items:baseline;gap:12px}
.g-bandwrap{position:relative;padding-top:16px;--bh:44px}
.g-band{position:relative;display:flex;gap:2px;height:var(--bh)}
.g-pname{position:absolute;top:16px;height:var(--bh);display:flex;align-items:center;padding-left:8px;font-size:10px;letter-spacing:.4px;color:#fff;white-space:nowrap;overflow:hidden;pointer-events:none}
.g-pname--dark{color:var(--ink)}
.g-pname--above{top:0;height:14px;justify-content:center;padding:0;overflow:visible;color:var(--mu)}
.g-pname--above::after{content:"";position:absolute;left:50%;top:13px;height:5px;border-left:1px solid var(--mu)}
.g-band .cell{flex:1;border-radius:2px;opacity:.92}
.g-band .cell:first-child{border-radius:8px 2px 2px 8px}.g-band .cell:last-child{border-radius:2px 8px 8px 2px}
.g-days{position:relative;height:14px}
.g-days span{position:absolute;top:0;transform:translateX(-50%);font-size:11px;color:var(--mu);font-variant-numeric:tabular-nums}
.g-days span:first-child{transform:none}.g-days span:last-child{transform:translateX(-100%)}
.g-dots{position:relative;height:22px;margin-top:4px}
.g-dots .g-dot{position:absolute;top:50%;width:var(--s,10px);height:var(--s,10px);border-radius:50%;background:var(--dot);transform:translate(-50%,-50%)}
.g-dots .g-dot.g-a{transform:translate(-50%,-50%) translateY(8px)}.gfx.in .g-dots .g-dot.g-a{transform:translate(-50%,-50%)}
.g-dots .g-dot::after{bottom:calc(100% + 8px)}
.g-notes{position:relative;height:18px}
.g-notes span{position:absolute;top:0;transform:translateX(-50%);font-size:15px;white-space:nowrap}
.g-legend{display:flex;flex-wrap:wrap;gap:6px 18px;margin-top:6px}
.g-legend span{display:inline-flex;align-items:center;gap:7px;font-size:12px;color:var(--mu)}
.g-legend i{width:8px;height:8px;border-radius:50%}
.g-strip--pair{top:28px;left:28px;right:28px;gap:6px}
.g-strip--pair .g-band{height:30px}
.g-strip--pair .g-who{font-size:12px;color:var(--mu);margin-top:4px}
.g-strip--pair .g-dots{height:18px;margin-top:0}
@media (max-width:1199px){.g-strip--pair p.g-who{display:none}.g-strip--pair .g-band{height:24px}}
@media (max-width:809px){
  .g-strip{left:20px;right:20px;top:18px;gap:7px}.g-bandwrap{--bh:32px;padding-top:14px}.g-pname{font-size:9px;padding-left:5px}.g-pname--above{height:12px;font-size:9px}.g-notes{display:none}.g-legend{gap:4px 12px;margin-top:2px}.g-legend span{font-size:11px}
  .g-strip--pair{left:18px;right:18px;top:18px}.g-strip--pair .g-band{height:22px}
}

/* ---------- C1b pair scene ---------- */
.g-pair{position:absolute;inset:0;padding:24px 24px 22px;display:flex;flex-direction:column;gap:8px}
.g-pair-row{display:flex;gap:14px;align-items:flex-start;padding:12px 0;border-top:1px solid var(--ln)}
.g-pair-row:first-of-type{margin-top:6px}
.g-pair-row i{width:var(--s,10px);height:var(--s,10px);border-radius:50%;background:var(--dot);flex:none;margin-top:5px;box-sizing:content-box;border:3px solid var(--tint);outline:1px solid var(--ln)}
.g-pair-row div{display:flex;flex-direction:column;gap:2px;min-width:0}
.g-pair-row strong{font-size:15px;font-weight:500;color:var(--fg)}
.g-pair-plan{font-size:13px;line-height:1.4;color:var(--mu)}
.g-pair .g-cap{margin:auto 0 0;font-size:16px}
@media (max-width:1199px){.g-pair{padding:18px 18px 16px;gap:4px}.g-pair-row{padding:8px 0;gap:10px}.g-pair .g-cap{font-size:14px}}

/* ---------- C7 price ladder ---------- */
.g-ladder{position:absolute;inset:0;padding:32px 36px;display:flex;flex-direction:column;gap:14px}
.g-ladder .g-row{flex:none}
.g-steps{display:flex;gap:18px;flex:1;align-items:stretch;min-height:0}
.g-step{flex:1;display:flex;flex-direction:column;justify-content:flex-end;gap:8px;text-align:left;padding:0;background:none;border:0;color:inherit;font:inherit;cursor:default;border-radius:12px}
button.g-step{cursor:pointer}
.g-step .g-val{font-size:26px;font-weight:300;letter-spacing:-.8px;line-height:1;color:var(--fg)}
.g-step .g-val small{font-size:12px;font-weight:500;letter-spacing:0;color:var(--mu);margin-left:4px}
.g-step .g-bars{display:flex;gap:4px;align-items:flex-end;height:var(--bh,150px)}
.g-step .g-bar{flex:1;border-radius:8px 8px 4px 4px;background:var(--accent-2);height:var(--h,50%);transform-origin:50% 100%;transition:height .5s var(--ease)}
.g-step .g-bar--b{background:var(--ink-hover)}
.gfx--dark .g-step .g-bar{background:var(--accent)}.gfx--dark .g-step .g-bar--b{background:rgba(238,245,248,.35)}
.g-step .g-cap{font-size:13px;color:var(--fg);line-height:1.3}
.g-step .g-sub{font-size:12px;color:var(--mu);line-height:1.3}
.g-step .g-sub s{opacity:.7;margin-right:6px}
.g-step.is-on .g-bar{filter:brightness(.92)}
.g-ladder .g-legend{margin-top:0}
.who-media .g-ladder{padding-bottom:108px}
.phero-image .g-ladder{padding:28px 32px 100px}.phero-image .g-step .g-bars{--bh:104px}
@media (max-width:999px){.g-ladder{padding:26px 28px}.g-step .g-bars{--bh:110px}}
@media (max-width:809px){.g-ladder{padding:18px 20px;gap:8px}.g-step .g-val{font-size:20px}.g-step .g-bars{--bh:64px}.g-steps{gap:10px}.g-step .g-sub{display:none}.who-media .g-ladder{padding-bottom:96px}.who-media .g-step .g-bars{--bh:56px}.phero-image .g-ladder{padding:18px 20px 92px}.phero-image .g-step .g-bars{--bh:60px}}

/* ---------- C8 flow ---------- */
.g-flow-head{position:absolute;left:28px;right:28px;top:26px;display:flex;justify-content:space-between;gap:12px}
.g-flow{position:absolute;left:28px;right:28px;top:64px;aspect-ratio:500/160}
.g-flow svg{position:absolute;inset:0;width:100%;height:100%}
.g-flow .ln{stroke:var(--mu);stroke-width:1.5}
.g-node{position:absolute;display:flex;flex-direction:column;gap:2px;padding:10px 12px;border-radius:12px;background:var(--card);box-shadow:inset 0 0 0 1px var(--ln);font-size:13px;line-height:1.3;color:var(--fg)}
.g-node strong{font-weight:500}
.g-node .lbl{font-size:10px;letter-spacing:.7px}
.g-flow--cols{aspect-ratio:auto;top:62px;bottom:112px}
.g-flow--cols .g-cap,.g-flow--loop .g-cap{display:none}
.g-flow .g-cap{position:absolute;left:0;bottom:-30px;font-size:15px}
@media (max-width:1199px){.g-flow--loop{display:none}}
@media (max-width:809px){.g-flow-head{left:16px;right:16px;top:16px}.g-flow{left:16px;right:16px;top:46px}.g-flow--cols{bottom:96px}.g-flow--loop{display:none}.g-node{padding:7px 9px;font-size:11px;border-radius:10px}.g-node .lbl{display:none}.g-flow .g-cap{font-size:13px;bottom:-24px}}

/* ---------- C9 session tiles ---------- */
.g-tiles{position:absolute;inset:0;padding:52px 20px 18px;display:flex;flex-direction:column;gap:12px}
.g-tiles .g-row{align-items:baseline}
.g-big{font-size:24px;line-height:1}
.g-tilegrid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;align-content:start}
.g-tile{height:40px;border-radius:10px;background:var(--white);display:flex;align-items:center;justify-content:center;box-shadow:inset 0 0 0 1px var(--ln)}
.g-tile svg{width:16px;height:16px;color:var(--ink-hover)}
.g-tilefoot{margin-top:auto;display:flex;flex-direction:column;gap:3px;font-size:13px;line-height:1.4;color:var(--fg)}
.pack--wide .g-tile{height:34px}
@media (max-width:809px){.g-tiles{padding:50px 18px 16px}.g-tile{height:44px}}

/* ---------- C10 week grid ---------- */
.g-weekwrap{position:absolute;left:36px;right:36px;top:30px;display:flex;flex-direction:column;gap:12px}
.g-week{display:grid;grid-template-columns:120px repeat(7,1fr);gap:8px;align-items:center}
.g-week .lbl{font-size:10px;letter-spacing:.7px;text-align:center}
.g-week .g-wk{display:flex;flex-direction:column;gap:1px;text-align:left}
.g-week .g-wk b{font-size:12px;font-weight:500;color:var(--fg)}
.g-week .g-wk small{font-size:10px;line-height:1.25;color:var(--mu)}
.g-week .g-cell{height:50px;border-radius:10px;background:var(--cell);display:flex;align-items:center;justify-content:center;position:relative;transition:background-color .5s var(--ease),opacity .5s var(--ease)}
.g-week [data-row]{display:contents}
.g-week [data-row] .g-cell{opacity:.4}
.g-week [data-row] .g-cell.g-ph{background:color-mix(in srgb,var(--pc) 28%,transparent)}
.g-week .g-cell i{width:var(--ds,9px);height:var(--ds,9px);border-radius:50%;background:var(--dot);transition:width .5s var(--ease),height .5s var(--ease)}
.g-week .g-cell i.ring{background:transparent;box-shadow:inset 0 0 0 1.5px var(--dot);width:12px;height:12px}
.gfx[data-phase="menstrual"] [data-row="menstrual"] .g-cell,.gfx[data-phase="follicular"] [data-row="follicular"] .g-cell,.gfx[data-phase="ovulation"] [data-row="ovulation"] .g-cell,.gfx[data-phase="luteal"] [data-row="luteal"] .g-cell{opacity:1}
.gfx[data-phase="menstrual"] [data-row="menstrual"] .g-wk b,.gfx[data-phase="follicular"] [data-row="follicular"] .g-wk b,.gfx[data-phase="ovulation"] [data-row="ovulation"] .g-wk b,.gfx[data-phase="luteal"] [data-row="luteal"] .g-wk b{color:var(--accent)}
.gfx--tint[data-phase] [data-row] .g-wk b{color:var(--fg)}
@media (max-width:1199px){.g-weekwrap{gap:8px;top:26px}.g-week{gap:5px;grid-template-columns:104px repeat(7,1fr)}.g-week .g-cell{height:38px}.g-weekwrap .g-key{display:none}}
@media (max-width:999px){.g-week{gap:8px}.g-week .g-cell{height:56px}.g-weekwrap .g-key{display:flex}}
@media (max-width:809px){.g-weekwrap{left:16px;right:16px;top:118px;gap:6px}.g-weekwrap>.g-row{display:none}.g-week{gap:5px;grid-template-columns:66px repeat(7,1fr)}.g-week .g-cell{height:34px;border-radius:8px}.g-week .g-wk b{font-size:11px}.g-week .g-wk small{font-size:9px}.g-weekwrap .g-key{display:none}}

/* ---------- C11 milestones ---------- */
.g-pathhead{position:absolute;left:36px;right:36px;top:28px;display:flex;flex-direction:column;gap:4px}
.g-path{position:absolute;left:36px;right:64px;top:104px;bottom:116px}
.g-path svg{position:absolute;inset:0;width:100%;height:100%}
.g-path .ln{stroke:var(--mu);vector-effect:non-scaling-stroke}
.g-path .g-pt{position:absolute;width:12px;height:12px;border-radius:50%;background:var(--dot);transform:translate(-50%,-50%)}
.g-path .g-pt.g-a{transform:translate(-50%,-50%) scale(.4)}.gfx.in .g-path .g-pt.g-a{transform:translate(-50%,-50%)}
.g-path .g-lab{position:absolute;transform:translate(-50%,calc(-100% - 12px));font-size:12px;line-height:1.3;color:var(--fg);white-space:nowrap;text-align:center}
.g-path .g-lab .lbl{display:block;font-size:10px}
.g-path .g-lab .g-short{display:none}

@media (max-width:809px){.g-pathhead{left:20px;right:20px;top:16px}.g-pathhead .g-who{display:none}.g-path{left:20px;right:36px;top:60px;bottom:100px}.g-path .g-lab{font-size:11px}.g-path .g-lab .lbl,.g-path .g-lab .g-full{display:none}.g-path .g-lab .g-short{display:inline}}

/* ---------- C12 priority ladder, C13 topic index (text lists) ---------- */
.g-list{position:absolute;left:36px;right:36px;top:22px;margin:0;padding:0;list-style:none;display:flex;flex-direction:column}
.g-list li{display:grid;grid-template-columns:44px 1fr;gap:2px 14px;align-items:baseline;padding:10px 0;border-top:1px solid var(--ln)}
.g-list li:first-child{border-top:0}
.g-list .ac{font-size:26px;line-height:1}
.g-list strong{font-size:15px;font-weight:500;color:var(--fg)}
.g-list p{grid-column:2;margin:0;font-size:13px;line-height:1.4;color:var(--mu)}
@media (max-width:1199px){.g-list{top:14px}.g-list li{padding:7px 0}.g-list .ac{font-size:20px}.g-list p{line-height:1.3}}
@media (max-width:809px){.g-list{left:20px;right:20px;top:14px}.g-list li{padding:8px 0;grid-template-columns:34px 1fr}.g-list .ac{font-size:20px}.g-list strong{font-size:14px}.g-list p{display:none}}

/* ---------- C15 monogram ---------- */
.g-mono{position:absolute;inset:0;display:flex;align-items:center;justify-content:center}
.g-mono .g-ring{position:absolute;width:72%;aspect-ratio:1;border-radius:50%;box-shadow:inset 0 0 0 1.5px var(--ln)}
.g-mono .ac{font-size:120px;line-height:1;opacity:.22;letter-spacing:-4px}
.g-mono--tall .ac{font-size:150px}
@media (max-width:809px){.g-mono .ac{font-size:88px}.g-mono--tall .ac{font-size:120px}}

/* ---------- C2 load bars ---------- */
.g-bars-wrap{position:absolute;left:32px;right:32px;top:30px;bottom:100px;display:flex;flex-direction:column;gap:14px}
.gfx .ybars{flex:1;min-height:0;height:auto;gap:8px}
.gfx .ybar{position:relative}
.gfx .ybar .track{position:relative}
.gfx .ybar .fill{border-radius:6px 6px 3px 3px;background:var(--ink-hover)}
.gfx .ybar .fill--light{background:var(--accent-2)}
.gfx .ybar:last-child .fill{background:var(--accent-2)}
.gfx .ybar span{font-size:11px;color:var(--mu);min-height:14px}
.gfx .ybar .g-pill{position:absolute;left:50%;transform:translateX(-50%);white-space:nowrap;min-height:0;font-size:10px;letter-spacing:.5px;text-transform:uppercase;font-weight:600;padding:4px 8px;border-radius:999px;background:var(--ink);color:var(--white)}
.gfx .ybar .g-pill--soft{background:var(--white);color:var(--ink);box-shadow:inset 0 0 0 1px var(--ln)}
.gfx .g-stem{position:absolute;left:50%;width:1px;margin-left:-.5px;background:var(--mu);opacity:.55}
@media (max-width:809px){.g-bars-wrap{left:18px;right:18px;top:18px;bottom:92px;gap:8px}.gfx .ybars{gap:4px}.gfx .ybar .g-pill{font-size:9px;padding:3px 6px}}

/* ---------- C3 barbell ---------- */
.g-rack{position:absolute;inset:0;width:100%;height:100%}
.g-rack .ln{stroke:var(--fg);stroke-width:1.5}
.g-rack .plate{fill:var(--ink-hover);opacity:1;transition:opacity .45s var(--ease),transform .45s var(--ease)}
.g-rack .side-l .plate{--tx:-14px}.g-rack .side-r .plate{--tx:14px}
.g-rack .plate.p2,.g-rack .plate.p4{fill:var(--accent-2)}
.gfx[data-load="light"] .p2,.gfx[data-load="light"] .p3,.gfx[data-load="light"] .p4,.gfx[data-load="deload"] .p3,.gfx[data-load="deload"] .p4,.gfx[data-load="heavy"] .p4{opacity:0;transform:translateX(var(--tx))}
.gfx:not(.in) .g-rack .plate{opacity:0}
.g-corner{position:absolute;left:28px;top:24px;max-width:50%}
.g-why{position:absolute;left:28px;top:54px;max-width:235px;text-align:left;font-size:12px;line-height:1.4;color:var(--mu)}
.gfx[data-load="light"] .g-why::before{content:"Recovery first. Nothing is measured."}.gfx[data-load="deload"] .g-why::before{content:"Deload: 70 percent, more rest, home early."}.gfx[data-load="heavy"] .g-why::before{content:"Heavy: often a good week, if you feel it too."}.gfx[data-load="max"] .g-why::before{content:"Peak: the longest warm-up of the month."}
.g-kg{position:absolute;right:28px;top:24px;display:flex;flex-direction:column;align-items:flex-end;gap:2px}
.g-kg b{font-size:22px;font-weight:300;letter-spacing:-.6px;color:var(--fg)}
.g-kg i{font-style:normal;font-size:11px;letter-spacing:.9px;text-transform:uppercase;color:var(--mu)}
.gfx[data-load="light"] .g-kg b::before{content:"1 plate"}.gfx[data-load="deload"] .g-kg b::before{content:"2 plates"}.gfx[data-load="heavy"] .g-kg b::before{content:"3 plates"}.gfx[data-load="max"] .g-kg b::before{content:"4 plates"}
@media (max-width:809px){.g-corner{left:16px;top:14px}.g-kg{right:16px;top:14px}.g-kg b{font-size:18px}.g-why{right:16px;top:54px;font-size:11px;max-width:160px}}

/* ---------- C3b bar path ---------- */
.g-checks{position:absolute;left:32px;right:32px;top:30px;display:flex;flex-direction:column;gap:26px}
.g-checks-line{position:relative;display:flex;justify-content:space-between;padding-top:18px}
.g-checks-line::before{content:"";position:absolute;left:6px;right:6px;top:24px;height:1.5px;background:var(--mu);transform:scaleX(0);transform-origin:0 50%;transition:transform 1.4s var(--ease) .2s}
.gfx.in .g-checks-line::before{transform:none}
.g-check{display:flex;flex-direction:column;gap:6px;width:30%}
.g-check i{width:13px;height:13px;border-radius:50%;background:var(--dot);box-shadow:0 0 0 4px var(--tint)}
.g-check strong{font-size:15px;font-weight:500;color:var(--fg);margin-top:8px}
.g-check span{font-size:12px;color:var(--mu)}
@media (max-width:809px){.g-checks{left:18px;right:18px;top:18px;gap:16px}.g-check strong{font-size:13px}.g-check span{font-size:11px}}

/* ---------- C4 curves ---------- */
.g-curves{position:absolute;inset:0;width:100%;height:100%}
.g-curves path{fill:none;stroke-width:1.3;stroke-linecap:round}
.g-curves .c-e{stroke:rgba(238,245,248,.26)}.g-curves .c-p{stroke:rgba(166,216,240,.34)}
.g-curves .drift{animation:gfx-drift 70s linear infinite;animation-play-state:paused}
.gfx.in .g-curves .drift{animation-play-state:running}
@keyframes gfx-drift{to{transform:translateX(-1000px)}}
.g-legend--corner{position:absolute;right:28px;top:28px;margin:0}
.g-legend--corner i.c-e{background:rgba(238,245,248,.7)}.g-legend--corner i.c-p{background:#A6D8F0}
@media (prefers-reduced-motion:reduce){.g-curves .drift{animation:none!important}}

/* ---------- C5 ribbon ---------- */
.g-ribbon{position:absolute;left:32px;right:32px;top:32px;bottom:150px;margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:6px}
.g-ribbon li{flex:var(--f,1) 1 0;min-height:0;display:flex;flex-direction:column;justify-content:center;gap:1px;padding:4px 0 4px 16px;border-left:3px solid var(--pc);position:relative;transition:background-color .4s var(--ease)}
.g-ribbon li .lbl{font-size:10px}
.g-ribbon li strong{font-size:15px;font-weight:500;color:var(--fg);line-height:1.25}
.g-ribbon li .g-focus{font-size:15px;line-height:1.2}
.g-ribbon li.is-today{background:rgba(255,255,255,.55);border-radius:0 12px 12px 0;padding-right:12px}
.g-ribbon li.is-today::after{content:"today";position:absolute;right:12px;top:8px;font-family:var(--serif);font-style:italic;font-size:15px;color:var(--fg)}
@media (max-width:1199px){.g-ribbon{bottom:164px}.g-ribbon li .g-focus{font-size:14px}}
@media (max-width:809px){.g-ribbon{left:18px;right:18px;top:18px;bottom:156px;gap:4px}.g-ribbon li{padding-left:12px;min-height:26px;padding-top:2px;padding-bottom:2px}.g-ribbon li .g-focus{display:none}.g-ribbon li strong{font-size:13px}.g-ribbon li .lbl{font-size:9px}}

/* ---------- C6 timeline, C14b places ---------- */
.g-tl-wrap{position:absolute;left:40px;right:40px;top:40px;bottom:36px;display:flex;flex-direction:column;gap:22px}
.g-tl-wrap--large{left:32px;right:32px;top:30px;bottom:118px;gap:14px}
.g-tl-wrap--large .g-cap{display:none}
.g-tl{position:relative;margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:0;flex:1;justify-content:space-around}
.g-tl::before{content:"";position:absolute;left:6px;top:12px;bottom:12px;width:1.5px;background:var(--mu);opacity:.6;transform:scaleY(0);transform-origin:50% 0;transition:transform 1.2s var(--ease) .1s}
.gfx.in .g-tl::before{transform:none}
.g-tl li{position:relative;display:grid;grid-template-columns:30px 44px 1fr;align-items:baseline;gap:10px;padding:6px 0}
.g-tl li i{width:13px;height:13px;border-radius:50%;background:var(--dot);align-self:center;margin-top:-2px;box-shadow:0 0 0 4px var(--ink-deep)}
.gfx--tint .g-tl li i{box-shadow:0 0 0 4px var(--tint)}
.g-tl li b{font-size:12px;font-weight:500;letter-spacing:.5px;color:var(--mu);font-variant-numeric:tabular-nums}
.g-tl li div{display:flex;flex-direction:column;gap:1px}
.g-tl li strong{font-size:16px;font-weight:500;color:var(--fg);line-height:1.3}
.g-tl li span{font-size:13px;color:var(--mu);line-height:1.4}
.g-tl-wrap .g-cap{margin:0;font-size:17px}
.g-bring{margin-top:-14px}
@media (max-width:999px){.g-bring{display:none}}
.g-tl-wrap--large .g-tl li{padding:4px 0}.g-tl-wrap--large .g-tl li strong{font-size:15px}.g-tl-wrap--large .g-tl li span{font-size:12px}.g-tl-wrap--large .g-cap{font-size:15px}
.g-places{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:18px;flex:1;justify-content:center}
.g-places li{display:flex;flex-direction:column;gap:4px;padding:16px 0;border-top:1px solid var(--ln)}
.g-places li strong{font-size:17px;font-weight:500;color:var(--fg)}
.g-places li span{font-size:13px;color:var(--mu)}
.g-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}
.g-linechip{display:inline-flex;align-items:center;height:22px;padding:0 8px;border-radius:999px;font-size:10px;letter-spacing:.6px;text-transform:uppercase;font-weight:500;color:var(--fg);box-shadow:inset 0 0 0 1px var(--ln);background:var(--card);white-space:nowrap}
@media (max-width:1199px){.g-tl-wrap{left:28px;right:28px;top:28px;bottom:24px;gap:12px}.g-tl-wrap--large{bottom:118px}.g-tl-wrap--large .g-tl li span{display:none}.g-tl li strong{font-size:15px}.g-tl li span{font-size:12px}.g-tl-wrap .g-cap{font-size:15px}}
@media (max-width:999px){
  .cta-media .g-tl{flex-direction:row;gap:12px;justify-content:space-between;padding-top:16px}
  .cta-media .g-tl::before{left:12px;right:12px;top:6px;bottom:auto;width:auto;height:1.5px;transform:scaleX(0);transform-origin:0 50%}
  .gfx.in .cta-media .g-tl::before,.cta-media .gfx.in .g-tl::before{transform:none}
  .cta-media .g-tl li{grid-template-columns:1fr;gap:4px;padding:0;flex:1}
  .cta-media .g-tl li i{position:absolute;top:-16px;left:0;width:11px;height:11px;margin:0}
  .cta-media .g-tl li span{display:none}
  .cta-media .g-places{flex-direction:row;gap:16px}.cta-media .g-places li{flex:1;padding:12px 0}
}
@media (max-width:809px){
  .g-tl-wrap{left:18px;right:18px;top:16px;bottom:14px;gap:10px}.g-tl-wrap .g-cap{display:none}.g-tl li strong{font-size:13px}.g-tl li b{font-size:11px}
  .g-tl-wrap--large{bottom:92px}.g-tl-wrap--large .g-tl li{grid-template-columns:24px 40px 1fr;padding:3px 0}.g-tl-wrap--large .g-tl li span{display:none}
  .cta-media .g-places li strong{font-size:13px}.cta-media .g-places li span{font-size:11px}.g-chips{gap:4px}.g-linechip{height:18px;padding:0 6px;font-size:9px}
}

/* ---------- C13 topic index ---------- */
.g-topics{top:16px}
.g-topics li{padding:0;display:block}
.g-topics a{display:grid;grid-template-columns:40px 1fr auto;gap:12px;align-items:baseline;padding:4px 0;line-height:1.3;color:inherit;text-decoration:none}
.g-topics a .ac{font-size:20px;line-height:1}
.g-topics a strong{font-size:14px;font-weight:500;color:var(--fg)}
.g-topics a svg{width:12px;height:12px;opacity:0;transform:translateX(-4px);transition:opacity .3s,transform .3s var(--ease);color:var(--fg)}
.g-topics a:hover svg,.g-topics a:focus-visible svg{opacity:1;transform:none}
@media (max-width:809px){.g-topics{display:grid;grid-template-columns:1fr 1fr;gap:0 14px;top:12px}.g-topics a{padding:3px 0;grid-template-columns:28px 1fr auto}.g-topics a .ac{font-size:17px}.g-topics a strong{font-size:12px}}

/* ---------- C14 transit ---------- */

.g-notes span,.gfx.in .g-notes span{transform:translateX(-50%)}
.g-path .g-lab,.gfx.in .g-path .g-lab{transform:translate(-50%,calc(-100% - 12px))}

/* ---------- plan and pack highlight from the price ladder ---------- */
.plan.is-hl,.pack.is-hl{box-shadow:0 0 0 2px var(--accent-2)}
.plan--featured.is-hl{box-shadow:0 0 0 2px var(--accent)}

/* ---------- C17 estimator card ---------- */
.estimator{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:20px 48px;align-items:center;margin-bottom:64px;padding:32px 36px;background:var(--white)}
.estimator .est-head{display:flex;flex-direction:column;gap:12px;align-items:flex-start}
.estimator .est-head .small{max-width:420px}
.est-form{display:grid;grid-template-columns:1fr 120px auto;gap:12px;align-items:end}
.est-form .field label{font-size:12px;color:var(--muted)}
.est-form .btn{height:48px;white-space:nowrap}
.est-out{grid-column:1/-1;margin:0;min-height:22px;font-size:15px;line-height:1.5;color:var(--ink)}
.est-out:empty{display:none}
@media (max-width:999px){.estimator{grid-template-columns:1fr;gap:18px;margin-bottom:48px}}
@media (max-width:809px){.estimator{padding:22px 18px;margin-bottom:40px}.est-form{grid-template-columns:1fr 1fr}.est-form .btn{grid-column:1/-1}}

/* ---------- page hero timing: the phero side appears after 1.13 s ---------- */
.phero-side .gfx .g-a,.phero-side .gfx .g-draw{transition-delay:calc(var(--d,0s) + .8s)}
.phero-side .gfx [data-reveal="bars"]>*{transition-delay:calc(var(--sd,0s) + .8s)}
.phero-side .gfx .g-tl::before,.phero-side .gfx .g-checks-line::before{transition-delay:.9s}

/* ---------- situation switcher (home) ---------- */
.sit-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:40px}
.sit-tabs button{display:flex;gap:14px;align-items:flex-start;text-align:left;padding:18px 20px;border-radius:18px;background:var(--white);box-shadow:inset 0 0 0 1px var(--line);color:var(--ink);font-size:15px;line-height:1.45;letter-spacing:-.2px;transition:background-color .35s var(--ease),color .35s var(--ease),box-shadow .35s var(--ease),transform .35s var(--ease)}
.sit-tabs button .num{flex:none;padding-top:3px;color:var(--muted)}
.sit-tabs button:hover{transform:translateY(-2px);box-shadow:inset 0 0 0 1px var(--line),rgba(16,35,46,.18) 0 18px 36px -24px}
.sit-tabs button.on,.sit-tabs button[aria-selected="true"]{background:var(--ink-deep);color:var(--pale);box-shadow:none}
.sit-tabs button.on .num{color:var(--accent)}
.sit-session{width:100%;max-width:460px}
.sit-session .timeline-rows{margin-top:8px}
.sit-session .trow{padding:9px 0;font-size:14px;gap:12px}
.sit-session .trow b{flex:0 0 64px}
.sit-coach{font-family:var(--serif);font-style:italic;font-size:20px;line-height:1.35;color:var(--ink);margin:2px 0 4px}
.sit-src{font-size:12px;color:var(--muted)}
.sit-src a{color:var(--muted);text-decoration:underline;text-underline-offset:3px}
@media (max-width:999px){.sit-tabs{grid-template-columns:1fr 1fr;margin-bottom:28px}}
@media (max-width:809px){.sit-tabs{grid-template-columns:1fr;gap:8px}.sit-tabs button{padding:14px 16px;font-size:14px;gap:10px;border-radius:14px}.sit-coach{font-size:18px}}
/* two-column card: a normal day next to a flare day */
.g-split{position:absolute;inset:0;padding:30px 32px 110px;display:flex;flex-direction:column;gap:16px}
.g-cols{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.g-cols>div{display:flex;flex-direction:column;gap:8px;padding:14px 16px;border-radius:14px;background:var(--card);box-shadow:inset 0 0 0 1px var(--ln)}
.g-cols ul{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:6px}
.g-cols li{font-size:13px;line-height:1.4;color:var(--fg);padding-left:14px;position:relative}
.g-cols li::before{content:"";position:absolute;left:0;top:8px;width:6px;height:6px;border-radius:50%;background:var(--dot)}
.g-split .g-cap{margin:0;font-size:15px}
@media (max-width:1199px){.g-split{padding:22px 22px 104px;gap:10px}.g-cols{gap:10px}.g-cols>div{padding:10px 12px}.g-cols li{font-size:12px}}
@media (max-width:809px){.g-split{padding:16px 16px 96px}.g-split .g-cap{display:none}.g-cols li{font-size:11px}}

/* ---------- graphics inside the situation boxes (547x420, chip bottom-left) ---------- */
.who-media .g-weekwrap{top:26px;gap:8px}
.who-media .g-week{gap:6px}
.who-media .g-week .g-cell{height:40px}
.who-media .g-weekwrap .g-key{display:none}
@media (max-width:1199px){.g-tiles{padding:48px 18px 16px;gap:8px}.g-tile{height:32px}.g-tilegrid{gap:6px}.g-big{font-size:21px}}
@media (max-width:809px){
  .who-media .g-weekwrap{top:16px;gap:6px}.who-media .g-week{gap:4px}.who-media .g-week .g-cell{height:26px;border-radius:6px}
  .who-media .g-tl-wrap .g-row .lbl,.way--large .g-flow-head .lbl{display:none}
  .who-media .g-tl-wrap--large{bottom:96px;top:14px}.who-media .g-tl-wrap--large .g-tl li{padding:2px 0}
  .g-cols li:nth-child(3){display:none}.g-split{padding:14px 14px 92px;gap:8px}.g-cols>div{padding:8px 10px}
  .g-tiles{padding:48px 16px 14px}.g-tile{height:40px}
}

/* laptop and phone room inside the smaller boxes */
@media (max-width:1199px){
  .g-weekwrap .g-row .lbl{display:none}
  .who-media .g-weekwrap{top:22px}.who-media .g-week .g-cell{height:34px}.who-media .g-wk-load{display:none}
  .g-pair .g-cap{display:none}.g-pair-plan{font-size:12px}
  .who-media .g-strip{top:28px}.who-media .g-notes{display:none}.who-media .g-bandwrap{--bh:36px}
  .g-list p{font-size:12px}
}
@media (max-width:809px){.g-wk-load{display:none}.way--large .g-flow-head{display:none}}

/* phone rules for the situation boxes, after the laptop block so they win */
@media (max-width:809px){.who-media .g-weekwrap{top:16px;gap:6px}.who-media .g-week .g-cell{height:26px}}

/* ---------- C18 day line ---------- */
.g-day{position:absolute;left:36px;right:36px;top:32px;display:flex;flex-direction:column;gap:18px}
.g-day-track{position:relative;height:96px;margin:14px 10px 0}
.g-day-track::before{content:"";position:absolute;left:0;right:0;top:40px;height:1.5px;background:var(--mu);opacity:.5;transform:scaleX(0);transform-origin:0 50%;transition:transform 1.2s var(--ease) .1s}
.gfx.in .g-day-track::before{transform:none}
.g-day-tick{position:absolute;top:34px;transform:translateX(-50%);display:flex;flex-direction:column;align-items:center;gap:6px}
.g-day-tick i{width:1px;height:13px;background:var(--mu);opacity:.6}
.g-day-tick b{font-size:10px;font-weight:500;color:var(--mu);letter-spacing:.4px}
.g-day-tick.g-a,.gfx.in .g-day-tick.g-a{transform:translateX(-50%)}
.g-day-dot{position:absolute;top:40px;width:16px;height:16px;border-radius:50%;background:var(--dot);transform:translate(-50%,-50%);box-shadow:0 0 0 4px var(--tint)}
.g-day-dot.g-a,.gfx.in .g-day-dot.g-a{transform:translate(-50%,-50%)}
.g-day-dot em{position:absolute;left:50%;bottom:calc(100% + 10px);transform:translateX(-50%);font-style:normal;font-size:12px;font-weight:500;color:var(--fg);white-space:nowrap}
.g-day-dot::after{bottom:calc(100% + 34px)}
.g-day-home{display:flex;gap:14px;align-items:flex-start;padding:14px 16px;border-radius:14px;background:var(--card);box-shadow:inset 0 0 0 1px var(--ln)}
.g-day-home i.ring{flex:none;width:14px;height:14px;border-radius:50%;box-shadow:inset 0 0 0 1.5px var(--dot);margin-top:3px}
.g-day-home div{display:flex;flex-direction:column;gap:2px}
.g-day-home strong{font-size:14px;font-weight:500;color:var(--fg)}
.g-day-home span{font-size:12px;color:var(--mu);line-height:1.4}
.who-media .g-day .g-key{display:none}
@media (max-width:1199px){.g-day{top:24px;gap:12px}.g-day-track{height:84px;margin-top:10px}.g-day-home{padding:10px 12px}.g-day-home span{display:none}}
@media (max-width:809px){.g-day{left:18px;right:18px;top:16px;gap:8px}.g-day-track{height:72px;margin:8px 6px 0}.g-day-track::before,.g-day-dot{top:34px}.g-day-tick{top:28px}.g-day-dot em{font-size:10px}.g-day-tick b{font-size:9px}.g-day-tick:nth-child(2),.g-day-tick:nth-child(4){display:none}.g-day-home{display:none}}

/* ---------- home: first month, evidence, trial card steps ---------- */
.steps-grid--4{grid-template-columns:repeat(4,1fr)}
@media (max-width:999px){.steps-grid--4{grid-template-columns:1fr 1fr}}
@media (max-width:600px){.steps-grid--4{grid-template-columns:1fr}}
.step-card .micro{color:var(--muted)}
.feat-steps{list-style:none;margin:4px 0 0;padding:0;display:flex;flex-direction:column;gap:7px}
.feat-steps li{display:flex;gap:12px;align-items:baseline;font-size:13px;line-height:1.4;color:var(--pale-62)}
.feat-steps li b{flex:0 0 34px;font-weight:500;color:var(--pale);font-variant-numeric:tabular-nums}

/* ---------- P3: today marker, ladder detail, slim estimator, flare and what-counts sections ---------- */
.g-band .cell.is-today{box-shadow:0 0 0 2px var(--tint),0 0 0 3.5px var(--fg);z-index:2;position:relative}
.g-days .g-today-lbl{display:none;top:-1px;font-size:14px;color:var(--fg);transform:translateX(-50%)}
.g-days .g-today-lbl.on{display:block}
.g-days span.is-hidden{visibility:hidden}
.g-ladder-detail{min-height:36px;font-size:13px;line-height:1.4}
.est-form--slim{margin:6px 0 4px;padding:16px 18px;border-radius:18px;background:var(--white);box-shadow:inset 0 0 0 1px var(--line);grid-template-columns:1fr 90px auto;gap:10px 12px;width:100%;max-width:460px}
.est-form--slim .micro{grid-column:1/-1}
.est-form--slim .input{height:42px;font-size:14px;padding:0 12px}
.est-form--slim .btn{height:42px;padding:0 16px;font-size:14px}
.est-form--slim .est-out{font-size:14px}
.est-form--slim .small{grid-column:1/-1;font-size:12px;margin:0}
@media (max-width:809px){.est-form--slim{grid-template-columns:1fr 1fr;padding:14px}.est-form--slim .btn{grid-column:1/-1}}
.flare-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.flare-card{background:var(--white);border-radius:var(--r-card);padding:28px;display:flex;flex-direction:column;gap:12px;box-shadow:inset 0 0 0 1px var(--line)}
.flare-card h3{font-size:22px;font-weight:400;letter-spacing:-.5px}
.flare-card .micro{color:var(--muted)}
.flare-card .timeline-rows{margin-top:6px}
.flare-card .trow{font-size:15px}
.flare-card--flare{background:var(--tint)}
.section--tint .flare-card--flare{background:var(--bg)}
.flare-close{margin-top:24px;font-family:var(--serif);font-style:italic;font-size:24px;line-height:1.3;color:var(--ink);max-width:720px}
@media (max-width:809px){.flare-grid{grid-template-columns:1fr;gap:12px}.flare-card{padding:20px}.flare-close{font-size:20px}}

/* day-line edge labels stay inside the box; tighter situation boxes at laptop and phone widths */
.g-day-dot--first em{left:0;transform:none}
.g-day-dot--last em{left:auto;right:0;transform:none}
@media (max-width:1199px){
  .who-media .g-strip .g-key,.who-media .g-day-home{display:none}
  .who-media .g-list li{padding:6px 0}.who-media .g-list .ac{font-size:18px}
}
@media (max-width:809px){
  .who-media .g-strip .g-row .lbl,.who-media .g-day .g-row .lbl{display:none}
  .who-media .g-list li{padding:5px 0}
}

/* ---------- batch 3: motion refresh and phone layout ---------- */
/* text-bearing panels fade in instead of opening from a letterbox (photos keep the clip) */
[data-reveal="clip"]:has(>.gfx){clip-path:none;opacity:0;transition:opacity .9s var(--ease) var(--rdl,0s)}
[data-reveal="clip"].in:has(>.gfx){opacity:1}
[data-reveal="clip"]:has(>.gfx)>.gfx{transform:none}
.chapter-more{display:none}
@media (max-width:809px){
  .hero-rule>span:first-child{display:none}
  .trust-row{display:grid;grid-template-columns:1fr 1fr;gap:10px 14px}
  .trust-item{font-size:12px;align-items:flex-start}
  .class-grid{grid-template-columns:1fr 1fr;gap:10px}
  .class-card{padding:8px 8px 12px;gap:8px}
  .class-body h3{font-size:15px}.class-body p{font-size:12px}.class-meta{font-size:11px;gap:6px}.class-foot .link{font-size:12px}
  .class-card .media{aspect-ratio:4/3}
  .chapter-body.is-collapsed>.kv,.chapter-body.is-collapsed>.mini{display:none}
  .chapter-more{display:inline-block;margin-top:10px;font-size:14px;font-weight:500;color:var(--ink);text-decoration:underline;text-underline-offset:3px}
}
@media (prefers-reduced-motion:reduce){[data-reveal="clip"]:has(>.gfx){opacity:1!important}}
/* ---- visual check v5 (2026-11-05) ---- */
.gfx{border-radius:inherit}
.media:has(>.gfx),.phero-image:has(>.gfx),.map-card:has(>.gfx){background-color:transparent}
.est-form--slim .micro{color:var(--muted)}
.g-why{top:88px}
.gfx .g-key i.cell{width:10px;height:10px;border-radius:3px}
.gfx .g-key i.cell.ph-0{background:var(--ph0)}.gfx .g-key i.cell.ph-1{background:var(--ph1)}.gfx .g-key i.cell.ph-2{background:var(--ph2)}.gfx .g-key i.cell.ph-3{background:var(--ph3)}
.gfx--dark .g-week .g-cell{background:rgba(238,245,248,.06)}
.gfx--dark .g-week [data-row="menstrual"] .g-cell.g-ph{background:rgba(238,245,248,.11)}
.g-step .g-cap{display:flex;flex-direction:column;line-height:1.25}.g-step .g-cap b{font-weight:500}.g-step .g-cap small{font-size:12px;color:var(--mu);font-weight:400}
.g-step .g-bars{flex:none}
.g-checks{top:50%;transform:translateY(-50%)}
@media (max-width:999px){
  .aday-frame{display:flex;flex-direction:column;aspect-ratio:auto;max-height:none}
  .aday-frame>.gfx{position:relative;inset:auto;height:250px;flex:none;border-radius:0}
  .aday-frame>.chip{position:relative;left:auto;right:auto;top:auto;bottom:auto;width:auto;max-width:none;margin:0 14px 14px}
  .g-flow--cols{display:flex;flex-direction:column;gap:8px;top:52px;bottom:auto;aspect-ratio:auto}
  .g-flow--cols svg{display:none}
  .g-flow--cols .g-node{position:static!important;width:auto!important;left:auto!important;top:auto!important}
  .g-flow--cols .g-node:nth-of-type(4){margin-top:8px;padding-top:14px;border-top:1px dashed var(--ln);border-radius:0 0 12px 12px}
  .phero-image:has(>.gfx){max-height:420px!important}
  .phero-image:has(.g-flow),.phero-image:has(.g-strip),.phero-image:has(.g-topics),.who-media:has(.g-strip),.phero-image:has(.g-tl-wrap){max-height:380px!important}
  .faq-image:has(.g-checks){max-height:300px!important}
  .pack .media:has(>.gfx){aspect-ratio:4/3;max-height:380px!important}
  .media:has(>[data-gfx="curves"]){max-height:380px!important}
  .g-checks{top:40%}
}
@media (max-width:809px){
  .g-why{display:none}
  .g-kg{background:var(--tint);padding:4px 8px;border-radius:10px;right:12px;top:12px}
  .cta-media .g-step .g-bars{--bh:52px}
  .g-step .g-sub:has(s){display:block}
  .phero-image:has(.g-tl-wrap--large){aspect-ratio:460/430;max-height:none}
}
@media (max-width:600px){
  .g-flow:not(.g-flow--cols){display:flex;flex-direction:column;gap:18px;aspect-ratio:auto;bottom:auto}
  .g-flow:not(.g-flow--cols) svg{display:none}
  .g-flow:not(.g-flow--cols) .g-node{position:static!important;width:auto!important;left:auto!important;top:auto!important}
  .g-flow:not(.g-flow--cols) .g-node+.g-node::before{content:"";position:absolute;left:50%;top:-14px;width:1.5px;height:10px;background:var(--mu)}
  .g-flow:not(.g-flow--cols) .g-node{position:relative!important}
  .g-topics,.g-topics ol{columns:1!important;column-count:1!important;grid-template-columns:1fr!important}
}
/* ---- visual check v5, pass 2 ---- */
.phero-image .g-notes{display:none}
.g-strip .g-key{margin-top:2px}
.phero-image .g-step .g-bars{--bh:80px}.phero-image .g-ladder{padding-bottom:92px}
@media (max-width:809px){.cta-media:has(.g-ladder){aspect-ratio:4/3}.phero-image:has(.g-flow--cols){aspect-ratio:460/520}.phero-image .g-step .g-bars{--bh:56px}.phero-image .g-ladder{padding-bottom:84px}}
@media (max-width:600px){.g-flow:not(.g-flow--cols){top:64px}}
/* ---- visual check v5, pass 3 ---- */
.phero-image .g-strip .g-key span:nth-child(n+5){display:none}
@media (max-width:809px){.phero-image:has(.g-ladder){aspect-ratio:460/420;max-height:none}.phero-image .g-step .g-bars{--bh:48px}.cta-media .g-ladder .g-row .lbl{display:none}.cta-media .g-step .g-bars{--bh:44px}.phero-image:has(.g-strip){aspect-ratio:460/430;max-height:none}}
@media (max-width:600px){.g-flow .g-cap{display:none}.g-strip .g-key span:nth-child(n+5){display:none}}
/* ---- visual check v5, pass 4 ---- */
@media (max-width:600px){.phero-image:has(.g-flow){aspect-ratio:460/520;max-height:380px!important}}
/* ---- visual check v5, pass 5 ---- */
@media (max-width:809px){.gfx[data-set="usc"] .g-step .g-sub{display:block}}
/* ---- visual check v5, pass 6 ---- */
/* ---- visual check v5, pass 7: linear flows stack on tablet too (stretched arrowheads otherwise) ---- */
@media (max-width:999px){
  .g-flow:not(.g-flow--cols){display:flex;flex-direction:column;gap:18px;aspect-ratio:auto;bottom:auto;top:64px}
  .g-flow:not(.g-flow--cols) svg{display:none}
  .g-flow:not(.g-flow--cols) .g-node{position:relative!important;width:auto!important;left:auto!important;top:auto!important}
  .g-flow:not(.g-flow--cols) .g-node+.g-node::before{content:"";position:absolute;left:50%;top:-14px;width:1.5px;height:10px;background:var(--mu)}
  .g-flow .g-cap{display:none}
}
/* ---- CTA timeline on phones: back to the vertical list (the four-column row was cramped) ---- */
@media (max-width:600px){
  .cta-media:has(.g-tl-wrap){aspect-ratio:4/3}
  .cta-media .g-tl{flex-direction:column;gap:0;justify-content:space-around;padding-top:0}
  .cta-media .g-tl::before{left:6px;right:auto;top:12px;bottom:12px;width:1.5px;height:auto;transform:scaleY(0);transform-origin:50% 0}
  .gfx.in .cta-media .g-tl::before,.cta-media .gfx.in .g-tl::before{transform:none}
  .cta-media .g-tl li{grid-template-columns:30px 44px 1fr;gap:10px;padding:4px 0;flex:none}
  .cta-media .g-tl li i{position:static;width:13px;height:13px;margin-top:-2px}
}
@media (min-width:601px) and (max-width:999px){.cta-media:has(.g-tl-wrap){aspect-ratio:auto!important;max-height:none}.cta-media .gfx:has(.g-tl-wrap){position:relative;inset:auto}.cta-media .g-tl-wrap{position:relative;inset:auto;padding:28px 28px 30px}}
/* ---- visual check v6: phase names live in the legend, station labels darker, bar heights per width, phone ribbon and strip room ---- */
.g-pname{display:none}
@media (min-width:1000px){.cta-media .g-step .g-bars{--bh:190px}}
@media (min-width:601px) and (max-width:999px){.cta-media .g-step .g-bars{--bh:110px}}
@media (max-width:600px){.g-ribbon{bottom:176px}.phero-image:has(.g-strip){aspect-ratio:460/500}.g-legend{row-gap:4px}}
@media (min-width:601px) and (max-width:999px){.cta-media:has(.g-ladder){aspect-ratio:2/1}}
@media (max-width:600px){.class-grid{grid-template-columns:1fr}.class-card .media{aspect-ratio:257/180}}

/* ---- refinement pass (2026-11-10): price ladder reads as three steps going down ---- */
.g-step .g-bar{border-radius:10px 10px 4px 4px}
.gfx--dark .g-step .g-bar--b{background:var(--accent)}
.gfx--dark .g-step:nth-child(2) .g-bar--b{background:rgba(191,228,246,.72)}
.gfx--dark .g-step:nth-child(3) .g-bar--b{background:rgba(191,228,246,.48)}
.gfx--tint .g-step:nth-child(2) .g-bar--b{background:#2B4A5C}
.gfx--tint .g-step:nth-child(3) .g-bar--b{background:#4E7389}
@media (min-width:1000px){
  .phero-image:has(.g-ladder){aspect-ratio:460/430}
  .phero-image .g-ladder{padding:30px 32px 104px;gap:12px}
  .phero-image .g-step .g-bars{--bh:104px}
  .cta-media .g-ladder{padding:40px 44px}
}
@media (max-width:600px){
  .phero-image:has(.g-ladder){aspect-ratio:auto;max-height:none}
  .phero-image:has(.g-ladder) .gfx{position:relative;inset:auto}
  .phero-image .g-ladder{position:relative;inset:auto;padding:18px 20px 20px;gap:12px}
  .phero-image .g-step .g-bars{--bh:72px}
  .phero-image .g-step .g-sub{display:block}
}
/* flow node labels: 10px was under the reading floor */
.g-node .lbl{font-size:11px;letter-spacing:.5px}
/* refinement pass: on phones a flow hero is a short list that takes its own height, with the labels back */
@media (max-width:600px){
  .phero-image:has(.g-flow){aspect-ratio:auto!important;max-height:none!important;height:auto;display:flex;flex-direction:column;background:var(--tint)}
  .phero-image:has(.g-flow)>.gfx{position:relative;inset:auto;height:auto;padding:16px 16px 6px;border-radius:0}
  .phero-image:has(.g-flow) .g-flow-head{position:static}
  .phero-image:has(.g-flow) .g-flow{position:static!important;margin-top:14px;gap:8px}
  .phero-image:has(.g-flow) .g-node{flex-direction:row;justify-content:space-between;align-items:baseline;gap:10px;padding:11px 12px;font-size:13px}
  .phero-image:has(.g-flow) .g-node .lbl{display:block;text-align:right}
  .phero-image:has(.g-flow) .g-node+.g-node::before{display:none}
  .phero-image:has(.g-flow)>.chip{position:static;width:auto;max-width:none;margin:10px 16px 16px}
}

/* ---------- German pages (<html lang="de">): the texts the rules above write with content ---------- */
html[lang="de"] .gfx[data-load="light"] .g-why::before{content:"Erst die Erholung. Nichts wird gemessen."}
html[lang="de"] .gfx[data-load="deload"] .g-why::before{content:"Entlastungswoche: 70 Prozent, mehr Pause, früh nach Hause."}
html[lang="de"] .gfx[data-load="heavy"] .g-why::before{content:"Schwer: oft eine gute Woche, wenn du es auch so spürst."}
html[lang="de"] .gfx[data-load="max"] .g-why::before{content:"Am schwersten: das längste Aufwärmen des Monats."}
html[lang="de"] .gfx[data-load="light"] .g-kg b::before{content:"1 Scheibe"}
html[lang="de"] .gfx[data-load="deload"] .g-kg b::before{content:"2 Scheiben"}
html[lang="de"] .gfx[data-load="heavy"] .g-kg b::before{content:"3 Scheiben"}
html[lang="de"] .gfx[data-load="max"] .g-kg b::before{content:"4 Scheiben"}
html[lang="de"] .g-ribbon li.is-today::after{content:"heute"}

/* v275: barbell caption stays left of the rack */
/* On laptops the rack's left sleeve begins at 34.6 percent of the frame's width. The caption under the title was 235 px wide at most, so it ran across the plates (German at every laptop width, English below 1200 px). It now ends 14 px before the sleeve at every frame size. */
@media (min-width:1000px){
  [data-gfx="barbell"] .g-why{max-width:calc(34.6% - 42px)}
}
