/* Wide screens (2560px - 3840px): loaded for min-width 1921px only (inc/setup.php).
   The design is 1920px. Full-bleed backgrounds swap to 3840px canvases (assets/images/wide/, see inc/wide-images.php) that hold the
   1920 design 1:1 in the centre, so on every wider screen the stage stays centred and the edges carry on in the photo's own colours.
   Every position below is "centre of the section +/- design pixels" so it lines up with the 1920 design. :root:root beats the
   block stylesheets, which may print after this file. */

/* ---- Hero banner: Home, Speaking, Consulting, Mastermind ------------------------------------------------------------- */
:root:root .ffp-hero:not(.is-style-centered) .ffp-hero__back,
:root:root .ffp-hero:not(.is-style-centered) .ffp-hero__front { inset: 0; width: 100%; }
:root:root .ffp-hero:not(.is-style-centered) .ffp-hero__media img { object-position: 50% 0; }

/* Home: the circle behind the pilot and the navy lighting follow the 1920 stage */
:root:root .ffp-hero__glow { left: calc(50% - 198px); width: 1087px; }
:root:root .ffp-hero:not(.is-style-tall):not(.is-style-centered) .ffp-hero__back::after {
	background:
		linear-gradient(180deg, transparent 70%, var(--wp--preset--color--navy-900) 100%),
		linear-gradient(90deg,
			var(--wp--preset--color--navy-900) calc(50% - 979px),
			color-mix(in srgb, var(--wp--preset--color--navy-900) var(--ffp-hero-overlay), transparent) calc(50% - 267px),
			color-mix(in srgb, var(--wp--preset--color--navy-900) calc(var(--ffp-hero-overlay) * 0.41), transparent) calc(50% + 896px),
			color-mix(in srgb, var(--wp--preset--color--navy-900) calc(var(--ffp-hero-overlay) * 0.41), transparent) 100%);
}

/* Speaking (tall): navy fades in from the left exactly as on the 1920 design (7.4% / 43% / 66% of 1920) */
:root:root .ffp-hero.is-style-tall .ffp-hero__back::after {
	background:
		linear-gradient(180deg, var(--wp--preset--color--navy-700) 0, transparent 27%),
		linear-gradient(90deg, var(--wp--preset--color--navy-700) calc(50% - 818px), color-mix(in srgb, var(--wp--preset--color--navy-700) 70%, transparent) calc(50% - 134px), transparent calc(50% + 307px));
}
/* Consulting (flush): 25% / 43.5% / 53.8% of 1920 */
:root:root .ffp-hero.is-style-tall.ffp-hero--flush .ffp-hero__back::after {
	background:
		linear-gradient(180deg, var(--wp--preset--color--navy-700) 0, transparent 27%),
		linear-gradient(90deg, var(--wp--preset--color--navy-700) calc(50% - 480px), color-mix(in srgb, var(--wp--preset--color--navy-700) 70%, transparent) calc(50% - 125px), transparent calc(50% + 73px));
}

/* ---- Home, Built By A Pilot: the sky and the plane stay the size of the design (they used to scale with the screen and ran over the headline) */
:root:root .ffp-built__sky { top: -227px; left: 0; width: 100%; height: 1287px; aspect-ratio: auto; }
:root:root .ffp-built__sky > img,
:root:root .ffp-built__sky > picture > img { height: 742px; aspect-ratio: auto; }
:root:root .ffp-built__sky::after { height: 742px; aspect-ratio: auto; }
:root:root .ffp-built__plane { height: 742px; aspect-ratio: auto; }
:root:root .ffp-built__plane .ffp-built__emblem { left: calc(50% - 146px); width: 76px; }
:root:root .ffp-built__photo { margin-top: -113px; }

/* ---- Consulting, sky band: the photo ran from the left edge and stopped half way ---------------------------------- */
:root:root .ffp-sky__bg { left: 0; width: 100%; }

/* ---- Free guide hero ------------------------------------------------------------------------------------------------ */
:root:root .ffp-ghero__media img { object-position: 50% 0; }

/* ---- Speaking, "Now Accepting Speaking Requests": the crowd photo is the 1920 design frame (bottom 747px of the photo at 1920 wide), so the panelists' heads stay in --- */
:root:root .ffp-msg__photo img { object-position: 50% 50%; }

/* ---- Mastermind, "Learn from someone who has lived the turbulence": the portrait keeps the design's size (it was scaled with the screen and lost her head) --- */
:root:root .ffp-meet.is-style-light .ffp-meet__media img { object-position: left bottom; }

/* ---- Mastermind, value band: the photo sits where it does on the 1920 design (it was sized in % of the section, so it doubled at 3840) --- */
:root:root .ffp-value__photo { top: 152px; left: calc(50% - 252px); width: 1181px; }

/* ---- Portrait cut-outs (Home closing CTA, Speaking style, Consulting "personal"): on wide screens the studio-backdrop layer behind her
   (a full copy of the photo with its shadow, multiplied into the cream) read as a ghost second figure, so only the sharp cut-out stays --- */
:root:root .ffp-sstyle__back { display: none; }
