/*
Theme Name: Arka Kids
Theme URI: https://arkakids.com/
Author: Arka Kids International School
Author URI: https://arkakids.com/
Description: Montessori preschool and teacher-training theme for Arka Kids International School, a unit of Ideal Play Abacus India Pvt. Ltd. Warm cream and rust palette, Gabarito + Hanken Grotesk, a sectioned front page, program pages, and centre and gallery layouts. Requires the Arka Kids Core plugin for content and the Arka Kids Leads plugin for enquiries.
Version: 3.22.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: arkakids
Tags: education, custom-menu, custom-logo, featured-images, translation-ready, block-styles, wide-blocks
*/

/* ==========================================================================
   1. Tokens
   ========================================================================== */

:root {
	--ak-cream: #fbf6ee;
	--ak-sand: #f1e6d8;
	--ak-ink: #2b2320;
	--ak-ink-soft: #3e3226;
	--ak-rust: #b2461f;
	--ak-rust-dark: #8e3617;
	--ak-rust-deep: #9c3e22;
	--ak-amber: #e8a33d;
	--ak-amber-ink: #4a2f08;
	--ak-amber-soft: #ffd9a0;
	--ak-muted: #5a4c45;
	--ak-muted-2: #6b5c54;
	--ak-muted-3: #8a7a71;
	--ak-on-dark: #f3e9dd;
	--ak-on-dark-2: #d8cec2;
	--ak-on-dark-3: #c9b8ac;
	--ak-on-rust: #fdefe2;
	--ak-line: rgba(43, 35, 32, 0.14);
	--ak-line-strong: rgba(43, 35, 32, 0.25);
	--ak-line-soft: rgba(43, 35, 32, 0.08);
	--ak-field: #fff;
	--ak-max: 1400px;
	--ak-gutter: clamp(16px, 4vw, 56px);
	--ak-sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
	--ak-display: "Gabarito", system-ui, -apple-system, "Segoe UI", sans-serif;
	--ak-ease: cubic-bezier(0.2, 0, 0, 1);
	--ak-ease-out: cubic-bezier(0.16, 1, 0.3, 1);

	/* The main button. Site Content → Colours can change these three. */
	--ak-btn-bg: var(--ak-rust);
	--ak-btn-text: var(--ak-cream);
	--ak-btn-hover: var(--ak-rust-dark);
}

/* ==========================================================================
   2. Base
   ========================================================================== */

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

html {
	scroll-behavior: smooth;
	scroll-padding-top: 90px;
}

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

body {
	margin: 0;
	background: var(--ak-cream);
	color: var(--ak-ink);
	font-family: var(--ak-sans);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

a {
	color: var(--ak-rust);
	text-decoration: none;
}

a:hover {
	color: var(--ak-rust-dark);
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0;
	font-family: var(--ak-display);
	font-weight: 700;
	letter-spacing: -0.02em;
	text-wrap: balance;
}

p {
	margin: 0;
	text-wrap: pretty;
}

ul,
ol {
	margin: 0;
	padding: 0;
	list-style: none;
}

img {
	max-width: 100%;
	/* height:auto is what lets `aspect-ratio` win over the width/height
	   attributes WordPress prints on every the_post_thumbnail(). Without it the
	   attribute makes the height definite and every ratio in this file is
	   silently ignored. */
	height: auto;
}

figure {
	margin: 0;
}

button,
input,
select,
textarea {
	font: inherit;
	color: inherit;
}

:focus-visible {
	outline: 3px solid var(--ak-rust);
	outline-offset: 3px;
	border-radius: 4px;
}

.ak-sr-only {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

.ak-skip-link {
	position: absolute;
	left: -9999px;
	z-index: 100;
	padding: 12px 20px;
	background: var(--ak-ink);
	color: var(--ak-cream);
	border-radius: 0 0 12px 0;
}

.ak-skip-link:focus {
	left: 0;
	top: 0;
	color: var(--ak-cream);
}

/* ==========================================================================
   3. Layout helpers
   ========================================================================== */

.ak-shell {
	max-width: var(--ak-max);
	margin: 0 auto;
	padding: 0 var(--ak-gutter);
}

.ak-band {
	background: var(--ak-sand);
}

.ak-band--rust {
	background: var(--ak-rust);
	color: var(--ak-cream);
}

.ak-band__inner {
	max-width: var(--ak-max);
	margin: 0 auto;
	padding: clamp(36px, 4.5vw, 64px) var(--ak-gutter);
}

.ak-noscroll {
	scrollbar-width: none;
}

.ak-noscroll::-webkit-scrollbar {
	height: 0;
}

.ak-eyebrow {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ak-rust-deep);
}

.ak-lede {
	margin-top: 18px;
	font-size: clamp(16px, 1.4vw, 20px);
	line-height: 1.6;
	color: var(--ak-muted);
	max-width: 52ch;
}

/* ==========================================================================
   4. Motion
   ========================================================================== */

@keyframes ak-rise {
	from {
		opacity: 0;
		transform: translateY(18px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

@keyframes ak-pop {
	from {
		opacity: 0;
		transform: translateY(22px) scale(0.96);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

@keyframes ak-float {
	0%,
	100% {
		transform: rotate(-8deg) translateY(0);
	}
	50% {
		transform: rotate(-8deg) translateY(-9px);
	}
}

@media (prefers-reduced-motion: no-preference) {
	.ak-rise {
		animation: ak-rise 0.7s var(--ak-ease-out) both;
	}

	/*
	 * Reveals are driven by one IntersectionObserver in theme.js, which sets
	 * `ak-anim` on <html>. Scroll-driven CSS animations were tried here first
	 * but only Chromium supports them, and running both mechanisms meant the
	 * animation's computed value silently beat these declarations. Without
	 * JavaScript the class never lands and the content simply sits there
	 * visible — it is never parked at opacity 0 waiting for a script.
	 */
	.ak-anim .ak-reveal {
		opacity: 0;
		transform: translateY(18px);
		transition: opacity 0.6s var(--ak-ease-out), transform 0.6s var(--ak-ease-out);
	}

	.ak-anim .ak-reveal.is-in {
		opacity: 1;
		transform: none;
	}

	/* Children of a revealed grid come in one after another rather than as a
	   block — four cards landing in unison reads mechanical. */
	.ak-anim .ak-stagger > * {
		opacity: 0;
		transform: translateY(16px);
		transition: opacity 0.55s var(--ak-ease-out), transform 0.55s var(--ak-ease-out);
	}

	.ak-anim .ak-stagger.is-in > * {
		opacity: 1;
		transform: none;
	}

	.ak-anim .ak-stagger.is-in > *:nth-child(2) {
		transition-delay: 0.08s;
	}

	.ak-anim .ak-stagger.is-in > *:nth-child(3) {
		transition-delay: 0.16s;
	}

	.ak-anim .ak-stagger.is-in > *:nth-child(4) {
		transition-delay: 0.24s;
	}

	.ak-anim .ak-stagger.is-in > *:nth-child(5) {
		transition-delay: 0.32s;
	}

	.ak-anim .ak-stagger.is-in > *:nth-child(n + 6) {
		transition-delay: 0.4s;
	}

	/* Hero: one sequence on load rather than five separate arrivals. */
	.ak-fhero__copy .ak-rise:nth-child(2) {
		animation-delay: 0.07s;
	}

	.ak-fhero__copy .ak-rise:nth-child(3) {
		animation-delay: 0.14s;
	}

	.ak-fhero__copy .ak-rise:nth-child(4) {
		animation-delay: 0.21s;
	}

	.ak-fhero__form.ak-rise {
		animation-delay: 0.18s;
	}

	.ak-fhero__media.ak-rise {
		animation-delay: 0.3s;
	}

	.ak-float {
		animation: ak-float 4.5s ease-in-out infinite;
	}

	@supports (animation-timeline: view()) {
		.ak-pop {
			animation: ak-pop linear both;
			animation-timeline: view(inline);
			animation-range: entry 0% entry 70%;
		}
	}
}

@media (prefers-reduced-motion: reduce) {
	.ak-float {
		transform: rotate(-8deg);
	}
}

/* ==========================================================================
   5. Buttons and links
   ========================================================================== */

.ak-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 52px;
	padding: 0 26px;
	border: 0;
	border-radius: 999px;
	font-family: var(--ak-sans);
	font-weight: 600;
	font-size: 16px;
	cursor: pointer;
	text-align: center;
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease,
		transform 0.15s var(--ak-ease);
}

.ak-btn--primary {
	background: var(--ak-btn-bg);
	color: var(--ak-btn-text);
}

.ak-btn--primary:hover {
	background: var(--ak-btn-hover);
	color: var(--ak-btn-text);
	transform: translateY(-2px);
}

.ak-btn--ink {
	background: var(--ak-ink);
	color: var(--ak-cream);
	font-family: var(--ak-display);
}

.ak-btn--ink:hover {
	background: #453a35;
	color: var(--ak-cream);
}

.ak-btn--ghost {
	background: none;
	border: 1.5px solid var(--ak-line-strong);
	color: var(--ak-ink);
}

.ak-btn--ghost:hover {
	border-color: var(--ak-ink);
	color: var(--ak-ink);
	transform: translateY(-2px);
}

.ak-btn--onrust {
	background: var(--ak-cream);
	color: var(--ak-rust);
}

.ak-btn--onrust:hover {
	color: var(--ak-rust-dark);
	transform: translateY(-2px);
}

.ak-btn--onrust-ghost {
	background: none;
	border: 1.5px solid rgba(251, 246, 238, 0.5);
	color: var(--ak-cream);
}

.ak-btn--onrust-ghost:hover {
	border-color: var(--ak-cream);
	color: var(--ak-cream);
	transform: translateY(-2px);
}

.ak-btn:active {
	transform: scale(0.97);
}

.ak-textlink {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 44px;
	font-weight: 600;
}

.ak-textlink--underline {
	text-decoration: underline;
	text-underline-offset: 4px;
}

/* Pill filter / tab buttons ------------------------------------------------ */

.ak-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.ak-tab {
	min-height: 44px;
	padding: 0 18px;
	border-radius: 999px;
	border: 1.5px solid rgba(43, 35, 32, 0.22);
	background: none;
	color: var(--ak-ink);
	font-family: var(--ak-display);
	font-weight: 600;
	font-size: 15px;
	cursor: pointer;
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease,
		transform 0.15s var(--ak-ease);
}

.ak-tab:hover {
	border-color: var(--ak-ink);
}

.ak-tab[aria-selected="true"],
.ak-tab[aria-pressed="true"] {
	background: var(--ak-ink);
	border-color: var(--ak-ink);
	color: var(--ak-cream);
}

.ak-tab:active {
	transform: scale(0.98);
}

/* Round arrow controls ----------------------------------------------------- */

.ak-railnav {
	display: flex;
	gap: 8px;
}

.ak-railbtn {
	width: clamp(44px, 11vw, 48px);
	height: clamp(44px, 11vw, 48px);
	border-radius: 999px;
	border: 1.5px solid rgba(43, 35, 32, 0.24);
	background: none;
	cursor: pointer;
	font-size: 18px;
	line-height: 1;
	transition: transform 0.15s var(--ak-ease), border-color 0.15s ease;
}

.ak-railbtn:hover {
	border-color: var(--ak-ink);
}

.ak-railbtn:active {
	transform: scale(0.95);
}

/* ==========================================================================
   6. Header and navigation
   ========================================================================== */

.ak-header {
	position: sticky;
	top: 0;
	z-index: 40;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	height: 76px;
	background: rgba(251, 246, 238, 0.92);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--ak-line-soft);
}

.ak-brand {
	display: flex;
	align-items: center;
	gap: 12px;
	color: var(--ak-ink);
	flex: 0 1 auto;
	min-width: 0;
}

.ak-brand:hover {
	color: var(--ak-ink);
}

.ak-brand img {
	/*
	 * A logo is rarely square. Cropping one to a square box cut the school's
	 * name off its own wordmark, so the box is a maximum the whole logo fits
	 * inside, whatever shape it is.
	 */
	height: 46px;
	width: auto;
	max-width: 190px;
	flex: 0 0 auto;
	object-fit: contain;
	object-position: left center;
	display: block;
}

.ak-brand__text {
	display: flex;
	flex-direction: column;
	line-height: 1.1;
}

.ak-brand__name {
	font-family: var(--ak-display);
	font-size: 19px;
	font-weight: 700;
}

.ak-brand__sub {
	font-size: 11px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--ak-muted-3);
}

.ak-header__cta {
	display: none;
}

.ak-burger {
	display: none;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 48px;
	height: 48px;
	border-radius: 999px;
	border: 1.5px solid rgba(43, 35, 32, 0.22);
	background: none;
	cursor: pointer;
	font-size: 20px;
	line-height: 1;
}

.ak-nav {
	display: flex;
	align-items: center;
	gap: clamp(16px, 1.8vw, 30px);
	font-size: 16px;
	font-weight: 500;
}

.ak-nav a {
	color: var(--ak-ink);
	white-space: nowrap;
	transition: color 0.15s ease;
}

.ak-nav a:hover,
.ak-nav a.current-menu-item,
.ak-nav a.current-menu-ancestor,
.ak-nav a.current_page_item,
.ak-nav .current-menu-item > a,
.ak-nav .current-menu-ancestor > a {
	color: var(--ak-rust);
}

.ak-nav .menu-item-has-children {
	position: relative;
}

.ak-nav__toggle {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	height: 44px;
	padding: 0;
	background: none;
	border: 0;
	cursor: pointer;
	font-weight: 500;
	font-size: 16px;
	white-space: nowrap;
	color: var(--ak-ink);
}

.ak-nav__caret {
	display: inline-flex;
	align-items: center;
	transition: transform 0.15s var(--ak-ease);
}

.ak-nav__caret svg {
	width: 11px;
	height: 8px;
	display: block;
}

.ak-nav__toggle[aria-expanded="true"] .ak-nav__caret {
	transform: rotate(180deg);
}

.ak-nav .sub-menu {
	position: absolute;
	top: calc(100% + 8px);
	left: -10px;
	min-width: 230px;
	padding: 8px;
	border-radius: 16px;
	background: var(--ak-cream);
	border: 1px solid rgba(43, 35, 32, 0.12);
	box-shadow: 0 18px 40px rgba(43, 35, 32, 0.14);
	transform-origin: top left;
	opacity: 0;
	transform: scale(0.97) translateY(-4px);
	pointer-events: none;
	transition: opacity 0.15s ease, transform 0.15s var(--ak-ease);
}

.ak-nav .menu-item-has-children.is-open > .sub-menu,
.ak-nav .menu-item-has-children:hover > .sub-menu,
.ak-nav .menu-item-has-children:focus-within > .sub-menu {
	opacity: 1;
	transform: scale(1) translateY(0);
	pointer-events: auto;
}

.ak-nav .sub-menu a {
	display: block;
	padding: 11px 14px;
	border-radius: 10px;
	color: var(--ak-ink);
	white-space: nowrap;
}

.ak-nav .sub-menu a:hover {
	background: var(--ak-sand);
	color: var(--ak-ink);
}

.ak-nav__book {
	display: inline-flex;
	align-items: center;
	height: 44px;
	padding: 0 22px;
	border-radius: 999px;
	background: var(--ak-btn-bg);
	color: var(--ak-btn-text);
	font-weight: 600;
	white-space: nowrap;
	transition: background 0.15s ease, transform 0.15s var(--ak-ease);
}

.ak-nav__book:hover {
	background: var(--ak-btn-hover);
	color: var(--ak-btn-text);
	transform: translateY(-2px);
}

/*
 * The button sits inside .ak-nav, whose link rules (.ak-nav a, and the rust
 * hover / current-page colour) are more specific than .ak-nav__book and were
 * turning its text dark — and rust on rust on hover. Named here with the
 * same weight so the button keeps its own colours in every state.
 */
.ak-nav a.ak-nav__book,
.ak-nav a.ak-nav__book:visited,
.ak-nav a.ak-nav__book.current-menu-item,
.ak-nav a.ak-nav__book.current_page_item {
	color: var(--ak-btn-text);
}

.ak-nav a.ak-nav__book:hover,
.ak-nav a.ak-nav__book:focus-visible {
	background: var(--ak-btn-hover);
	color: var(--ak-btn-text);
}

@media (max-width: 899px) {
	.ak-header {
		gap: 10px;
	}

	.ak-brand__text {
		display: none;
	}

	.ak-header__cta {
		display: inline-flex;
		align-items: center;
		flex: 0 0 auto;
		margin-left: auto;
		height: 46px;
		padding: 0 18px;
		border-radius: 999px;
		background: var(--ak-btn-bg);
		color: var(--ak-btn-text);
		font-family: var(--ak-display);
		font-weight: 600;
		font-size: 15px;
		white-space: nowrap;
	}

	.ak-burger {
		display: inline-flex;
	}

	.ak-nav {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		gap: 4px;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		padding: 18px var(--ak-gutter) 24px;
		background: var(--ak-cream);
		border-bottom: 1px solid rgba(43, 35, 32, 0.12);
		box-shadow: 0 18px 40px rgba(43, 35, 32, 0.14);
		font-size: 17px;
		font-weight: 500;
	}

	.js .ak-nav {
		display: none;
	}

	.js .ak-header.is-open .ak-nav {
		display: flex;
	}

	/* Without JS the drawer is always open, so it flows rather than overlays. */
	html:not(.js) .ak-nav {
		position: static;
		box-shadow: none;
	}

	.ak-nav a {
		display: flex;
		align-items: center;
		min-height: 48px;
	}

	.ak-nav__toggle {
		min-height: 48px;
		height: auto;
		font-size: 17px;
	}

	.ak-nav__caret svg {
		width: 13px;
		height: 9px;
	}

	.ak-nav .sub-menu {
		position: static;
		display: flex;
		flex-direction: column;
		gap: 2px;
		min-width: 0;
		padding: 4px 0 4px 10px;
		border: 0;
		border-left: 2px solid rgba(43, 35, 32, 0.14);
		border-radius: 0;
		background: none;
		box-shadow: none;
		opacity: 1;
		transform: none;
		pointer-events: auto;
	}

	.js .ak-nav .sub-menu {
		display: none;
	}

	.js .ak-nav .menu-item-has-children.is-open > .sub-menu {
		display: flex;
	}

	.ak-nav .sub-menu a {
		min-height: 46px;
		padding: 0 14px;
		border-radius: 10px;
	}

	.ak-nav__book {
		justify-content: center;
		height: 48px;
		margin-top: 8px;
	}
}

/* ==========================================================================
   7. Front page — hero
   ========================================================================== */

.ak-hero {
	padding: clamp(20px, 4vw, 56px) 0 clamp(28px, 4vw, 56px);
	display: flex;
	flex-wrap: wrap;
	gap: clamp(22px, 4vw, 72px);
	align-items: center;
}

.ak-hero__copy {
	flex: 1.05 1 440px;
	min-width: min(100%, 300px);
}

.ak-hero__kicker {
	font-family: var(--ak-display);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--ak-rust);
	margin-bottom: clamp(16px, 2vw, 24px);
}

.ak-hero__title {
	font-size: clamp(40px, 5.6vw, 80px);
	line-height: 1.03;
	font-weight: 800;
	max-width: 15ch;
	animation-delay: 0.08s;
}

.ak-hero__rotator {
	display: inline-grid;
	vertical-align: bottom;
	overflow: hidden;
}

.ak-hero__rotator span {
	display: block;
	grid-area: 1 / 1;
	color: var(--ak-rust);
}

.ak-hero__sub {
	margin-top: clamp(18px, 2vw, 26px);
	font-size: clamp(17px, 1.5vw, 21px);
	line-height: 1.55;
	color: var(--ak-muted);
	max-width: 40ch;
	animation-delay: 0.16s;
}

.ak-hero__ctas {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: clamp(22px, 3vw, 34px);
	animation-delay: 0.24s;
}

.ak-hero__media {
	flex: 1 1 380px;
	min-width: min(100%, 300px);
	position: relative;
	animation-delay: 0.12s;
}

.ak-hero__frame {
	position: relative;
	width: 100%;
	border-radius: 36px;
	overflow: hidden;
	background: var(--ak-sand);
	aspect-ratio: 4 / 5;
}

.ak-hero__slide {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	opacity: 0;
	transform: scale(1);
	transition: opacity 0.7s ease, transform 7s linear;
}

.ak-hero__slide.is-active {
	opacity: 1;
	transform: scale(1.05);
}

.ak-hero__badge {
	position: absolute;
	top: 10px;
	right: 8px;
	display: grid;
	place-items: center;
	width: clamp(86px, 9vw, 118px);
	height: clamp(86px, 9vw, 118px);
	border-radius: 999px;
	background: var(--ak-amber);
	color: var(--ak-ink);
	font-family: var(--ak-display);
	font-weight: 700;
	font-size: clamp(14px, 1.3vw, 17px);
	line-height: 1.15;
	text-align: center;
	box-shadow: 0 12px 28px rgba(43, 35, 32, 0.18);
}

.ak-hero__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-top: 18px;
}

.ak-hero__dots {
	display: flex;
	gap: 0;
}

.ak-hero__dot {
	height: 44px;
	min-width: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: none;
	border: 0;
	padding: 0;
	cursor: pointer;
}

.ak-hero__dot span {
	display: block;
	width: 10px;
	height: 10px;
	border-radius: 999px;
	background: rgba(43, 35, 32, 0.24);
	transition: width 0.25s var(--ak-ease), background 0.2s ease;
}

.ak-hero__dot.is-active span {
	width: 30px;
	background: var(--ak-rust);
}

.ak-hero__count {
	display: inline-flex;
	align-items: center;
	padding: 10px 18px;
	border-radius: 999px;
	background: var(--ak-ink);
	color: var(--ak-cream);
	font-family: var(--ak-display);
	font-weight: 600;
	font-size: 15px;
}

@media (max-width: 899px) {
	.ak-hero__title {
		font-size: clamp(30px, 8.6vw, 38px);
		line-height: 1.08;
		max-width: none;
	}

	.ak-hero__sub {
		margin-top: 12px;
		font-size: 16px;
		line-height: 1.5;
	}

	.ak-hero__ctas {
		flex-direction: column;
		align-items: stretch;
		gap: 10px;
		margin-top: 18px;
	}

	.ak-hero__ctas .ak-btn {
		width: 100%;
	}

	.ak-hero__frame {
		border-radius: 26px;
		aspect-ratio: 16 / 11;
	}
}

/* ==========================================================================
   8. Front page — stat strip
   ========================================================================== */

.ak-stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1px;
	background: rgba(43, 35, 32, 0.14);
	border-top: 1px solid rgba(43, 35, 32, 0.14);
	border-bottom: 1px solid rgba(43, 35, 32, 0.14);
}

