/* Iron Barbell V2 — site layer. Linked LAST in <head> on every page so it sits over each page's own V1 CSS. */
@import url("./ib-v2.css");

/* Display face — the loudest lines only (hero, H1, H2). Anton is single-weight: never above 400. */
html body :is(.h-1,.h-2,.hero-title,.bookhero-title,.quote-hero h2,.cta-band h2,.final-cta h2,.lochero h1,.fhero h1,.jhero h1,.rhero h1,.art-head h1,h1.code,.hero>h1,.intro h1,.mast h1,.sec-head h2,.group-head h2,.home-title,.fs-title,.pp-title,.cta h2){font-family:var(--font-display);font-weight:400;letter-spacing:var(--tracking-h1);line-height:.98}
html body :is(.hero-title,.bookhero-title,.lochero h1,.fhero h1,.jhero h1,.rhero h1,h1.code,.hero>h1,.intro h1,.mast h1){letter-spacing:var(--tracking-display);line-height:.95}
html body .h-1{font-size:clamp(40px,5.6vw,76px)}
html body .art-head h1{line-height:1.02}

/* Buttons + eyebrows */
html body .btn{border-radius:var(--radius-btn)}
html body :is(.sec-dark,.sec-darker) .eb{color:var(--color-electric-bright)}
html body .sec-light .eb,html body .sec-white .eb{color:var(--color-electric-deep)}
html body .eb-line::before{display:block;width:72px;height:var(--border-slab);background:var(--electric,#075DC6);margin:0 0 20px;transform:none}

/* Written layer — shared placements */
.v2-over{position:relative;display:inline-block}
.v2-hand{position:absolute;white-space:nowrap;pointer-events:none;z-index:3;font-size:clamp(22px,2.4vw,36px)}
.v2-hand .ib-hand,.v2-hand .ib-note{font-size:inherit}
.v2-hand .ib-write{animation-delay:.5s;animation-fill-mode:both}
.v2-hand.r{left:100%;top:-.2em;margin-left:.15em}
.v2-hand.b{left:40%;top:82%}
@media(max-width:760px){.v2-hand{position:static;display:block;margin:10px 0 0;font-size:24px}}
.v2-circ{padding:0 .28em}
.v2-circ::after{background-image:var(--stroke-circle-red-bright)!important}
.v2-circ-light::after{background-image:var(--stroke-circle-red)!important}
.hdr-nav a.ib-annotate{position:relative}
.hdr-nav .ib-annotate-mark{font-size:18px;color:var(--color-red-bright)}
.ft-hand{margin:-6px 0 26px}
.ft-hand .ib-hand{color:var(--color-red-bright)}
.v2-corr{padding-top:30px}
.v2-corr>.ib-correction-to{font-size:22px}
h1:has(.v2-hand.b){margin-bottom:.55em}
.v2-hand .ib-hand{text-transform:none!important;letter-spacing:var(--tracking-hand)!important}
html body :is(.bookhero-kicker,.hero-kicker,.lochero-kicker,.fhero-kicker,.jhero-kicker,.rhero-eb,.kicker){color:var(--color-electric-bright)}
html body .bookhero-kicker{font-size:18px}

/* Draw-on — the written layer appears as if the coach is writing it now (see site-v2.js) */
@keyframes v2-wipe{from{clip-path:inset(-30% 100% -30% -5%)}to{clip-path:inset(-30% -10% -30% -5%)}}
.v2-pending:not(.ib-circled):not(.ib-correction){clip-path:inset(-30% 100% -30% -5%)}
.v2-pending.v2-in:not(.ib-circled):not(.ib-correction){animation:v2-wipe var(--dur-write) var(--ease-pen) forwards}
.ib-circled.v2-pending::after,.ib-correction.v2-pending>.ib-correction-from::after,.ib-correction.v2-pending>.ib-correction-to{clip-path:inset(-30% 100% -30% -5%)}
.ib-circled.v2-pending.v2-in::after,.ib-correction.v2-pending.v2-in>.ib-correction-from::after{animation:v2-wipe var(--dur-draw) var(--ease-pen) forwards}
.ib-correction.v2-pending.v2-in>.ib-correction-to{animation:v2-wipe 900ms var(--ease-pen) 650ms forwards}
/* Margin note speaks in marker, not pencil */
.ib-margin-note>span{font-family:var(--font-scrawl);font-weight:400;font-size:30px;line-height:1}
