/* ATI marketing chrome — header + footer. Original stylesheet; no Divi/Shopify/WP imports. */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	overflow-x: clip;
	overflow-y: visible;
	overscroll-behavior-y: none;
	background-color: var(--color-navy);
}

body {
	margin: 0;
	min-height: 100vh;
	max-width: 100%;
	display: flex;
	flex-direction: column;
	font-family: var(--font-sans);
	font-size: var(--fs-md);
	line-height: var(--lh-body);
	color: var(--color-text);
	background: var(--color-surface);
	overflow-x: clip;
	overflow-y: visible;
	overscroll-behavior-y: none;
	-webkit-font-smoothing: antialiased;
}

body.is-menu-open,
body.is-search-open,
body.is-cart-open {
	overflow: hidden;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: inherit;
	text-decoration: none;
}

button,
input {
	font: inherit;
}

.skip-link {
	position: absolute;
	left: var(--space-4);
	top: -4rem;
	z-index: calc(var(--z-search) + 1);
	padding: var(--space-2) var(--space-4);
	background: var(--color-green);
	color: var(--color-text-on-dark);
	border-radius: var(--radius-sm);
}

.skip-link:focus {
	top: var(--space-4);
}

.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.desktop-only {
	display: none;
}

.wrap {
	width: min(var(--container), calc(100% - (var(--gutter) * 2)));
	margin-inline: auto;
}

.icon-btn {
	display: inline-grid;
	place-items: center;
	width: 2.35rem;
	height: 2.35rem;
	padding: 0;
	border: 0;
	border-radius: var(--radius-pill);
	background: transparent;
	color: currentColor;
	cursor: pointer;
}

.overlay-close {
	width: var(--overlay-close);
	height: var(--overlay-close);
	min-width: var(--overlay-close);
	min-height: var(--overlay-close);
	border-radius: 0.375rem;
	color: var(--color-navy);
}

.overlay-close svg,
.icon-btn.overlay-close svg {
	width: 1.375rem;
	height: 1.375rem;
	stroke-width: 2.85;
}

.icon-btn svg {
	width: 1.4rem;
	height: 1.4rem;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.65;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: var(--btn-height);
	padding: 0 1.15rem;
	-webkit-appearance: none;
	appearance: none;
	border: 0;
	outline: none;
	box-shadow: none;
	border-radius: var(--radius-cta);
	background: var(--color-green-cta);
	background-image: none;
	background-clip: padding-box;
	color: var(--color-text-on-dark);
	font-weight: 700;
	font-size: var(--fs-sm);
	letter-spacing: 0.01em;
	white-space: nowrap;
	cursor: pointer;
}

.btn:hover {
	border: 0;
	box-shadow: none;
	background: var(--color-green-hover);
	background-image: none;
}

.btn-block {
	width: 100%;
	height: 3.05rem;
	border-radius: var(--radius-cta);
	font-size: 1rem;
	font-weight: 650;
}

.btn-outline {
	background: var(--color-surface-bright);
	color: var(--color-text);
	box-shadow: inset 0 0 0 1.5px var(--color-navy);
}

.btn-outline:hover,
.btn-outline:focus-visible {
	background: var(--color-surface-bright);
	color: var(--color-navy);
}

.btn:focus-visible,
.icon-btn:focus-visible,
.site-header a:focus-visible,
.site-footer a:focus-visible,
.site-menu a:focus-visible {
	outline: 2px solid var(--color-green-logo);
	outline-offset: 3px;
}

.btn:focus-visible {
	background: var(--color-green-hover);
	background-image: none;
	border: 0;
	box-shadow: none;
}

.field-join {
	display: flex;
	width: 100%;
	height: 3.05rem;
	overflow: hidden;
	border-radius: var(--radius-cta);
	background: var(--color-surface-bright);
}

.field-join input {
	flex: 1;
	min-width: 0;
	height: 100%;
	padding: 0 1rem;
	border: 0;
	background: transparent;
	color: var(--color-text);
}

.field-join input::placeholder {
	color: #9aa3ad;
}

.field-join .btn {
	flex: 0 0 auto;
	height: 100%;
	border-radius: 0;
	padding: 0 1.25rem;
}

.chevron {
	display: inline-block;
	width: 0.46rem;
	height: 0.46rem;
	border-inline-end: 2.4px solid currentColor;
	border-bottom: 2.4px solid currentColor;
	flex: 0 0 auto;
}

.chevron-down {
	transform: rotate(45deg) translateY(-1px);
}

/*
	Mobile drawer chevrons — same hollow 2.4px border glyph as desktop mega.
	Collapsed points right; expanded points down. 46px strip inset to sit on
	the close-X optical centreline (menu-top pad 1rem + close margin 0.25rem +
	half of --overlay-close).
*/
.menu-chevron {
	position: absolute;
	top: 50%;
	right: calc(1rem + 0.25rem);
	width: var(--overlay-close);
	height: var(--overlay-close);
	display: grid;
	place-items: center;
	transform: translateY(-50%);
	pointer-events: none;
	color: var(--color-navy);
}

.menu-chevron .chevron {
	width: 0.68rem;
	height: 0.68rem;
	transform: rotate(-45deg);
	transition: transform 0.15s ease;
}

.menu-row > button[aria-expanded="true"] .menu-chevron .chevron {
	transform: rotate(45deg);
}

/* ---------- Header ---------- */

.site-header {
	position: sticky;
	top: 0;
	z-index: var(--z-header);
	background: var(--color-navy);
	color: var(--color-text-on-dark);
	border-bottom: 0;
	overflow: visible;
	transition: box-shadow var(--ease);
}