.ak-stats__item {
	background: var(--ak-cream);
	padding: clamp(18px, 4vw, 26px) 6px;
}

.ak-stats__item + .ak-stats__item {
	padding-left: clamp(10px, 3vw, 20px);
}

.ak-stats__num {
	font-family: var(--ak-display);
	font-size: clamp(20px, 5vw, 40px);
	font-weight: 700;
	line-height: 1;
}

.ak-stats__label {
	font-size: clamp(12px, 3.4vw, 15px);
	line-height: 1.35;
	color: var(--ak-muted);
	margin-top: 8px;
}

/* Rounded variant used on the About page */
.ak-stats--boxed {
	border: 0;
	background: rgba(43, 35, 32, 0.12);
	border-radius: 20px;
	overflow: hidden;
}

.ak-stats--boxed .ak-stats__item {
	padding: clamp(18px, 3vw, 30px) clamp(12px, 2vw, 26px);
}

.ak-stats--boxed .ak-stats__num {
	font-size: clamp(24px, 4vw, 42px);
}

/* ==========================================================================
   9. Front page — programs accordion
   ========================================================================== */

.ak-section {
	padding: clamp(56px, 9vw, 128px) 0 clamp(24px, 4vw, 48px);
}

.ak-section__head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: clamp(28px, 4vw, 48px);
}

.ak-section__title {
	font-size: clamp(32px, 4.4vw, 60px);
	line-height: 1.05;
	max-width: 18ch;
}

.ak-dots {
	display: inline-flex;
	gap: 7px;
	margin-left: 14px;
	vertical-align: middle;
}

.ak-dots span {
	width: 13px;
	height: 13px;
	border-radius: 999px;
	display: block;
}

.ak-dots span:nth-child(1) {
	background: var(--ak-rust);
}

.ak-dots span:nth-child(2) {
	background: var(--ak-amber);
}

.ak-dots span:nth-child(3) {
	background: var(--ak-ink);
}

.ak-proglist {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.ak-prog {
	border-radius: 20px;
	overflow: hidden;
}

.ak-prog--ink {
	background: var(--ak-ink);
	color: var(--ak-cream);
}

.ak-prog--amber {
	background: var(--ak-amber);
	color: var(--ak-ink);
}

.ak-prog--sand {
	background: var(--ak-sand);
	color: var(--ak-ink);
}

.ak-prog--rust {
	background: var(--ak-rust);
	color: var(--ak-cream);
}

.ak-prog__head {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: clamp(16px, 2.2vw, 24px) clamp(18px, 2.4vw, 28px);
	background: none;
	border: 0;
	cursor: pointer;
	color: inherit;
	min-height: 64px;
	text-align: left;
}

.ak-prog__headtext {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
}

.ak-prog__age {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.ak-prog--ink .ak-prog__age {
	color: var(--ak-amber);
}

.ak-prog--amber .ak-prog__age {
	color: var(--ak-amber-ink);
}

.ak-prog--sand .ak-prog__age {
	color: var(--ak-rust-deep);
}

.ak-prog--rust .ak-prog__age {
	color: var(--ak-amber-soft);
}

.ak-prog__name {
	font-family: var(--ak-display);
	font-weight: 700;
	font-size: clamp(19px, 2.2vw, 28px);
	line-height: 1.15;
}

.ak-prog__sign {
	flex: 0 0 auto;
	width: 36px;
	height: 36px;
	border-radius: 999px;
	display: grid;
	place-items: center;
	font-size: 18px;
	line-height: 1;
	border: 1.5px solid rgba(43, 35, 32, 0.25);
}

.ak-prog--ink .ak-prog__sign,
.ak-prog--rust .ak-prog__sign {
	border-color: rgba(251, 246, 238, 0.4);
}

/*
 * Panels are open by default so the content is readable with JavaScript off.
 * The `js` class is set on <html> by an inline script in the head before the
 * page paints, so there is no flash of expanded content.
 */
.ak-panel {
	display: grid;
	grid-template-rows: 1fr;
	opacity: 1;
	visibility: visible;
	transition: grid-template-rows 0.24s var(--ak-ease), opacity 0.2s ease,
		visibility 0.24s;
}

.js .ak-panel {
	grid-template-rows: 0fr;
	opacity: 0;
	visibility: hidden;
}

.js .ak-panel.is-open {
	grid-template-rows: 1fr;
	opacity: 1;
	visibility: visible;
}

.ak-panel__inner {
	overflow: hidden;
	min-height: 0;
}

.ak-prog__body {
	display: flex;
	flex-wrap: wrap;
	gap: clamp(14px, 2vw, 28px);
	align-items: center;
	padding: 0 clamp(18px, 2.4vw, 28px) clamp(18px, 2.4vw, 28px);
}

.ak-prog__img {
	flex: 0 0 auto;
	width: clamp(120px, 26vw, 260px);
	aspect-ratio: 4 / 3;
	border-radius: 14px;
	background-size: cover;
	background-position: center;
}

.ak-prog__text {
	flex: 1 1 260px;
	min-width: min(100%, 240px);
}

.ak-prog__blurb {
	font-size: 16px;
	line-height: 1.6;
	max-width: 52ch;
	color: var(--ak-ink-soft);
}

.ak-prog--ink .ak-prog__blurb,
.ak-prog--rust .ak-prog__blurb {
	color: var(--ak-cream);
}

.ak-prog__link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 44px;
	margin-top: 10px;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 4px;
	color: var(--ak-rust);
}

.ak-prog--ink .ak-prog__link {
	color: var(--ak-amber);
}

.ak-prog--rust .ak-prog__link {
	color: var(--ak-amber-soft);
}

/* ==========================================================================
   10. Front page — about, vision, why
   ========================================================================== */

.ak-about {
	padding: clamp(48px, 8vw, 112px) 0;
	display: flex;
	flex-wrap: wrap;
	gap: clamp(28px, 4vw, 72px);
	align-items: center;
}

.ak-about__media {
	flex: 1 1 340px;
	min-width: min(100%, 280px);
	position: relative;
}

.ak-about__shape {
	position: absolute;
	inset: auto 0 0 auto;
	width: 72%;
	height: 82%;
	border-radius: 28px;
	background: var(--ak-amber);
}

.ak-about__media img {
	position: relative;
	width: 88%;
	aspect-ratio: 5 / 4;
	max-height: clamp(240px, 46vh, 460px);
	object-fit: cover;
	border-radius: 28px;
	display: block;
	margin-top: 26px;
}

.ak-about__copy {
	flex: 1.25 1 420px;
	min-width: min(100%, 300px);
}

.ak-about__title {
	font-size: clamp(30px, 3.6vw, 50px);
	line-height: 1.1;
	max-width: 20ch;
}

.ak-about__text {
	margin-top: 22px;
	font-size: clamp(16px, 1.4vw, 19px);
	line-height: 1.65;
	color: var(--ak-muted);
	max-width: 54ch;
}

.ak-about__points {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 18px 24px;
	margin-top: 30px;
	padding-top: 26px;
	border-top: 1px solid rgba(43, 35, 32, 0.16);
}

.ak-about__points dt {
	font-family: var(--ak-display);
	font-weight: 700;
	font-size: 17px;
}

.ak-about__points dd {
	margin: 6px 0 0;
	font-size: 15px;
	line-height: 1.55;
	color: var(--ak-muted);
}

.ak-vision {
	padding: 0 0 clamp(56px, 9vw, 120px);
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: clamp(24px, 4vw, 56px);
}

.ak-vision__lead h2 {
	font-size: clamp(26px, 2.6vw, 34px);
	line-height: 1.15;
}

.ak-blocks {
	display: flex;
	gap: 8px;
	margin-top: 22px;
}

.ak-blocks span {
	width: 34px;
	height: 34px;
	display: block;
	/* The base rotation lives in a custom property so the keyframes can keep it
	   while animating translate — otherwise the bob would flatten the tilt. */
	transform: rotate(var(--r));
}

.ak-blocks span:nth-child(1) {
	--r: -6deg;
	border-radius: 9px;
	background: var(--ak-rust);
}

.ak-blocks span:nth-child(2) {
	--r: 4deg;
	border-radius: 9px;
	background: var(--ak-amber);
}

.ak-blocks span:nth-child(3) {
	--r: 0deg;
	border-radius: 999px;
	background: var(--ak-ink);
}

@keyframes ak-blocks-in {
	from {
		opacity: 0;
		transform: rotate(var(--r)) scale(0.4);
	}
	to {
		opacity: 1;
		transform: rotate(var(--r)) scale(1);
	}
}

@keyframes ak-blocks-bob {
	0%,
	100% {
		transform: rotate(var(--r)) translateY(0);
	}
	50% {
		transform: rotate(var(--r)) translateY(-5px);
	}
}

@media (prefers-reduced-motion: no-preference) {
	.ak-blocks span {
		animation: ak-blocks-in 0.55s var(--ak-ease-out) both,
			ak-blocks-bob 4.5s ease-in-out infinite;
	}

	/* Second delay starts the bob only once the pop-in has finished. */
	.ak-blocks span:nth-child(1) {
		animation-delay: 0s, 0.55s;
	}

	.ak-blocks span:nth-child(2) {
		animation-delay: 0.09s, 0.74s;
	}

	.ak-blocks span:nth-child(3) {
		animation-delay: 0.18s, 0.93s;
	}
}

.ak-blocks--tight {
	margin-top: 18px;
}

/* The 404 page is centre-aligned, so the motif has to be too. */
.ak-blocks--center {
	justify-content: center;
	margin-top: 26px;
}

.ak-vision__card {
	min-width: 0;
	border-top: 2px solid var(--ak-ink);
	padding-top: 20px;
}

.ak-vision__card h3 {
	font-size: 20px;
}

.ak-vision__card p {
	margin-top: 12px;
	font-size: 17px;
	line-height: 1.6;
	color: var(--ak-muted);
}

.ak-why {
	padding: 0 0 clamp(56px, 9vw, 120px);
}

.ak-why__head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: clamp(28px, 4vw, 52px);
}

