/* ATLAS-HERO-2411 (24 Nov): the client's photograph of Kenneth seated, facilitating a discussion ('discussion').
   Markup + switch: inc/hero-1311.php (r6_hero_2411); loaded after hero-1311.css, whose rules (section, media box,
   ink edges --e per width band, phone band) it reuses. Only the placement of this picture is new.
   Rule: nothing sits on Kenneth. The picture is placed from K (his chair edge, 21.5 % of the desktop frame), kept --g
   right of the text column's ink (56 px; 24 px below 1280 px, so the waistcoat listener's face is not cut by the
   screen edge at 768 and the turban listener shows at 1024); the white shade ends at K, so the fade lies on the
   table, curtain and the listener on the left, never on him.
     --a  aspect of the desktop frame (2576 x 1600: cut above the projector; tools/hero-2411/build.py)
     --f  fraction of the frame width where Kenneth starts
     --g  gap between the text column's ink and K */

@media (min-width: 768px) {
	.h13-hero--discussion.ac-element-3f6406d { --g: 24px; }
	.h13-hero--discussion.ac-element-3f6406d .h13-img {
		--a: 1.61; --f: .215;
		--k: max(calc(var(--e) + var(--g)), calc(100cqw - (1 - var(--f)) * 100cqh * var(--a)));
		--w: max(calc(100cqh * var(--a)), calc((100cqw - var(--k)) / (1 - var(--f))));
		width: var(--w) !important; left: calc(var(--k) - var(--f) * var(--w)); top: calc((100cqh - var(--w) / var(--a)) * .3);
	}
	.h13-hero--discussion.ac-element-3f6406d .h13-shade {
		--a: 1.61; --f: .215;
		--k: max(calc(var(--e) + var(--g)), calc(100cqw - (1 - var(--f)) * 100cqh * var(--a)));
		background: linear-gradient(90deg, #fff calc(var(--e) + 8px), rgba(255, 255, 255, .9) calc(var(--e) + 8px + (var(--k) - var(--e) - 8px) * .35), rgba(255, 255, 255, 0) calc(var(--k) - 2px));
	}
}
@media (min-width: 1280px) { .h13-hero--discussion.ac-element-3f6406d { --g: 56px; } }

/* phones: the band shows the phone frame (1262 x 959, the band's own aspect at 320-447 px): Kenneth, his hand and the
   three nearest listeners; on wider phones the band is wider than the frame, so it is cut from the bottom (face kept). */
@media (max-width: 767px) {
	body:not(#h13) .h13-hero--discussion.ac-element-55870eb .h13-img.h13-img { object-position: 50% 20%; transform: none; }
}