.header-utility-band,
.header-main-band,
.header-utility-spacer {
	display: none;
}

.site-header .wrap {
	width: 100%;
	padding-inline: 16px 22px;
	box-sizing: border-box;
}

.header-shell {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	min-height: var(--header-h-mobile);
	padding-block: 8px;
}

.logo {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	line-height: 1;
}

.logo img {
	/* Official PNG includes canvas padding; 60px box ≈ stg ~50px visible lockup */
	height: 60px;
	width: auto;
	max-width: min(210px, 52vw);
	object-fit: contain;
}

.header-tools {
	display: flex;
	align-items: center;
	gap: 6px;
	flex: 0 0 auto;
	color: var(--color-text-on-dark);
}

.header-tools .icon-btn {
	width: 44px;
	height: 44px;
	min-width: 44px;
	min-height: 44px;
	border-radius: 4px;
}

.header-tools .icon-btn svg {
	width: 24px;
	height: 24px;
}

[data-chrome-cart-open] {
	position: relative;
}

.cart-badge {
	position: absolute;
	top: -0.2rem;
	right: -0.28rem;
	z-index: 1;
	display: grid;
	place-items: center;
	min-width: 1.05rem;
	height: 1.05rem;
	padding: 0 0.22rem;
	border: 0;
	border-radius: var(--radius-pill);
	background: #e11d2e;
	color: #fff;
	font-family: var(--font-sans);
	font-size: 0.62rem;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0;
	pointer-events: none;
}

.cart-badge[hidden] {
	display: none;
}

.header-tools [data-chrome-search-open] svg {
	fill: none;
	stroke: currentColor;
	stroke-width: 2.7;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.header-tools a.icon-btn .phone-body,
.header-tools [data-chrome-cart-open] svg,
.header-tools .menu-btn svg {
	fill: currentColor;
	stroke: none;
}

.header-tools a.icon-btn .phone-wave {
	fill: none;
	stroke: currentColor;
	stroke-width: 1.9;
	stroke-linecap: round;
}

.primary-nav,
.header-enrol {
	display: none;
}

.home-icon {
	display: none;
}

/* ---------- Chat stub (SalesIQ-style corner widget) ---------- */

.site-chat {
	position: fixed;
	right: 1.15rem;
	bottom: calc(var(--enrol-bar-h) + 0.85rem);
	z-index: var(--z-chat);
	display: flex;
	align-items: flex-end;
	gap: 0.7rem;
	color: var(--color-navy);
	text-decoration: none;
}

.site-chat-bubble {
	position: relative;
	max-width: 13.5rem;
	margin: 0;
	padding: 0.7rem 0.85rem 0.7rem 1.55rem;
	background: var(--color-surface-bright);
	border-radius: 1.05rem;
	box-shadow: 0 8px 24px rgba(0, 12, 28, 0.18);
	font-size: 0.82rem;
	font-weight: 600;
	line-height: 1.35;
}

.site-chat-bubble a {
	color: inherit;
}

.site-chat-close {
	position: absolute;
	top: 0.15rem;
	left: 0.3rem;
	right: auto;
	width: 1.15rem;
	height: 1.15rem;
	padding: 0;
	border: 0;
	background: transparent;
	color: #7a8794;
	font-size: 1rem;
	line-height: 1;
	cursor: pointer;
}

.site-chat-fab {
	display: grid;
	place-items: center;
	width: var(--chat-fab);
	height: var(--chat-fab);
	flex: 0 0 var(--chat-fab);
	background: var(--color-surface-bright);
	border-radius: 50%;
	box-shadow: 0 8px 22px rgba(0, 12, 28, 0.22);
	overflow: hidden;
}

.site-chat-fab img {
	width: 78%;
	height: 78%;
	object-fit: contain;
}

.site-chat.is-collapsed .site-chat-bubble {
	display: none;
}

body.is-menu-open .site-chat,
body.is-search-open .site-chat,
body.is-cart-open .site-chat {
	display: none;
}

/* ---------- White mobile menu ---------- */

.site-menu {
	position: fixed;
	inset: 0;
	z-index: var(--z-overlay);
	display: flex;
	flex-direction: column;
	height: 100%;
	height: 100dvh;
	background: var(--color-surface-bright);
	color: var(--color-text);
	font-family: var(--font-sans);
	overflow: hidden;
}

.site-menu[hidden] {
	display: none;
}

.menu-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex: 0 0 auto;
	min-height: 4.875rem;
	padding: 0 1rem 0 1rem;
	border-bottom: 1px solid #e6e8ec;
}

.menu-top .logo img {
	height: 3.625rem;
}

.menu-top .logo-rto {
	color: var(--color-navy);
}

.menu-close {
	margin-right: 0.25rem;
	color: var(--color-navy);
}

.menu-list {
	flex: 1 1 auto;
	min-height: 0;
	overflow: auto;
	padding-bottom: 0.5rem;
}

.menu-row {
	border-bottom: 1px solid #e6e8ec;
}

.menu-row > button,
.menu-row > .menu-link {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 0.82rem calc(var(--overlay-close) + 1.25rem) 0.82rem 1.15rem;
	border: 0;
	background: transparent;
	color: var(--color-navy);
	font-family: var(--font-sans);
	font-size: 1.125rem;
	font-weight: 700;
	letter-spacing: 0;
	text-align: left;
	cursor: pointer;
}

.menu-row-label {
	display: inline-block;
	padding-bottom: 0.12rem;
}

.menu-row > button[aria-expanded="true"] {
	background: #eceef1;
	box-shadow: inset 0 -2px 0 var(--color-green);
}