.ak-why__head h2 {
	font-size: clamp(32px, 4.4vw, 60px);
	line-height: 1.05;
	max-width: 20ch;
}

.ak-arches {
	display: inline-flex;
	align-items: flex-end;
	gap: 6px;
	flex: 0 0 auto;
}

.ak-arches span {
	display: block;
	border-radius: 999px 999px 0 0;
}

.ak-arches span:nth-child(1) {
	width: 34px;
	height: 17px;
	background: var(--ak-amber);
}

.ak-arches span:nth-child(2) {
	width: 48px;
	height: 24px;
	background: var(--ak-rust);
}

.ak-arches span:nth-child(3) {
	width: 62px;
	height: 31px;
	background: var(--ak-ink);
}

.ak-why__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: clamp(18px, 2.5vw, 36px);
	align-items: start;
}

.ak-why__item {
	min-width: 0;
}

.ak-why__item img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	border-radius: 24px;
	display: block;
	transition: transform 0.2s var(--ak-ease);
}

.ak-why__item:nth-child(1) img {
	transform: rotate(-1.6deg);
}

.ak-why__item:nth-child(2) img {
	transform: rotate(1.8deg);
}

.ak-why__item:nth-child(3) img {
	transform: rotate(-1.2deg);
}

.ak-why__item img:hover {
	transform: rotate(0deg);
}

.ak-why__item h3 {
	font-size: 22px;
	margin-top: 20px;
}

.ak-why__item p {
	margin-top: 10px;
	font-size: 16px;
	line-height: 1.6;
	color: var(--ak-muted);
}

@media (max-width: 899px) {
	.ak-why__grid {
		display: flex;
		flex-direction: column;
		gap: 18px;
	}

	.ak-why__item {
		display: flex;
		align-items: center;
		gap: 16px;
	}

	.ak-why__item img {
		flex: 0 0 auto;
		width: 108px;
		aspect-ratio: 1 / 1;
		border-radius: 18px;
	}

	.ak-why__item h3 {
		font-size: 19px;
		line-height: 1.2;
		margin-top: 0;
	}

	.ak-why__item p {
		margin-top: 6px;
		font-size: 15px;
		line-height: 1.5;
	}
}

/* ==========================================================================
   11. Gallery rail (front page)
   ========================================================================== */

.ak-rail-section {
	padding: 0 0 clamp(56px, 9vw, 120px);
}

.ak-rail-section__head {
	max-width: var(--ak-max);
	margin: 0 auto;
	padding: 0 var(--ak-gutter);
	display: flex;
	flex-wrap: wrap;
	align-items: end;
	justify-content: space-between;
	gap: 16px;
}

.ak-rail-section__title {
	display: flex;
	align-items: center;
	gap: 14px;
}

.ak-rail-section__title h2 {
	font-size: clamp(26px, 2.6vw, 34px);
	line-height: 1.15;
}

.ak-lookin {
	display: grid;
	place-items: center;
	width: 54px;
	height: 54px;
	border-radius: 999px;
	background: var(--ak-amber);
	color: var(--ak-ink);
	font-family: var(--ak-display);
	font-weight: 700;
	font-size: 13px;
	line-height: 1.1;
	text-align: center;
}

.ak-rail {
	display: flex;
	align-items: center;
	gap: clamp(14px, 1.8vw, 24px);
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	padding: clamp(22px, 3vw, 34px)
		max(var(--ak-gutter), calc((100% - var(--ak-max)) / 2 + var(--ak-gutter)))
		10px;
}

.ak-rail figure {
	flex: 0 0 auto;
	scroll-snap-align: center;
}

.ak-rail img {
	width: 100%;
	object-fit: cover;
	border-radius: 22px;
	display: block;
	transition: transform 0.2s var(--ak-ease), box-shadow 0.2s ease;
}

.ak-rail img:hover {
	transform: rotate(0deg) scale(1.02);
	box-shadow: 0 18px 36px rgba(43, 35, 32, 0.16);
}

.ak-rail figure:nth-child(6n + 1) {
	width: clamp(170px, 26vw, 320px);
	animation-delay: 0.05s;
}
.ak-rail figure:nth-child(6n + 1) img {
	aspect-ratio: 3 / 4;
	transform: rotate(-1.8deg);
}
.ak-rail figure:nth-child(6n + 2) {
	width: clamp(210px, 34vw, 430px);
	animation-delay: 0.12s;
}
.ak-rail figure:nth-child(6n + 2) img {
	aspect-ratio: 16 / 10;
	transform: rotate(1.4deg);
}
.ak-rail figure:nth-child(6n + 3) {
	width: clamp(155px, 22vw, 280px);
	animation-delay: 0.19s;
}
.ak-rail figure:nth-child(6n + 3) img {
	aspect-ratio: 1 / 1;
	transform: rotate(-1.2deg);
}
.ak-rail figure:nth-child(6n + 4) {
	width: clamp(195px, 30vw, 380px);
	animation-delay: 0.26s;
}
.ak-rail figure:nth-child(6n + 4) img {
	aspect-ratio: 4 / 3;
	transform: rotate(1.8deg);
}
.ak-rail figure:nth-child(6n + 5) {
	width: clamp(165px, 24vw, 300px);
	animation-delay: 0.33s;
}
.ak-rail figure:nth-child(6n + 5) img {
	aspect-ratio: 3 / 4;
	transform: rotate(-1.4deg);
}
.ak-rail figure:nth-child(6n + 6) {
	width: clamp(195px, 30vw, 380px);
	animation-delay: 0.4s;
}
.ak-rail figure:nth-child(6n + 6) img {
	aspect-ratio: 4 / 3;
	transform: rotate(1.2deg);
}

.ak-rail__cta {
	flex: 0 0 auto;
	width: clamp(170px, 24vw, 260px);
	aspect-ratio: 1 / 1;
	scroll-snap-align: center;
	display: grid;
	place-items: center;
	text-align: center;
	padding: 24px;
	border-radius: 22px;
	background: var(--ak-rust);
	color: var(--ak-cream);
	font-family: var(--ak-display);
	font-weight: 700;
	font-size: clamp(18px, 1.8vw, 22px);
	line-height: 1.25;
	animation-delay: 0.47s;
	transition: background 0.2s ease, transform 0.2s var(--ak-ease);
}

.ak-rail__cta:hover {
	background: var(--ak-rust-dark);
	color: var(--ak-cream);
	transform: translateY(-4px);
}

/* ==========================================================================
   12. Testimonials
   ========================================================================== */

.ak-quotes__lead {
	display: flex;
	flex-wrap: wrap;
	gap: clamp(22px, 3vw, 44px);
	align-items: center;
}

.ak-quotes__feature {
	flex: 1.4 1 440px;
	min-width: min(100%, 300px);
}

.ak-quotes__feature h2 {
	font-size: clamp(22px, 2vw, 28px);
	line-height: 1.15;
}

.ak-rating {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px 14px;
	margin: 14px 0 clamp(16px, 2vw, 22px);
}

.ak-rating__stars {
	display: inline-flex;
	gap: 3px;
	color: #9c6510;
	font-size: 19px;
	line-height: 1;
}

.ak-rating__note {
	font-size: 15px;
	color: var(--ak-ink-soft);
}

.ak-bigquote {
	margin: 0;
	position: relative;
	padding-left: 0.42em;
	font-family: var(--ak-display);
	font-size: clamp(23px, 2.4vw, 34px);
	line-height: 1.18;
	font-weight: 700;
	max-width: 22ch;
}

.ak-bigquote::before {
	content: "\201C";
	position: absolute;
	left: -0.06em;
	top: -0.18em;
	font-size: 1.9em;
	line-height: 1;
	color: var(--ak-rust);
	opacity: 0.22;
}

.ak-quotes__by {
	margin-top: 20px;
	display: flex;
	align-items: center;
	gap: 14px;
}

.ak-avatar {
	width: 46px;
	height: 46px;
	border-radius: 999px;
	background: var(--ak-rust);
	color: var(--ak-cream);
	display: grid;
	place-items: center;
	font-family: var(--ak-display);
	font-weight: 700;
	font-size: 17px;
	flex: 0 0 auto;
}

.ak-avatar--amber {
	background: var(--ak-amber);
	color: var(--ak-ink);
}

.ak-avatar--sm {
	width: 40px;
	height: 40px;
	font-size: 15px;
}

.ak-quotes__name {
	font-size: 16px;
	line-height: 1.4;
	color: var(--ak-ink);
}

.ak-quotes__role {
	color: var(--ak-muted-2);
}

.ak-quotes__media {
	flex: 1 1 260px;
	min-width: min(100%, 240px);
}

.ak-quotes__media img {
	width: 100%;
	aspect-ratio: 5 / 4;
	max-height: clamp(220px, 42vh, 420px);
	object-fit: cover;
	border-radius: 24px;
	display: block;
	transform: rotate(1.4deg);
}

.ak-quotes__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: clamp(12px, 1.4vw, 18px);
	margin-top: clamp(20px, 2.4vw, 30px);
}

.ak-quote {
	min-width: 0;
	margin: 0;
	background: var(--ak-cream);
	border-radius: 20px;
	padding: clamp(18px, 2vw, 24px);
	display: flex;
	flex-direction: column;
	gap: 14px;
	transition: transform 0.15s var(--ak-ease), box-shadow 0.15s ease;
}

.ak-quote:hover {
	transform: translateY(-4px);
	box-shadow: 0 14px 30px rgba(43, 35, 32, 0.1);
}

.ak-quote--ink {
	background: var(--ak-ink);
	color: var(--ak-cream);
}

.ak-quote--ink:hover {
	box-shadow: 0 14px 30px rgba(43, 35, 32, 0.18);
}

.ak-quote blockquote {
	margin: 0;
	font-size: 17px;
	line-height: 1.6;
}

.ak-quote figcaption {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: auto;
	font-size: 15px;
	line-height: 1.4;
}

.ak-quote--ink .ak-quotes__role {
	color: var(--ak-on-dark-2);
}

/* ==========================================================================
   12b. Video testimonials
   ========================================================================== */

.ak-videos {
	background: var(--ak-ink);
	color: var(--ak-cream);
}

.ak-videos__inner {
	max-width: var(--ak-max);
	margin: 0 auto;
	padding: clamp(40px, 6vw, 88px) var(--ak-gutter);
}

.ak-videos__head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: clamp(22px, 3vw, 34px);
}

.ak-videos__head .ak-eyebrow {
	color: var(--ak-amber);
}

.ak-videos__head h2 {
	margin-top: 12px;
	font-size: clamp(27px, 3.4vw, 44px);
	line-height: 1.06;
	max-width: 18ch;
}

/* On the dark band the ink circle would vanish, so it turns cream here. */
.ak-videos .ak-blocks span:nth-child(3) {
	background: var(--ak-cream);
}

.ak-videos__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(clamp(240px, 27vw, 320px), 1fr));
	gap: clamp(12px, 1.6vw, 20px);
	/* Videos are not all the same shape. Each tile keeps its own height rather
	   than every tile in a row stretching to the tallest one. */
	align-items: start;
}

.ak-video {
	margin: 0;
	min-width: 0;
}

.ak-video__play {
	position: relative;
	display: block;
	width: 100%;
	padding: 0;
	border: 0;
	border-radius: 18px;
	overflow: hidden;
	background: rgba(251, 246, 238, 0.08);
	cursor: pointer;
	/* The section takes its shape from the video: an upright phone clip stays
	   upright, a widescreen one stays wide. 16:9 is only what is assumed until
	   the real dimensions are known. A very tall video is capped so one clip
	   cannot run away with the whole row. */
	aspect-ratio: var(--ak-video-ratio, 16 / 9);
	max-height: min(78vh, 560px);
	transition: transform 0.2s var(--ak-ease), box-shadow 0.2s ease;
}

.ak-video__play:hover {
	transform: translateY(-4px);
	box-shadow: 0 18px 38px rgba(0, 0, 0, 0.34);
}

.ak-video__play img,
.ak-video__blank {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.45s var(--ak-ease);
}

.ak-video__play:hover img {
	transform: scale(1.04);
}

.ak-video__btn {
	position: absolute;
	inset: 0;
	margin: auto;
	width: 58px;
	height: 58px;
	border-radius: 999px;
	display: grid;
	place-items: center;
	background: var(--ak-rust);
	color: var(--ak-cream);
	box-shadow: 0 10px 26px rgba(0, 0, 0, 0.32);
	transition: transform 0.2s var(--ak-ease), background 0.2s ease;
}

.ak-video__play:hover .ak-video__btn {
	transform: scale(1.08);
	background: var(--ak-rust-dark);
}

/* Once the player has loaded it fills the frame. */
.ak-video__play.is-playing {
	cursor: default;
}

.ak-video__play iframe,
.ak-video__play video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	display: block;
	background: #000;
}

/* The poster is cropped to fill the frame, but the video itself is never
   cropped — a face cut in half is worse than a letterbox. */
.ak-video__play video { object-fit: contain; }

.ak-video__cap {
	display: flex;
	flex-direction: column;
	gap: 2px;
	margin-top: 12px;
}

.ak-video__cap b {
	font-family: var(--ak-display);
	font-weight: 700;
	font-size: 16px;
}

.ak-video__cap span {
	font-size: 14px;
	color: var(--ak-on-dark-3);
}

@media (prefers-reduced-motion: reduce) {
	.ak-video__play:hover {
		transform: none;
	}

	.ak-video__play:hover img {
		transform: none;
	}

	.ak-video__play:hover .ak-video__btn {
		transform: none;
	}
}

/* A note only editors see, where a section has no content yet. */
.ak-editor-hint {
	margin: clamp(24px, 4vw, 48px) 0;
	padding: 16px 20px;
	border: 1px dashed var(--ak-line-strong);
	border-radius: 14px;
	font-size: 15px;
	line-height: 1.6;
	color: var(--ak-muted);
	background: rgba(232, 163, 61, 0.07);
}

/* ==========================================================================
   13. FAQ
   ========================================================================== */

.ak-faq {
	padding: clamp(56px, 9vw, 120px) 0;
	display: flex;
	flex-wrap: wrap;
	gap: clamp(24px, 4vw, 64px);
}

.ak-faq__lead {
	flex: 1 1 280px;
	min-width: min(100%, 260px);
}

.ak-faq__pie {
	display: block;
	width: 54px;
	height: 54px;
	border-radius: 999px;
	margin-bottom: 20px;
	background: conic-gradient(
		var(--ak-rust) 0 25%,
		var(--ak-amber) 0 50%,
		var(--ak-rust) 0 75%,
		var(--ak-amber) 0
	);
}

.ak-faq__lead h2 {
	font-size: clamp(30px, 3.4vw, 46px);
	line-height: 1.08;
}

.ak-faq__lead p {
	margin-top: 18px;
	font-size: 17px;
	line-height: 1.6;
	color: var(--ak-muted);
	max-width: 32ch;
}

.ak-faq__list {
	flex: 2 1 440px;
	min-width: min(100%, 280px);
}

.ak-faq__item {
	border-top: 1px solid rgba(43, 35, 32, 0.18);
}

.ak-faq__list > .ak-faq__end {
	border-top: 1px solid rgba(43, 35, 32, 0.18);
}

