/* ==========================================================================
   Certenly theme – main stylesheet
   --------------------------------------------------------------------------
   Desktop-first at the 1440px design width, collapsing at 1200 / 900 / 600px.
   Decorative compositions (".art") are laid out in design pixels and scaled
   by main.js, so they never need their own breakpoints.
   Contents: 1 tokens · 2 base · 3 primitives · 4 header · 5 home sections ·
             6 footer · 7 inner pages · 8 responsive
   ========================================================================== */

/* 0. Fonts (self-hosted, SIL Open Font License) ---------------------------- */
@font-face {
	font-family: "DM Sans";
	font-style: normal;
	font-weight: 100 1000; /* the variable file carries the whole axis; the About numerals use 200 */
	font-display: swap;
	src: url(../fonts/dm-sans-latin.woff2) format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* The Contact panel's typeface; a variable file, so one file serves every weight. */
@font-face {
	font-family: "Albert Sans";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url(../fonts/albert-sans-latin.woff2) format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Albert Sans Ring";
	font-style: normal;
	font-weight: 500;
}

/* 1. Tokens ---------------------------------------------------------------- */
:root {
	--navy-950: #06071d;
	--navy-900: #0b1f4b;
	--navy-800: #16173b;
	--indigo: #020565;
	--blue: #0272bd;
	--sky: #bce4ff;
	--panel: #f2f8fc;
	--cream: #fff8e6;
	--gray-700: #333;
	--gray-600: #666;
	--gray-300: #ccc;
	--gold: #ffd900;
	--amber: #ffb700;
	--yellow: #ffcf00;
	--grad-yellow: linear-gradient(100deg, #ffb700 1%, #ffd900 100%);
	--grad-navy: linear-gradient(126deg, #12224d 31.8%, #2b4c86 86.7%);
	--font: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--gutter: 24px;
	--art-scale: 1;
}

/* 2. Base ------------------------------------------------------------------ */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
	margin: 0;
	font: 400 16px/1.4 var(--font);
	color: var(--navy-950);
	background: #fff;
	-webkit-font-smoothing: antialiased;
}

img { display: block; border: 0; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, address { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none !important; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-decoration: none !important; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.site { position: relative; overflow-x: clip; }
.btn { text-decoration: none !important; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px; margin: -1px; padding: 0;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
	position: fixed; left: 16px; top: 16px; z-index: 100;
	width: auto; height: auto; margin: 0; padding: 12px 20px; clip: auto;
	background: var(--gold); color: var(--navy-950); border-radius: 100px; font-weight: 600;
}

/* Figma trims text boxes to cap height / baseline; do the same where supported. */
.hero__title, .hero__lead, .step__title, .step__sub, .step__text,
.phone-screen__eyebrow, .phone-screen__title, .course-card__eyebrow, .course-facts__label,
.path-card__title, .path-card__sub, .fit-cta__text .h2, .fit-cta__text .lead,
.why__content .h2, .old-way__list li, .certenly-card__list li, .trust__title,
.split-head__title, .split-head__text,
.benefit-card__num, .benefit-card__title, .benefit-card__text {
	text-box: trim-both cap alphabetic;
}

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

/* 3. Primitives ------------------------------------------------------------ */
/* Type */
.eyebrow { font-weight: 500; font-size: 14px; line-height: 1.2; letter-spacing: 1.4px; text-transform: uppercase; color: var(--gray-600); }
.eyebrow--light { color: #fff; }
.eyebrow--tight { letter-spacing: 0.7px; }
.h1 { font-weight: 500; font-size: 48px; line-height: 50px; color: var(--navy-900); }
.h2 { font-weight: 500; font-size: 32px; line-height: 1.2; color: var(--navy-900); }
.display { font-weight: 500; font-size: 78px; line-height: 70px; }
.lead { font-size: 16px; line-height: 22px; letter-spacing: 0.48px; color: var(--navy-950); }

/* Buttons */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	height: 45px; padding: 10px 30px; border-radius: 100px;
	font-weight: 600; font-size: 13px; line-height: 1; letter-spacing: 0.26px;
	color: var(--navy-950); text-decoration: underline; text-underline-position: from-font;
	white-space: nowrap; transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(6, 7, 29, 0.15); }
.btn--primary { background: var(--grad-yellow); }
.btn--secondary { border: 2px solid var(--navy-800); color: var(--navy-800); }
.btn--secondary:hover { background: rgba(22, 23, 59, 0.05); }
.btn--lg { height: 90px; gap: 20px; padding: 20px 60px; font-size: 26px; }
.btn--plain { text-decoration: none; }
.btn__arrow { flex: none; }
.text-link {
	display: inline-flex; align-items: center; gap: 10px;
	font-weight: 500; font-size: 14px; line-height: 1.2; letter-spacing: 1.4px; text-transform: uppercase;
	color: var(--navy-950); text-decoration: none;
}
.text-link:hover { text-decoration: underline; text-underline-position: from-font; }
.btn--reversed { border: 2px solid #fff; color: #fff; }
.btn--reversed:hover { background: rgba(255, 255, 255, 0.08); }

/* Numbered step circle */
.step-num {
	display: grid; place-items: center; flex: none; width: 48px; height: 48px;
	border: 2px solid var(--blue); border-radius: 50%;
	font-size: 16px; line-height: 1.5; letter-spacing: 0.8px; color: var(--blue);
}

/* Pixel squares, absolutely placed elements, scalable art stages */
.pixels { display: contents; }
.px {
	position: absolute; left: var(--x); top: var(--y);
	width: var(--sw, var(--s)); height: var(--sh, var(--s));
	pointer-events: none;
}
.px--sky { background: var(--sky); }
.px--white { background: #fff; }
.px--gold { background: var(--gold); }
.px--yellow { background: var(--yellow); }

.el { position: absolute; left: var(--x); top: var(--y); max-width: none; }
.faint { opacity: 0.05; }
.ring { overflow: visible; font: 500 12px/1 "Albert Sans Ring", var(--font); letter-spacing: 2.88px; fill: #999; }

.flip-x { transform: scaleX(-1); }

.art { position: relative; width: 100%; aspect-ratio: var(--art-ratio); }
.art__stage {
	position: absolute; left: 0; top: 0;
	width: var(--art-w); height: var(--art-h);
	transform: scale(var(--art-scale)); transform-origin: 0 0;
}
.art[data-anchor="bottom"] .art__stage { top: auto; bottom: 0; transform-origin: 0 100%; }

/* Radially faded line grid */
.grid-glow {
	position: absolute; left: var(--x); top: var(--y);
	width: var(--s); height: var(--sh, var(--s));
	overflow: hidden; pointer-events: none;
	-webkit-mask-image: var(--mask); -webkit-mask-size: 100% 100%; -webkit-mask-repeat: no-repeat;
	mask-image: var(--mask); mask-size: 100% 100%; mask-repeat: no-repeat;
}
.grid-glow .el { opacity: 0.5; }

/* Navy texture overlay */
.tex {
	position: absolute; inset: 0; pointer-events: none;
	background: url(../images/texture-navy.webp) center bottom / 100% 100% no-repeat;
	opacity: 0.12; mix-blend-mode: exclusion;
}

/* 4. Header ---------------------------------------------------------------- */
.utility { background: var(--navy-950); color: #fff; }
.utility__inner { max-width: 1440px; height: 27px; margin: 0 auto; padding: 2px 34px 0; display: flex; align-items: center; }
.utility__menu { display: flex; gap: 30px; }
.utility__menu a {
	display: inline-flex; align-items: center; min-height: 24px;
	font-weight: 700; font-size: 12px; line-height: 1; letter-spacing: 0.44px; text-transform: uppercase;
	text-decoration: underline; text-underline-position: from-font;
}

.site-header { position: absolute; top: 60px; left: 0; right: 0; z-index: 30; color: #fff; }
.site-header__inner { max-width: 1440px; height: 48px; margin: 0 auto; padding: 0 34px; display: flex; align-items: center; }
.site-header__logo { flex: none; margin-right: 73px; }
.site-header__logo img { width: 107px; height: auto; }
.primary-nav { display: flex; align-items: center; flex: 1; }
.primary-nav__menu { display: flex; gap: 40px; }
.primary-nav__menu a,
.primary-nav__login { font-weight: 500; font-size: 13px; line-height: 1; letter-spacing: 0.52px; }
.primary-nav__menu a { position: relative; text-decoration: none; }
.primary-nav__login { text-decoration: underline; text-underline-position: from-font; }
.primary-nav__menu a:hover,
.primary-nav__login:hover { color: var(--gold); }
/* Only the page being viewed is underlined, with a bar under its link. */
.primary-nav__menu .current-menu-item > a::after {
	content: ""; position: absolute; left: 0; right: 0; top: calc(100% + 2px); height: 2px; background: currentColor;
}
.primary-nav__actions { display: flex; align-items: center; gap: 23px; margin-left: auto; }
.primary-nav__login { padding: 10px; }

.nav-toggle { display: none; position: relative; width: 44px; height: 44px; margin-left: auto; }
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
	position: absolute; left: 10px; width: 24px; height: 2px;
	background: #fff; border-radius: 2px; transition: transform 0.2s, opacity 0.2s;
}
.nav-toggle__bars { top: 21px; }
.nav-toggle__bars::before { content: ""; left: 0; top: -8px; }
.nav-toggle__bars::after { content: ""; left: 0; top: 8px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(8px) rotate(90deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { opacity: 0; }

/* 5. Home sections --------------------------------------------------------- */

/* 5.1 Hero */
.hero { position: relative; background: var(--grad-navy); color: #fff; overflow: hidden; }
.hero__inner { position: relative; max-width: 1440px; min-height: 799px; margin: 0 auto; }
.hero__content { position: relative; z-index: 2; max-width: 601px; padding: 155px 0 60px 98px; }
.hero__title { margin-top: 30px; font-weight: 500; font-size: 48px; line-height: 50px; }
.hero__lead { margin-top: 30px; max-width: 476px; font-size: 16px; line-height: 22px; letter-spacing: 0.48px; }
.hero__content > .btn { margin-top: 40px; }
.hero__badges { margin-top: 80px; }
.hero__badges .eyebrow { white-space: nowrap; }
.hero__badge-row { display: flex; align-items: center; margin-top: 25px; }
/* Logos never shrink in the row, so the wordmark can't be squeezed. */
.hero__badge-row > * { flex: none; }
.hero__badge-row > * + * { margin-left: 18px; }
.hero__badge-row > :last-child { margin-left: 16px; }
.hero__badge-row img { height: auto; }
.hero__badge-rule { width: 1px; height: 50px; background: rgba(255, 255, 255, 0.5); }
/* Desktop only: on narrower screens the badge row wraps, and the extra width would push
   the TPECS badge onto a second row and make the hero taller. */
@media (max-width: 1200px) {
	.hero__badge-rule { display: none; }
}
.hero__art { position: absolute; left: 601px; right: -1px; bottom: 0; z-index: 1; width: auto; }
.hero__grid { --mask: url(../images/hero-grid-mask.svg); }
.hero__woman { object-fit: cover; }


/* 5.2 Ticker */
.ticker {
	position: relative; height: 73px; overflow: hidden;
	background: url(../images/ticker-bg.webp) center / cover no-repeat; color: var(--navy-900);
}
.ticker__viewport { position: relative; height: 100%; }
.ticker__track { display: flex; width: max-content; height: 100%; align-items: center; animation: ticker 60s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__list { display: flex; gap: 28px; padding-right: 28px; font-weight: 500; font-size: 12px; letter-spacing: 0.6px; text-transform: uppercase; white-space: nowrap; }
.ticker__item { display: flex; align-items: center; gap: 28px; }
.ticker__item::before { content: ""; flex: none; width: 9px; height: 9px; background: url(../images/ticker-dot.svg) center / contain no-repeat; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Navy band: dark gradient bar with the mirrored texture (navy ticker, course "included" strip). */
.ticker--navy,
.band-navy {
	position: relative; color: #fff;
	background: #12224d linear-gradient(126.84deg, #12224d 31.8%, #2b4c86 86.7%) top / 100% 801px no-repeat;
}
.ticker--navy::before,
.band-navy::before {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background: url(../images/texture-navy.webp) top / 100% 826px no-repeat;
	opacity: 0.12; mix-blend-mode: exclusion; transform: scaleX(-1);
}

/* Navy ticker: bold white type and faded edges. */
.ticker--navy { height: 79px; }
.ticker--navy .ticker__viewport {
	--fade-in: clamp(0px, 6.1vw, 88px); --fade-out: clamp(40px, 10.3vw, 148px);
	-webkit-mask-image: linear-gradient(90deg, transparent var(--fade-in), #000 var(--fade-out), #000 calc(100% - var(--fade-out)), transparent calc(100% - var(--fade-in)));
	mask-image: linear-gradient(90deg, transparent var(--fade-in), #000 var(--fade-out), #000 calc(100% - var(--fade-out)), transparent calc(100% - var(--fade-in)));
}
.ticker--navy .ticker__list { gap: 20px; padding-right: 20px; font-weight: 600; font-size: 14px; letter-spacing: 1.4px; }
.ticker--navy .ticker__item { gap: 20px; }
.ticker--navy .ticker__item::before { width: 6px; height: 6px; border-radius: 50%; background: #5ebfff; }
@media (prefers-reduced-motion: reduce) {
	.ticker__track { animation: none; width: 100%; justify-content: center; }
	.ticker__list[aria-hidden] { display: none; }
}

/* 5.3 Train on your schedule */
/* The design's white-to-#0071bc wash at 24% opacity, flattened onto white; it reaches about half strength at the bottom. */
.train { background: linear-gradient(180deg, #fff 0.7%, #c2ddef 191.4%); }
.train__inner {
	max-width: 1440px; margin: 0 auto; padding: 87px 98px 73px 149px;
	display: grid; grid-template-columns: 455px 1fr; column-gap: 110px; align-items: start;
}
.train__photo { position: absolute; inset: 0; overflow: hidden; border-radius: 12px; }
.train__text { padding-top: 132px; max-width: 623px; }
.train__title { font-weight: 500; font-size: 32px; line-height: 40px; letter-spacing: -0.64px; color: var(--navy-900); }
.train__text .lead { margin-top: 22px; max-width: 600px; }

/* 5.4 Support */
.support__inner {
	max-width: 1440px; margin: 0 auto; padding: 0 0 119px 148px;
	display: grid; grid-template-columns: 694px minmax(0, 1fr); column-gap: 42px; align-items: start;
}
.support__eyebrow { line-height: 64px; font-weight: 400; letter-spacing: 0.84px; }
.support__title { margin-top: -6px; max-width: 545px; }
/* Steps accordion: each step is a <details>; its summary (icon, title, subtitle) is the toggle. */
.steps { margin-top: 60px; display: flex; flex-direction: column; gap: 40px; }
.step { min-height: 88px; padding-bottom: 40px; border-bottom: 1px solid var(--gray-300); } /* a closed step keeps its 48px icon row */
.step__head { display: grid; grid-template-columns: 48px 1fr; column-gap: 48px; list-style: none; cursor: pointer; }
.step__head::-webkit-details-marker { display: none; }
.step__icon { display: flex; align-items: center; height: 48px; margin-bottom: -48px; } /* the icon never stretches the header row */
.step__heading { display: block; max-width: 599px; }
.step__title { display: block; font-weight: 600; font-size: 22px; line-height: 1; color: var(--navy-900); transition: color 0.15s; }
.step__head:hover .step__title { color: var(--blue); }
.step__sub { display: block; margin-top: 20px; font-size: 14px; line-height: 1.2; letter-spacing: 0.7px; text-transform: uppercase; color: var(--navy-900); }
.step__sub--narrow { max-width: 493px; }
.step__body { max-width: 599px; margin-left: 96px; padding-top: 20px; } /* padding, not margin, so the height animates cleanly */
.step__text { font-size: 16px; line-height: 22px; letter-spacing: 0.48px; }
.step__actions { display: flex; flex-wrap: wrap; gap: 17px; margin-top: 30px; }
/* Where the browser can animate to an auto height, accordion rows (<details class="disclosure">)
   open and close smoothly. Their content starts with padding, not margin, so nothing jumps. */
@supports (interpolate-size: allow-keywords) {
	:root { interpolate-size: allow-keywords; }
	.disclosure::details-content {
		block-size: 0; overflow: clip; overflow-clip-margin: 8px; /* room for focus outlines */
		transition: block-size 0.3s ease, content-visibility 0.3s allow-discrete;
	}
	.disclosure[open]::details-content { block-size: auto; }
}
.support__art { margin-top: 37px; }

.phone-screen {
	position: absolute; left: var(--x); top: var(--y);
	width: 300px; height: 651px; border-radius: 41px; overflow: hidden; background: #fff;
}
.phone-screen__text { position: absolute; left: var(--x); top: var(--y); width: 240px; display: flex; flex-direction: column; gap: 15px; align-items: center; text-align: center; }
.phone-screen__eyebrow { font-weight: 500; font-size: 9px; line-height: 1.2; letter-spacing: 0.45px; text-transform: uppercase; color: var(--gray-600); }
.phone-screen__title { height: 89px; font-weight: 500; font-size: 25px; line-height: 1.2; letter-spacing: -0.5px; color: var(--navy-900); }
.phone-screen .lb { display: inline; } /* the illustration scales as a whole, so keep its line breaks */
.phone-screen__body { width: 216px; font-size: 13px; line-height: 16px; letter-spacing: 0.44px; }

/* 5.5 Course */
.course { position: relative; padding: 132px var(--gutter) 140px; background: var(--grad-navy); }
.course__bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.course__tex {
	position: absolute; left: 50%; top: 0; width: 1440px; height: 752px; margin-left: -720px;
	background: url(../images/course-texture-top.webp) center / 100% 100% no-repeat;
	opacity: 0.12; mix-blend-mode: exclusion;
}
.course__tex--bottom { top: 752px; height: 555px; background-image: url(../images/course-texture-bottom.webp); transform: scaleY(-1); }
.course__inner { position: relative; }
.course-card { position: relative; max-width: 1158px; min-height: 1035px; margin: 0 auto; padding: 37px 32px 60px; background: #fff; }
.course-card__hero {
	position: relative; height: 367px; overflow: hidden;
	-webkit-mask-image: url(../images/course-header-mask.png); -webkit-mask-size: 100% 100%; -webkit-mask-repeat: no-repeat;
	mask-image: url(../images/course-header-mask.png); mask-size: 100% 100%; mask-repeat: no-repeat;
}
.course-card__hero > img { position: absolute; left: 0; top: -129.88px; width: 100%; height: auto; min-height: calc(100% + 129.88px); object-fit: cover; }
.course-card__body { padding: 49px 0 0 44px; max-width: 554px; }
.course-card__eyebrow { font-weight: 700; font-size: 10px; line-height: 22px; letter-spacing: 0.5px; text-transform: uppercase; color: var(--gray-600); }
.course-card__title { margin-top: 10px; font-weight: 400; font-size: 30px; line-height: 1.12; letter-spacing: -0.3px; max-width: 433px; }
.course-card__desc { margin-top: 21px; max-width: 510px; font-size: 14px; line-height: 1.34; letter-spacing: 0.28px; color: #000; }
.course-card__body > .btn { margin-top: 41px; }
.course-facts { display: grid; grid-template-columns: 255px 1fr; margin-top: 40px; }
.course-facts__label { padding-left: 8px; font-weight: 600; font-size: 12px; line-height: 22px; letter-spacing: 1.2px; text-transform: uppercase; }
.course-facts ul { margin-top: 20px; max-width: 197px; padding-left: 21px; list-style: disc; font-size: 14px; line-height: 1.2; letter-spacing: 0.28px; color: #000; }
.course-facts li + li { margin-top: 10px; }
.course-facts ul + .course-facts__label { margin-top: 27px; }
.course-card__visual { position: absolute; left: 610px; top: 431px; width: 612px; }
.course-cert-clip { position: absolute; left: 0; top: 0; width: 548px; height: 604px; overflow: hidden; }
.course-cert {
	position: absolute; left: var(--x); top: var(--y); width: 478.8px; height: 619.55px;
	overflow: hidden; transform: rotate(-6deg);
	box-shadow: -8px 4px 10px rgba(0, 0, 0, 0.1), -33px 16px 19px rgba(0, 0, 0, 0.09), -75px 37px 25px rgba(0, 0, 0, 0.05);
}
.course-cert img { position: absolute; left: -70.5px; top: 70.5px; width: 620.29px; height: 479.3px; max-width: none; transform: rotate(90deg); }
.course-cert::after {
	content: ""; position: absolute; inset: 0; mix-blend-mode: multiply;
	background: linear-gradient(127.7deg, rgba(102, 102, 102, 0.3) 0%, rgba(255, 255, 255, 0.3) 24.7%, rgba(255, 255, 255, 0.3) 75.3%, rgba(102, 102, 102, 0.3) 100%);
}
.course-idcard {
	position: absolute; left: var(--x); top: var(--y); width: 190.16px; height: 119.77px;
	border-radius: 10px; overflow: hidden; background: #f2f2f2; transform: rotate(-6deg);
}
.course-idcard img { width: 100.94%; height: 100.94%; margin: -0.47% 0 0 -0.47%; max-width: none; object-fit: cover; }
.course-badge { filter: drop-shadow(-2px 2px 6px rgba(0, 0, 0, 0.1)) drop-shadow(-8px 8px 11px rgba(0, 0, 0, 0.09)) drop-shadow(-17px 17px 15px rgba(0, 0, 0, 0.05)); }

/* 5.6 What brought you here */
.paths { padding: 74px var(--gutter) 111px; }
.paths__inner { max-width: 1262px; margin: 0 auto; }
.paths__eyebrow { text-align: center; font-weight: 400; line-height: 64px; letter-spacing: 0.7px; color: var(--gray-700); }
.paths__title { margin-top: -7px; text-align: center; }
.path-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 50px; }
.path-card { display: flex; flex-direction: column; min-height: 472px; background: #fff; border-radius: 12px; overflow: hidden; }
.path-card__media { position: relative; aspect-ratio: 410 / 280; overflow: hidden; }
.path-card__media > img {
	position: absolute; left: var(--x); top: var(--y); width: var(--w); height: var(--h); max-width: none;
	object-fit: var(--fit, cover); object-position: center;
}
.path-card__body { display: flex; flex: 1; flex-direction: column; padding: 30px 12px 0 0; }
.path-card__title { font-weight: 500; font-size: 32px; line-height: 1.2; color: var(--navy-900); }
.path-card__sub { margin-top: 20px; font-weight: 500; font-size: 14px; line-height: 1.2; letter-spacing: 1.4px; text-transform: uppercase; color: var(--gray-600); }
.path-card__more { margin-top: auto; padding: 30px 0 37px; align-self: flex-start; }

.fit-cta {
	display: grid; grid-template-columns: 1fr 637px; margin-top: 50px; min-height: 230px;
	background: var(--panel); border-radius: 12px; overflow: hidden;
}
.fit-cta__text { padding: 52px 40px 40px 56px; }
.fit-cta__text .h2 { max-width: 442px; }
.fit-cta__text .lead { margin-top: 29px; max-width: 522px; }
.fit-cta__panel {
	position: relative; display: flex; align-items: center; justify-content: center; padding: 20px;
	background: linear-gradient(139deg, #12224d 31.8%, #2b4c86 86.7%);
}
.fit-cta__panel .btn { position: relative; }

/* 5.7 Why Certenly */
.why { display: grid; grid-template-columns: 720px 1fr; min-height: 810px; max-width: 1440px; margin: 0 auto; }
.why__panel { position: relative; overflow: hidden; background: linear-gradient(92deg, #ffb700 1%, #ffd900 100%); }
.why__tex {
	position: absolute; left: -344px; top: -7px; width: 1440px; height: 826px;
	background: url(../images/texture-navy.webp) center bottom / 100% 100% no-repeat;
	opacity: 0.12; mix-blend-mode: exclusion; transform: scaleY(-1); pointer-events: none;
}
.why__grid { --mask: url(../images/why-grid-mask.svg); }
.why__grid .el { opacity: 1; }
.why__art { position: absolute; left: 126px; top: 178px; width: 460px; }
.why-card { position: absolute; left: var(--x); top: var(--y); width: 429px; height: 454px; border-radius: 12px; background: #fff; box-shadow: 0 -2px 30px rgba(0, 0, 0, 0.05); }
.why__fade { position: absolute; left: var(--x); top: var(--y); width: var(--w); height: var(--h); background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff); }
.why-node {
	position: absolute; left: var(--x); top: var(--y); width: 82px; height: 82px;
	display: grid; place-items: center; background: #fff; border: 2px solid var(--blue); border-radius: 50%;
}
.why-avatar { position: absolute; left: var(--x); top: var(--y); width: 145px; height: 145px; border-radius: 50%; overflow: hidden; }
.why-avatar img { object-fit: cover; }
.why-cert {
	position: absolute; left: var(--x); top: var(--y); width: 70px; height: 70px;
	display: grid; place-items: center; background: var(--cream); border: 1px solid var(--amber); border-radius: 12px;
}
.tooltip {
	position: absolute; left: var(--x); top: var(--y); height: 36px; padding: 12px 20px;
	background: var(--blue); color: #fff; border-radius: 90px; font-size: 14px; line-height: 12px; white-space: nowrap;
}
.tooltip__arrow { position: absolute; left: calc(50% + 0.91px); top: calc(100% - 4.5px); transform: translate(-50%, -50%) rotate(45deg); }
/* Home icons are buttons: hover or focus shows the label, and the open benefit's icon keeps it. */
.why-toggle { transition: background-color 0.15s; }
.why-node.why-toggle:hover { background: var(--panel); }
.why-cert.why-toggle:hover { background: #fff1c7; }
.why-toggle:hover, .why-toggle:focus-visible, .why-toggle[aria-expanded="true"] { z-index: 1; }
.why-toggle .tooltip {
	left: 50%; top: auto; bottom: calc(100% + 9px); transform: translateX(-50%);
	opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 0.15s, visibility 0.15s;
}
.why-toggle:hover .tooltip,
.why-toggle:focus-visible .tooltip,
.why__art:not(:has(.why-toggle:hover, .why-toggle:focus-visible)) .why-toggle[aria-expanded="true"] .tooltip { opacity: 1; visibility: visible; }
.why__content { padding: 87px 86px 60px 90px; }
.why__content .h2 { margin-top: 20px; }
.why__content .lead { margin-top: 17px; max-width: 526px; }
.benefits { margin-top: 26px; max-width: 468px; }
.benefit { padding: 15px 0; border-top: 1px solid var(--gray-300); }
.benefit:last-child { border-bottom: 1px solid var(--gray-300); }
.benefit__title { font-weight: 600; font-size: 22px; line-height: 1; color: var(--navy-900); }
.benefit__text { margin-top: 14px; padding-bottom: 5px; font-size: 16px; line-height: 22px; letter-spacing: 0.48px; }
/* Home benefits accordion: each title is the summary of a <details>. */
.benefit__summary { display: block; list-style: none; cursor: pointer; transition: color 0.15s; }
.benefit__summary::-webkit-details-marker { display: none; }
.benefit__summary:hover { color: var(--blue); }
.benefit__toggle .benefit__text { margin-top: 0; padding-top: 14px; } /* padding, not margin, so the height animates cleanly */

/* 5.8 Banner */
.banner { position: relative; padding: 155px var(--gutter) 132px; background: var(--grad-navy); color: #fff; text-align: center; overflow: hidden; }
.banner__tex { transform: scaleY(-1); }
.banner__inner { position: relative; max-width: 990px; margin: 0 auto; }
.banner__title { margin-top: 22px; }
.banner .btn { margin-top: 41px; }

/* 5.9 Compare */
.compare { position: relative; padding: 153px var(--gutter) 94px; overflow: hidden; }
.compare__deco { position: absolute; left: 50%; top: 0; width: 1440px; height: 100%; margin-left: -720px; pointer-events: none; }
.compare__inner {
	position: relative; max-width: 1440px; margin: 0 auto; padding-left: 232px;
	display: grid; grid-template-columns: 329px 539px; column-gap: 60px; align-items: start;
}
.compare__head { padding-left: 39px; }
.compare__eyebrow { line-height: 64px; }
.compare__title { line-height: 35px; max-width: 261px; color: var(--navy-800); }
.old-way { margin: 67px 0 0 -39px; min-height: 410px; padding: 29px 39px 40px; border: 1px solid var(--gray-300); border-radius: 12px; }
.old-way__title { font-weight: 500; font-size: 24px; line-height: 58px; letter-spacing: -0.48px; color: var(--gray-700); }
.old-way__list { margin-top: 43px; display: grid; gap: 30px; max-width: 213px; font-size: 12px; line-height: 1.2; letter-spacing: 0.6px; text-transform: uppercase; color: var(--gray-700); }
.old-way__list li { padding-left: 14px; text-indent: -14px; }
.old-way__list li::before { content: "•"; display: inline-block; width: 14px; text-indent: 0; color: #000; }
.certenly-card { position: relative; isolation: isolate; width: 539px; min-height: 591px; margin-top: 20px; padding: 65px 47px 50px; }
.certenly-card__bg { position: absolute; z-index: -1; left: -11.13%; top: -10.15%; width: 122.26%; height: 120.3%; max-width: none; }
.certenly-card__coin { position: absolute; right: 35px; top: 26px; width: 127px; height: 127px; }
.certenly-card__list { margin-top: 48px; display: grid; gap: 55px; max-width: 476px; }
.certenly-card__list li { padding-left: 36px; text-indent: -36px; font-size: 13px; line-height: 1.2; letter-spacing: 0.65px; text-transform: uppercase; color: var(--navy-800); }
.certenly-card__list li::before { content: ""; display: inline-block; width: 9px; height: 9px; margin-right: 27px; background: url(../images/bullet-dot.svg) center / contain no-repeat; }
.certenly-card > .btn { margin-top: 61px; }

/* 5.10 Build on your experience */
.experience { position: relative; overflow: hidden; }
.experience__bg { position: absolute; inset: 0; background: linear-gradient(180deg, #fff 2.9%, #0071bc 193.5%); opacity: 0.24; pointer-events: none; }
.experience__inner {
	position: relative; max-width: 1440px; min-height: 810px; margin: 0 auto; padding-left: 139px;
	display: grid; grid-template-columns: 522px minmax(0, 810px); align-items: start;
}
.experience__text { padding-top: 290px; max-width: 486px; }
.experience__eyebrow { line-height: 64px; }
.experience__title { margin-top: -8px; max-width: 447px; }
.experience__sub { margin-top: 13px; font-size: 24px; line-height: 28px; letter-spacing: 0.48px; color: #000; }
.experience__text .lead { margin-top: 14px; }
.experience__art { width: 810px; margin-right: -31px; }
.experience__photo { position: absolute; left: var(--x); top: var(--y); width: 467px; height: 467px; overflow: hidden; }

/* 5.11 FAQ */
.faq { padding: 120px var(--gutter); }
.faq__inner { max-width: 932px; margin: 0 auto; }
.faq__head { display: grid; grid-template-columns: 1fr 452px; column-gap: 20px; padding-right: 17px; align-items: start; }
.faq__eyebrow { line-height: 64px; font-weight: 600; }
.faq__title { margin-top: -15px; color: var(--navy-800); }
.faq__intro { padding-top: 50px; font-size: 16px; line-height: 22px; letter-spacing: 0.48px; }
.faq__list { margin-top: 60px; }
/* Hero motif: photo, squares, glow and grid, laid out in design pixels inside an .art stage */
.hero__motif { position: absolute; top: 67px; z-index: 1; }
.hero__figure { object-fit: contain; }
.hero__glow {
	position: absolute; left: 203px; top: 161px; width: 490px; height: 490px; border-radius: 50%;
	background: radial-gradient(circle, #ffb700, #ffd97a); filter: blur(112px);
}
.hero__glow--small { left: 210px; top: 334px; width: 210px; height: 210px; background: #fff; opacity: 0.6; filter: blur(67px); }
.hero__grid-lines {
	position: absolute; left: 119px; top: 59px; width: 594px; height: 594px; opacity: 0.5;
	background:
		linear-gradient(90deg, #fff 2px, transparent 2px) 111.4px 0 / 115px 100%,
		linear-gradient(#fff 2px, transparent 2px) 0 10.33px / 100% 115px;
	-webkit-mask: radial-gradient(circle, #000, transparent);
	mask: radial-gradient(circle, #000, transparent);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 30px; margin-top: 40px; }
@media (max-width: 900px) {
	.hero__motif { position: relative; left: auto; right: auto; top: auto; width: 100%; margin: 0 auto; }
}

/* Centred FAQ heading (about and learners pages) */
.faq--center .faq__head { display: block; padding-right: 0; text-align: center; }
.faq--center .faq__title { margin-top: 4px; }

/* Heading beside its intro paragraph (about and learners pages) */
.split-head { display: flex; gap: 30px; max-width: 1260px; margin: 0 auto; }
.split-head__title { flex: none; width: 726px; font-weight: 500; font-size: 48px; line-height: 1.2; color: var(--navy-900); }
.split-head__text { flex: 1; font-size: 16px; line-height: 22px; color: var(--navy-900); }
@media (max-width: 1200px) {
	.split-head { flex-direction: column; gap: 24px; }
	.split-head__title { width: auto; }
}

/* Horizontal carousel: native scrolling with snap points; dots or arrows come from main.js. */
.carousel { min-width: 0; margin-right: min(0px, calc(720px - 50vw)); }
.carousel__track {
	position: relative; overflow-x: auto; overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory; scrollbar-width: none;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__list { display: flex; gap: 36px; width: max-content; }
.carousel__item { flex: none; scroll-snap-align: start; }
.carousel__dots { display: flex; gap: 5px; margin: 32px 0 0 -5.5px; }
.carousel__dots[hidden] { display: none; }
/* A 24px button (the touch target) around the designed 13px dot. */
.carousel__dot { position: relative; width: 24px; height: 24px; border-radius: 50%; }
.carousel__dot::before { content: ""; position: absolute; inset: 7.5px; border-radius: 50%; background: rgba(2, 114, 189, 0.5); }
.carousel__dot[aria-current="true"]::before { inset: 5.5px; border: 2px solid var(--blue); background: none; }

/* Arrow variant: white tabs at the row's edges (like a shop's product row) instead of dots.
   The page sets --carousel-arrow-top to centre them on its photos. */
.carousel--arrows { position: relative; }
.carousel__arrow {
	position: absolute; z-index: 1; top: var(--carousel-arrow-top, 50%); transform: translateY(-50%);
	display: flex; align-items: center; justify-content: center; width: 48px; height: 96px;
	background: #fff; box-shadow: 0 2px 8px rgba(11, 31, 75, 0.25); transition: background-color 0.15s;
}
.carousel__arrow[hidden] { display: none; }
.carousel__arrow--prev { left: 0; border-radius: 0 8px 8px 0; }
.carousel__arrow--next { right: 0; border-radius: 8px 0 0 8px; }
.carousel__arrow:hover { background: var(--panel); }
.carousel__arrow:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.carousel__arrow img { width: 12px; height: 22px; }

/* Numbered panel card, carried in a carousel (learners and employers pages). */
.benefit-card {
	display: flex; flex-direction: column; align-items: flex-start; gap: 20px;
	width: 387px; min-height: 262px; padding: 40px; background: var(--panel); border-radius: 12px;
}
.benefit-card__num {
	display: inline-flex; align-items: center; gap: 5px; padding: 10px;
	background: #fff; border-radius: 30px;
	font-size: 14px; line-height: 1.2; text-transform: uppercase; color: var(--navy-900);
}
.benefit-card__num::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.benefit-card__title { margin-top: 3.2px; font-weight: 400; font-size: 22px; line-height: 1.2; color: var(--navy-900); }
.benefit-card__text { font-size: 16px; line-height: 1.2; color: var(--navy-900); }
.benefit-card__title + .benefit-card__text { margin-top: -5px; }

/* Outlined white card led by a 48px icon (learners and employers pages). */
.icon-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--gray-300); border-radius: 12px; }
.icon-card__icon { width: 48px; height: 48px; }
.icon-card__title { margin-top: 20px; font-weight: 400; font-size: 24px; line-height: 1.2; color: var(--navy-950); }
.icon-card__text { font-size: 16px; line-height: 22px; color: var(--navy-950); }

/* Two-column comparison table (learners and employers pages). */
.pairs { position: relative; text-align: left; }
.pairs::after { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: var(--blue); }
.pairs__head, .pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 42px; padding: 0 20px; }
.pairs__col { font-weight: 600; font-size: 22px; line-height: 1.2; color: var(--navy-900); }
.pairs__rows { margin-top: 30px; }
.pair { min-height: 153px; padding: 40px 20px 44px; }
.pair:nth-child(odd) { background: #f1f9ff; }
.pair:nth-child(even) { background: #f8fcff; }
.pair__title { font-weight: 400; font-size: 22px; line-height: 1.2; color: var(--navy-900); }
.pair__text { margin-top: 10px; font-size: 16px; line-height: 1.2; color: var(--navy-900); }

/* One line per cell, rows centred: the employers "From Learning to Work" table. */
.pairs--compact::after { display: none; }
.pairs--compact .pairs__head, .pairs--compact .pair { gap: 0; padding: 0; }
.pairs--compact .pairs__rows { position: relative; }
.pairs--compact .pairs__rows::after { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: var(--blue); }
.pairs--compact .pair { align-items: center; min-height: 106.5px; }
.pairs--compact .pair__title, .pairs--compact .pair__text { padding: 0 20px; }
.pairs--compact .pair__text { margin-top: 0; }

/* Centred accordion preview of the course (learners and employers pages). */
.preview-learning__inner { max-width: 932px; margin: 0 auto; text-align: center; }
.preview-learning__title { max-width: 775px; margin: 30px auto 0; font-weight: 500; font-size: 48px; line-height: 1.1; color: var(--navy-900); }
.preview-learning__sub { max-width: 706px; margin: 30px auto 0; font-size: 16px; line-height: 22px; color: var(--navy-950); }
.preview-learning__list { margin-top: 45px; text-align: left; }
.preview-learning .faq-item__q { font-weight: 400; }
.preview-learning .faq-item__a { padding-bottom: 0; font-size: 16px; line-height: 1.2; }
.preview-learning__inner > .btn { margin-top: 50px; }

.faq-item { display: block; padding: 25px 0 24px; border-bottom: 1px solid var(--gray-300); }
.faq-item:first-child { padding-top: 0; }
.faq-item__q { display: flex; align-items: center; gap: 16px; list-style: none; cursor: pointer; font-weight: 500; font-size: 22px; line-height: 1.2; color: var(--navy-900); }
.faq-item__q::-webkit-details-marker { display: none; }
.faq-item__label { position: relative; top: 3px; flex: 1; max-width: 828px; }
.faq-item__icon {
	flex: none; display: grid; place-items: center; width: 44px; height: 44px; margin-left: auto;
	border: 2px solid var(--indigo); border-radius: 50%; transition: background-color 0.15s;
}
.faq-item:hover .faq-item__icon { background: var(--panel); }
.faq-item__icon img { grid-area: 1 / 1; transform: rotate(-135deg); }
.faq-item__icon .ico-minus,
.faq-item[open] .faq-item__icon .ico-plus { display: none; }
.faq-item[open] .faq-item__icon .ico-minus { display: block; }
.faq-item[open] .faq-item__q { font-size: 20px; line-height: 28px; letter-spacing: 0.4px; color: var(--navy-800); }
.faq-item__a { max-width: 828px; padding: 25px 0 24px; font-size: 16px; line-height: 24px; letter-spacing: 0.48px; color: var(--navy-800); }
/* Frames that set the answers in the tighter body size, with the row's own padding below. */
.faq-list--tight .faq-item__a { padding-bottom: 0; line-height: 1.2; letter-spacing: 0; }
.faq > .faq__inner > .btn { margin-top: 50px; }

/* 5.12 Trust */
.trust { padding: 0 var(--gutter); }
.trust__inner {
	max-width: 1340px; min-height: 259px; margin: 0 auto; padding: 40px 72px 40px 60px;
	display: flex; align-items: center; gap: 50px; background: var(--panel); border-radius: 12px;

}
.trust__title { flex: none; width: 316px; font-weight: 500; font-size: 32px; line-height: 1.2; letter-spacing: -0.96px; color: #000; }
.trust__logos { flex: 1; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.trust__logos img { width: 144px; height: 59px; object-fit: fill; mix-blend-mode: multiply; }

/* 5.13 CTA */
.cta { padding: 120px var(--gutter) 0; }
.cta__inner { position: relative; max-width: 1370px; height: 700px; margin: 0 auto; overflow: hidden; }
.cta__box {
	position: absolute; left: 0; right: 0; top: 100px; height: 600px; overflow: hidden; color: #fff;
	background: linear-gradient(133.5deg, #12224d 31.8%, #2b4c86 86.7%);
}
.cta__tex {
	position: absolute; right: -70px; top: 0; width: 1440px; height: 826px; pointer-events: none;
	background: url(../images/texture-navy.webp) center bottom / 100% 100% no-repeat; opacity: 0.12; mix-blend-mode: exclusion;
}
.cta__text {
	position: absolute; left: 61px; top: 50%; width: 691px; transform: translateY(calc(-50% + 6px));
	display: flex; flex-direction: column; align-items: flex-start; gap: 30px;
}
.cta__lead { font-size: 18px; line-height: 28px; letter-spacing: 0.36px; }
.cta__art { position: absolute; left: 600px; top: 0; width: 770px; }
.cta__grid { --mask: url(../images/cta-grid-mask.svg); }

/* 6. Footer ---------------------------------------------------------------- */
.site-footer { padding: 90px var(--gutter) 74px; }
.site-footer__inner { max-width: 1259px; margin: 0 auto; display: grid; grid-template-columns: 234px 1fr auto; align-items: start; }
.site-footer__logo { display: block; width: max-content; }
.site-footer__address { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; margin-top: 21px; /* a blank line between address, phone and email, as in the design */ font-style: normal; font-weight: 600; font-size: 14px; line-height: 20px; color: var(--indigo); }
.site-footer__address a { display: inline-flex; align-items: center; min-height: 24px; text-decoration: none; }
.site-footer__address a:hover { text-decoration: underline; }
.site-footer__copy { margin-top: 27px; font-weight: 600; font-size: 12px; line-height: 18px; text-transform: capitalize; color: var(--gray-600); }
.site-footer__nav { position: relative; padding-top: 61px; } /* 69px to the text, less the links' 8px padding */
.site-footer__nav::before { content: ""; position: absolute; left: 0; top: 32px; width: 515px; max-width: 100%; height: 1px; background: var(--gray-300); }
.site-footer__menu { display: flex; flex-wrap: wrap; gap: 0 57px; }
.site-footer__menu a { display: inline-block; padding: 8px 0; font-weight: 600; font-size: 14px; line-height: 28px; letter-spacing: 0.48px; text-decoration: none; }
.site-footer__menu a:hover { text-decoration: underline; }
.site-footer__aside { display: flex; flex-direction: column; align-items: flex-end; padding-top: 70px; }
.social { display: flex; gap: 11px; margin-top: 34px; }
.social__link { display: grid; place-items: center; width: 35px; height: 35px; border: 1px solid var(--indigo); border-radius: 50%; transition: background-color 0.15s; }
.social__link:hover { background: var(--panel); }
.site-footer__legal { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.site-footer__legal a { display: inline-flex; align-items: center; min-height: 24px; font-weight: 600; font-size: 13px; line-height: 18px; text-transform: capitalize; color: var(--indigo); text-decoration: underline; text-underline-position: from-font; }

/* 7. Inner pages ----------------------------------------------------------- */
.page-header { padding: 170px var(--gutter) 70px; background: var(--grad-navy); color: #fff; }
.page-header__inner { max-width: 1244px; margin: 0 auto; }
.page-header__title { font-weight: 500; font-size: 48px; line-height: 1.05; }
.entry-content { max-width: 800px; margin: 0 auto; padding: 60px var(--gutter) 100px; font-size: 18px; line-height: 1.6; }
.entry-content > * + * { margin-top: 1.2em; }
.entry-content h2, .entry-content h3 { font-weight: 500; color: var(--navy-900); }
.entry-content ul { padding-left: 1.4em; list-style: disc; }
.entry-content ol { padding-left: 1.4em; list-style: decimal; }
.entry-content img { max-width: 100%; height: auto; }
.entry-content a { color: var(--blue); }
.entry-summary__title { font-weight: 500; font-size: 28px; }
.entry-summary__title a { color: var(--navy-900); text-decoration: none; }
.entry-comments { padding-top: 0; }
.comments__title { font-weight: 500; font-size: 24px; color: var(--navy-900); }
.entry-content .comments__list,
.entry-content .comments__list .children { padding-left: 0; list-style: none; }
.comments__list .children { margin-left: 24px; }
.comments__list .comment { padding: 16px 0; border-top: 1px solid var(--gray-300); }
.comments__list .avatar { float: left; margin-right: 12px; border-radius: 50%; }
.comment-meta { font-size: 14px; color: var(--gray-600); }
.comment-respond { margin-top: 32px; }
.comment-form label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 500; }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea { width: 100%; padding: 12px 14px; font: inherit; border: 1px solid var(--gray-300); border-radius: 8px; }
.comment-form .btn { border: 0; cursor: pointer; text-decoration: none; }

/* 8. Responsive ------------------------------------------------------------ */

/* Small laptops and tablets in landscape: keep the two-column compositions and
   let the art scale; text columns and type become fluid. */
@media (max-width: 1200px) {
	:root { --gutter: 32px; }

	.hero__inner { min-height: 0; }
	.hero__content { max-width: 48%; padding: 140px 24px 64px var(--gutter); }
	.hero__title { font-size: 40px; line-height: 44px; }
	.hero__badges { margin-top: 56px; }
	.hero__badges .eyebrow { white-space: normal; }
	.hero__badge-row { flex-wrap: wrap; gap: 16px 20px; }
	.hero__badge-row > * + *,
	.hero__badge-row > :last-child { margin-left: 0; }
	.hero__art { left: 44%; }

	.train__inner { grid-template-columns: minmax(0, 400px) minmax(0, 1fr); column-gap: 56px; align-items: center; padding: 72px var(--gutter); }
	.train__text { padding-top: 0; }

	.support__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 38%); column-gap: 40px; padding: 0 var(--gutter) 88px; }

	.course { padding: 80px var(--gutter); }
	.course-card { min-height: 0; padding: 24px 24px 48px; }
	.course-card__body { max-width: none; padding-left: 20px; }
	.course-card__visual { position: relative; left: auto; top: auto; width: 100%; max-width: 612px; margin: 40px auto 0; }

	.paths { padding-left: var(--gutter); padding-right: var(--gutter); }
	.path-card__body { padding-right: 16px; }
	.fit-cta { grid-template-columns: minmax(0, 1fr) minmax(0, 44%); }
	.fit-cta__text { padding: 44px 32px 40px; }
	.btn--lg { height: 64px; gap: 14px; padding: 16px 36px; font-size: 20px; }
	.btn--lg .btn__arrow { width: 32px; height: auto; }

	.why { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 0; }
	.why__panel { display: flex; align-items: center; justify-content: center; padding: 64px var(--gutter); }
	.why__art { position: relative; left: auto; top: auto; width: 100%; max-width: 460px; }
	.why__content { padding: 72px var(--gutter); }

	.compare { padding-top: 96px; padding-bottom: 72px; }
	.compare__deco { display: none; }
	.compare__inner { grid-template-columns: minmax(0, 329px) minmax(0, 539px); column-gap: 40px; justify-content: center; padding-left: 0; }
	.certenly-card { width: auto; }

	.experience__inner { grid-template-columns: minmax(0, 440px) minmax(0, 1fr); column-gap: 32px; align-items: center; min-height: 0; padding: 72px var(--gutter); }
	.experience__text { padding-top: 0; }
	.experience__art { width: 100%; margin-right: 0; }

	.faq { padding: 96px var(--gutter); }

	.trust__inner { flex-direction: column; align-items: stretch; gap: 32px; padding: 40px; }
	.trust__title { width: auto; }
	.trust__logos { flex-wrap: wrap; justify-content: center; gap: 24px 40px; }

	.cta { padding-top: 88px; }
	.cta__inner { height: auto; background: linear-gradient(160deg, #12224d 31.8%, #2b4c86 86.7%); }
	.cta__box { position: relative; top: auto; height: auto; padding: 64px var(--gutter) 40px; background: none; }
	.cta__text { position: static; width: auto; max-width: 691px; transform: none; }
	.cta__light { display: none; }
	.cta__art { position: relative; left: auto; width: 100%; max-width: 770px; margin: -40px auto 0; }
}

/* 9. Contact page (page-templates/contact.php) ------------------------------
   Self-contained so it can be pasted on its own; it relies only on the tokens
   and primitives above. */

/* The navy panel starts under the utility bar; the header sits on top of it. */
.contact { position: relative; overflow: hidden; background: var(--grad-navy); color: #fff; font-family: "Albert Sans", var(--font); }
.contact__tex { left: -6.67%; right: -6.6%; }
.contact__inner {
	position: relative; max-width: 1440px; margin: 0 auto; padding: 180px 193px 120px 100px;
	display: grid; grid-template-columns: minmax(0, 454px) minmax(0, 499px);
	justify-content: space-between; align-items: start;
}
.contact__title,
.contact__text,
.contact__label,
.contact__list,
.contact-form__head,
.contact-field__label { text-box: trim-both cap alphabetic; }

.contact__title { font-weight: 500; font-size: 32px; line-height: 1.2; }
.contact__text { margin-top: 30px; font-size: 16px; line-height: 22px; }
.contact__label { margin-top: 30px; font-weight: 500; font-size: 16px; line-height: 22px; }
.contact__list { margin-top: 30px; padding-left: 24px; list-style: disc; font-size: 16px; line-height: 22px; }
.contact__list li + li { margin-top: 20px; }
/* Logos wrap in rows; the designed five sit where the design puts them (--placed, below).
   A logo uploaded in the page editor fits inside its box without being stretched. */
.contact__logos { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 40px; margin-top: 20px; }
.contact__logos img { object-fit: contain; }
@media (min-width: 1201px) {
	.contact__logos--placed { display: block; position: relative; width: 452px; height: 131px; }
	.contact__logos--placed li { position: absolute; }
	.contact__logos--placed li:nth-child(1) { left: 17px; top: 2px; }
	.contact__logos--placed li:nth-child(2) { left: 163px; top: 0; }
	.contact__logos--placed li:nth-child(3) { left: 325px; top: 14px; }
	.contact__logos--placed li:nth-child(4) { left: 1px; top: 92px; }
	.contact__logos--placed li:nth-child(5) { left: 182px; top: 95px; }
}

.contact-form { min-width: 0; }
.contact-form__title { font-weight: 500; font-size: 24px; line-height: 1.5; }
.contact-form__sub { margin-top: -3px; font-size: 16px; line-height: 1.5; }
.contact-form__fields { display: grid; gap: 20px; width: 396px; max-width: 100%; margin-top: 40px; }
.contact-field { margin: 0; }
.contact-field__label { display: block; font-weight: 500; font-size: 16px; line-height: 1.2; letter-spacing: -0.64px; }
.contact-field__req { color: var(--gold); }
.contact-field__input {
	display: block; width: 100%; height: 45px; margin-top: 10px; padding: 0 12px;
	border: 1px solid #fff; border-radius: 6px; background: transparent;
	font: inherit; font-size: 16px; line-height: 1.2; color: #fff;
}
.contact-field__input::placeholder { color: rgba(255, 255, 255, 0.35); opacity: 1; }
.contact-field__input:focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; border-color: transparent; }
/* Browser autofill keeps the field dark instead of painting it pale yellow or blue. */
.contact-field__input:-webkit-autofill {
	-webkit-text-fill-color: #fff; caret-color: #fff;
	box-shadow: 0 0 0 100px #1b3061 inset;
}
.contact-field__input--textarea { height: auto; min-height: 120px; padding: 10px 12px; resize: vertical; }
.contact-field__input--select {
	appearance: none; padding-right: 44px; cursor: pointer;
	background: url(../images/icon-chevron-down-white.svg) right 14px center / 16px 18px no-repeat;
}
/* Faint while the "Number of Employees" prompt is still the chosen option. */
.contact-field__input--select:invalid { color: rgba(255, 255, 255, 0.35); }
.contact-field__input--select:has(option[value=""]:checked) { color: rgba(255, 255, 255, 0.35); }
/* The open list is drawn by the system on white, so its options stay dark. */
.contact-field__input--select option { color: var(--navy-900); }

.contact-consent { width: 392px; max-width: 100%; margin: 20px 0 0 -1px; }
.contact-consent label { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.contact-consent__box {
	appearance: none; flex: none; width: 24px; height: 24px; margin: 0; cursor: pointer;
	border: 1px solid #fff; border-radius: 6px; background: transparent center 4px / 14px 16px no-repeat;
}
.contact-consent__box:checked { border-color: #1977e4; background-color: #1977e4; background-image: url(../images/icon-check-white.svg); }
.contact-consent__box:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.contact-consent__text,
.contact-consent .wpcf7-list-item-label { font-size: 13px; line-height: 17px; }
.contact-form__legal { margin-top: 8px; font-size: 13px; line-height: 17px; }
.contact-form__legal a { text-underline-position: from-font; }
.contact-form__legal a:hover { color: var(--gold); }
.contact-form__actions { display: flex; align-items: center; margin-top: 29px; }
.contact-form__submit { -webkit-appearance: none; appearance: none; border: 0; font-family: var(--font); cursor: pointer; }

/* Contact Form 7: its wrappers, messages and spinner, restyled to fit the design. */
.contact-form .wpcf7-form-control-wrap { display: block; }
.contact-consent .wpcf7-form-control-wrap { display: inline; }
.contact-consent .wpcf7-list-item { display: block; margin: 0; }
.contact-consent .wpcf7-list-item-label::before,
.contact-consent .wpcf7-list-item-label::after { content: none; }
.contact-form .wpcf7-not-valid-tip { margin-top: 6px; font-size: 13px; line-height: 17px; color: #ffb4b4; }
.contact-field__input.wpcf7-not-valid { border-color: #ff8a8a; }
.contact-form .wpcf7-spinner { flex: none; margin: 0 0 0 16px; }
.contact-form .wpcf7 form .wpcf7-response-output {
	max-width: 396px; margin: 20px 0 0; padding: 10px 12px;
	border-width: 1px; border-radius: 6px; font-size: 13px; line-height: 17px;
}

/* Thank You page (page-templates/thank-you.php): the message takes the form's place,
   and the panel keeps the Contact page's height. */
.contact--thanks .contact__inner { min-height: 1030px; }
.contact-thanks { margin: 52px 0 0 -28px; text-box: trim-both cap alphabetic; }
.contact-thanks__title { font-weight: 500; font-size: 32px; line-height: 1.5; }
.contact-thanks__text { margin-top: -6px; font-size: 16px; line-height: 1.5; }

@media (max-width: 1200px) {
	.contact--thanks .contact__inner { min-height: 0; }
	.contact__inner { padding: 140px var(--gutter) 90px; column-gap: 48px; }
}

@media (max-width: 900px) {
	.contact__inner { grid-template-columns: 1fr; row-gap: 56px; padding: 120px var(--gutter) 64px; }
	.contact__title { font-size: 28px; }
	.contact-form__fields { width: auto; }
	/* On one column the message comes first, so it is the first thing seen. */
	.contact-thanks { order: -1; margin: 0; }
}

@media (max-width: 600px) {
	.contact__logos { gap: 20px 28px; }
	.contact__logos img { height: auto; max-width: 104px; }
	.contact-form__title { font-size: 22px; line-height: 1.4; }
}

/* Small laptops: the header's spacing shrinks with the window so every menu link (Press, and
   Blog once it is switched on) stays on one line beside Login and Enroll Now. */
@media (min-width: 901px) and (max-width: 1200px) {
	.site-header__logo { margin-right: clamp(24px, 4vw, 73px); }
	.primary-nav__menu { gap: clamp(18px, 2.4vw, 40px); }
	.primary-nav__menu a { white-space: nowrap; }
	.primary-nav__actions { gap: 16px; padding-left: 16px; }
	.primary-nav__actions .btn { padding-left: 22px; padding-right: 22px; }
}

/* Tablet landscape only: closing CTA keeps text and art side by side. */
@media (min-width: 901px) and (max-width: 1200px) {
	.cta__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 46%); align-items: end; }
	.cta__box { grid-column: 1 / -1; grid-row: 1; align-self: stretch; }
	.cta__text { max-width: 54%; }
	.cta__text .display { font-size: 60px; line-height: 60px; }
	.cta__art { grid-column: 2; grid-row: 1; margin: 0; }
}

/* Tablets in portrait and phones: single column, hamburger navigation. */
@media (max-width: 900px) {
	:root { --gutter: 20px; }

	.preview-learning__title { font-size: 40px; }

	/* Each pair stacks: what the course does, then what it means. */
	.pairs::after, .pairs--compact .pairs__rows::after { display: none; }
	.pairs__head { display: none; }
	.pair { grid-template-columns: 1fr; gap: 20px; min-height: 0; padding: 28px var(--gutter); }
	.pairs--compact .pair { gap: 8px; padding: 24px var(--gutter); }
	.pairs--compact .pair__title, .pairs--compact .pair__text { padding: 0; }

	.site-header__inner { padding: 0 var(--gutter); }
	.site-header__logo { margin-right: 0; }
	.nav-toggle { display: block; }
	.primary-nav {
		display: none; position: absolute; left: 0; right: 0; top: 60px; z-index: 40;
		flex-direction: column; align-items: stretch; padding: 16px var(--gutter) 28px;
		background: var(--navy-950); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
	}
	.primary-nav.is-open { display: flex; }
	.primary-nav__menu { flex-direction: column; gap: 0; }
	.primary-nav__menu a { display: block; padding: 14px 0; font-size: 16px; }
	/* Rows span the drawer, so underline the current page's text instead of drawing the bar. */
	.primary-nav__menu .current-menu-item > a {
		color: var(--gold); text-decoration-line: underline; text-decoration-thickness: 2px;
		text-underline-offset: 6px; text-decoration-skip-ink: none;
	}
	.primary-nav__menu .current-menu-item > a::after { display: none; }
	.primary-nav__actions { margin: 16px 0 0; gap: 20px; }
	.primary-nav__login { padding: 10px 0; }

	.h1, .hero__title, .experience__title { font-size: 36px; line-height: 1.12; }
	.h2 { font-size: 26px; }
	.display { font-size: 44px; line-height: 1.05; }
	.lb { display: none; }

	.hero__inner { display: flex; flex-direction: column; }
	.hero__content { max-width: none; padding: 120px var(--gutter) 40px; }
	.hero__art { position: relative; left: auto; right: auto; width: 100%; max-width: 840px; margin: 0 auto; }

	.train__inner { grid-template-columns: 1fr; row-gap: 32px; padding: 56px var(--gutter); }
	.train__art { max-width: 455px; }

	.support__inner { grid-template-columns: 1fr; padding: 56px var(--gutter); }
	.support__eyebrow { line-height: 1.2; margin-bottom: 20px; }
	.support__title { margin-top: 0; }
	.steps { margin-top: 40px; }
	.step__head { grid-template-columns: 40px 1fr; column-gap: 20px; }
	.step__body { margin-left: 60px; }
	.step__icon img { width: 36px; height: auto; }
	.support__art { width: 100%; max-width: 556px; margin: 40px auto 0; }

	.course { padding: 56px var(--gutter); }
	.course-card { padding: 20px 20px 40px; }
	.course-card__body { padding-left: 0; }
	.course-card__title { font-size: 26px; }
	.course-facts { grid-template-columns: 1fr; gap: 24px; }
	.course-facts ul { max-width: none; }

	.paths { padding-bottom: 64px; }
	.path-cards { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
	.path-card__title { font-size: 26px; }
	.fit-cta { grid-template-columns: 1fr; }
	.fit-cta__text { padding: 32px var(--gutter); }
	.fit-cta__panel { min-height: 170px; }

	.why { grid-template-columns: 1fr; }
	.why__panel { padding: 56px var(--gutter); }
	.why__content { padding: 56px var(--gutter); }

	.banner { padding: 80px var(--gutter); }
	.banner .btn { margin-top: 30px; }

	.compare { padding-top: 64px; padding-bottom: 40px; }
	.compare__inner { grid-template-columns: 1fr; row-gap: 40px; justify-items: start; }
	.compare__head { padding-left: 0; }
	.compare__eyebrow { line-height: 1.2; margin-bottom: 20px; }
	.compare__title { max-width: none; }
	.old-way { margin: 30px 0 0; min-height: 0; max-width: 539px; padding: 24px; }
	.old-way__title { line-height: 1.3; }
	.old-way__list { margin-top: 24px; }
	.certenly-card { width: 100%; max-width: 539px; padding: 40px 28px; }
	.certenly-card__coin { right: 16px; top: 10px; transform: scale(0.8); transform-origin: top right; }
	.certenly-card__list { gap: 28px; }

	.experience__inner { grid-template-columns: 1fr; padding: 56px var(--gutter); }
	.experience__eyebrow { line-height: 1.2; margin-bottom: 20px; }
	.experience__title { margin-top: 0; }
	.experience__sub { font-size: 20px; line-height: 1.3; }
	.experience__art { max-width: 810px; margin: 30px auto 0; }

	.faq { padding: 80px var(--gutter); }
	.faq__head { grid-template-columns: 1fr; padding-right: 0; }
	.faq__eyebrow { line-height: 1.2; margin-bottom: 16px; }
	.faq__title { margin-top: 0; }
	.faq__intro { padding-top: 20px; }
	.faq__list { margin-top: 40px; }
	.faq-item__q { font-size: 18px; gap: 12px; }
	.faq-item[open] .faq-item__q { font-size: 18px; line-height: 1.3; }
	.faq-item__label { top: 0; }
	.faq-item__icon { width: 38px; height: 38px; }

	.trust__inner { min-height: 0; padding: 32px var(--gutter); gap: 30px; }
	.trust__title { font-size: 26px; }
	.trust__logos img { width: 110px; height: 45px; }

	.cta__lead { font-size: 16px; line-height: 24px; }

	.site-footer { padding: 60px var(--gutter); }
	.site-footer__inner { grid-template-columns: 1fr; gap: 40px; }
	.site-footer__nav { padding-top: 0; }
	.site-footer__nav::before { display: none; }
	.site-footer__aside { align-items: flex-start; padding-top: 0; }
}

/* Phones. */
@media (max-width: 600px) {
	:root { --gutter: 16px; }
	.pair__title { font-size: 20px; }
	.preview-learning__title { font-size: 30px; line-height: 1.15; }
	.benefit-card { width: 300px; min-height: 0; padding: 28px; }
	.utility__inner { padding-left: var(--gutter); padding-right: var(--gutter); }
	.btn { padding: 10px 22px; }
	.btn--lg { height: 56px; padding: 14px 28px; font-size: 16px; }
	.hero__title { font-size: 32px; }
	.display { font-size: 36px; }
	.train__inner, .support__inner, .why__panel, .why__content, .experience__inner { padding-top: 40px; padding-bottom: 40px; }
	.course { padding: 40px var(--gutter); }
	.course-card { padding: 12px 12px 32px; }
	.course-card__hero { height: 220px; }
	.paths { padding-top: 48px; }
	.path-cards { grid-template-columns: 1fr; }
	.path-card { min-height: 0; }
	.path-card__body { padding-bottom: 8px; }
	.compare { padding-bottom: 20px; }
	.certenly-card { padding: 32px 20px; }
	.faq { padding: 60px var(--gutter); }
	.site-footer__menu { gap: 0 32px; }
	.site-footer__legal { gap: 8px 14px; }
	/* Phones: footer links get the full 44px touch height. */
	.site-footer__legal a, .site-footer__address a { min-height: 44px; }
	/* The taller links bring their own spacing; keep the address, phone and email evenly apart. */
	.site-footer__address { gap: 0; }
	.site-footer__address > span { margin-bottom: 12px; }
}