.menu-sub {
	margin: 0;
	padding: 0;
	list-style: none;
	background: #f3f4f6;
}

.menu-sub a {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.85rem 1.15rem;
	border-bottom: 1px solid #e6e8ec;
	color: var(--color-navy);
	font-family: var(--font-sans);
	font-size: 1.05rem;
	font-weight: 500;
}

.menu-sub-courses img {
	flex: 0 0 1.75rem;
	width: 1.75rem;
	height: 1.75rem;
	object-fit: contain;
}

.menu-cta {
	display: grid;
	flex: 0 0 auto;
	gap: 0;
	padding: 0.65rem 0 calc(0.75rem + env(safe-area-inset-bottom, 0px));
	border-top: 1px solid #e6e8ec;
	background: var(--color-surface-bright);
	box-shadow: 0 -8px 20px rgba(0, 28, 60, 0.06);
}

.menu-cta .btn {
	width: auto;
	min-height: 48px;
	height: 48px;
	margin: 12px 5% 8px;
	padding: 14px 20px;
	border-radius: var(--radius-cta);
	border: 0;
	box-shadow: none;
	background: var(--color-green-cta);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.25;
}

.menu-cta .btn-outline {
	margin: 0 5% 16px;
	background: var(--color-surface-bright);
	color: var(--color-navy);
	border: 0;
	box-shadow: inset 0 0 0 1.5px var(--color-navy);
}

/* ---------- Enrol bar ---------- */

.site-enrol-bar {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	width: auto;
	max-width: 100%;
	z-index: calc(var(--z-overlay) - 1);
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 10px;
	min-height: var(--enrol-bar-h);
	padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
	background: var(--color-navy);
	border-top: 2px solid var(--color-green);
	box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.22);
	color: var(--color-text-on-dark);
}

.site-enrol-bar p {
	flex: 1 1 auto;
	min-width: 0;
	margin: 0;
	text-align: center;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: 0.01em;
	white-space: nowrap;
}

.site-enrol-bar .btn {
	flex: 0 0 auto;
	height: 40px;
	min-height: 40px;
	padding: 0 18px;
	border: 0;
	box-shadow: none;
	border-radius: var(--radius-cta);
	background: var(--color-green-cta);
	color: var(--color-text-on-dark);
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
}

body.is-menu-open .site-enrol-bar,
body.is-search-open .site-enrol-bar,
body.is-cart-open .site-enrol-bar,
body.no-sticky-enrol .site-enrol-bar {
	display: none !important;
}

body.no-sticky-enrol .site-footer {
	padding-bottom: 0;
}

body.no-sticky-enrol .site-chat {
	bottom: 0.85rem;
}

body.no-sticky-enrol .to-top {
	bottom: calc(0.85rem + var(--chat-fab) + 0.65rem);
}

/* ---------- Search ---------- */

.search-overlay {
	position: fixed;
	inset: 0;
	z-index: var(--z-search);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.5rem 1rem;
	background: rgba(0, 28, 60, 0.82);
	font-family: var(--font-sans);
}

.search-overlay[hidden] {
	display: none;
}

.search-panel {
	position: relative;
	width: min(32.5rem, 100%);
	max-height: min(90vh, 42.5rem);
	overflow: auto;
	padding: 1.35rem 1.25rem 1.25rem;
	background: var(--color-surface-bright);
	color: var(--color-navy);
	border-radius: 1.25rem;
	box-shadow: 0 12px 40px rgba(0, 12, 28, 0.28);
	font-family: var(--font-sans);
}

.search-overlay h2 {
	margin: 0 2.75rem 0.25rem 0;
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0;
}

.search-sub {
	margin: 0 2.75rem 0.85rem 0;
	color: rgba(0, 28, 60, 0.62);
	font-size: 0.9rem;
	font-weight: 400;
}

.search-form {
	display: flex;
	align-items: stretch;
	margin: 0 0 1.1rem;
	border: 1px solid rgba(0, 28, 60, 0.22);
	border-radius: var(--radius-cta);
	overflow: hidden;
	background: var(--color-surface-bright);
}

.search-form input {
	flex: 1;
	min-width: 0;
	padding: 0.75rem 0.9rem;
	border: 0;
	background: transparent;
	color: var(--color-navy);
	font-family: var(--font-sans);
	font-size: 1rem;
}

.search-form input::placeholder {
	color: rgba(0, 28, 60, 0.45);
}

.search-submit {
	flex: 0 0 auto;
	height: auto;
	min-width: 3rem;
	gap: 0.5rem;
	padding: 0 1rem;
	margin-block: -1px;
	margin-right: -1px;
	border: 0;
	border-radius: 0;
	outline: none;
	box-shadow: none;
	background: var(--color-green-cta);
	color: var(--color-text-on-dark);
	font-family: var(--font-sans);
	font-size: 0.95rem;
	font-weight: 700;
}

.search-submit:hover,
.search-submit:focus-visible {
	border: 0;
	outline: none;
	box-shadow: none;
	background: var(--color-green-cta);
}

.search-submit svg {
	width: 1rem;
	height: 1rem;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
}

.search-popular-label {
	margin: 0 0 0.65rem;
	color: rgba(0, 28, 60, 0.62);
	font-size: 0.8rem;
	font-weight: 600;
}

.search-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
}

.search-chips a {
	display: inline-flex;
	align-items: center;
	padding: 0.4rem 0.65rem;
	border: 1px solid rgba(0, 28, 60, 0.22);
	border-radius: var(--radius-pill);
	background: var(--color-surface-bright);
	color: var(--color-navy);
	font-family: var(--font-sans);
	font-size: 0.82rem;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
}