.ak-faq__q {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 22px 0;
	background: none;
	border: 0;
	text-align: left;
	cursor: pointer;
	font-family: var(--ak-display);
	font-size: clamp(17px, 1.7vw, 21px);
	font-weight: 600;
	color: var(--ak-ink);
}

.ak-faq__sign {
	flex: 0 0 auto;
	width: 34px;
	height: 34px;
	border-radius: 999px;
	border: 1.5px solid var(--ak-line-strong);
	display: grid;
	place-items: center;
	font-size: 18px;
	line-height: 1;
}

.ak-faq__a {
	padding-bottom: 22px;
	font-size: 17px;
	line-height: 1.65;
	color: var(--ak-muted);
	max-width: 62ch;
}

/* Card-style FAQ used on inner pages --------------------------------------- */

.ak-faqcards {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-top: clamp(16px, 2.4vw, 28px);
}

.ak-faqcard {
	border: 1px solid rgba(43, 35, 32, 0.16);
	border-radius: 16px;
	overflow: hidden;
}

.ak-faqcard__q {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	min-height: 60px;
	padding: 12px clamp(16px, 2vw, 24px);
	background: none;
	border: 0;
	cursor: pointer;
	text-align: left;
	font-family: var(--ak-display);
	font-weight: 600;
	font-size: 17px;
	color: var(--ak-ink);
}

.ak-faqcard__sign {
	flex: 0 0 auto;
	width: 34px;
	height: 34px;
	border-radius: 999px;
	border: 1.5px solid rgba(43, 35, 32, 0.24);
	display: grid;
	place-items: center;
	font-size: 17px;
	line-height: 1;
}

.ak-faqcard__a {
	padding: 0 clamp(16px, 2vw, 24px) 18px;
	font-size: 16px;
	line-height: 1.6;
	color: var(--ak-muted);
	max-width: 62ch;
}

/* ==========================================================================
   14. Enquiry band and forms
   ========================================================================== */

.ak-scallop {
	height: 26px;
	background-image: radial-gradient(
		circle at 13px 26px,
		var(--ak-rust) 13px,
		transparent 13.5px
	);
	background-size: 26px 26px;
	background-repeat: repeat-x;
}

.ak-enquire {
	background: var(--ak-rust);
	color: var(--ak-cream);
}

.ak-enquire__inner {
	max-width: var(--ak-max);
	margin: 0 auto;
	padding: clamp(48px, 7vw, 96px) var(--ak-gutter);
	display: flex;
	flex-wrap: wrap;
	gap: clamp(28px, 4vw, 64px);
}

.ak-enquire__copy {
	flex: 1 1 320px;
	min-width: min(100%, 280px);
}

.ak-enquire__flag {
	display: inline-block;
	padding: 8px 18px;
	transform: rotate(-2deg);
	border-radius: 999px;
	background: var(--ak-amber);
	color: var(--ak-ink);
	font-family: var(--ak-display);
	font-weight: 700;
	font-size: 14px;
	margin-bottom: 22px;
}

.ak-enquire__copy h2 {
	font-size: clamp(32px, 4.2vw, 56px);
	line-height: 1.05;
	max-width: 14ch;
}

.ak-enquire__copy > p {
	margin-top: 20px;
	font-size: 18px;
	line-height: 1.6;
	max-width: 40ch;
}

.ak-enquire__contacts {
	margin-top: 32px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	font-size: 18px;
}

.ak-enquire__contacts a {
	color: var(--ak-cream);
}

.ak-enquire__contacts a:first-child {
	font-weight: 600;
}

.ak-enquire__form {
	flex: 1.4 1 420px;
	min-width: min(100%, 280px);
}

.ak-formcard {
	background: var(--ak-cream);
	color: var(--ak-ink);
	border-radius: 24px;
	padding: clamp(24px, 3vw, 40px);
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 20px;
}

.ak-field {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.ak-field--wide {
	grid-column: 1 / -1;
}

.ak-field label,
.ak-field > span {
	font-size: 14px;
	font-weight: 600;
}

.ak-input,
.ak-textarea {
	padding: 0 16px;
	height: 50px;
	border-radius: 12px;
	border: 1.5px solid rgba(43, 35, 32, 0.28);
	background: var(--ak-field);
	font-weight: 400;
	width: 100%;
}

.ak-textarea {
	height: auto;
	padding: 14px 16px;
	resize: vertical;
}

.ak-field__hint {
	font-size: 13px;
	color: var(--ak-muted-2);
}

.ak-formcard .ak-btn {
	grid-column: 1 / -1;
	justify-self: start;
	height: 52px;
	padding: 0 32px;
}

.ak-formnote {
	grid-column: 1 / -1;
	font-size: 14px;
	color: var(--ak-muted-2);
}

.ak-formdone {
	background: var(--ak-cream);
	color: var(--ak-ink);
	border-radius: 24px;
	padding: clamp(28px, 4vw, 48px);
}

.ak-formdone h3 {
	font-size: 26px;
}

.ak-formdone p {
	margin-top: 12px;
	font-size: 17px;
	line-height: 1.6;
	color: var(--ak-muted);
}

.ak-formerror {
	grid-column: 1 / -1;
	margin: 0;
	padding: 12px 16px;
	border-radius: 12px;
	background: rgba(178, 70, 31, 0.12);
	border: 1px solid rgba(178, 70, 31, 0.3);
	color: var(--ak-rust-dark);
	font-size: 15px;
}

.ak-hp {
	position: absolute !important;
	left: -9999px;
}

/* Radio pills — the design's segmented buttons, made to work without JS ---- */

.ak-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.ak-field fieldset,
fieldset.ak-field {
	border: 0;
	padding: 0;
	margin: 0;
	min-width: 0;
}

.ak-field legend {
	padding: 0;
	font-size: 14px;
	font-weight: 600;
	margin-bottom: 10px;
}

.ak-pill {
	position: relative;
	display: inline-flex;
}

.ak-pill input {
	position: absolute;
	inset: 0;
	opacity: 0;
	margin: 0;
	cursor: pointer;
}

.ak-pill span {
	display: inline-flex;
	align-items: center;
	min-height: 46px;
	padding: 0 20px;
	border-radius: 999px;
	border: 1.5px solid rgba(43, 35, 32, 0.28);
	background: var(--ak-field);
	color: var(--ak-ink);
	font-family: var(--ak-display);
	font-weight: 600;
	font-size: 15px;
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.ak-pill input:hover + span {
	border-color: var(--ak-ink);
}

.ak-pill input:checked + span {
	background: var(--ak-ink);
	border-color: var(--ak-ink);
	color: var(--ak-cream);
}

.ak-pill input:focus-visible + span {
	outline: 3px solid var(--ak-rust);
	outline-offset: 3px;
}

.ak-contactform .ak-pill span {
	background: none;
	border-color: rgba(43, 35, 32, 0.24);
}

.ak-contactform .ak-pill input:checked + span {
	background: var(--ak-ink);
	border-color: var(--ak-ink);
	color: var(--ak-cream);
}

@media (max-width: 899px) {
	.ak-pill span {
		padding: 0 14px;
		font-size: 14px;
	}
}

/* Contact-page form (sand card, stacked) ----------------------------------- */

.ak-contactform {
	flex: 1.2 1 340px;
	min-width: min(100%, 300px);
	background: var(--ak-sand);
	border-radius: 26px;
	padding: clamp(20px, 3vw, 36px);
}

.ak-contactform .ak-fields {
	display: grid;
	gap: 14px;
	margin-top: 20px;
}

.ak-contactform label {
	display: grid;
	gap: 7px;
	font-size: 14px;
	font-weight: 600;
}

.ak-contactform .ak-input,
.ak-contactform .ak-textarea {
	height: 52px;
	border-radius: 14px;
	border: 1.5px solid rgba(43, 35, 32, 0.2);
	background: var(--ak-cream);
}

.ak-contactform .ak-textarea {
	height: auto;
}

.ak-contactform .ak-btn {
	height: 54px;
	font-family: var(--ak-display);
}

/* ==========================================================================
   14b. Franchise lead page
   ========================================================================== */

.ak-lead {
	display: grid;
	grid-template-columns: 1fr minmax(360px, 0.85fr);
	gap: clamp(28px, 4vw, 64px);
	align-items: start;
	padding: clamp(28px, 5vw, 64px) 0 clamp(32px, 5vw, 72px);
}

.ak-lead--closing {
	padding: clamp(32px, 5vw, 72px) 0 clamp(40px, 6vw, 96px);
	border-top: 1px solid var(--ak-line);
}

.ak-lead__copy {
	min-width: 0;
	padding-top: clamp(0px, 1vw, 14px);
}

.ak-lead__title {
	margin-top: 14px;
	font-size: clamp(32px, 4.4vw, 60px);
	line-height: 1.04;
	max-width: 16ch;
}

.ak-lead__title--sm {
	margin-top: 0;
	font-size: clamp(27px, 3.4vw, 44px);
	max-width: 18ch;
}

.ak-lead__text {
	margin-top: 18px;
	font-size: clamp(16px, 1.4vw, 19px);
	line-height: 1.6;
	color: var(--ak-muted);
	max-width: 46ch;
}

.ak-lead__aside {
	margin-top: 22px;
	font-size: 16px;
	color: var(--ak-muted);
}

.ak-lead__aside a {
	font-weight: 600;
}

.ak-lead__form {
	min-width: 0;
}

/* Proof figures ------------------------------------------------------------ */

.ak-proof {
	display: flex;
	flex-wrap: wrap;
	gap: 12px clamp(24px, 3vw, 44px);
	margin: clamp(26px, 3vw, 38px) 0 0;
	padding-top: clamp(22px, 2.6vw, 30px);
	border-top: 1px solid var(--ak-line);
}

.ak-proof div {
	min-width: 0;
}

.ak-proof dt {
	font-family: var(--ak-display);
	font-size: clamp(26px, 3vw, 36px);
	font-weight: 700;
	line-height: 1;
	color: var(--ak-rust);
}

.ak-proof dd {
	margin: 7px 0 0;
	font-size: 14px;
	line-height: 1.4;
	color: var(--ak-muted);
	max-width: 18ch;
}

/* The lead form ------------------------------------------------------------ */

.ak-leadform {
	background: #fff;
	border: 1px solid rgba(43, 35, 32, 0.1);
	box-shadow: 0 16px 38px rgba(43, 35, 32, 0.07);
	border-radius: 26px;
	padding: clamp(22px, 2.6vw, 32px);
}

.ak-leadform__head h2 {
	font-size: clamp(21px, 2.2vw, 27px);
	line-height: 1.15;
}

.ak-leadform__head p {
	margin-top: 8px;
	font-size: 15px;
	line-height: 1.5;
	color: var(--ak-ink-soft);
}

.ak-leadform__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
	margin-top: 20px;
}

.ak-leadform .ak-field {
	display: flex;
	flex-direction: column;
	gap: 7px;
	margin: 0;
	min-width: 0;
}

.ak-leadform .ak-field label {
	font-size: 14px;
	font-weight: 600;
}

.ak-field__optional {
	font-weight: 400;
	color: var(--ak-muted-2);
}

.ak-leadform .ak-input,
.ak-leadform .ak-textarea {
	height: 50px;
	border-radius: 14px;
	border: 1.5px solid rgba(43, 35, 32, 0.2);
	/* background-color, not the shorthand — the shorthand would reset the
	   chevron that .ak-select paints as a background-image. */
	background-color: var(--ak-cream);
	width: 100%;
}

.ak-leadform .ak-textarea {
	height: auto;
	padding: 13px 16px;
}

.ak-select,
.ak-leadform .ak-select {
	appearance: none;
	-webkit-appearance: none;
	padding-right: 40px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.75 6 6.25l5-4.5' fill='none' stroke='%232B2320' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 16px center;
	background-size: 12px 8px;
	cursor: pointer;
}

.ak-leadform__submit {
	width: 100%;
	margin-top: 18px;
	height: 54px;
	font-family: var(--ak-display);
}

.ak-leadform__note {
	margin-top: 12px;
	font-size: 13px;
	line-height: 1.5;
	color: var(--ak-muted-2);
}

.ak-leadform--done {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 14px;
}

.ak-leadform--done h2 {
	font-size: clamp(22px, 2.2vw, 28px);
	line-height: 1.15;
}

.ak-leadform--done p {
	font-size: 16px;
	line-height: 1.6;
	color: var(--ak-ink-soft);
}

/* Franchise hero ----------------------------------------------------------- */

.ak-fhero {
	background: var(--ak-sand);
}

.ak-fhero__inner {
	max-width: var(--ak-max);
	margin: 0 auto;
	padding: clamp(32px, 4.5vw, 64px) var(--ak-gutter) clamp(36px, 5vw, 72px);
	display: grid;
	grid-template-columns: 1.15fr minmax(330px, 0.85fr);
	grid-template-areas:
		"copy form"
		"media media";
	gap: clamp(24px, 3vw, 48px) clamp(28px, 4vw, 64px);
	align-items: start;
}

.ak-fhero__copy {
	grid-area: copy;
	min-width: 0;
}

.ak-fhero__title {
	margin-top: 14px;
	font-size: clamp(32px, 4.2vw, 56px);
	line-height: 1.04;
	max-width: 15ch;
}

.ak-fhero__text {
	margin-top: 16px;
	font-size: clamp(16px, 1.35vw, 19px);
	line-height: 1.6;
	color: var(--ak-ink-soft);
	max-width: 44ch;
}

.ak-fhero .ak-proof {
	border-top-color: rgba(43, 35, 32, 0.16);
}

.ak-fhero__media {
	grid-area: media;
	margin: 0;
	border-radius: 24px;
	overflow: hidden;
	background: rgba(43, 35, 32, 0.06);
}

.ak-fhero__media img {
	width: 100%;
	aspect-ratio: 24 / 7;
	object-fit: cover;
	display: block;
}

.ak-fhero__form {
	grid-area: form;
	min-width: 0;
}

.ak-fhero__call {
	margin-top: 16px;
	font-size: 15px;
	line-height: 1.5;
	color: var(--ak-muted);
	text-align: center;
}

.ak-fhero__call a {
	font-weight: 600;
	white-space: nowrap;
}

/* The compact hero form ---------------------------------------------------- */

.ak-leadform--compact .ak-leadform__grid {
	gap: 12px;
}

.ak-leadform--compact .ak-input {
	height: 48px;
}

.ak-leadform--compact .ak-field:last-of-type {
	grid-column: 1 / -1;
}

@media (max-width: 1023px) {
	/* Stacked: headline, then the form, then the photograph — the form stays
	   above the fold on a phone, which is the whole point of the page. */
	.ak-fhero__inner {
		grid-template-columns: 1fr;
		grid-template-areas:
			"copy"
			"form"
			"media";
	}

	.ak-fhero__title {
		max-width: none;
	}
}

/* Partnership cards with a photograph -------------------------------------- */

.ak-card--photo {
	padding: 0;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	background: var(--ak-sand);
	border-color: transparent;
}

.ak-card--photo:hover {
	transform: translateY(-5px);
	border-color: transparent;
	box-shadow: 0 18px 38px rgba(43, 35, 32, 0.12);
}

.ak-card__media {
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: rgba(43, 35, 32, 0.06);
}

.ak-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.55s var(--ak-ease);
}

.ak-card--photo:hover .ak-card__media img {
	transform: scale(1.06);
}

@media (prefers-reduced-motion: reduce) {
	.ak-card--photo:hover .ak-card__media img {
		transform: none;
	}
}

.ak-card__body {
	padding: clamp(18px, 2.2vw, 26px);
	display: flex;
	flex-direction: column;
	gap: 9px;
	flex: 1 1 auto;
}

.ak-card--photo h3 {
	font-size: 19px;
	line-height: 1.2;
}

.ak-card--photo p {
	margin: 0;
	font-size: 15px;
	line-height: 1.55;
	color: var(--ak-ink-soft);
}

/* Qualifying criteria ------------------------------------------------------ */

.ak-qualify {
	padding: clamp(36px, 5vw, 64px) 0 clamp(28px, 4vw, 56px);
}

