/*
Theme Name: The Academy (Hello Elementor child)
Theme URI: https://theacademyatlf.com/
Description: Child theme for The Academy at Life Fellowship. Design tokens and self-hosted fonts; page layouts live in Elementor.
Author: Lionman Media
Template: hello-elementor
Version: 1.0.0
Requires PHP: 8.1
Text Domain: academy
*/

/* Fonts: self-hosted, open licence (see assets/fonts/LICENSE-*). Google Fonts stay off in Elementor. */
@font-face {
	font-family: "Figtree";
	font-style: normal;
	font-weight: 300 900;
	font-display: swap;
	src: url("assets/fonts/figtree-latin-wght-normal.woff2") format("woff2");
}
@font-face {
	font-family: "Source Serif 4";
	font-style: normal;
	font-weight: 200 900;
	font-display: swap;
	src: url("assets/fonts/source-serif-4-latin-wght-normal.woff2") format("woff2");
}
@font-face {
	font-family: "Source Serif 4";
	font-style: italic;
	font-weight: 200 900;
	font-display: swap;
	src: url("assets/fonts/source-serif-4-latin-wght-italic.woff2") format("woff2");
}

/* Design tokens, carried over from the current theacademyatlf.com */
:root {
	--academy-navy: #1c2d45;
	--academy-navy-deep: #16243a;
	--academy-navy-hover: #2e4468;
	--academy-blue: #2175bb;
	--academy-blue-hover: #1d68a8;
	--academy-ivory: #faf6ee;
	--academy-cream: #f2ebdc;
	--academy-sage: #e9eee2;
	--academy-gold: #f8c936;
	--academy-gold-hover: #e4b52d;
	--academy-gold-dark: #8a5f14;
	--academy-orange: #ea5631;
	--academy-text: #4a576a;
	--academy-muted: #7a7466;
	--academy-hairline: #eae2cf;
	--academy-serif: "Source Serif 4", Georgia, serif;
	--academy-sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
}

body {
	background-color: var(--academy-ivory);
	color: var(--academy-text);
	font-family: var(--academy-sans);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
	font-family: var(--academy-serif);
	font-weight: 600;
	color: var(--academy-navy);
	letter-spacing: -0.01em;
	line-height: 1.12;
}

a { color: var(--academy-blue); }
a:hover, a:focus { color: var(--academy-blue-hover); }

/* Visible keyboard focus everywhere (WCAG 2.2 AA) */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
	outline: 3px solid var(--academy-gold);
	outline-offset: 2px;
	border-radius: 2px;
}

/* Skip link from Hello Elementor stays readable */
.skip-link.screen-reader-text:focus {
	background: var(--academy-navy);
	color: #fff;
	padding: 12px 18px;
	z-index: 100000;
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}