.search-chips a:hover,
.search-chips a:focus-visible {
	border-color: rgba(0, 28, 60, 0.38);
	background: #f5f7f9;
	color: var(--color-navy);
}

.search-results {
	margin: 1rem 0 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 0.45rem;
}

.search-results li {
	display: grid;
	gap: 0.1rem;
	padding: 0.55rem 0.65rem;
	border-radius: 0.4rem;
	background: #f5f7f9;
}

.search-results span {
	color: rgba(0, 28, 60, 0.62);
	font-size: 0.72rem;
	font-weight: 650;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.search-results strong {
	font-size: 0.92rem;
	font-weight: 650;
}

.search-empty {
	color: var(--color-muted);
	font-size: 0.88rem;
}

.search-overlay .search-close {
	position: absolute;
	top: 0.4rem;
	right: 0.4rem;
}

.cart-overlay {
	position: fixed;
	inset: 0;
	z-index: var(--z-cart);
	display: flex;
	justify-content: flex-end;
	font-family: var(--font-sans);
}

.cart-overlay[hidden] {
	display: none;
}

.cart-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 28, 60, 0.55);
}

.cart-drawer {
	position: relative;
	display: flex;
	flex-direction: column;
	width: min(26.5rem, 100%);
	height: 100%;
	height: 100dvh;
	background: var(--color-surface-bright);
	color: var(--color-navy);
	box-shadow: -12px 0 40px rgba(0, 12, 28, 0.22);
}

.cart-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 4.875rem;
	padding: 0 0.65rem 0 1.15rem;
	border-bottom: 1px solid #e6e8ec;
}

.cart-top h2 {
	margin: 0;
	color: var(--color-navy);
	font-size: 1.25rem;
	font-weight: 500;
	letter-spacing: -0.01em;
}

.cart-empty {
	display: grid;
	justify-items: center;
	align-content: start;
	gap: 1rem;
	padding: 2.5rem 1.5rem 2rem;
	text-align: center;
}

.cart-empty[hidden],
.cart-filled[hidden] {
	display: none;
}

.cart-empty p {
	margin: 0 0 0.5rem;
	color: var(--color-navy);
	font-size: 1rem;
	font-weight: 400;
}

.cart-empty .btn.btn-block {
	width: 100%;
	max-width: 18rem;
	min-height: 3rem;
	height: 3rem;
	border-radius: var(--radius-cta);
}

.cart-continue {
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--color-navy);
	font-family: var(--font-sans);
	font-size: 0.875rem;
	font-weight: 400;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}

.cart-filled {
	display: flex;
	flex-direction: column;
	flex: 1;
	min-height: 0;
}

.cart-lines {
	flex: 1;
	overflow: auto;
	margin: 0;
	padding: 0.35rem 1.15rem 0.5rem;
	list-style: none;
}

.cart-line {
	display: grid;
	gap: 0.55rem;
	padding: 1rem 0;
	border-bottom: 1px solid #e6e8ec;
}

.cart-line-title {
	margin: 0;
	color: var(--color-navy);
	font-size: 0.9375rem;
	font-weight: 400;
	line-height: 1.4;
}

.cart-line-code {
	margin-right: 0.4em;
	letter-spacing: 0.01em;
}

.cart-line-detail {
	margin: 0.2rem 0 0;
	color: #6b7280;
	font-size: 0.8125rem;
	font-weight: 400;
	line-height: 1.4;
}

.cart-line-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.65rem 0.85rem;
}

.cart-line-price {
	margin: 0;
	color: var(--color-navy);
	font-size: 0.9375rem;
	font-weight: 400;
}

.cart-qty-label {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	color: #6b7280;
	font-size: 0.8125rem;
	font-weight: 400;
}

.cart-qty {
	width: 3.15rem;
	height: 2rem;
	padding: 0 0.35rem;
	border: 1px solid #d5dae0;
	border-radius: var(--radius-cta);
	color: var(--color-navy);
	font: inherit;
	font-weight: 400;
}

.cart-remove {
	margin-left: auto;
	padding: 0;
	border: 0;
	background: transparent;
	color: #6b7280;
	font: inherit;
	font-size: 0.8125rem;
	font-weight: 400;
	text-decoration: underline;
	text-underline-offset: 2px;
	cursor: pointer;
}

.cart-summary {
	display: grid;
	gap: 0.75rem;
	padding: 1rem 1.15rem 1.25rem;
	border-top: 1px solid #e6e8ec;
}

.cart-subtotal {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	margin: 0;
}

.cart-subtotal-label {
	color: #6b7280;
	font-size: 0.8125rem;
	font-weight: 400;
}

.cart-subtotal-amount {
	color: var(--color-navy);
	font-size: 1rem;
	font-weight: 400;
}

.cart-checkout {
	width: 100%;
	min-height: 3rem;
	height: 3rem;
	border: 0;
	outline: none;
	box-shadow: none;
	background: var(--color-green-cta);
	color: var(--color-text-on-dark);
}

.cart-checkout:hover,
.cart-checkout:focus-visible {
	border: 0;
	outline: none;
	box-shadow: none;
	background: var(--color-green-cta);
}

/* ---------- Page frame ---------- */

.page-main {
	flex: 1 0 auto;
	display: block;
	min-height: 0;
	padding: 0;
}

/* ---------- Footer ---------- */

.site-footer {
	background: transparent;
	color: var(--color-text);
	padding-bottom: var(--enrol-bar-h);
}

.footer-enquiry {
	background: var(--color-surface-bright);
	color: var(--color-navy);
	padding-block: 2.25rem;
	text-align: center;
}