.ak-qualify__list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	gap: clamp(16px, 2vw, 28px);
	margin-top: clamp(20px, 2.6vw, 32px);
	counter-reset: ak-qualify;
}

.ak-qualify__list li {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding-top: 16px;
	border-top: 2px solid var(--ak-ink);
	min-width: 0;
}

.ak-qualify__k {
	font-family: var(--ak-display);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ak-rust);
}

.ak-qualify__v {
	font-size: 16px;
	line-height: 1.55;
	color: var(--ak-ink-soft);
}

.ak-qualify__note {
	margin-top: clamp(20px, 2.4vw, 28px);
	font-size: 16px;
	line-height: 1.6;
	color: var(--ak-muted);
	max-width: 62ch;
}

@media (max-width: 1023px) {
	.ak-lead {
		grid-template-columns: 1fr;
	}

	.ak-leadform {
		position: static;
	}

	.ak-lead__title {
		max-width: none;
	}
}

@media (max-width: 560px) {
	.ak-leadform__grid {
		grid-template-columns: 1fr;
	}

	.ak-fhero__media img {
		aspect-ratio: 16 / 9;
	}
}

/* ==========================================================================
   15. Centre rail and cards
   ========================================================================== */

.ak-centres {
	max-width: var(--ak-max);
	margin: 0 auto;
	padding: clamp(48px, 7vw, 96px) var(--ak-gutter) 0;
}

.ak-centres__head {
	display: flex;
	flex-wrap: wrap;
	align-items: end;
	justify-content: space-between;
	gap: 18px;
}

.ak-centres__head h2 {
	font-size: clamp(26px, 2.6vw, 34px);
	line-height: 1.15;
}

.ak-centres__head .ak-tabs {
	margin-top: 18px;
}

.ak-centrerail {
	display: flex;
	gap: clamp(12px, 1.5vw, 18px);
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	margin-top: clamp(22px, 3vw, 32px);
	padding-bottom: 6px;
}

.ak-centrecard {
	flex: 0 0 auto;
	width: clamp(205px, 26vw, 300px);
	scroll-snap-align: start;
	border-radius: 22px;
	overflow: hidden;
	background: var(--ak-sand);
	transition: transform 0.15s var(--ak-ease), box-shadow 0.15s ease;
}

.ak-centrecard:hover {
	transform: translateY(-4px);
	box-shadow: 0 14px 30px rgba(43, 35, 32, 0.12);
}

.ak-centrecard__img {
	width: 100%;
	aspect-ratio: 16 / 10;
	background-size: cover;
	background-position: center;
	background-color: rgba(43, 35, 32, 0.08);
}

.ak-centrecard__body {
	padding: 20px;
}

.ak-centrecard__body h3 {
	font-size: 20px;
}

.ak-centrecard__region {
	margin-top: 6px;
	font-size: 14px;
	color: var(--ak-muted);
}

.ak-centrecard__links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 16px;
}

.ak-chip {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 16px;
	border-radius: 999px;
	background: var(--ak-cream);
	color: var(--ak-ink);
	font-size: 14px;
	font-weight: 600;
	transition: background 0.15s ease;
}

.ak-chip:hover {
	background: #fff;
	color: var(--ak-ink);
}

.ak-maplink {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	gap: 8px;
	font-size: 14px;
	font-weight: 600;
	color: var(--ak-rust);
}

.ak-maplink:hover {
	color: var(--ak-rust-dark);
}

.ak-maplink svg {
	width: 15px;
	height: 15px;
	display: block;
}

/* Grid of centre cards (Centres page) -------------------------------------- */

.ak-centregrid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: clamp(12px, 1.8vw, 20px);
}

.ak-centretile {
	border: 1px solid rgba(43, 35, 32, 0.16);
	border-radius: 20px;
	padding: clamp(18px, 2.2vw, 26px);
	transition: transform 0.18s var(--ak-ease), border-color 0.18s ease;
}

.ak-centretile:hover {
	transform: translateY(-4px);
	border-color: rgba(43, 35, 32, 0.32);
}

.ak-centretile h3 {
	font-size: 21px;
}

.ak-centretile__region {
	margin-top: 6px;
	font-size: 14px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ak-muted-3);
}

.ak-centretile p {
	margin-top: 12px;
	font-size: 15px;
	line-height: 1.55;
	color: var(--ak-muted);
}

.ak-centretile__links {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 10px;
}

/* ==========================================================================
   16. Footer
   ========================================================================== */

.ak-footer {
	max-width: var(--ak-max);
	margin: 0 auto;
	padding: clamp(48px, 7vw, 96px) var(--ak-gutter) 40px;
}

.ak-footer__top {
	display: flex;
	flex-wrap: wrap;
	gap: clamp(24px, 3vw, 48px);
	padding-top: clamp(32px, 4vw, 56px);
	border-top: 1px solid rgba(43, 35, 32, 0.18);
}

.ak-footer__brand {
	flex: 2 1 320px;
	min-width: min(100%, 280px);
}

.ak-footer__brand img {
	height: 56px;
	width: auto;
	max-width: 240px;
	object-fit: contain;
	object-position: left center;
	display: block;
}

.ak-footer__blurb {
	margin-top: 18px;
	font-size: 16px;
	line-height: 1.6;
	color: var(--ak-muted);
	max-width: 40ch;
}

.ak-social {
	margin-top: 22px;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.ak-social a {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border-radius: 999px;
	border: 1px solid rgba(43, 35, 32, 0.18);
	color: var(--ak-ink);
	transition: background 0.15s ease, border-color 0.15s ease,
		transform 0.15s var(--ak-ease);
}

.ak-social a:hover {
	background: var(--ak-sand);
	border-color: rgba(43, 35, 32, 0.3);
	color: var(--ak-ink);
	transform: translateY(-3px);
}

.ak-social svg {
	width: 20px;
	height: 20px;
	display: block;
}

.ak-footer__col {
	flex: 1 1 160px;
	min-width: 150px;
	display: flex;
	flex-direction: column;
	gap: 2px;
	font-size: 15px;
}

.ak-footer__col h2,
.ak-footer__col p.ak-footer__heading {
	font-family: var(--ak-display);
	font-weight: 600;
	font-size: 15px;
	margin-bottom: 6px;
	letter-spacing: 0;
	text-transform: none;
	color: var(--ak-ink);
}

.ak-footer__col a {
	color: var(--ak-muted);
	transition: color 0.15s ease;
}

.ak-footer__col a:hover {
	color: var(--ak-rust);
}

/* The WhatsApp button floats over the bottom-right corner; the last row of
   links keeps clear of it rather than hiding underneath. */
.ak-footer__bottom {
	margin-top: 40px;
	padding-top: 20px;
	border-top: 1px solid rgba(43, 35, 32, 0.12);
	display: flex;
	flex-wrap: wrap;
	gap: 12px 28px;
	justify-content: space-between;
	font-size: 14px;
	color: var(--ak-muted-2);
}

.ak-footer__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
	padding-right: 72px;
}

@media (max-width: 899px) {
	.ak-footer__meta { padding-right: 0; }
	.ak-footer { padding-bottom: 104px; }
}

.ak-footer__meta a {
	color: var(--ak-muted-2);
	transition: color 0.15s ease;
}

.ak-footer__meta a:hover {
	color: var(--ak-ink);
}

@media (max-width: 899px) {
	.ak-footer__col a,
	.ak-footer__meta a {
		display: flex;
		align-items: center;
		min-height: 44px;
	}
}

/* ==========================================================================
   17. Inner pages
   ========================================================================== */

.ak-pagehero {
	display: flex;
	flex-wrap: wrap;
	gap: clamp(22px, 4vw, 60px);
	align-items: center;
	padding: clamp(28px, 5vw, 72px) 0;
}

.ak-pagehero__copy {
	flex: 1 1 380px;
	min-width: min(100%, 300px);
}

.ak-pagehero__title {
	margin-top: 14px;
	font-size: clamp(32px, 5vw, 68px);
	line-height: 1.04;
}

.ak-pagehero__title--tight {
	font-size: clamp(32px, 4.6vw, 62px);
	line-height: 1.05;
}

.ak-pagehero__text {
	margin-top: 18px;
	font-size: clamp(16px, 1.4vw, 20px);
	line-height: 1.6;
	color: var(--ak-muted);
	max-width: 46ch;
}

.ak-pagehero__ctas {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 26px;
}

.ak-pagehero__media {
	flex: 1 1 300px;
	min-width: min(100%, 280px);
}

.ak-pagehero__media img,
.ak-pagehero > img {
	flex: 1 1 300px;
	min-width: min(100%, 280px);
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 28px;
	display: block;
}

.ak-pagehero__media--tall img {
	aspect-ratio: 5 / 4;
}

.ak-centrecard__maps {
	margin-top: 8px;
}

.ak-pagehero--stack {
	display: block;
	padding: clamp(28px, 5vw, 72px) 0 clamp(18px, 3vw, 34px);
}

.ak-pagehero--stack .ak-pagehero__title {
	max-width: 20ch;
}

.ak-blockgap {
	padding: clamp(24px, 4vw, 56px) 0;
}

.ak-blockgap--last {
	padding-bottom: clamp(40px, 6vw, 96px);
}

.ak-h2 {
	font-size: clamp(26px, 3.4vw, 42px);
	line-height: 1.1;
	max-width: 22ch;
}

.ak-h2--sm {
	font-size: clamp(24px, 3vw, 38px);
	max-width: none;
}

.ak-cardgrid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: clamp(14px, 2vw, 24px);
	margin-top: clamp(18px, 3vw, 30px);
}

.ak-cardgrid--sm {
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.ak-card {
	border: 1px solid rgba(43, 35, 32, 0.14);
	border-radius: 20px;
	padding: clamp(20px, 2.4vw, 30px);
	transition: transform 0.18s var(--ak-ease), border-color 0.18s ease;
}

.ak-card:hover {
	transform: translateY(-4px);
	border-color: rgba(43, 35, 32, 0.3);
}

.ak-card--sand {
	background: var(--ak-sand);
	border-color: transparent;
}

.ak-card--sand:hover {
	transform: none;
	border-color: transparent;
}

.ak-card h3 {
	font-size: 20px;
}

.ak-card--sm h3 {
	font-size: 19px;
}

.ak-card p {
	margin-top: 10px;
	font-size: 16px;
	line-height: 1.6;
	color: var(--ak-muted);
}

.ak-card--sand p {
	color: var(--ak-ink-soft);
}

.ak-card__num {
	font-family: var(--ak-display);
	font-weight: 700;
	color: var(--ak-rust);
}

.ak-card__num + h3 {
	margin-top: 10px;
}

/* Split panels ------------------------------------------------------------- */

.ak-split {
	display: flex;
	flex-wrap: wrap;
	gap: clamp(18px, 3vw, 40px);
	padding: clamp(16px, 3vw, 40px) 0;
}

.ak-split--wide {
	gap: clamp(20px, 3vw, 48px);
}

.ak-panelcard {
	flex: 1 1 300px;
	min-width: min(100%, 270px);
	border-radius: 24px;
	padding: clamp(22px, 3vw, 36px);
}

.ak-panelcard h2,
.ak-panelcard h3 {
	font-size: clamp(21px, 2.4vw, 30px);
	line-height: 1.15;
}

.ak-panelcard--ink {
	background: var(--ak-ink);
	color: var(--ak-cream);
}

.ak-panelcard--sand {
	background: var(--ak-sand);
	color: var(--ak-ink);
}

.ak-panelcard--outline {
	border: 1px solid rgba(43, 35, 32, 0.16);
}

.ak-panelcard p {
	margin-top: 14px;
	font-size: 16px;
	line-height: 1.6;
	color: var(--ak-muted);
}

.ak-panelcard--ink p {
	color: var(--ak-on-dark);
}

.ak-panelcard--sand p {
	color: var(--ak-ink-soft);
}

.ak-panelcard .ak-eyebrow {
	color: var(--ak-rust-deep);
}

.ak-panelcard--ink .ak-eyebrow {
	color: var(--ak-amber);
}

.ak-panelcard--ink h2,
.ak-panelcard--ink h3 {
	margin-top: 14px;
}

/* Bullet list -------------------------------------------------------------- */

.ak-bullets {
	display: grid;
	gap: 10px;
	margin-top: 16px;
}

.ak-bullets li {
	display: flex;
	gap: 10px;
	align-items: baseline;
	font-size: 16px;
	color: var(--ak-ink-soft);
}

.ak-bullets li::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 999px;
	background: var(--ak-rust);
	flex: 0 0 auto;
}

.ak-panelcard--ink .ak-bullets li {
	color: var(--ak-on-dark);
}

.ak-panelcard--ink .ak-bullets li::before {
	background: var(--ak-amber);
}

/* Numbered steps ----------------------------------------------------------- */

.ak-steps {
	display: grid;
	gap: 12px;
	margin-top: 18px;
}

.ak-steps li {
	display: flex;
	gap: 12px;
	font-size: 16px;
	line-height: 1.55;
	color: var(--ak-ink-soft);
}

.ak-steps__n {
	flex: 0 0 auto;
	width: 26px;
	height: 26px;
	border-radius: 999px;
	background: var(--ak-rust);
	color: var(--ak-cream);
	display: grid;
	place-items: center;
	font-size: 13px;
	font-weight: 700;
}

/* Timeline / ordered rows -------------------------------------------------- */

.ak-rows {
	display: grid;
	gap: 2px;
	margin-top: clamp(18px, 3vw, 32px);
	border-top: 1px solid rgba(43, 35, 32, 0.16);
}

.ak-rows li {
	display: flex;
	flex-wrap: wrap;
	gap: clamp(10px, 2vw, 32px);
	align-items: baseline;
	padding: clamp(14px, 2vw, 22px) 0;
	border-bottom: 1px solid rgba(43, 35, 32, 0.16);
}

.ak-rows__key {
	flex: 0 0 auto;
	width: clamp(76px, 12vw, 120px);
	font-family: var(--ak-display);
	font-weight: 700;
	color: var(--ak-rust);
}

.ak-rows__key--sm {
	width: 44px;
}

.ak-rows__body {
	flex: 1 1 240px;
	min-width: min(100%, 220px);
}

.ak-rows__title {
	display: block;
	font-family: var(--ak-display);
	font-weight: 700;
	font-size: clamp(17px, 1.8vw, 21px);
}

.ak-rows__note {
	display: block;
	margin-top: 6px;
	font-size: 15px;
	line-height: 1.55;
	color: var(--ak-muted);
}

/* Media + copy row --------------------------------------------------------- */

.ak-mediarow {
	display: flex;
	flex-wrap: wrap;
	gap: clamp(18px, 3vw, 44px);
	align-items: center;
	padding: clamp(16px, 3vw, 40px) 0;
}

.ak-mediarow > img {
	flex: 1 1 280px;
	min-width: min(100%, 260px);
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 24px;
	display: block;
}

.ak-mediarow__copy {
	flex: 1.1 1 320px;
	min-width: min(100%, 280px);
}

.ak-mediarow__copy h2 {
	font-size: clamp(23px, 2.8vw, 34px);
	line-height: 1.14;
}

.ak-mediarow__copy p {
	margin-top: 14px;
	font-size: 17px;
	line-height: 1.6;
	color: var(--ak-muted);
	max-width: 46ch;
}

/* Program cards (Programs overview) ---------------------------------------- */

.ak-progcards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: clamp(14px, 2vw, 24px);
}

.ak-progcard {
	display: flex;
	flex-direction: column;
	border-radius: 22px;
	overflow: hidden;
	transition: transform 0.18s var(--ak-ease);
}

.ak-progcard:hover {
	transform: translateY(-4px);
}

.ak-progcard__img {
	width: 100%;
	aspect-ratio: 4 / 3;
	background-size: cover;
	background-position: center;
	background-color: rgba(43, 35, 32, 0.08);
}

.ak-progcard__body {
	padding: clamp(18px, 2.2vw, 28px);
	display: flex;
	flex-direction: column;
	gap: 10px;
	flex: 1 1 auto;
}

