/* Start custom CSS *//*
 * Measured Innovation 2027, Draft 24 (page ID 24): corrective CSS
 * Destination: Draft 24 only > Page Settings > Advanced > Custom CSS (Elementor Pro, page-local).
 *
 * Decorative only. Layout, sizes, offsets, z-index, colours, typography, gaps,
 * padding and buttons are native Style controls (see WIRING_MANIFEST.md).
 * Clipping lives here because Elementor 4.3.6 has a clip-path style prop but no
 * Style panel control for it.
 *
 * Every body.elementor-page-24 is an element ID set in that element's Settings > ID field.
 * All IDs are declared in WIRING_MANIFEST.md, section 0. A rule whose ID is
 * not assigned yet simply matches nothing.
 *
 * Media queries assume Elementor's default breakpoints: tablet up to 1024px,
 * mobile up to 767px. Confirm read-only in Site Settings > Layout > Breakpoints.
 */

/* ---------------------------------------------------------------------------
 * Hero photo and 38% black tone: diagonal clip (desktop, Figma 4:10)
 * IDs: mi27-hero-photo (photo layer, Div Block with background image ID 16)
 *      mi27-hero-tone  (tone layer, Div Block, native background #000000 at 38%)
 *      mi27-hero-photo-mobile (only if Option B in manifest step E5 is used)
 * Only the area right of the diagonal stays visible. The native navy hero
 * background (#072B45) shows on the left.
 * ------------------------------------------------------------------------- */
#mi27-hero-photo,
#mi27-hero-photo-mobile,
#mi27-hero-tone {
	clip-path: polygon(max(812px, 50% + 92px) 0, 100% 0, 100% 100%, max(672px, 50% - 48px) 100%);
}

/* ---------------------------------------------------------------------------
 * Hero turquoise accent: diagonal band (desktop, Figma 4:10)
 * ID: mi27-hero-accent (Div Block, native background #01A6B8)
 * 18px band: 812->830px at the top edge, 672->690px at the bottom edge.
 * ------------------------------------------------------------------------- */
#mi27-hero-accent {
	clip-path: polygon(max(812px, 50% + 92px) 0, max(830px, 50% + 110px) 0, max(690px, 50% - 30px) 100%, max(672px, 50% - 48px) 100%);
}

/* ---------------------------------------------------------------------------
 * Tablet (768-1024px): interpolation only, no approved tablet frame.
 * Layers are 400px tall natively at this breakpoint (mobile geometry scaled 1.25x).
 * ------------------------------------------------------------------------- */
@media (max-width: 1024px) {
	/* mi27-hero-photo, mi27-hero-photo-mobile, mi27-hero-tone: photo band ends at the navy panel edge */
	#mi27-hero-photo,
	#mi27-hero-photo-mobile,
	#mi27-hero-tone {
		clip-path: polygon(0 0, 100% 0, 100% 394px, 0 328px);
	}

	/* mi27-hero-accent: turquoise band */
	#mi27-hero-accent {
		clip-path: polygon(0 310px, 100% 365px, 100% 383px, 0 328px);
	}
}

/* ---------------------------------------------------------------------------
 * Mobile (up to 767px): Figma 6:13. Layers are 320px tall natively.
 * ------------------------------------------------------------------------- */
@media (max-width: 767px) {
	/* mi27-hero-photo, mi27-hero-photo-mobile, mi27-hero-tone: photo band 0 -> 262px (left) / 315px (right) */
	#mi27-hero-photo,
	#mi27-hero-photo-mobile,
	#mi27-hero-tone {
		clip-path: polygon(0 0, 100% 0, 100% 315px, 0 262px);
	}

	/* mi27-hero-accent: turquoise band 248->262px (left), 292->306px (right) */
	#mi27-hero-accent {
		clip-path: polygon(0 248px, 100% 292px, 100% 306px, 0 262px);
	}
}

/* ---------------------------------------------------------------------------
 * H1 second line: approved title colour, all breakpoints
 * ID: mi27-hero-title (native Atomic Heading, H1)
 * The 4.3.6 Heading editor can't create or keep a <span>. Line 2 is marked
 * with the native Bold toolbar button, which saves as <strong> (manifest step F).
 * font-weight: inherit cancels the browser's and Hello Elementor's default
 * "bolder" on <strong>, so the H1's native Font weight (600) stays the only
 * weight setting. No size, family, line height or spacing is set here.
 * ------------------------------------------------------------------------- */
#mi27-hero-title strong {
	color: #01A6B8;
	font-weight: inherit;
}

/* ---------------------------------------------------------------------------
 * Partner logo links: keyboard focus ring, all breakpoints
 * ID: mi27-partners (smallest container holding the four partner logo links)
 * Elementor 4.3.6 resets image links with `all: unset`, which removes the
 * browser focus outline.
 * ------------------------------------------------------------------------- */
#mi27-partners a:focus-visible {
	outline: 2px solid #01A6B8;
	outline-offset: 4px;
	border-radius: 2px;
}/* End custom CSS */