.enquiry-inner h2 {
	margin: 0 0 var(--space-3);
	font-size: clamp(1.55rem, 3vw, 2rem);
	font-weight: 700;
	letter-spacing: -0.03em;
}

.enquiry-inner p {
	margin: 0 0 var(--space-6);
	color: var(--color-muted);
	font-size: var(--fs-md);
}

.enquiry-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.75rem 1rem;
}

.footer-enquiry .btn {
	height: auto;
	padding: 0.75em 1.4em;
	border: 0;
	box-shadow: none;
	border-radius: var(--radius-cta);
	background: var(--color-green-cta);
	background-image: none;
	font-size: 0.95rem;
	font-weight: 700;
}

.footer-navy {
	background: var(--color-navy);
	color: var(--color-text-on-dark);
}

.footer-subscribe {
	padding-block: 2.15rem 1rem;
	scroll-margin-top: var(--header-h-mobile);
}

.footer-subscribe .wrap {
	width: min(var(--header-shell), calc(100% - (var(--gutter) * 2)));
	max-width: var(--header-shell);
}

.subscribe-copy p {
	display: none;
}

.subscribe-copy h2 {
	margin: 0 0 var(--space-3);
	font-size: 1.35rem;
	font-weight: 700;
	letter-spacing: -0.02em;
}

.subscribe-copy p,
.subscribe-form p {
	margin: 0.4rem 0 0;
	color: var(--color-muted-on-dark);
	font-size: 0.78rem;
}

.subscribe-form a {
	text-decoration: underline;
	text-underline-offset: 2px;
}

.footer-brand-col,
.footer-brand {
	display: grid;
	justify-items: center;
	gap: 0.75rem;
	text-align: center;
}

.footer-brand .logo {
	align-items: center;
}

.footer-brand .logo img {
	height: 5.5rem;
}

.socials {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.65rem;
}

.socials a {
	display: grid;
	place-items: center;
	width: 2.5rem;
	height: 2.5rem;
	padding: 0;
	border: 0;
	background: transparent;
}

.socials img {
	width: 100%;
	height: 100%;
}

.footer-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-template-areas:
		"brand brand"
		"courses resources"
		"badges legal";
	gap: 0.85rem 1.25rem;
	padding: 1.85rem 0 0.35rem;
	border-top: 1px solid var(--color-line);
}

.footer-brand-col {
	display: contents;
}

.footer-brand {
	grid-area: brand;
}

.footer-col-courses {
	grid-area: courses;
}

.footer-col-resources {
	grid-area: resources;
}

.footer-col-legal,
.footer-legal-col {
	grid-area: legal;
}

.footer-badges {
	grid-area: badges;
	justify-items: start;
	justify-self: stretch;
}

.footer-mobile-hide {
	display: none;
}