.ak-progcard__body h3 {
	font-size: clamp(20px, 2.2vw, 26px);
	line-height: 1.15;
}

.ak-progcard__blurb {
	font-size: 16px;
	line-height: 1.55;
	color: var(--ak-ink-soft);
}

.ak-progcard--ink,
.ak-progcard--rust {
	color: var(--ak-cream);
}

.ak-progcard--ink .ak-progcard__blurb,
.ak-progcard--rust .ak-progcard__blurb {
	color: var(--ak-on-dark);
}

.ak-progcard--ink {
	background: var(--ak-ink);
}

.ak-progcard--amber {
	background: var(--ak-amber);
	color: var(--ak-ink);
}

.ak-progcard--sand {
	background: var(--ak-sand);
	color: var(--ak-ink);
}

.ak-progcard--rust {
	background: var(--ak-rust);
}

.ak-progcard__age {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.ak-progcard--ink .ak-progcard__age {
	color: var(--ak-amber);
}

.ak-progcard--amber .ak-progcard__age {
	color: var(--ak-amber-ink);
}

.ak-progcard--sand .ak-progcard__age {
	color: var(--ak-rust-deep);
}

.ak-progcard--rust .ak-progcard__age {
	color: var(--ak-amber-soft);
}

.ak-progcard__link {
	align-self: flex-start;
	margin-top: auto;
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 4px;
	color: var(--ak-rust);
}

.ak-progcard--ink .ak-progcard__link {
	color: var(--ak-amber);
}

.ak-progcard--rust .ak-progcard__link {
	color: var(--ak-amber-soft);
}

.ak-progcard--amber .ak-progcard__link {
	color: var(--ak-amber-ink);
}

/* Junior / senior split panels --------------------------------------------- */

.ak-duo {
	display: flex;
	flex-wrap: wrap;
	gap: clamp(16px, 2.4vw, 30px);
}

.ak-duo > div {
	flex: 1 1 300px;
	min-width: min(100%, 280px);
	border-radius: 22px;
	padding: clamp(22px, 3vw, 34px);
}

.ak-duo h2,
.ak-duo h3 {
	margin-top: 12px;
	font-size: clamp(20px, 2.2vw, 27px);
}

.ak-duo p {
	margin-top: 12px;
	font-size: 16px;
	line-height: 1.6;
}

.ak-duo__sand {
	background: var(--ak-sand);
	color: var(--ak-ink);
}

.ak-duo__sand p {
	color: var(--ak-ink-soft);
}

.ak-duo__ink {
	background: var(--ak-ink);
	color: var(--ak-cream);
}

.ak-duo__ink .ak-eyebrow {
	color: var(--ak-amber);
}

.ak-duo__ink p {
	color: var(--ak-on-dark);
}

/* Small spacing utilities used by a handful of templates ------------------- */

.ak-mt-30 {
	margin-top: 30px;
}

.ak-mt-band {
	margin-top: clamp(20px, 2.4vw, 30px);
}

.ak-pad-band {
	padding: clamp(40px, 6vw, 96px) 0 clamp(24px, 4vw, 56px);
}

.ak-pad-mid {
	padding: clamp(16px, 3vw, 40px) 0;
}

.ak-pad-end {
	padding: 0 0 clamp(40px, 6vw, 96px);
}

/* Gallery grid page -------------------------------------------------------- */

.ak-gallerygrid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(clamp(150px, 30vw, 300px), 1fr));
	gap: clamp(10px, 1.6vw, 18px);
}

.ak-gallerygrid figure {
	margin: 0;
	border-radius: 18px;
	overflow: hidden;
	background: var(--ak-sand);
}

.ak-gallerygrid img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	display: block;
	transition: transform 0.3s var(--ak-ease);
}

.ak-gallerygrid figure.is-tall img {
	aspect-ratio: 3 / 4;
}

.ak-gallerygrid img:hover {
	transform: scale(1.04);
}

.ak-note {
	margin-top: clamp(18px, 2.4vw, 28px);
	font-size: 15px;
	color: var(--ak-muted-2);
}

/* Contact page ------------------------------------------------------------- */

.ak-contactrow {
	display: flex;
	flex-wrap: wrap;
	gap: clamp(18px, 3vw, 40px);
	padding: 0 0 clamp(32px, 5vw, 72px);
}

.ak-contactaside {
	flex: 1 1 280px;
	min-width: min(100%, 260px);
	display: flex;
	flex-direction: column;
	gap: clamp(14px, 2vw, 20px);
}

.ak-contactaside > div {
	border-radius: 24px;
	padding: clamp(20px, 2.6vw, 32px);
}

.ak-contactaside h2 {
	font-size: clamp(20px, 2.2vw, 27px);
}

.ak-contactaside__dark {
	background: var(--ak-ink);
	color: var(--ak-cream);
}

.ak-contactaside__dark a {
	display: flex;
	align-items: center;
	min-height: 44px;
	color: var(--ak-cream);
}

.ak-contactaside__label {
	margin-top: 14px;
	font-size: 15px;
	color: var(--ak-on-dark-3);
}

.ak-contactaside__hours {
	margin-top: 14px;
	font-size: 15px;
	line-height: 1.6;
	color: var(--ak-on-dark);
}

.ak-contactaside__light {
	border: 1px solid rgba(43, 35, 32, 0.16);
}

.ak-contactaside__light p {
	margin-top: 12px;
	font-size: 16px;
	line-height: 1.6;
	color: var(--ak-muted);
}

/* Closing CTA band --------------------------------------------------------- */

.ak-cta {
	background: var(--ak-rust);
	color: var(--ak-cream);
	border-radius: 28px;
	padding: clamp(24px, 4vw, 52px);
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	align-items: center;
	justify-content: space-between;
	margin-bottom: clamp(28px, 4vw, 56px);
}

.ak-cta__copy {
	flex: 1 1 300px;
	min-width: min(100%, 280px);
}

.ak-cta__copy h2 {
	font-size: clamp(24px, 3.2vw, 40px);
	line-height: 1.1;
}

.ak-cta__copy p {
	margin-top: 12px;
	font-size: 17px;
	line-height: 1.6;
	color: var(--ak-on-rust);
	max-width: 44ch;
}

.ak-cta__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

/* ==========================================================================
   18. Journal (blog)
   ========================================================================== */

.ak-feature {
	display: flex;
	flex-wrap: wrap;
	gap: clamp(18px, 3vw, 40px);
	align-items: center;
	background: var(--ak-sand);
	border-radius: 26px;
	overflow: hidden;
}

.ak-feature img {
	flex: 1 1 300px;
	min-width: min(100%, 280px);
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	display: block;
}

.ak-feature__body {
	flex: 1.1 1 320px;
	min-width: min(100%, 280px);
	padding: clamp(20px, 2.6vw, 36px) clamp(20px, 2.6vw, 36px)
		clamp(20px, 2.6vw, 36px) 0;
}

.ak-feature__body h2 {
	margin-top: 12px;
	font-size: clamp(23px, 2.8vw, 36px);
	line-height: 1.12;
}

.ak-feature__body h2 a {
	color: inherit;
}

.ak-feature__body h2 a:hover {
	color: var(--ak-rust);
}

.ak-feature__excerpt {
	margin-top: 14px;
	font-size: 17px;
	line-height: 1.6;
	color: var(--ak-ink-soft);
	max-width: 46ch;
}

@media (max-width: 899px) {
	.ak-feature__body {
		padding: clamp(20px, 2.6vw, 36px);
	}
}

.ak-postgrid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: clamp(14px, 2vw, 24px);
}

.ak-postcard {
	border: 1px solid rgba(43, 35, 32, 0.16);
	border-radius: 20px;
	overflow: hidden;
	transition: transform 0.18s var(--ak-ease), border-color 0.18s ease;
}

.ak-postcard:hover {
	transform: translateY(-4px);
	border-color: rgba(43, 35, 32, 0.32);
}

.ak-postcard img {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	display: block;
}

.ak-postcard__body {
	padding: clamp(16px, 2vw, 24px);
}

.ak-postcard__meta {
	font-size: 13px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--ak-muted-3);
}

.ak-postcard__body h3 {
	margin-top: 10px;
	font-size: 20px;
	line-height: 1.2;
}

.ak-postcard__body h3 a {
	color: inherit;
}

.ak-postcard__body h3 a:hover {
	color: var(--ak-rust);
}

.ak-postcard__body p {
	margin-top: 10px;
	font-size: 15px;
	line-height: 1.55;
	color: var(--ak-muted);
}

/* Single post -------------------------------------------------------------- */

.ak-article {
	max-width: 760px;
	margin: 0 auto;
	padding: clamp(28px, 5vw, 64px) 0 clamp(40px, 6vw, 96px);
}

.ak-article__meta {
	font-size: 13px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--ak-muted-3);
}

.ak-article__title {
	margin-top: 14px;
	font-size: clamp(30px, 4.2vw, 54px);
	line-height: 1.06;
}

.ak-article__thumb {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	border-radius: 24px;
	display: block;
	margin-top: clamp(20px, 3vw, 32px);
}

.ak-prose {
	margin-top: clamp(20px, 3vw, 32px);
	font-size: 17px;
	line-height: 1.75;
	color: var(--ak-ink-soft);
}

.ak-prose > * + * {
	margin-top: 1.1em;
}

.ak-prose h2 {
	margin-top: 1.6em;
	font-size: clamp(24px, 2.6vw, 32px);
	line-height: 1.15;
	color: var(--ak-ink);
}

.ak-prose h3 {
	margin-top: 1.4em;
	font-size: clamp(20px, 2.1vw, 25px);
	color: var(--ak-ink);
}

.ak-prose ul,
.ak-prose ol {
	padding-left: 1.3em;
	list-style: disc;
	display: grid;
	gap: 0.5em;
}

.ak-prose ol {
	list-style: decimal;
}

.ak-prose img,
.ak-prose iframe,
.ak-prose video {
	max-width: 100%;
	height: auto;
	border-radius: 18px;
	display: block;
}

.ak-prose blockquote {
	margin: 1.4em 0;
	padding: 18px 24px;
	border-left: 3px solid var(--ak-rust);
	background: var(--ak-sand);
	border-radius: 0 16px 16px 0;
	font-family: var(--ak-display);
	font-size: 20px;
	line-height: 1.4;
}

.ak-prose code {
	font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
	font-size: 0.9em;
	background: var(--ak-sand);
	padding: 2px 6px;
	border-radius: 6px;
}

.ak-prose pre {
	background: var(--ak-ink);
	color: var(--ak-cream);
	padding: 18px 20px;
	border-radius: 16px;
	overflow-x: auto;
}

.ak-prose pre code {
	background: none;
	padding: 0;
	color: inherit;
}

.ak-prose table {
	width: 100%;
	border-collapse: collapse;
}

.ak-prose th,
.ak-prose td {
	border: 1px solid var(--ak-line);
	padding: 10px 12px;
	text-align: left;
}

