/* Approved photography only · additive, non-interactive decoration. */
.topbar{position:relative;isolation:isolate;background:var(--panel-solid)}
.topbar:before{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background-image:linear-gradient(90deg,#07110ff5,#07110f55 40%,#07110f55 62%,#07110ff5),url('assets/photos/header-collage.webp');background-position:center,center 27%;background-size:100% 100%,auto 230%;background-repeat:no-repeat;opacity:.6}
html[data-theme=light] .topbar:before{background-image:linear-gradient(90deg,#edf1edf5,#edf1ed99 40%,#edf1ed99 62%,#edf1edf5),url('assets/photos/header-collage.webp');opacity:.5}
.login-story{background:linear-gradient(145deg,rgba(8,17,14,.78),rgba(8,17,14,.9)),url('assets/photos/08-performance.webp') 66% center/cover}
.hero-photo,.unit-photo,.unit-detail-photo{--training-photo:url('assets/photos/02-equipment.webp');background-image:var(--training-photo);background-size:cover;background-position:72% center}
.hero-photo{left:18%;right:-7%;opacity:.54;background-position:62% center;mask-image:linear-gradient(90deg,transparent,#000 24%);-webkit-mask-image:linear-gradient(90deg,transparent,#000 24%)}
.workout-hero:before{background:linear-gradient(90deg,#0a0f0dee 0%,#0a0f0dcc 40%,#0a0f0d33 90%),linear-gradient(0deg,#0a100dfa,transparent 55%);background-size:auto}
[data-training-visual=push]{--training-photo:url('assets/photos/09-push.webp')}
[data-training-visual=pull]{--training-photo:url('assets/photos/10-pull.webp')}
[data-training-visual=legs]{--training-photo:url('assets/photos/11-legs.webp')}
[data-training-visual=upper]{--training-photo:url('assets/photos/12-upper.webp')}
[data-training-visual=arms]{--training-photo:url('assets/photos/13-arms.webp')}
[data-training-visual=full]{--training-photo:url('assets/photos/14-corrected-full.webp')}
.hero-photo[data-training-visual=full]{background-size:auto 185%;background-position:63% 8%}
[data-training-visual=shoulders]{--training-photo:url('assets/photos/15-shoulders.webp')}
.training-page-intro{position:relative;isolation:isolate;overflow:hidden;background:#0c1715;border:1px solid var(--line-strong);border-radius:var(--radius);padding:28px;margin-bottom:24px;color:#f3f7f4}
.training-page-intro:before{content:'';position:absolute;inset:0 -8% 0 20%;z-index:-1;pointer-events:none;background:linear-gradient(90deg,#0c1715,transparent 55%),url('assets/photos/06-training.webp') 60% 45%/cover;opacity:.42}
.training-page-intro .page-heading{margin:0;min-height:106px;align-items:center}
.training-page-intro h1{color:#f3f7f4}.training-page-intro .page-heading p{color:#d4ded6;max-width:70%}
.unit-card{position:relative;isolation:isolate;overflow:hidden;min-height:164px;align-content:flex-end;background:#0d1815;color:#f3f7f4;box-shadow:inset 0 1px 0 #fff1}
.unit-photo{position:absolute;inset:0 -18% 0 12%;z-index:-2;pointer-events:none;opacity:.42;mask-image:linear-gradient(90deg,transparent,#000 30%);-webkit-mask-image:linear-gradient(90deg,transparent,#000 30%)}
.unit-card:before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(0deg,#07110ff5,#07110fad 53%,#07110f35);pointer-events:none}
.unit-card small{color:#d2dcd6}.unit-card .unit-number{opacity:.8}.unit-card.selected{background:#11271f;box-shadow:inset 0 0 0 1px var(--accent),0 8px 20px #0002}
.unit-card.selected:before{background:linear-gradient(0deg,#081b14f5,#081b14a3 53%,#081b1430)}
.unit-detail-photo{height:clamp(160px,16vw,220px);width:100%;margin:0 0 24px;border-radius:15px;background-position:center 30%;opacity:.48;mask-image:linear-gradient(90deg,transparent,#000 24%);-webkit-mask-image:linear-gradient(90deg,transparent,#000 24%);box-shadow:inset 0 0 40px #07110f88;pointer-events:none}
.unit-detail-photo[data-training-visual=full]{background-size:160% auto;background-position:88% 0%}
.coach-box{background:linear-gradient(135deg,#0a1715eb,#0a1715cf),url('assets/photos/02-equipment.webp') 75% center/cover;color:#edf5ef}
.coach-box p{color:#c4d2ca}.coach-box .btn{color:#e8f3eb}
.ritual-sky.morning{background:linear-gradient(90deg,#151d22e8,#302b22a6 55%,#28262366),url('assets/photos/03-rise-shine.webp') 65% center/cover}
.ritual-sky.evening{background:linear-gradient(90deg,#101820ed,#142131b3 55%,#15212c73),url('assets/photos/05-rest-reset.webp') 70% center/cover}
.ritual-entry .ritual-sky:after{background:linear-gradient(90deg,#06101960,#06101920 52%,transparent 90%)}
.photo-heading{position:relative;isolation:isolate;overflow:hidden;border:1px solid var(--line-strong);border-radius:var(--radius);padding:28px;min-height:160px;background:var(--panel-solid);align-items:center}
.photo-heading:before{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background-image:var(--heading-photo);background-position:right center;background-size:cover;opacity:.42;mask-image:linear-gradient(90deg,transparent 25%,#000 85%);-webkit-mask-image:linear-gradient(90deg,transparent 25%,#000 85%)}
.photo-heading:after{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(90deg,var(--panel-solid),transparent 95%)}
.recovery-heading{--heading-photo:url('assets/photos/20-recovery.webp')}.profile-heading{--heading-photo:url('assets/photos/21-journal.webp')}.appointment-heading{--heading-photo:url('assets/photos/22-coaching.webp')}
.photo-heading>div{max-width:75%}.photo-heading h1{font-size:clamp(27px,3vw,38px)}
.journal-invitation{background:linear-gradient(90deg,var(--panel-solid) 25%,color-mix(in srgb,var(--panel-solid) 82%,transparent)),url('assets/photos/21-journal.webp') right center/cover}
@media(max-width:600px){.topbar:before{background-position:center,center 30%;background-size:100% 100%,auto 200%;opacity:.4}.training-page-intro,.photo-heading{padding:24px 20px}.training-page-intro .page-heading p{max-width:90%}.photo-heading{min-height:150px;flex-wrap:wrap}.photo-heading>div{max-width:94%}.photo-heading:before{opacity:.3}.unit-card{min-height:158px}.unit-detail-photo{height:160px}.hero-photo{left:12%;right:-22%;background-position:62% center;opacity:.45}.hero-photo[data-training-visual=full]{background-size:auto 175%;background-position:70% 5%}}