.footer-col h2,
.footer-legal-col h2 {
	margin: 0 0 var(--space-4);
	color: #fff;
	font-size: 0.95rem;
	font-weight: 750;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.footer-col ul {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 0.45rem;
}

.footer-col a {
	color: rgba(255, 255, 255, 0.84);
	font-size: 0.94rem;
	font-weight: 450;
}

.memberships {
	display: grid;
	gap: 0.5rem;
	justify-items: start;
	width: 100%;
}

.memberships a {
	display: grid;
	place-items: center;
	border-radius: 0.25rem;
	padding: 0.3rem 0.4rem;
}

.membership-skills {
	background: var(--color-surface-bright);
	justify-self: start;
	padding: 0.35rem 0.45rem 0.3rem;
	overflow: hidden;
}

.membership-skills .skills-reverse {
	display: none;
}

.membership-skills .skills-colour {
	display: block;
	max-height: 2.85rem;
	object-fit: contain;
	object-position: center top;
}

.memberships a.membership-on-light {
	background: var(--color-surface-bright);
}

.memberships img {
	width: auto;
	max-height: 2.6rem;
}

.memberships .pair {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.5rem;
	width: min(10.5rem, 100%);
}

.memberships .pair a {
	min-height: 2.6rem;
}

.memberships .pair img {
	max-height: 2.25rem;
}

.footer-legalbar {
	border-top: 1px solid var(--color-line-strong);
	padding: var(--space-5) 0 var(--space-6);
}

.footer-legalbar p {
	margin: 0;
	color: var(--color-muted-on-dark);
	font-size: 0.72rem;
	line-height: 1.55;
	text-align: center;
}

.to-top {
	position: fixed;
	left: auto;
	right: calc(1.15rem + (var(--chat-fab) - 2.65rem) / 2);
	bottom: calc(var(--enrol-bar-h) + 0.85rem + var(--chat-fab) + 0.65rem);
	z-index: 60;
	display: grid;
	place-items: center;
	width: 2.65rem;
	height: 2.65rem;
	padding: 0;
	border: 0;
	border-radius: var(--radius-pill);
	background: #1a73e8;
	color: var(--color-text-on-dark);
	box-shadow: 0 4px 14px rgba(0, 12, 28, 0.28);
	opacity: 0;
	pointer-events: none;
	cursor: pointer;
}

.to-top.is-visible {
	opacity: 1;
	pointer-events: auto;
}

.to-top svg {
	width: 1.2rem;
	height: 1.2rem;
	fill: none;
	stroke: currentColor;
}

@media (min-width: 1040px) {
	:root {
		--gutter: 2rem;
	}

	li.desktop-only {
		display: list-item;
	}

	p.desktop-only {
		display: block;
	}

	.site-header {
		display: contents;
	}

	.site-header,
	.site-header button,
	.site-header a {
		font-family: var(--font-sans);
	}

	.site-header .wrap {
		width: min(var(--header-shell), calc(100% - 2.5rem));
		max-width: var(--header-shell);
		margin-inline: auto;
		padding-inline: 0;
	}

	.header-mobile {
		display: none;
	}

	.header-utility-band {
		display: block;
		position: sticky;
		top: 0;
		z-index: calc(var(--z-header) - 1);
		color: var(--color-text-on-dark);
		background: linear-gradient(
			135deg,
			var(--color-utility-from) 0%,
			var(--color-navy) 50%
		);
	}

	.header-utility-spacer {
		display: none;
	}

	.header-utility-inner {
		display: flex;
		align-items: center;
		justify-content: flex-end;
		gap: 1.15rem;
		min-height: var(--utility-h);
	}

	.utility-nav {
		display: flex;
		align-items: center;
		gap: 1.85rem;
	}

	.utility-nav a {
		display: inline-flex;
		align-items: center;
		gap: 0.32rem;
		color: var(--color-text-on-dark);
		font-family: var(--font-sans);
		font-size: 0.72rem;
		font-weight: 700;
		letter-spacing: 0.01em;
	}

	.utility-nav a[aria-current="page"] {
		color: var(--color-green) !important;
	}

	.utility-contact .phone-icon {
		width: 0.95rem;
		height: 0.95rem;
		overflow: visible;
	}

	.utility-contact .phone-body {
		fill: currentColor;
		stroke: none;
	}

	.utility-contact .phone-wave {
		fill: none;
		stroke: currentColor;
		stroke-width: 1.85;
		stroke-linecap: round;
	}

	.utility-actions {
		display: flex;
		align-items: center;
		gap: 0.35rem;
	}

	.utility-search,
	.utility-cart {
		width: 2rem;
		height: 2rem;
		color: var(--color-text-on-dark);
	}

	.utility-search svg {
		width: 1.15rem;
		height: 1.15rem;
		fill: none;
		stroke: currentColor;
		stroke-width: 2.35;
		stroke-linecap: round;
		stroke-linejoin: round;
	}

	.utility-cart svg {
		width: 1.2rem;
		height: 1.2rem;
		fill: currentColor;
		stroke: none;
	}

	.utility-cart .cart-badge {
		top: -0.12rem;
		right: 0.22rem;
	}

	.header-main-band {
		display: block;
		position: relative;
		z-index: var(--z-header);
		color: var(--color-text-on-dark);
		background: var(--color-navy);
		overflow: visible;
	}

	.header-main-inner {
		display: flex;
		align-items: stretch;
		justify-content: flex-start;
		gap: 0.75rem;
		min-height: var(--mainbar-h);
		/* Definite height so nav items can stretch to the bar bottom
		   (logo box 8.15rem + pad − overlap). Mega origin stays put. */
		height: max(var(--mainbar-h), calc(8.15rem + 0.45rem - var(--logo-overlap)));
		overflow: visible;
	}

	.header-main-inner .logo {
		position: relative;
		z-index: 2;
		margin-top: calc(var(--logo-overlap) * -1);
		align-self: flex-end;
		flex: 0 0 auto;
		padding-bottom: 0.45rem;
	}

	.header-main-inner .logo img {
		height: 8.15rem;
		max-width: none;
	}

	.header-main-row {
		display: flex;
		align-items: center;
		align-self: stretch;
		justify-content: flex-end;
		gap: 1.35rem;
		flex: 1 1 auto;
		min-width: 0;
		margin-left: auto;
	}

	.header-tools,
	.site-menu,
	.site-enrol-bar {
		display: none !important;
	}

	.primary-nav {
		display: flex;
		align-self: stretch;
		align-items: stretch;
		flex: 0 1 auto;
		min-width: 0;
	}

	.primary-nav > ul {
		display: flex;
		align-items: stretch;
		justify-content: flex-end;
		width: auto;
		height: 100%;
		gap: 0.95rem;
		margin: 0;
		padding: 0;
		list-style: none;
	}

	.nav-item {
		position: relative;
		z-index: 5;
		align-self: stretch;
		display: flex;
		align-items: center;
	}

	.nav-item > button.has-sub {
		position: relative;
		display: inline-flex;
		align-items: center;
		gap: 0.42rem;
		height: 2.35rem;
		padding: 0 0.45rem;
		border: 0;
		background: transparent;
		color: var(--color-text-on-dark);
		font-family: var(--font-sans);
		font-size: 1.0625rem;
		font-weight: 600;
		cursor: pointer;
	}

	.nav-item:hover > .has-sub::after,
	.nav-item:focus-within > .has-sub::after {
		content: "";
		position: absolute;
		left: 0.45rem;
		right: 1.55rem;
		bottom: 0.15rem;
		height: 2px;
		background: var(--color-green);
	}

	.nav-item-courses {
		position: static;
		z-index: 5;
	}

	.courses-mega {
		position: absolute;
		top: 100%;
		left: 50%;
		z-index: 4;
		width: min(var(--mega-shell), calc(100% - 2.5rem));
		margin: 0;
		padding: 0;
		background: var(--color-surface-bright);
		color: var(--color-navy);
		border: 0;
		border-top: 2px solid var(--color-green);
		border-radius: 0 0 var(--radius-md) var(--radius-md);
		box-shadow: 0 18px 40px rgba(0, 12, 28, 0.18);
		font-family: var(--font-sans);
		opacity: 0;
		visibility: hidden;
		transform: translateX(-50%);
		pointer-events: none;
	}

	.courses-mega::before {
		content: "";
		position: absolute;
		left: 0;
		right: 0;
		bottom: 100%;
		/* Gap-only bridge: diagonal Courses → panel stays open.
		   Must not cover sibling triggers (Group Bookings / Pathways / Resources). */
		height: 1.15rem;
	}

	.sub-menu::before {
		content: "";
		position: absolute;
		left: 0;
		right: 0;
		bottom: 100%;
		height: 0.85rem;
	}

	.nav-item:hover > .courses-mega,
	.nav-item.is-mega-open > .courses-mega,
	.nav-item > .has-sub:focus-visible + .courses-mega,
	.courses-mega:focus-within,
	.nav-item:hover > .sub-menu,
	.nav-item.is-mega-open > .sub-menu,
	.nav-item > .has-sub:focus-visible + .sub-menu,
	.sub-menu:focus-within {
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
	}

	.sub-menu {
		position: absolute;
		/* Same origin as .courses-mega: bottom of the main mega/nav bar */
		top: 100%;
		left: 0;
		z-index: 4;
		width: max-content;
		min-width: 14.5rem;
		margin: 0;
		padding: 0.45rem 0.25rem 0.55rem;
		list-style: none;
		background: var(--color-surface-bright);
		color: var(--color-navy);
		border: 0;
		border-top: 2px solid var(--color-green);
		border-radius: 0 0 var(--radius-md) var(--radius-md);
		box-shadow: 0 18px 40px rgba(0, 12, 28, 0.18);
		font-family: var(--font-sans);
		opacity: 0;
		visibility: hidden;
		pointer-events: none;
	}

	.sub-menu a {
		position: relative;
		display: block;
		padding: 0.55rem 1.05rem;
		color: var(--color-navy);
		font-family: var(--font-sans);
		font-size: 1.0625rem;
		font-weight: 400;
		line-height: 1.3;
	}

	.sub-menu li:not(:last-child) a::after {
		content: "";
		position: absolute;
		left: 1.05rem;
		right: 1.05rem;
		bottom: 0;
		height: 1px;
		background: color-mix(in srgb, var(--color-green) 32%, transparent);
		pointer-events: none;
	}

	.sub-menu a:hover,
	.sub-menu a:focus-visible {
		color: #0a3d66;
	}

	.courses-mega-inner {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 10.25rem;
		gap: 1.2rem;
		min-height: 22.5rem;
		padding: 1.75rem 1.4rem 1.85rem;
		font-family: var(--font-sans);
	}

	.courses-mega-cols {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(8rem, 0.62fr);
		gap: 1.25rem 0.7rem;
		min-width: 0;
	}

	.courses-mega-group {
		min-width: 0;
	}

	.courses-mega-group h3,
	.courses-mega-sub {
		display: flex;
		align-items: center;
		gap: 0.28rem;
		white-space: nowrap;
		color: var(--color-navy);
		font-size: 0.9rem;
		font-weight: 700;
		letter-spacing: 0;
		line-height: 1.2;
		text-transform: uppercase;
	}

	.courses-mega-heading {
		display: flex;
		align-items: center;
		gap: 0.28rem;
		margin: 0;
		padding: 0;
		color: inherit;
		font: inherit;
		letter-spacing: inherit;
		line-height: inherit;
		text-transform: inherit;
		text-decoration: none;
		white-space: nowrap;
	}

	.courses-mega-heading:hover,
	.courses-mega-heading:focus-visible {
		color: #0a3d66;
		text-decoration: underline;
		text-underline-offset: 0.18em;
	}

	.courses-mega-group h3 {
		margin: 0 0 0.45rem;
		padding-bottom: 0.4rem;
		border-bottom: 2px solid var(--color-green);
	}

	.courses-mega-group h3 img,
	.courses-mega-sub img {
		flex: 0 0 1.375rem;
		width: 1.375rem;
		height: 1.375rem;
		object-fit: contain;
	}

	.courses-mega-group h3 span,
	.courses-mega-sub span {
		min-width: max-content;
		white-space: nowrap;
	}

	.courses-mega-sub {
		margin: 0.85rem 0 0.45rem;
		padding-bottom: 0.4rem;
		border-bottom: 2px solid var(--color-green);
	}

	.courses-mega-group ul {
		margin: 0;
		padding: 0;
		list-style: none;
		display: grid;
		gap: 0;
	}

	.courses-mega-group ul a {
		display: block;
		padding: 0.38rem 0;
		color: var(--color-navy);
		font-family: var(--font-sans);
		font-size: 0.875rem;
		font-weight: 400;
		line-height: 1.3;
	}

	.courses-mega-group ul a:hover,
	.courses-mega-group ul a:focus-visible {
		color: #0a3d66;
	}

	.courses-mega-feature {
		display: flex;
		flex-direction: column;
		min-width: 0;
		padding: 0.15rem 0 0;
	}

	.courses-mega-kicker {
		margin: 0 0 0.65rem;
		color: var(--color-muted);
		font-size: 0.72rem;
		font-weight: 700;
		letter-spacing: 0.06em;
		text-transform: uppercase;
	}

	.courses-mega-kicker a {
		color: inherit;
		text-decoration: none;
	}

	.courses-mega-kicker a:hover,
	.courses-mega-kicker a:focus-visible {
		color: #0a3d66;
		text-decoration: underline;
		text-underline-offset: 0.18em;
	}

	.courses-mega-article {
		display: grid;
		gap: 0.55rem;
		margin-bottom: 0.95rem;
		color: var(--color-navy);
	}

	.courses-mega-article img {
		width: 100%;
		height: 6.5rem;
		object-fit: cover;
		border-radius: var(--radius-sm);
	}

	.courses-mega-article h3 {
		margin: 0;
		font-family: var(--font-sans);
		font-size: 0.95rem;
		font-weight: 700;
		line-height: 1.3;
	}

	.courses-mega-article p {
		margin: 0;
		color: var(--color-muted);
		font-size: 0.8125rem;
		font-weight: 400;
		line-height: 1.45;
	}

	.courses-mega-cta {
		align-self: flex-start;
		height: 2.15rem;
		padding: 0 1.05rem;
		border: 0;
		border-radius: var(--radius-cta);
		background: var(--color-green-cta);
		color: var(--color-text-on-dark);
		font-size: 0.8125rem;
		font-weight: 700;
		box-shadow: none;
	}

	.courses-mega-cta:hover,
	.courses-mega-cta:focus-visible {
		border: 0;
		background: var(--color-green-cta);
		box-shadow: none;
	}

	.header-enrol-full {
		display: inline-flex;
		height: 2.25rem;
		min-width: 6.9rem;
		padding: 0 1.2rem;
		border: 0;
		border-radius: var(--radius-cta);
		background: var(--color-green-cta);
		font-size: 0.875rem;
		font-weight: 700;
		line-height: 1;
	}

	.header-enrol-compact {
		display: none;
		height: 1.9rem;
		min-width: 6.8rem;
		padding: 0 1.15rem;
		border: 0;
		border-radius: var(--radius-cta);
		background: var(--color-green-cta);
		font-size: 0.8125rem;
		font-weight: 700;
		line-height: 1;
	}

	.site-header.is-scrolled .header-utility-band {
		box-shadow: var(--shadow-header);
	}

	.site-header.is-scrolled .utility-full {
		display: none;
	}

	.site-header.is-scrolled .header-enrol-compact {
		display: inline-flex;
		margin-left: 0.7rem;
	}

	.site-header.is-scrolled .utility-actions {
		gap: 0.85rem;
	}

	.site-chat {
		bottom: 1.35rem;
		right: 1.35rem;
	}

	.site-chat-close {
		display: none;
	}

	.site-footer {
		padding-bottom: 0;
	}

	.footer-enquiry {
		padding-block: 3.5rem;
	}

	.footer-subscribe {
		padding-block: 2.6rem 1.1rem;
	}

	.footer-subscribe .wrap {
		width: min(var(--header-shell), calc(100% - 2.5rem));
		max-width: var(--header-shell);
	}

	.subscribe-copy p {
		display: block;
	}

	.footer-mobile-hide {
		display: list-item;
	}

	.subscribe-row {
		display: grid;
		grid-template-columns: 1fr 1fr;
		align-items: start;
		gap: var(--space-10);
	}

	.subscribe-copy h2 {
		margin-bottom: 0.45rem;
		font-size: 1.45rem;
		font-weight: 650;
	}

	.subscribe-form {
		justify-self: end;
		width: min(28.5rem, 100%);
	}

	.subscribe-form .field-join {
		height: 2.55rem;
		border-radius: var(--radius-cta);
	}

	.subscribe-form .btn {
		border-radius: 0;
		padding: 0 1.1rem;
	}

	.subscribe-form p,
	.subscribe-copy p {
		margin-top: 0.4rem;
	}

	.footer-grid {
		grid-template-columns: 1fr 1fr 1fr 0.95fr;
		grid-template-areas: "courses resources legal brand";
		gap: var(--space-8);
		padding-block: 1.5rem 3rem;
	}

	.footer-col h2,
	.footer-legal-col h2 {
		color: #fff;
		font-size: 0.92rem;
		letter-spacing: 0;
		text-transform: none;
		font-weight: 650;
	}

	.footer-col a {
		color: rgba(255, 255, 255, 0.84);
		font-size: 0.9rem;
		font-weight: 500;
	}

	.footer-col ul {
		gap: 0.72rem;
	}

	.footer-brand-col {
		display: grid;
		grid-area: brand;
		justify-items: end;
		align-content: start;
		gap: var(--space-4);
		width: 100%;
	}

	.footer-brand,
	.footer-legal-col {
		grid-column: auto;
		grid-area: auto;
	}

	.footer-brand {
		justify-items: center;
		align-content: start;
		justify-self: end;
		padding: 0;
		text-align: center;
		gap: var(--space-4);
		width: 15.75rem;
	}

	.footer-brand .logo {
		align-items: center;
	}

	.footer-brand .logo img {
		height: 6.25rem;
	}

	.footer-brand .socials {
		justify-content: center;
	}

	.footer-badges {
		grid-area: auto;
		justify-items: stretch;
		justify-self: end;
		width: 15.75rem;
	}

	.memberships {
		justify-items: stretch;
		justify-self: end;
		width: 15.75rem;
	}

	.membership-skills {
		background: var(--color-surface-bright);
		justify-self: stretch;
		padding: 0.55rem 0.65rem 0.45rem;
		width: 100%;
		border-radius: 0.25rem;
	}

	.membership-skills .skills-reverse {
		display: none;
	}

	.membership-skills .skills-colour {
		display: block;
		max-height: 4.4rem;
		width: auto;
	}

	.memberships img {
		max-height: 4.6rem;
	}

	.memberships .pair {
		width: 100%;
		gap: 0.65rem;
	}

	.memberships .pair a {
		min-height: 4.5rem;
	}

	.memberships .pair img {
		max-height: 3.2rem;
	}

	.footer-legalbar {
		padding-block: 1.15rem 1.25rem;
	}

	.to-top {
		right: calc(1.35rem + (var(--chat-fab) - 2.65rem) / 2);
		bottom: calc(1.35rem + var(--chat-fab) + 0.65rem);
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		transition-duration: 0.01ms !important;
	}
}