.ak-prose a {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.alignwide {
	max-width: min(1100px, 100%);
	margin-left: auto;
	margin-right: auto;
}

.alignfull {
	max-width: 100%;
}

.alignleft {
	float: left;
	margin: 0 1.4em 1em 0;
}

.alignright {
	float: right;
	margin: 0 0 1em 1.4em;
}

.aligncenter {
	margin-left: auto;
	margin-right: auto;
}

.wp-caption-text,
.ak-prose figcaption {
	margin-top: 8px;
	font-size: 14px;
	color: var(--ak-muted-2);
}

.sticky .ak-postcard {
	border-color: var(--ak-rust);
}

/* Pagination and archive header -------------------------------------------- */

.ak-pagination {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: clamp(28px, 4vw, 48px);
}

.ak-pagination .page-numbers {
	display: grid;
	place-items: center;
	min-width: 46px;
	height: 46px;
	padding: 0 14px;
	border-radius: 999px;
	border: 1.5px solid rgba(43, 35, 32, 0.2);
	color: var(--ak-ink);
	font-weight: 600;
}

.ak-pagination .page-numbers:hover {
	border-color: var(--ak-ink);
	color: var(--ak-ink);
}

.ak-pagination .page-numbers.current {
	background: var(--ak-ink);
	border-color: var(--ak-ink);
	color: var(--ak-cream);
}

.ak-postnav {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	justify-content: space-between;
	margin-top: clamp(28px, 4vw, 48px);
	padding-top: 24px;
	border-top: 1px solid var(--ak-line);
}

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

.ak-searchform {
	display: flex;
	gap: 8px;
	max-width: 460px;
	margin-top: 20px;
}

.ak-searchform .ak-input {
	border-radius: 999px;
}

/* Comments ----------------------------------------------------------------- */

.ak-comments {
	max-width: 760px;
	margin: 0 auto;
	padding-bottom: clamp(40px, 6vw, 96px);
}

.ak-comments h2 {
	font-size: clamp(22px, 2.4vw, 30px);
}

.ak-comments ol {
	display: grid;
	gap: 18px;
	margin-top: 20px;
}

.ak-comments .comment-body {
	background: var(--ak-sand);
	border-radius: 18px;
	padding: 18px 20px;
}

.ak-comments .children {
	margin-top: 14px;
	padding-left: 20px;
	display: grid;
	gap: 14px;
}

.ak-comments input[type="text"],
.ak-comments input[type="email"],
.ak-comments input[type="url"],
.ak-comments textarea {
	width: 100%;
	padding: 12px 16px;
	border-radius: 14px;
	border: 1.5px solid rgba(43, 35, 32, 0.2);
	background: var(--ak-field);
}

.ak-comments .submit {
	height: 50px;
	padding: 0 28px;
	border: 0;
	border-radius: 999px;
	background: var(--ak-rust);
	color: var(--ak-cream);
	font-weight: 600;
	cursor: pointer;
}

/* 404 and empty states ----------------------------------------------------- */

.ak-empty {
	padding: clamp(48px, 8vw, 120px) 0;
	text-align: center;
}

.ak-empty h1 {
	font-size: clamp(36px, 6vw, 76px);
	line-height: 1.02;
}

.ak-empty p {
	margin-top: 18px;
	font-size: 18px;
	color: var(--ak-muted);
}

.ak-empty .ak-btn {
	margin-top: 26px;
}

/* ==========================================================================
   18a. Floating WhatsApp button
   ========================================================================== */

.ak-wa {
	position: fixed;
	right: clamp(16px, 3vw, 28px);
	bottom: clamp(16px, 3vw, 28px);
	z-index: 45;
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	border-radius: 999px;
	/* WhatsApp's own green: people recognise this button by colour, and the
	   theme's rust would read as just another site button. */
	background: #25d366;
	color: #fff;
	box-shadow: 0 10px 26px rgba(43, 35, 32, 0.28);
	transition: transform 0.18s var(--ak-ease), box-shadow 0.18s ease,
		background 0.18s ease;
}

.ak-wa:hover,
.ak-wa:focus-visible {
	background: #1eb855;
	color: #fff;
	transform: translateY(-3px) scale(1.04);
	box-shadow: 0 16px 34px rgba(43, 35, 32, 0.34);
}

.ak-wa:active {
	transform: scale(0.96);
}

.ak-wa svg {
	width: 28px;
	height: 28px;
	display: block;
}

/*
 * No entrance animation here on purpose. A delayed pop-in needs `both` fill to
 * hold its start state, which renders the button at 40% size and invisible
 * until the animation runs — and animations are throttled in background tabs.
 * A persistent call to action should never depend on one to reach full size.
 * The hover and press transitions above are enough.
 */

/* Above the sticky bar on phones, not on top of it. */
@media (max-width: 759px) {
	body:has(.ak-sticky) .ak-wa {
		bottom: calc(88px + env(safe-area-inset-bottom, 0px));
	}

	.ak-wa {
		width: 52px;
		height: 52px;
	}

	.ak-wa svg {
		width: 26px;
		height: 26px;
	}
}

@media print {
	.ak-wa,
	.ak-sticky {
		display: none !important;
	}
}

/* ==========================================================================
   18b. Sticky action bar (phones only)
   ========================================================================== */

.ak-sticky {
	display: none;
}

@media (max-width: 759px) {
	.ak-sticky {
		position: fixed;
		bottom: 0;
		left: 0;
		right: 0;
		z-index: 50;
		display: flex;
		align-items: center;
		gap: 10px;
		padding: 10px 14px;
		background: rgba(251, 246, 238, 0.97);
		backdrop-filter: blur(10px);
		border-top: 1px solid rgba(43, 35, 32, 0.16);
		box-shadow: 0 -8px 26px rgba(43, 35, 32, 0.12);
		/* Keeps the bar above the home indicator on iPhones. */
		padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
	}

	/*
	 * The bar is fixed over the foot of the window, so the clearance belongs on
	 * the footer — anything higher up leaves the last row covered. Tied to the
	 * bar actually existing, so a filter that removes it removes the gap too.
	 */
	body:has(.ak-sticky) .ak-footer {
		padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px));
	}

	.ak-sticky__copy {
		flex: 1 1 auto;
		min-width: 0;
	}

	.ak-sticky__copy b {
		display: block;
		font-family: var(--ak-display);
		font-weight: 700;
		font-size: 15px;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	.ak-sticky__copy span {
		display: block;
		font-size: 13px;
		color: var(--ak-muted);
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	.ak-sticky__cta {
		flex: 0 0 auto;
		display: inline-flex;
		align-items: center;
		min-height: 48px;
		padding: 0 18px;
		border-radius: 999px;
		background: var(--ak-btn-bg);
		color: var(--ak-btn-text);
		font-family: var(--ak-display);
		font-weight: 600;
		font-size: 15px;
		white-space: nowrap;
		max-width: 52vw;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	.ak-sticky__cta:hover {
		background: var(--ak-btn-hover);
		color: var(--ak-btn-text);
	}

	.ak-sticky__call {
		flex: 0 0 auto;
		display: grid;
		place-items: center;
		width: 48px;
		height: 48px;
		border-radius: 999px;
		border: 1.5px solid rgba(43, 35, 32, 0.24);
		color: var(--ak-ink);
	}
}

/* ==========================================================================
   19. Admin bar offset
   ========================================================================== */

.admin-bar .ak-header {
	top: 32px;
}

@media screen and (max-width: 782px) {
	.admin-bar .ak-header {
		top: 46px;
	}
}

/* ==========================================================================
   20. Campaign landing pages
   ========================================================================== */

.ak-lp__hero {
	display: flex;
	flex-wrap: wrap;
	gap: clamp(24px, 4vw, 56px);
	align-items: flex-start;
	padding: clamp(28px, 5vw, 68px) 0 clamp(20px, 3vw, 40px);
}

.ak-lp__copy {
	flex: 1 1 400px;
	min-width: min(100%, 300px);
}

.ak-lp__panel {
	flex: 0 1 420px;
	min-width: min(100%, 300px);
	position: sticky;
	top: 104px;
}

@media (max-width: 899px) {
	.ak-lp__panel {
		position: static;
	}
}

.ak-lp__points {
	list-style: none;
	margin: 26px 0 0;
	padding: 0;
	display: grid;
	gap: 10px;
	max-width: 46ch;
}

.ak-lp__points li {
	position: relative;
	padding-left: 32px;
	color: var(--ak-muted);
	font-size: 16px;
}

.ak-lp__points li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 3px;
	width: 20px;
	height: 20px;
	border-radius: 999px;
	background: var(--ak-amber);
	/* A tick drawn with two borders, so no icon font is needed. */
	box-shadow: inset 0 0 0 2px var(--ak-cream);
}

.ak-lp__points li::after {
	content: "";
	position: absolute;
	left: 7px;
	top: 8px;
	width: 5px;
	height: 9px;
	border: solid var(--ak-ink);
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

.ak-lp__phone {
	margin-top: 22px;
	color: var(--ak-muted);
}

.ak-lp__phone a {
	font-weight: 700;
}

.ak-lp__form {
	background: #fff;
	border: 1px solid rgba(43, 35, 32, 0.1);
	border-radius: 28px;
	padding: clamp(20px, 3vw, 30px);
	box-shadow: 0 24px 60px rgba(43, 35, 32, 0.1);
}

.ak-lp__formtitle {
	margin: 0 0 6px;
	font-size: clamp(21px, 2.2vw, 26px);
	line-height: 1.2;
}

.ak-lp__label {
	display: block;
	margin: 14px 0 6px;
	font-size: 14px;
	font-weight: 600;
}

.ak-lp__form .ak-input {
	width: 100%;
}

.ak-lp__submit {
	width: 100%;
	margin-top: 20px;
	justify-content: center;
}

.ak-lp__note {
	margin: 12px 0 0;
	font-size: 13px;
	color: var(--ak-muted);
	text-align: center;
}

.ak-lp__form--done {
	background: var(--ak-sand);
}

.ak-lp__form--done h2 {
	margin: 0 0 8px;
	font-size: clamp(22px, 2.4vw, 28px);
}

.ak-lp__media img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	border-radius: 28px;
	display: block;
}

.ak-lp__media {
	margin: 0;
}

.ak-lp__stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 14px;
	padding: clamp(24px, 4vw, 44px) 0 0;
}

.ak-lp__stat {
	background: var(--ak-sand);
	border-radius: 22px;
	padding: 20px 22px;
}

.ak-lp__stat strong {
	display: block;
	font-family: var(--ak-display);
	font-size: clamp(26px, 3vw, 36px);
	line-height: 1.1;
}

.ak-lp__stat span {
	display: block;
	margin-top: 4px;
	color: var(--ak-muted);
	font-size: 14px;
}

/*
 * Advert traffic only: the page keeps the logo and the phone number, and
 * loses every other way out. The skip link stays — it is the one link a
 * keyboard user cannot do without.
 */
.ak-lp-minimal .ak-nav,
.ak-lp-minimal .ak-burger,
.ak-lp-minimal .ak-footer__top .ak-footer__col,
.ak-lp-minimal .ak-footer__meta,
.ak-lp-minimal .ak-sticky {
	display: none;
}

.ak-lp-minimal .ak-footer__top {
	display: block;
}

/* ==========================================================================
   21. Motion switched off in the Customizer
   ========================================================================== */

/*
 * The reveal classes only hide content once JavaScript has added .ak-anim, and
 * theme.js reads this attribute before it does, so nothing here can leave a
 * section invisible.
 */
[data-ak-no-motion] *,
[data-ak-no-motion] *::before,
[data-ak-no-motion] *::after {
	animation: none !important;
	transition: none !important;
}

[data-ak-no-motion] {
	scroll-behavior: auto;
}

/* ----------------------------------------- Campaign pages, by type */

.ak-lp__centre {
	margin: 10px 0 0;
	font-weight: 600;
	color: var(--ak-rust);
}

.ak-lp__citieshead {
	margin: 20px 0 8px;
	font-size: 12px;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--ak-muted);
}

.ak-lp__cities {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ak-lp__cities li {
	padding: 5px 12px;
	border: 1px solid var(--ak-line, rgba(0, 0, 0, .12));
	border-radius: 999px;
	font-size: 14px;
}

.ak-lp__buys,
.ak-lp__programs { margin: clamp(32px, 5vw, 56px) 0 0; }

.ak-lp__buysgrid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: clamp(14px, 2vw, 22px);
	margin-top: 18px;
}

.ak-lp__buy {
	padding: 18px 20px;
	border: 1px solid var(--ak-line, rgba(0, 0, 0, .12));
	border-radius: 14px;
}

.ak-lp__buy h3 { margin: 0 0 6px; font-size: 17px; }
.ak-lp__buy p { margin: 0; color: var(--ak-muted); line-height: 1.55; }

/* ==========================================================================
   Admissions page
   ========================================================================== */

.ak-admsteps {
	margin-left: 0;
	padding: 0;
	list-style: none;
}

.ak-adm__note {
	margin-top: 18px;
	font-size: 16px;
	color: var(--ak-muted);
}

.ak-adm__form {
	padding-top: clamp(32px, 5vw, 72px);
	scroll-margin-top: 90px;
}

.ak-adm__formhead {
	margin-bottom: clamp(18px, 3vw, 30px);
}

.ak-adm__formhead .ak-lede {
	margin-top: 12px;
}

/* ==========================================================================
   Curriculum page
   ========================================================================== */

.ak-cur__intro {
	margin-top: 12px;
}

/* Three across, so six areas and five resources land as full rows. */
.ak-cur__grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 1023px) {
	.ak-cur__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 600px) {
	.ak-cur__grid {
		grid-template-columns: 1fr;
	}
}

/* .ak-card's own padding is declared later in the sheet and would inset the
   photograph; a photo card runs edge to edge. */
.ak-cur__grid .ak-card--photo {
	padding: 0;
}

.ak-books {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: clamp(16px, 2vw, 24px);
	margin: clamp(18px, 3vw, 30px) 0 0;
	padding: 0;
	list-style: none;
}

.ak-book {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.ak-book__cover {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 4 / 5;
	margin-bottom: 12px;
	border-radius: 4px 12px 12px 4px;
	overflow: hidden;
	box-shadow:
		0 1px 0 rgba(43, 35, 32, 0.08),
		6px 10px 0 -2px var(--ak-cream),
		6px 10px 0 -1px rgba(43, 35, 32, 0.12),
		0 18px 32px rgba(43, 35, 32, 0.16);
	transition: transform 0.3s var(--ak-ease), box-shadow 0.3s var(--ak-ease);
}

/* The spine and a soft sheen, over an uploaded cover or a designed one. */
.ak-book__cover::before,
.ak-book__cover::after {
	content: "";
	position: absolute;
	pointer-events: none;
	z-index: 2;
}

.ak-book__cover::before {
	inset: 0 auto 0 0;
	width: 12px;
	background: linear-gradient(90deg, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.05) 70%, rgba(255, 255, 255, 0.18));
}

.ak-book__cover::after {
	inset: 0;
	background: linear-gradient(115deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0) 38%);
}

.ak-book__cover img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ak-book:hover .ak-book__cover {
	transform: translateY(-6px) rotate(-1.5deg);
	box-shadow:
		0 1px 0 rgba(43, 35, 32, 0.08),
		8px 12px 0 -2px var(--ak-cream),
		8px 12px 0 -1px rgba(43, 35, 32, 0.12),
		0 26px 40px rgba(43, 35, 32, 0.2);
}

@media (prefers-reduced-motion: reduce) {
	.ak-book:hover .ak-book__cover {
		transform: none;
	}
}

/* A book with no cover uploaded: a designed one. */
.ak-book__cover--plain {
	display: flex;
	flex-direction: column;
	padding: 16px 14px 16px 24px;
	color: var(--ak-on-rust);
	background:
		radial-gradient(circle at 85% 18%, rgba(255, 255, 255, 0.16) 0 22%, transparent 23%),
		radial-gradient(circle at 18% 88%, rgba(0, 0, 0, 0.12) 0 30%, transparent 31%),
		var(--ak-rust);
}

.ak-book__brand {
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	opacity: 0.85;
}

.ak-book__art {
	display: flex;
	gap: 6px;
	margin: auto 0 14px;
}

.ak-book__art i {
	display: block;
	width: 22%;
	aspect-ratio: 1;
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.9);
}

.ak-book__art i:nth-child(2) {
	border-radius: 50%;
	background: var(--ak-amber);
}

.ak-book__art i:nth-child(3) {
	border-radius: 8px 50% 8px 50%;
	background: rgba(255, 255, 255, 0.45);
}

.ak-book__covertitle {
	font-family: var(--ak-display);
	font-weight: 700;
	font-size: clamp(17px, 1.5vw, 20px);
	line-height: 1.1;
}

.ak-book__coverlevel {
	margin-top: 6px;
	font-size: 11px;
	opacity: 0.85;
}

.ak-book__cover--1 { background-color: var(--ak-ink-soft); color: var(--ak-on-dark); }
.ak-book__cover--2 { background-color: var(--ak-amber); color: var(--ak-amber-ink); }
.ak-book__cover--2 .ak-book__art i:nth-child(2) { background: var(--ak-rust); }
.ak-book__cover--3 { background-color: #3f6b5a; color: #eef6f1; }

.ak-book__level {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.02em;
	color: var(--ak-rust);
}

.ak-book__title {
	font-size: 19px;
	line-height: 1.2;
}

.ak-book__note {
	margin: 0;
	font-size: 15px;
	line-height: 1.55;
	color: var(--ak-muted);
}

.ak-book__file {
	align-self: flex-start;
	margin-top: 6px;
	padding: 6px 12px;
	border-radius: 999px;
	border: 1.5px solid var(--ak-line-strong);
	font-size: 13px;
	font-weight: 600;
	color: var(--ak-ink);
	text-decoration: none;
	transition: background 0.18s ease, border-color 0.18s ease;
}

.ak-book__file::before {
	content: "↓ ";
}

.ak-book__file:hover {
	background: var(--ak-sand);
	border-color: var(--ak-ink);
}

/* ==========================================================================
   Brochure section and document covers
   ========================================================================== */

.ak-brochure {
	display: grid;
	grid-template-columns: minmax(180px, 0.7fr) minmax(0, 1.3fr);
	gap: clamp(24px, 5vw, 72px);
	align-items: center;
	margin: clamp(24px, 4vw, 56px) 0;
	padding: clamp(28px, 5vw, 64px);
	border-radius: 32px;
	background:
		radial-gradient(circle at 12% 20%, rgba(232, 163, 61, 0.22) 0 18%, transparent 19%),
		var(--ak-sand);
	scroll-margin-top: 90px;
}

.ak-brochure__visual {
	display: flex;
	justify-content: center;
	padding: 10px 18px 22px 0;
}

.ak-brochure__visual .ak-doccover {
	width: min(100%, 300px);
	transform: rotate(-4deg);
}

.ak-brochure__main h2 {
	margin-top: 8px;
	font-size: clamp(26px, 3.4vw, 42px);
	line-height: 1.06;
	max-width: 18ch;
}

.ak-brochure__text {
	margin-top: 14px;
	font-size: 17px;
	line-height: 1.6;
	color: var(--ak-ink-soft);
	max-width: 48ch;
}

.ak-brochure__action {
	margin-top: 22px;
}

.ak-brochure__fields {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
	align-items: start;
}

.ak-brochure__fields .ak-btn {
	grid-column: 1 / -1;
	justify-self: start;
}

.ak-brochure .ak-formdone {
	background: var(--ak-cream);
}

.ak-brochure__links {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

/* A document cover: a page with two more peeking out behind it. */
.ak-doccover {
	position: relative;
	display: block;
	aspect-ratio: 4 / 5;
	border-radius: 6px 14px 14px 6px;
	background: #fff;
	box-shadow:
		8px 8px 0 -1px #fff,
		8px 8px 0 0 rgba(43, 35, 32, 0.12),
		16px 16px 0 -1px #fff,
		16px 16px 0 0 rgba(43, 35, 32, 0.1),
		0 24px 44px rgba(43, 35, 32, 0.22);
	transition: transform 0.35s var(--ak-ease);
}

.ak-doccover > img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: inherit;
}

.ak-brochure:hover .ak-brochure__visual .ak-doccover {
	transform: rotate(-1.5deg) translateY(-4px);
}

@media (prefers-reduced-motion: reduce) {
	.ak-brochure:hover .ak-brochure__visual .ak-doccover {
		transform: rotate(-4deg);
	}
}

.ak-doccover--design {
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.ak-doccover__photo {
	flex: 1 1 58%;
	background-color: var(--ak-amber-soft);
	background-size: cover;
	background-position: center;
	border-radius: 6px 14px 0 0;
}

.ak-doccover__band {
	position: relative;
	flex: 0 0 auto;
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 16px 16px 18px;
	background: var(--ak-rust);
	color: var(--ak-on-rust);
}

.ak-doccover__brand {
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	opacity: 0.85;
}

.ak-doccover__title {
	font-family: var(--ak-display);
	font-weight: 700;
	font-size: clamp(18px, 2vw, 26px);
	line-height: 1.05;
}

.ak-doccover__label {
	font-size: 12px;
	opacity: 0.85;
}

.ak-doccover__blocks {
	position: absolute;
	top: -14px;
	right: 14px;
	display: flex;
	gap: 5px;
}

.ak-doccover__blocks i {
	display: block;
	width: 26px;
	height: 26px;
	border-radius: 7px;
	background: var(--ak-amber);
	border: 3px solid #fff;
}

.ak-doccover__blocks i:nth-child(2) {
	border-radius: 50%;
	background: var(--ak-ink);
}

.ak-doccover__blocks i:nth-child(3) {
	background: var(--ak-rust-dark);
}

/* The other documents. */
.ak-docs {
	grid-column: 1 / -1;
	padding-top: clamp(20px, 3vw, 32px);
	border-top: 1px solid var(--ak-line);
}

.ak-docs__title {
	font-size: 18px;
}

.ak-docs__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 18px;
	margin: 16px 0 0;
	padding: 0;
	list-style: none;
}

.ak-doc {
	display: flex;
	gap: 16px;
	align-items: center;
	padding: 14px;
	border-radius: 18px;
	background: var(--ak-cream);
}

.ak-doc .ak-doccover {
	flex: 0 0 72px;
	width: 72px;
	box-shadow:
		4px 4px 0 -1px #fff,
		4px 4px 0 0 rgba(43, 35, 32, 0.12),
		0 10px 18px rgba(43, 35, 32, 0.16);
}

.ak-doc .ak-doccover__band {
	padding: 6px;
}

.ak-doc .ak-doccover__title {
	font-size: 9px;
}

.ak-doc .ak-doccover__brand,
.ak-doc .ak-doccover__blocks,
.ak-doc .ak-doccover__label {
	display: none;
}

.ak-doc__body {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.ak-doc__title {
	font-weight: 700;
	line-height: 1.25;
}

.ak-doc__note {
	font-size: 14px;
	line-height: 1.45;
	color: var(--ak-muted);
}

.ak-doc__link {
	margin-top: 4px;
	font-size: 14px;
	font-weight: 600;
	color: var(--ak-rust);
}

@media (max-width: 899px) {
	.ak-brochure {
		grid-template-columns: 1fr;
	}

	.ak-brochure__visual .ak-doccover {
		width: min(62%, 240px);
	}
}

@media (max-width: 560px) {
	.ak-brochure__fields {
		grid-template-columns: 1fr;
	}

	.ak-brochure__fields .ak-btn {
		justify-self: stretch;
	}
}

/* Inside the franchise page's own wider layout. */
.ak-fl__brochure .ak-brochure {
	margin: 0;
}

@media (max-width: 1023px) {
	.ak-books {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 560px) {
	.ak-books {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* ==========================================================================
   Home: books we use
   ========================================================================== */

.ak-homebooks {
	padding: clamp(40px, 6vw, 96px) 0 clamp(16px, 3vw, 40px);
}

.ak-homebooks__head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 18px 32px;
}

.ak-homebooks__head .ak-h2 {
	margin-top: 8px;
}

.ak-homebooks__head .ak-lede {
	margin-top: 12px;
}

.ak-homebooks__link {
	flex: none;
}

.ak-brochure__hint {
	grid-column: 1 / -1;
	margin: -4px 0 0;
	font-size: 13px;
	color: var(--ak-muted);
}

.ak-brochure__started {
	font-size: 15px;
	font-weight: 600;
	color: var(--ak-ink);
}

/* The editor-only preview, before a brochure is uploaded. */
.ak-brochure--preview {
	outline: 2px dashed rgba(43, 35, 32, 0.25);
	outline-offset: -10px;
}

.ak-brochure__admin {
	grid-column: 1 / -1;
	margin: 0;
	padding: 10px 14px;
	border-radius: 12px;
	background: #fff8e5;
	border: 1px solid #f0c33c;
	font-size: 14px;
	line-height: 1.5;
	color: var(--ak-ink);
}

.ak-brochure__admin a {
	font-weight: 700;
	color: var(--ak-rust);
	white-space: nowrap;
}

/* ==========================================================================
   Home — the latest from the Journal
   ========================================================================== */

.ak-homejournal {
	padding: clamp(40px, 6vw, 80px) 0 0;
}

.ak-homejournal__head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: clamp(20px, 3vw, 32px);
}

.ak-homejournal__head .ak-lede { max-width: 56ch; margin-top: 8px; }

.ak-homejournal__link { flex: none; }

.ak-homejournal__more { margin-top: 20px; }

.ak-homejournal__more a {
	font-weight: 600;
	text-decoration: none;
	border-bottom: 1px solid currentColor;
}

@media (max-width: 720px) {
	.ak-homejournal__link { display: none; }
}

/* ==========================================================================
   Legal pages — privacy policy, terms
   ========================================================================== */

.ak-legal__updated {
	display: inline-block;
	margin-top: 12px;
	padding: 4px 12px;
	border-radius: 999px;
	background: rgba(43, 35, 32, 0.07);
	font-size: 14px;
}

.ak-legal__head + .ak-pagecontent,
.ak-legal__head + * .ak-pagecontent { margin-top: clamp(24px, 4vw, 40px); }

/* ==========================================================================
   Home — what makes Arka Kids different
   ========================================================================== */

.ak-different {
	padding: clamp(40px, 6vw, 80px) 0 0;
}

.ak-different__head { max-width: 62ch; margin-bottom: clamp(20px, 3vw, 32px); }

.ak-different__head .ak-lede { margin-top: 10px; }

.ak-different__list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 10px clamp(16px, 3vw, 32px);
	margin: 0;
	padding: 0;
	list-style: none;
}

.ak-different__list li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 10px 0;
	border-bottom: 1px solid rgba(43, 35, 32, 0.1);
	font-size: clamp(15px, 1.6vw, 17px);
	line-height: 1.45;
}

.ak-different__tick {
	flex: none;
	display: grid;
	place-items: center;
	width: 24px;
	height: 24px;
	margin-top: 1px;
	border-radius: 50%;
	background: var(--ak-accent, #b2461f);
	color: #fff;
}

.ak-different__tick svg { width: 15px; height: 15px; }

/* The motto under the vision panels */
.ak-vision__motto {
	grid-column: 1 / -1;
	margin: clamp(18px, 3vw, 28px) 0 0;
	font-family: var(--ak-display);
	font-size: clamp(18px, 2.6vw, 26px);
	line-height: 1.3;
	text-align: center;
	letter-spacing: 0.01em;
}

/* ==========================================================================
   About — philosophy and pedagogy
   ========================================================================== */

.ak-philosophy .ak-lede { max-width: 68ch; margin-top: 10px; }

.ak-philosophy__verbs {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: clamp(18px, 3vw, 28px) 0 0;
	padding: 0;
	list-style: none;
}

.ak-philosophy__verbs li {
	padding: 8px 18px;
	border: 1px solid rgba(43, 35, 32, 0.18);
	border-radius: 999px;
	font-size: 15px;
	font-weight: 600;
}

.ak-cur__note {
	margin-top: clamp(16px, 2.5vw, 24px);
	font-size: clamp(15px, 1.7vw, 18px);
	color: var(--ak-muted);
}

/* ==========================================================================
   Centres — the illustrated map hero
   ========================================================================== */

.ak-chero {
	display: flex;
	flex-wrap: wrap;
	gap: clamp(20px, 3.4vw, 52px);
	align-items: stretch;
	padding: clamp(24px, 4.4vw, 64px) 0 clamp(24px, 3.4vw, 44px);
}

.ak-chero--plain { display: block; }

.ak-chero__copy {
	flex: 1 1 340px;
	min-width: min(100%, 290px);
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.ak-chero__copy .ak-lede { max-width: 42ch; }

.ak-chero__key {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 20px;
	font-size: 14px;
	font-weight: 600;
	color: var(--ak-muted);
}

.ak-chero__key span[aria-hidden] { display: inline-flex; }

.ak-chero__key i {
	width: 16px;
	height: 16px;
	border-radius: 999px;
	border: 2px solid var(--ak-cream);
	box-shadow: 0 2px 5px rgba(43, 35, 32, 0.25);
	margin-right: -6px;
}

.ak-chero__map { flex: 1.25 1 420px; min-width: min(100%, 290px); }

.ak-chmap {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: clamp(380px, 46vw, 560px);
	border-radius: 28px;
	overflow: hidden;
	background: #f1e6d8 radial-gradient(rgba(43, 35, 32, 0.13) 1.2px, transparent 1.4px) 0 0 / 22px 22px;
	border: 4px solid var(--ak-cream);
	box-shadow: 0 0 0 1.5px rgba(43, 35, 32, 0.14), 0 22px 50px rgba(43, 35, 32, 0.16);
}

.ak-chmap__clip {
	position: relative;
	flex: 1 1 auto;
	min-height: 0;
	display: flex;
	overflow: hidden;
}

.ak-chmap__world {
	position: relative;
	flex: 0 0 auto;
	margin: auto;
	aspect-ratio: 800 / 560;
	width: 100%;
	transform-origin: 68.5% 50.4%;
	transition: transform 0.8s cubic-bezier(0.65, 0, 0.35, 1);
}

.ak-chmap__world.is-zoomed { transform: translate(-18.5%, -0.4%) scale(1.3); }

.ak-chmap svg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	overflow: visible;
}

.ak-chmap__stops { position: absolute; inset: 0; }

.ak-chmap__stop {
	position: absolute;
	transform: translate(-50%, -50%);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 3px;
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
	font: inherit;
	color: inherit;
	transition: opacity 0.3s ease;
}

.ak-chmap__stop::before {
	/* A finger-sized target over a small dot. */
	content: "";
	position: absolute;
	left: 50%;
	top: 13px;
	width: 44px;
	height: 44px;
	transform: translate(-50%, -50%);
}

.ak-chmap__dot {
	position: relative;
	display: grid;
	place-items: center;
	width: 26px;
	height: 26px;
	border-radius: 999px;
	background: var(--ak-cream);
	border: 4px solid var(--c);
	box-shadow: 0 4px 10px rgba(43, 35, 32, 0.25);
	font-family: var(--ak-display);
	font-size: 11px;
	font-weight: 800;
	color: var(--c);
	transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.15s ease, color 0.15s ease;
}

.ak-chmap__dot::after {
	content: "";
	position: absolute;
	inset: -4px;
	border-radius: 999px;
	border: 3px solid var(--c);
	opacity: 0;
}

.ak-chmap__stop.is-far .ak-chmap__dot { width: 34px; height: 34px; font-size: 13px; }

.ak-chmap__lbl {
	padding: 2px 8px;
	border-radius: 999px;
	background: rgba(251, 246, 238, 0.92);
	font-family: var(--ak-display);
	font-size: 12px;
	font-weight: 700;
	white-space: nowrap;
	box-shadow: 0 2px 6px rgba(43, 35, 32, 0.1);
}

.ak-chmap__stop.is-on .ak-chmap__dot { transform: scale(1.3); background: var(--c); color: var(--ak-cream); }
.ak-chmap__stop.is-on .ak-chmap__dot::after { opacity: 1; }
.ak-chmap__stop.is-dim { opacity: 0.32; }

@media (hover: hover) and (pointer: fine) {
	.ak-chmap__stop:hover .ak-chmap__dot { transform: scale(1.18); }
}

.ak-chmap__card {
	position: relative;
	z-index: 5;
	flex: 0 0 auto;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 18px;
	margin: 0 14px 14px;
	padding: 12px 16px;
	border-radius: 18px;
	background: var(--ak-cream);
	border: 1px solid rgba(43, 35, 32, 0.1);
	box-shadow: 0 14px 34px rgba(43, 35, 32, 0.22);
}

.ak-chmap__text { flex: 1 1 200px; min-width: 0; }

.ak-chmap__kicker {
	margin: 0;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ak-accent, #9c3e22);
}

.ak-chmap__name {
	margin: 4px 0 0;
	font-family: var(--ak-display);
	font-size: 20px;
	font-weight: 700;
	letter-spacing: -0.01em;
}

.ak-chmap__note { margin: 4px 0 0; font-size: 13px; line-height: 1.45; color: var(--ak-muted); }

.ak-chmap__actions { display: flex; gap: 8px; flex: 0 1 280px; }
.ak-chmap__actions[hidden] { display: none; }
.ak-chmap__actions .ak-btn { flex: 1 1 0; min-height: 44px; font-size: 14px; }

.ak-chmap__scale {
	position: absolute;
	z-index: 4;
	right: 14px;
	top: 12px;
	padding: 4px 10px;
	border-radius: 999px;
	background: rgba(251, 246, 238, 0.9);
	font-size: 12px;
	font-weight: 600;
	color: var(--ak-muted);
}

@media (max-width: 560px) {
	.ak-chmap__stop:not(.is-far):not(.is-on) .ak-chmap__lbl { display: none; }
	.ak-chmap__world.is-zoomed .ak-chmap__lbl { display: block; font-size: 10px; padding: 1px 6px; }
	.ak-chmap__dot { width: 22px; height: 22px; border-width: 3px; font-size: 10px; }
	.ak-chmap__stop.is-far .ak-chmap__dot { width: 28px; height: 28px; }
	.ak-chmap__card { margin: 0 10px 10px; padding: 10px 14px; }
	.ak-chmap__note { display: none; }
	.ak-chmap__actions { flex: 1 1 100%; margin-top: 8px; }
}

@keyframes ak-chmap-draw { from { stroke-dashoffset: var(--len); } to { stroke-dashoffset: 0; } }
@keyframes ak-chmap-pop { from { opacity: 0; transform: translate(-50%, -50%) scale(0.3); } to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }
@keyframes ak-chmap-ring { 0% { transform: scale(1); opacity: 0.8; } 100% { transform: scale(1.9); opacity: 0; } }
@keyframes ak-chmap-drift { from { transform: translateX(-160px); } to { transform: translateX(980px); } }
@keyframes ak-chmap-sway { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg); } }
@keyframes ak-chmap-spin { to { transform: rotate(360deg); } }
@keyframes ak-chmap-card { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: no-preference) {
	.ak-chmap__road { stroke-dasharray: var(--len); animation: ak-chmap-draw 1.6s cubic-bezier(0.65, 0, 0.35, 1) 0.1s both; }
	.ak-chmap__stop { animation: ak-chmap-pop 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) both; animation-delay: var(--d); }
	.ak-chmap__stop.is-on .ak-chmap__dot::after { animation: ak-chmap-ring 1.4s cubic-bezier(0.2, 0, 0, 1) infinite; }
	.ak-chmap__cloud { animation: ak-chmap-drift var(--t) linear infinite; animation-delay: var(--o); }
	.ak-chmap__tree { transform-box: fill-box; transform-origin: 50% 100%; animation: ak-chmap-sway 3.6s ease-in-out infinite; animation-delay: var(--o); }
	.ak-chmap__rays { transform-box: fill-box; transform-origin: center; animation: ak-chmap-spin 24s linear infinite; }
	.ak-chmap__card.is-swapping { animation: ak-chmap-card 0.26s cubic-bezier(0.23, 1, 0.32, 1) both; }
}

/* ==========================================================================
   The free text block — an editor's own headings and paragraphs
   ========================================================================== */

/*
 * Deliberately plain. The block carries words the design never planned for,
 * so it borrows the site's prose styling rather than inventing a look of its
 * own — a page that uses it should read as though the copy had always been
 * there.
 */
.ak-blocktext {
	display: grid;
	gap: clamp(28px, 4vw, 48px);
	margin: clamp(40px, 6vw, 80px) 0;
}

.ak-blocktext__item {
	max-width: 72ch;
}

.ak-blocktext__title {
	max-width: 24ch;
}

/* The body already sits under a heading, so it needs no top margin of its own. */
.ak-blocktext__title + .ak-blocktext__body { margin-top: clamp(12px, 1.6vw, 18px); }
.ak-blocktext__body:first-child { margin-top: 0; }
