/* כיתת AI עם הדר - the site's look, after Hadar's landing page design (design/landing-page-assets/design).
   White pages, a lo-fi night hero, purple, pastel cards and pixel details. Mobile first is checked at 390px. */

:root {
	--ink: #1d1640;
	--text: #2e2754;
	--muted: #5f5888;
	--purple: #7646f5;
	--purple-dark: #5a30d8;
	--purple-soft: #b9a2ff;
	--cyan: #19c6f0;
	--night: #1b1442;
	--night-text: #e9e3ff;
	--tint: #f6f2ff;
	--lilac: #f4efff;
	--lilac-line: #e2d6fd;
	--sky: #eefaff;
	--sky-line: #c9ecf9;
	--cream: #fffaf0;
	--cream-line: #f5e4c3;
	--radius: 20px;
	--shadow: 0 12px 32px rgba(58, 30, 140, 0.1);
	--font-title: "Fredoka", "Rubik", system-ui, sans-serif;
	--font-heading: "Jimbory", var(--font-title);
	--font-text: "Rubik", system-ui, sans-serif;
	--wrap: 1200px;
	--pad: 16px;
	--pixel-bracket: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' shape-rendering='crispEdges'%3E%3Crect x='16' y='0' width='8' height='8' fill='%2319c6f0'/%3E%3Crect x='8' y='8' width='8' height='8' fill='%237646f5'/%3E%3Crect x='0' y='16' width='16' height='8' fill='%237646f5'/%3E%3C/svg%3E");
	--pixel-edge: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 96 24' shape-rendering='crispEdges'%3E%3Crect y='16' width='96' height='8' fill='%23fff'/%3E%3Crect x='0' y='8' width='16' height='8' fill='%23fff'/%3E%3Crect x='24' y='8' width='24' height='8' fill='%23fff'/%3E%3Crect x='32' y='0' width='8' height='8' fill='%23d9ccff'/%3E%3Crect x='56' y='8' width='8' height='8' fill='%23d9ccff'/%3E%3Crect x='72' y='8' width='24' height='8' fill='%23fff'/%3E%3Crect x='80' y='0' width='8' height='8' fill='%23fff'/%3E%3Crect x='16' y='8' width='8' height='8' fill='%23e9e1ff'/%3E%3C/svg%3E");
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: 90px;
}

body {
	margin: 0;
	background: #fff;
	color: var(--text);
	font-family: var(--font-text);
	font-size: 18px;
	line-height: 1.6;
	overflow-x: clip;
}

img {
	max-width: 100%;
	height: auto;
}

a {
	color: var(--purple-dark);
}

h1,
h2,
h3 {
	margin: 0;
	color: var(--ink);
	font-family: var(--font-heading);
	font-weight: 700;
	line-height: 1.2;
	text-wrap: balance;
}

p {
	margin: 0;
}

:focus-visible {
	outline: 3px solid var(--cyan);
	outline-offset: 3px;
}

.aik-sr,
.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.aik-skip {
	position: absolute;
	top: -60px;
	right: 16px;
	z-index: 100;
	padding: 10px 16px;
	border-radius: 12px;
	background: var(--ink);
	color: #fff;
}

.aik-skip:focus {
	top: 12px;
}

/* Buttons */

.aik-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 11px 22px;
	border: 0;
	border-radius: 14px;
	background: linear-gradient(180deg, #8d63ff, var(--purple));
	box-shadow: 0 4px 0 var(--purple-dark);
	color: #fff;
	font-family: var(--font-title);
	font-size: 18px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: transform 0.15s, box-shadow 0.15s;
}

.aik-button:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 0 var(--purple-dark);
}

.aik-button:active {
	transform: translateY(2px);
	box-shadow: 0 2px 0 var(--purple-dark);
}

.aik-button .aik-icon {
	width: 1.5em;
	height: 1.5em;
	filter: brightness(0) invert(1);
}

.aik-button-light {
	background: linear-gradient(180deg, #d4c5ff, #ac90ff);
	box-shadow: 0 4px 0 #7f62e0;
	color: var(--ink);
}

.aik-button-light:hover {
	box-shadow: 0 6px 0 #7f62e0;
}

.aik-button-light .aik-icon {
	filter: brightness(0) saturate(100%) invert(10%) sepia(29%) saturate(3000%) hue-rotate(236deg);
}

.aik-button-ghost {
	background: #fff;
	box-shadow: inset 0 0 0 2px var(--purple), 0 4px 0 var(--lilac-line);
	color: var(--purple-dark);
}

.aik-button-ghost:hover {
	box-shadow: inset 0 0 0 2px var(--purple), 0 6px 0 var(--lilac-line);
}

.aik-button-big {
	padding: 15px 30px;
	font-size: 21px;
}

@media (max-width: 480px) {
	.aik-button-big {
		padding: 14px 20px;
		font-size: 18px;
	}
}

/* Header */

.aik-header {
	position: sticky;
	top: var(--wp-admin--admin-bar--height, 0px);
	z-index: 50;
	background: rgba(255, 255, 255, 0.96);
	border-bottom: 1px solid var(--lilac-line);
	backdrop-filter: blur(8px);
}

.aik-header-inner {
	display: flex;
	align-items: center;
	gap: 24px;
	max-width: var(--wrap);
	min-height: 76px;
	margin: 0 auto;
	padding: 8px var(--pad);
}

.aik-logo {
	flex: none;
	display: block;
	line-height: 0;
}

.aik-logo img {
	width: auto;
	height: 52px;
}

.aik-nav {
	flex: 1;
}

.aik-nav-list {
	display: flex;
	justify-content: center;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.aik-nav-list li + li::before {
	content: "|";
	margin-inline-end: 6px;
	color: var(--lilac-line);
}

.aik-nav-list a {
	padding: 6px 7px;
	border-radius: 10px;
	color: var(--ink);
	font-size: 16px;
	text-decoration: none;
	white-space: nowrap;
}

.aik-nav-list a:hover,
.aik-nav-list .current-menu-item:not(.menu-item-type-custom) a {
	background: var(--lilac);
	color: var(--purple-dark);
}

.aik-header-cta {
	flex: none;
}

/* The way into the class system: the night of its join screen, so kids know it at a glance */
.aik-class-link {
	flex: none;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	padding: 8px 18px;
	border-radius: 14px;
	background: linear-gradient(180deg, #2a1f63, #1b1442);
	box-shadow: 0 4px 0 #0f0a2b, inset 0 0 0 2px rgba(95, 227, 246, 0.55);
	color: #fff;
	font-family: "Fredoka", "Rubik", system-ui, sans-serif;
	font-size: 18px;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
}

.aik-class-link:hover {
	box-shadow: 0 4px 0 #0f0a2b, inset 0 0 0 2px #5fe3f6;
}

.aik-class-link:focus-visible {
	outline: 3px solid #19c6f0;
	outline-offset: 3px;
}

.aik-menu-toggle {
	display: none;
}

/* Seven menu items, the class button and "update me" fit in one row from 1240px; below that the menu folds */
@media (max-width: 1240px) {
	.aik-header-inner {
		gap: 10px;
		min-height: 64px;
	}

	.aik-logo img {
		height: 42px;
	}

	.aik-menu-toggle {
		display: grid;
		place-items: center;
		order: 3;
		width: 44px;
		height: 44px;
		border: 2px solid var(--lilac-line);
		border-radius: 12px;
		background: #fff;
		cursor: pointer;
	}

	.aik-burger,
	.aik-burger::before,
	.aik-burger::after {
		display: block;
		width: 20px;
		height: 3px;
		background: var(--ink);
		content: "";
	}

	.aik-burger::before {
		transform: translateY(-7px);
	}

	.aik-burger::after {
		transform: translateY(4px);
	}

	.aik-menu-open .aik-burger {
		background: transparent;
	}

	.aik-menu-open .aik-burger::before {
		transform: translateY(0) rotate(45deg);
	}

	.aik-menu-open .aik-burger::after {
		transform: translateY(-3px) rotate(-45deg);
	}

	.aik-nav {
		display: none;
		position: absolute;
		top: 100%;
		inset-inline: 0;
		padding: 12px var(--pad) 20px;
		background: #fff;
		border-bottom: 1px solid var(--lilac-line);
		box-shadow: var(--shadow);
	}

	.aik-menu-open .aik-nav {
		display: block;
	}

	.aik-nav-list {
		flex-direction: column;
	}

	.aik-nav-list li + li::before {
		content: none;
	}

	.aik-nav-list a {
		display: block;
		padding: 12px;
		font-size: 19px;
	}

	.aik-class-link {
		margin-inline-start: auto;
		padding: 8px 12px;
		font-size: 16px;
	}

	.aik-header-cta {
		padding: 9px 14px;
		font-size: 16px;
	}
}

/* A phone: both buttons without their icons, so the logo, both and the menu fit in one row */
@media (max-width: 440px) {
	.aik-class-link .aik-icon,
	.aik-header-cta .aik-icon {
		display: none;
	}

	.aik-class-link,
	.aik-header-cta {
		padding: 8px 10px;
		font-size: 15px;
	}
}

/* Hero: the night art, the text on its dark side, and a pixel edge into the white page */

.aik-hero {
	position: relative;
	display: grid;
	grid-template-columns: minmax(var(--pad), 1fr) minmax(0, 620px) minmax(0, 580px) minmax(var(--pad), 1fr);
	min-height: clamp(560px, 52vw, 720px);
	background: var(--night);
	isolation: isolate;
}

.aik-hero::after {
	content: "";
	position: absolute;
	inset-inline: 0;
	bottom: -1px;
	height: 24px;
	background: var(--pixel-edge) repeat-x bottom / 96px 24px;
	z-index: 1;
}

.aik-hero-art {
	position: absolute;
	inset: 0;
	z-index: -1;
}

.aik-hero-art img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: left center;
}

.aik-hero-text {
	grid-column: 2;
	align-self: center;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 18px;
	padding: 56px 0 72px;
}

.aik-eyebrow {
	padding: 4px 14px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.14);
	color: var(--night-text);
	font-size: 16px;
	font-weight: 500;
}

.aik-hero-title {
	color: #fff;
	font-size: clamp(42px, 6vw, 84px);
	line-height: 1.04;
	text-shadow: 0 4px 0 rgba(15, 8, 45, 0.45);
}

.aik-hero-title span {
	color: var(--purple-soft);
}

.aik-hero-logo {
	width: min(440px, 92%);
	margin-block: -4px;
}

.aik-hero-lead {
	color: #fff;
	font-size: clamp(19px, 2vw, 23px);
	font-weight: 500;
	line-height: 1.45;
}

.aik-hero-meta {
	color: var(--night-text);
	font-size: 16px;
}

.aik-hero-meta span {
	margin-inline: 8px;
	opacity: 0.6;
}

@media (max-width: 800px) {
	.aik-hero {
		display: block;
		min-height: 0;
	}

	.aik-hero-art {
		position: relative;
		z-index: 0;
		height: 62vw;
		max-height: 380px;
	}

	.aik-hero-art::after {
		content: "";
		position: absolute;
		inset-inline: 0;
		bottom: 0;
		height: 40%;
		background: linear-gradient(transparent, var(--night));
	}

	.aik-hero-text {
		gap: 14px;
		margin-top: -32px;
		padding: 0 var(--pad) 64px;
		position: relative;
	}
}

/* Bands, sections and titles */

.aik-band {
	padding: clamp(36px, 5vw, 56px) var(--pad);
}

.aik-stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	max-width: 1040px;
	margin: 0 auto;
	padding: 0;
	list-style: none;
}

.aik-stats li {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	padding: 4px 20px;
	text-align: center;
}

.aik-stats li + li {
	border-inline-start: 2px solid var(--lilac-line);
}

.aik-stats strong {
	color: var(--ink);
	font-family: var(--font-title);
	font-size: 24px;
	font-weight: 700;
	line-height: 1.2;
}

.aik-stats span {
	color: var(--muted);
	font-size: 17px;
}

@media (max-width: 700px) {
	.aik-stats {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.aik-stats li {
		display: grid;
		grid-template-columns: 64px 1fr;
		column-gap: 16px;
		row-gap: 0;
		padding: 0;
		text-align: start;
	}

	.aik-stats li + li {
		border: 0;
	}

	.aik-stats .aik-icon {
		grid-row: span 2;
	}
}

.aik-section {
	padding: clamp(52px, 7vw, 92px) var(--pad);
}

.aik-band + .aik-section {
	padding-top: clamp(24px, 3vw, 40px);
}

.aik-section > * {
	max-width: var(--wrap);
	margin-inline: auto;
}

.aik-section-tint {
	background: var(--tint);
}

.aik-title {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 18px;
	margin-bottom: clamp(28px, 4vw, 44px);
	font-size: clamp(28px, 4vw, 44px);
	text-align: center;
}

.aik-title::before,
.aik-title::after {
	content: "";
	flex: none;
	width: 22px;
	height: 22px;
	background: var(--pixel-bracket) no-repeat center / contain;
}

.aik-title::after {
	transform: scale(-1, -1);
}

.aik-title-light {
	color: #fff;
}

.aik-subtitle {
	margin-top: -26px;
	margin-bottom: 32px;
	color: var(--muted);
	font-size: 19px;
	text-align: center;
}

.aik-subtitle span {
	margin-inline: 8px;
	color: var(--purple);
}

.aik-note {
	margin-top: 22px;
	color: var(--muted);
	text-align: center;
}

.aik-note span {
	margin-inline: 6px;
	color: var(--purple);
}

.aik-badge {
	display: inline-block;
	padding: 4px 16px;
	border-radius: 999px;
	background: var(--lilac);
	color: var(--purple-dark);
	font-size: 15px;
	font-weight: 500;
}

/* Cards */

.aik-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 20px;
	padding: 0;
	list-style: none;
}

.aik-cards-4 {
	grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.aik-cards-rules {
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.aik-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	padding: 26px 20px 28px;
	border: 2px solid var(--lilac-line);
	border-radius: var(--radius);
	background: var(--lilac);
	text-align: center;
}

.aik-card h3 {
	margin-top: 6px;
	font-size: 23px;
}

.aik-card p {
	color: var(--muted);
	font-size: 17px;
	line-height: 1.5;
}

.aik-card.is-cream {
	border-color: var(--cream-line);
	background: var(--cream);
}

.aik-card.is-sky {
	border-color: var(--sky-line);
	background: var(--sky);
}

/* The first game: the game in a browser frame */

.aik-showcase {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 2.3fr);
	align-items: center;
	gap: 40px;
}

.aik-browser {
	position: relative;
	margin: 0;
	padding: 34px 10px 10px;
	border-radius: 20px;
	background: #fff;
	box-shadow: var(--shadow), 0 0 0 2px var(--lilac-line);
}

.aik-browser-bar {
	position: absolute;
	top: 12px;
	left: 16px;
	display: flex;
	gap: 6px;
}

.aik-browser-bar i {
	width: 11px;
	height: 11px;
	border-radius: 50%;
	background: #ff5f57;
}

.aik-browser-bar i:nth-child(2) {
	background: #febc2e;
}

.aik-browser-bar i:nth-child(3) {
	background: #28c840;
}

.aik-browser img {
	display: block;
	width: 100%;
	border-radius: 12px;
}

/* The playable game inside the browser frame (assets/game/orca-game.js) */

.aik-game {
	position: relative;
	overflow: hidden;
	border-radius: 12px;
	background: #1e7fd6;
	line-height: 0;
}

.aik-game:focus-visible {
	outline: 3px solid var(--purple);
	outline-offset: 3px;
}

.aik-game canvas {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	image-rendering: pixelated;
	touch-action: none;
	user-select: none;
}

.aik-game-overlay {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 16px;
	background: rgba(27, 20, 66, 0.72);
	color: #fff;
	line-height: 1.4;
	text-align: center;
}

.aik-game-overlay[hidden] {
	display: none;
}

.aik-game-title {
	margin: 0;
	font-family: var(--font-title);
	font-size: clamp(22px, 3.4vw, 34px);
	font-weight: 700;
	text-shadow: 0 3px 0 #0f0a2b;
}

.aik-game-text {
	margin: 0;
	font-size: clamp(14px, 1.8vw, 18px);
}

.aik-game-keys {
	display: inline-block;
	margin-top: 6px;
	font-size: 0.85em;
	opacity: 0.85;
}

.aik-game-start {
	margin-top: 6px;
}

/* until the game's pictures load (orca-game.js) */
.aik-game-start:disabled {
	opacity: 0.6;
	cursor: progress;
	transform: none;
}

.aik-game-sound {
	position: absolute;
	right: 10px;
	bottom: 10px;
	width: 40px;
	height: 40px;
	border: 0;
	border-radius: 10px;
	background: rgba(42, 26, 77, 0.75);
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
}

.aik-game-sound:focus-visible {
	outline: 3px solid #fff;
}

/* A phone: the game is small, so the start screen keeps only the name, one line and the button */
@media (max-width: 600px) {
	.aik-game-overlay {
		gap: 4px;
		padding: 8px;
	}

	.aik-game-keys {
		display: none;
	}

	.aik-game-text {
		font-size: 13px;
	}

	.aik-game-start {
		margin-top: 2px;
		padding: 8px 18px;
		font-size: 16px;
	}

	.aik-game-start .aik-icon {
		width: 20px;
		height: 20px;
	}
}

.aik-browser figcaption {
	position: absolute;
	bottom: 20px;
	left: 20px;
	padding: 2px 12px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.9);
	color: var(--ink);
	font-size: 14px;
}

.aik-showcase-text {
	order: -1;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.aik-showcase-title {
	color: var(--ink);
	font-family: var(--font-title);
	font-size: clamp(26px, 3vw, 34px);
	font-weight: 700;
	line-height: 1.2;
}

.aik-showcase-text p:last-child {
	padding-bottom: 12px;
	border-bottom: 4px solid var(--purple-soft);
	color: var(--muted);
	font-size: 20px;
}

@media (max-width: 800px) {
	.aik-showcase {
		grid-template-columns: 1fr;
		gap: 24px;
		text-align: center;
	}

	.aik-showcase-text {
		align-items: center;
	}
}

/* Steps from idea to launch */

.aik-steps {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 34px;
	padding: 0;
	list-style: none;
}

.aik-steps li {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	padding: 18px 12px 22px;
	border-radius: 18px;
	background: var(--tint);
	text-align: center;
}

.aik-section-tint .aik-steps li {
	background: #fff;
}

.aik-steps b {
	color: var(--purple);
	font-family: var(--font-title);
	font-size: 22px;
}

.aik-steps span {
	color: var(--ink);
	font-family: var(--font-title);
	font-size: 20px;
	font-weight: 600;
	line-height: 1.25;
}

.aik-steps li:not(:last-child)::after {
	content: "←";
	position: absolute;
	inset-inline-end: -28px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--purple-soft);
	font-size: 22px;
}

@media (max-width: 700px) {
	.aik-steps {
		grid-template-columns: 1fr 1fr;
		gap: 14px;
	}

	.aik-steps li:not(:last-child)::after {
		content: none;
	}
}

/* Facts: when, where, how much */

.aik-facts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 18px;
	padding: 0;
	list-style: none;
}

.aik-facts li {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding: 20px;
	border-radius: var(--radius);
	background: #fff;
	box-shadow: 0 0 0 2px var(--lilac-line);
}

.aik-facts strong {
	display: block;
	color: var(--ink);
	font-family: var(--font-title);
	font-size: 21px;
	line-height: 1.3;
}

.aik-facts span {
	color: var(--muted);
	font-size: 17px;
}

/* About Hadar */

.aik-about {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
	align-items: center;
	gap: clamp(28px, 5vw, 64px);
	max-width: calc(var(--wrap) + 2 * var(--pad));
	margin: 0 auto;
}

.aik-about-photo {
	position: relative;
	order: 2;
	margin: 0;
}

.aik-about-photo img {
	display: block;
	width: 100%;
	max-height: 560px;
	object-fit: cover;
	object-position: center 30%;
	border: 5px solid #d8c8ff;
	border-radius: 28px;
}

.aik-about-photo::before,
.aik-about-photo::after {
	content: "✦";
	position: absolute;
	color: var(--purple);
	font-size: 34px;
	line-height: 1;
}

.aik-about-photo::before {
	top: -18px;
	right: -14px;
}

.aik-about-photo::after {
	bottom: 18%;
	left: -12px;
	font-size: 26px;
}

.aik-about-text {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	text-align: center;
}

.aik-about-text .aik-title {
	margin-bottom: 0;
}

.aik-about-role {
	color: var(--muted);
	font-size: 20px;
}

.aik-about-role span {
	margin-inline: 8px;
	color: var(--purple);
}

.aik-about-lead {
	color: var(--ink);
	font-size: clamp(21px, 2.4vw, 26px);
	line-height: 1.45;
}

.aik-about-quote {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-top: 8px;
}

.aik-about-quote img {
	width: 150px;
}

.aik-about-quote p {
	color: var(--ink);
	font-family: var(--font-title);
	font-size: clamp(21px, 2.4vw, 26px);
	font-weight: 700;
	line-height: 1.35;
	text-align: start;
}

@media (max-width: 800px) {
	.aik-about {
		grid-template-columns: 1fr;
	}

	.aik-about-photo {
		order: 0;
		max-width: 360px;
		margin-inline: auto;
	}

	.aik-about-quote img {
		width: 110px;
	}
}

/* Formats: Zoom or at home */

.aik-formats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
	gap: 22px;
}

.aik-format {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
	grid-template-areas: "head head" "list art";
	align-items: center;
	gap: 12px 16px;
	padding: 24px;
	border: 2px solid var(--sky-line);
	border-radius: 24px;
	background: var(--sky);
}

.aik-format.is-cream {
	border-color: var(--cream-line);
	background: var(--cream);
}

.aik-format header {
	grid-area: head;
	display: flex;
	align-items: center;
	gap: 12px;
}

.aik-format h3 {
	font-size: clamp(23px, 2.6vw, 28px);
}

.aik-format .aik-badge {
	margin-inline-start: auto;
	background: #fff;
}

.aik-format ul {
	grid-area: list;
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.aik-format li {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--ink);
	font-size: 18px;
}

.aik-format > img {
	grid-area: art;
	width: 100%;
}

@media (max-width: 480px) {
	.aik-format {
		grid-template-columns: 1fr;
		grid-template-areas: "head" "list" "art";
	}

	.aik-format > img {
		max-width: 240px;
		margin-inline: auto;
	}
}

/* Questions */

.aik-faq {
	display: flex;
	flex-direction: column;
	gap: 14px;
	max-width: 960px;
}

.aik-faq-item {
	border: 2px solid var(--lilac-line);
	border-radius: 18px;
	background: #fff;
}

.aik-faq-item summary {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 16px 20px;
	color: var(--ink);
	font-family: var(--font-title);
	font-size: 20px;
	font-weight: 600;
	list-style: none;
	cursor: pointer;
}

.aik-faq-item summary::-webkit-details-marker {
	display: none;
}

.aik-faq-item summary::after {
	content: "";
	flex: none;
	width: 11px;
	height: 11px;
	margin-inline-start: auto;
	border-right: 3px solid var(--purple);
	border-bottom: 3px solid var(--purple);
	transform: translateY(-3px) rotate(45deg);
	transition: transform 0.2s;
}

.aik-faq-item[open] summary::after {
	transform: translateY(3px) rotate(-135deg);
}

.aik-faq-answer {
	margin: 0 16px 16px;
	padding: 14px 18px;
	border-radius: 12px;
	background: var(--lilac);
	color: var(--text);
	line-height: 1.7;
}

.aik-faq-answer > * {
	margin: 0;
}

.aik-faq-answer > * + * {
	margin-top: 10px;
}

.aik-faq-answer ul {
	padding-inline-start: 22px;
}

.aik-faq-answer li + li {
	margin-top: 4px;
}

.aik-faq-answer li::marker {
	color: var(--purple);
}

/* Sign-up: the night art with the form on its dark side */

.aik-signup {
	position: relative;
	display: grid;
	grid-template-columns: minmax(var(--pad), 1fr) minmax(0, 560px) minmax(0, 640px) minmax(var(--pad), 1fr);
	min-height: 600px;
	background: var(--night);
	isolation: isolate;
}

.aik-signup-art {
	position: absolute;
	inset: 0;
	z-index: -1;
}

.aik-signup-art img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: left center;
}

.aik-signup-box {
	grid-column: 2;
	align-self: center;
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 64px 0;
	text-align: center;
}

.aik-signup .aik-title {
	margin-bottom: 0;
}

.aik-signup-text {
	color: var(--night-text);
	font-size: 19px;
}

@media (max-width: 800px) {
	.aik-signup {
		display: block;
		min-height: 0;
	}

	.aik-signup-art {
		position: relative;
		z-index: 0;
		height: 56vw;
		max-height: 340px;
	}

	.aik-signup-box {
		padding: 28px var(--pad) 56px;
	}
}

/* The form (rendered by the aikids-site plugin) */

.aik-lead-form {
	display: flex;
	flex-direction: column;
	gap: 12px;
	text-align: start;
}

.aik-lead-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

@media (max-width: 520px) {
	.aik-lead-row {
		grid-template-columns: 1fr;
	}
}

.aik-field input {
	width: 100%;
	height: 54px;
	padding-block: 0;
	padding-inline: 46px 16px;
	border: 2px solid transparent;
	border-radius: 14px;
	background: #fff no-repeat right 14px center / 24px;
	color: var(--ink);
	font: inherit;
	font-size: 17px;
}

.aik-field input::placeholder {
	color: #7c76a3;
}

.aik-field input:focus {
	border-color: var(--purple-soft);
	outline: 3px solid var(--cyan);
	outline-offset: 1px;
}

.aik-field-person input {
	background-image: url(../img/icons/person.webp);
}

.aik-field-email input {
	background-image: url(../img/icons/email.webp);
}

.aik-field-group input {
	background-image: url(../img/icons/group.webp);
}

.aik-choices {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	border: 0;
}

.aik-choices legend {
	margin-bottom: 8px;
	color: #fff;
	font-weight: 500;
}

.aik-choices label {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
	cursor: pointer;
}

.aik-choices label:has(:checked) {
	background: var(--purple);
}

.aik-choices input {
	accent-color: var(--cyan);
	width: 18px;
	height: 18px;
}

.aik-consent {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	color: var(--night-text);
	font-size: 15px;
	line-height: 1.5;
}

.aik-consent input {
	flex: none;
	width: 20px;
	height: 20px;
	margin-top: 2px;
	accent-color: var(--purple);
}

.aik-consent a {
	color: #fff;
}

.aik-hp {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
}

.aik-lead-form .aik-button {
	width: 100%;
	margin-top: 4px;
	background: linear-gradient(180deg, #b597ff, #8a63ff);
	box-shadow: 0 4px 0 #5a30d8;
}

.aik-lead-message {
	padding: 12px 16px;
	border-radius: 12px;
	font-weight: 500;
	text-align: center;
}

.aik-lead-message.is-ok {
	background: #dcf7e6;
	color: #135c31;
}

.aik-lead-message.is-error {
	background: #ffe1ea;
	color: #8f1239;
}

/* Home: programs and the parents' section */

.aik-programs {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
	gap: 24px;
}

.aik-program {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 28px;
	border: 2px solid var(--lilac-line);
	border-radius: 26px;
	background: var(--lilac);
	color: var(--text);
	text-decoration: none;
	transition: transform 0.2s, box-shadow 0.2s;
}

.aik-program:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow);
}

.aik-program img {
	width: auto;
	height: 210px;
	margin: 0 auto 6px;
	object-fit: contain;
}

.aik-program h3 {
	font-size: 30px;
}

.aik-program .aik-badge {
	position: absolute;
	top: 20px;
	inset-inline-start: 20px;
	background: #fff;
}

.aik-program-more {
	margin-top: auto;
	color: var(--purple-dark);
	font-family: var(--font-title);
	font-size: 20px;
	font-weight: 600;
}

.aik-program.is-night {
	border-color: #3b2d85;
	background: radial-gradient(circle at 30% 20%, #3a2a8a, var(--night) 70%);
	color: var(--night-text);
}

.aik-program.is-night h3,
.aik-program.is-night .aik-program-more {
	color: #fff;
}

.aik-parents {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
	align-items: center;
	gap: 40px;
	max-width: calc(var(--wrap) + 2 * var(--pad));
	margin: 0 auto;
}

.aik-parents .aik-title {
	justify-content: flex-start;
	text-align: start;
}

.aik-parents-art img {
	display: block;
	max-width: 320px;
	margin: 0 auto;
}

.aik-checklist {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.aik-checklist li {
	position: relative;
	padding-inline-start: 40px;
	font-size: 19px;
}

.aik-checklist li::before {
	content: "✓";
	position: absolute;
	inset-inline-start: 0;
	top: 2px;
	display: grid;
	place-items: center;
	width: 26px;
	height: 26px;
	border-radius: 6px;
	background: var(--purple);
	color: #fff;
	font-size: 16px;
	font-weight: 700;
}

.aik-checklist strong {
	color: var(--ink);
}

@media (max-width: 800px) {
	.aik-parents {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.aik-parents-art img {
		max-width: 200px;
	}

	.aik-parents .aik-title {
		justify-content: center;
		text-align: center;
	}
}

/* Hanukkah: the two workshops */

.aik-workshops {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
	gap: 24px;
}

.aik-workshop {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	padding: 28px;
	border: 2px solid var(--lilac-line);
	border-radius: 26px;
	background: #fff;
	box-shadow: var(--shadow);
	text-align: center;
}

.aik-workshop > img {
	width: auto;
	height: 220px;
	object-fit: contain;
}

.aik-workshop h3 {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 28px;
}

.aik-workshop p {
	color: var(--muted);
	flex: 1;
}

/* Regular pages */

.aik-page {
	max-width: 880px;
	margin: 0 auto;
	padding: clamp(40px, 6vw, 72px) var(--pad);
}

.aik-content {
	font-size: 18px;
}

.aik-content > * + * {
	margin-top: 1em;
}

.aik-content h2 {
	margin-top: 1.6em;
	font-size: 28px;
}

.aik-content h3 {
	margin-top: 1.4em;
	font-size: 22px;
}

.aik-content ul,
.aik-content ol {
	padding-inline-start: 1.4em;
}

.aik-content table {
	width: 100%;
	border-collapse: collapse;
}

.aik-content th,
.aik-content td {
	padding: 10px;
	border-bottom: 1px solid var(--lilac-line);
	text-align: start;
}

.aik-not-found {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	text-align: center;
}

.aik-not-found img {
	width: 240px;
}

.aik-not-found .aik-title {
	margin-bottom: 0;
}

/* The magazine: its night header, the section tabs, article cards and the article page */

.aik-magazine-hero {
	padding: clamp(36px, 5vw, 60px) var(--pad);
	background: radial-gradient(circle at 75% 30%, #3a2a8a, var(--night) 70%);
	color: var(--night-text);
}

.aik-magazine-hero-inner {
	display: flex;
	align-items: center;
	gap: clamp(20px, 4vw, 48px);
	max-width: var(--wrap);
	margin: 0 auto;
}

.aik-magazine-hero-art {
	flex: none;
	width: clamp(120px, 18vw, 220px);
}

.aik-magazine-hero h1 {
	margin-top: 14px;
	color: #fff;
	font-size: clamp(34px, 5vw, 56px);
}

.aik-magazine-lead {
	margin-top: 10px;
	font-size: clamp(18px, 2vw, 21px);
}

@media (max-width: 600px) {
	.aik-magazine-hero-inner {
		flex-direction: column;
		text-align: center;
	}

	.aik-magazine-lead br {
		display: none;
	}
}

.aik-magazine {
	padding-top: clamp(32px, 4vw, 48px);
}

.aik-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 28px;
}

.aik-tab {
	padding: 8px 20px;
	border: 2px solid var(--lilac-line);
	border-radius: 999px;
	background: #fff;
	color: var(--ink);
	font-family: var(--font-title);
	font-size: 18px;
	font-weight: 600;
	text-decoration: none;
}

.aik-tab:hover {
	border-color: var(--purple-soft);
}

.aik-tab.is-active {
	border-color: var(--purple);
	background: var(--purple);
	color: #fff;
}

.aik-articles {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
	gap: 24px;
}

.aik-article-card {
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 2px solid var(--lilac-line);
	border-radius: var(--radius);
	background: #fff;
	transition: transform 0.2s, box-shadow 0.2s;
}

.aik-article-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow);
}

.aik-article-card-img {
	aspect-ratio: 16 / 9;
	background: var(--lilac);
}

.aik-article-card-img img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.aik-article-card-img.is-emoji {
	display: grid;
	place-items: center;
	font-size: 72px;
}

.aik-article-card-body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 8px;
	padding: 18px 20px 20px;
}

.aik-article-card h2,
.aik-article-card h3 {
	font-size: 22px;
}

/* The whole card is the link */
.aik-article-card h2 a,
.aik-article-card h3 a {
	color: inherit;
	text-decoration: none;
}

.aik-article-card h2 a::after,
.aik-article-card h3 a::after {
	content: "";
	position: absolute;
	inset: 0;
}

.aik-article-card p {
	color: var(--muted);
	font-size: 16px;
	line-height: 1.5;
}

.aik-article-card time {
	margin-top: auto;
	color: var(--muted);
	font-size: 14px;
}

.aik-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.aik-pill {
	padding: 2px 12px;
	border-radius: 999px;
	background: var(--lilac);
	color: var(--purple-dark);
	font-size: 14px;
	font-weight: 500;
}

.aik-pill.is-animals {
	background: var(--cream);
	color: #8a5a00;
}

.aik-more {
	margin-top: 32px;
	text-align: center;
}

.aik-magazine-empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	padding: 20px 0;
	color: var(--muted);
	font-size: 20px;
	text-align: center;
}

.aik-magazine-empty img {
	width: 180px;
}

/* The games library (/games/, inc/games.php): cards like the magazine's, and each game's page with its stage */

.aik-pill.is-touch {
	background: var(--sky);
	color: #0b6a86;
}

.aik-game-card-credit {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-top: auto;
	padding-top: 4px;
	font-size: 15px !important;
}

.aik-game-page {
	max-width: 1100px;
	margin: 0 auto;
	padding: clamp(28px, 4vw, 48px) var(--pad) clamp(40px, 6vw, 64px);
}

.aik-game-page-head h1 {
	margin-top: 10px;
	font-size: clamp(32px, 5vw, 52px);
}

.aik-game-page-credit {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 8px;
	color: var(--muted);
	font-size: 18px;
}

/* The stage: 16:10 on a computer, taller on a phone, where most games stand upright */
.aik-stage {
	position: relative;
	display: grid;
	place-items: center;
	overflow: hidden;
	margin-top: 22px;
	aspect-ratio: 16 / 10;
	max-height: 82vh;
	width: 100%;
	border-radius: var(--radius);
	background: var(--night);
	box-shadow: var(--shadow);
}

.aik-stage-cover {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: brightness(0.6);
}

.aik-stage-play {
	position: relative;
}

.aik-stage-frame {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	background: #000;
}

.aik-stage:fullscreen {
	max-height: none;
	border-radius: 0;
	aspect-ratio: auto;
}

.aik-stage-tools {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 14px;
	margin-top: 14px;
	color: var(--muted);
	font-size: 16px;
}

.aik-stage-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-inline-start: auto;
}

.aik-stage-tool {
	padding: 8px 16px;
	border: 2px solid var(--lilac-line);
	border-radius: 12px;
	background: #fff;
	color: var(--purple-dark);
	font: 500 16px/1.2 var(--font-text);
	cursor: pointer;
	overflow-wrap: anywhere;
}

.aik-stage-tool:hover {
	border-color: var(--purple);
}

.aik-stage-tool:focus-visible,
.aik-stage-frame:focus-visible {
	outline: 3px solid var(--purple);
	outline-offset: 3px;
}

.aik-game-page-words {
	max-width: 720px;
	margin-top: 22px;
	color: var(--text);
	font-size: 20px;
	line-height: 1.6;
}

.aik-games-cta {
	padding-block: clamp(40px, 6vw, 72px);
}

.aik-games-cta-box {
	display: flex;
	align-items: center;
	gap: clamp(20px, 4vw, 48px);
	padding: clamp(24px, 4vw, 40px);
	border-radius: var(--radius);
	background: radial-gradient(circle at 75% 30%, #3a2a8a, var(--night) 70%);
	color: var(--night-text);
}

.aik-games-cta-art {
	flex: none;
	width: clamp(120px, 16vw, 200px);
	height: auto;
}

.aik-games-cta h2 {
	color: #fff;
	font-size: clamp(26px, 3.6vw, 40px);
}

.aik-games-cta p {
	margin-top: 10px;
	font-size: 19px;
	line-height: 1.5;
}

.aik-games-cta-links {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 20px;
}

/* A phone: the stage is (almost) the whole screen under the header, so games built as an upright page fit in it */
@media (max-width: 600px) {
	.aik-stage {
		aspect-ratio: auto;
		height: calc(100svh - 84px);
		max-height: 760px;
		scroll-margin-top: 76px;
	}

	.aik-stage-buttons {
		margin-inline-start: 0;
	}

	.aik-games-cta-box {
		flex-direction: column;
		text-align: center;
	}

	.aik-games-cta-links {
		justify-content: center;
	}
}

.aik-magazine .pagination {
	margin-top: 36px;
	text-align: center;
}

.aik-magazine .nav-links {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 8px;
}

.aik-magazine .page-numbers {
	min-width: 44px;
	padding: 8px 14px;
	border-radius: 12px;
	background: var(--lilac);
	color: var(--ink);
	font-weight: 500;
	text-decoration: none;
}

.aik-magazine .page-numbers.current {
	background: var(--purple);
	color: #fff;
}

.aik-article {
	max-width: 780px;
	margin: 0 auto;
	padding: clamp(32px, 5vw, 60px) var(--pad) clamp(40px, 6vw, 72px);
}

.aik-crumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	color: var(--muted);
	font-size: 16px;
}

.aik-crumbs a {
	color: var(--purple-dark);
	font-weight: 500;
	text-decoration: none;
}

.aik-article-head h1 {
	margin-top: 14px;
	font-size: clamp(32px, 5vw, 48px);
}

.aik-article-lead {
	margin-top: 14px;
	color: var(--text);
	font-size: 21px;
	line-height: 1.5;
}

.aik-article-meta {
	margin-top: 14px;
	color: var(--muted);
	font-size: 15px;
}

.aik-article-img {
	margin: 28px 0 0;
}

.aik-article-img img {
	display: block;
	width: 100%;
	border-radius: var(--radius);
}

.aik-article-img figcaption {
	margin-top: 8px;
	color: var(--muted);
	font-size: 14px;
}

.aik-article-body {
	margin-top: 28px;
	font-size: 19px;
	line-height: 1.75;
}

/* "Something to think about": the question an article ends with */
.aik-article-body .aik-think {
	padding: 18px 22px;
	border-inline-start: 5px solid var(--cyan);
	border-radius: 14px;
	background: var(--sky);
}

/* Footer */

.aik-footer {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	padding: 36px var(--pad) 40px;
	border-top: 1px solid var(--lilac-line);
	text-align: center;
}

.aik-footer-logo img {
	width: 170px;
}

.aik-footer-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.aik-footer-links a {
	color: var(--muted);
	font-size: 16px;
}

.aik-footer-note {
	color: var(--muted);
	font-size: 14px;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		transition: none !important; /* the user asked for less motion; this is the standard override */
	}
}

/* Rich content (17.10.2026): the longer texts - a story in short lines, plain explanations with a "just notice"
   note, topic cards, a split text + art row, long guide pages with a table of contents, and a P.S. line. */

.aik-story {
	max-width: 720px;
	margin-inline: auto;
	font-size: 21px;
	line-height: 1.65;
}

.aik-story p + p {
	margin-top: 18px;
}

.aik-story-hook {
	color: var(--ink);
	font-family: var(--font-title);
	font-size: clamp(24px, 3vw, 30px);
	font-weight: 600;
	line-height: 1.35;
}

.aik-story strong {
	color: var(--purple-dark);
}

.aik-story .aik-button {
	margin-top: 26px;
}

.aik-split {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
	align-items: center;
	gap: 48px;
}

.aik-split.is-art-first {
	grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
}

.aik-split .aik-title {
	justify-content: flex-start;
	text-align: start;
}

.aik-split-art img {
	display: block;
	max-width: 320px;
	margin: 0 auto;
}

.aik-split-text > p + p,
.aik-split-text > p + ul,
.aik-split-text > ul + p {
	margin-top: 16px;
}

.aik-split-text > p {
	font-size: 19px;
}

.aik-explain {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
	gap: 22px;
	padding: 0;
	list-style: none;
}

.aik-explain > li {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 26px 24px;
	border: 2px solid var(--lilac-line);
	border-radius: var(--radius);
	background: #fff;
}

.aik-section-tint .aik-explain > li {
	background: #fff;
}

.aik-explain h3 {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 23px;
}

.aik-explain p {
	font-size: 17px;
}

.aik-like {
	padding: 10px 14px;
	border-radius: 12px;
	background: var(--sky);
	color: var(--ink);
	font-size: 16px;
}

.aik-like b {
	color: #0b6c87;
}

.aik-asterisk {
	max-width: 860px;
	margin: 30px auto 0;
	padding: 20px 24px;
	border: 2px dashed #f0c64d;
	border-radius: var(--radius);
	background: #fffbea;
	font-size: 18px;
}

.aik-asterisk strong {
	color: #7a4f00;
}

.aik-topics {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr));
	gap: 22px;
	padding: 0;
	list-style: none;
	counter-reset: topic;
}

.aik-topic {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 28px 24px 24px;
	border: 2px solid var(--lilac-line);
	border-radius: var(--radius);
	background: var(--lilac);
}

.aik-topic:nth-child(3n + 2) {
	border-color: var(--sky-line);
	background: var(--sky);
}

.aik-topic:nth-child(3n) {
	border-color: var(--cream-line);
	background: var(--cream);
}

.aik-topic-num {
	color: var(--purple);
	font-family: var(--font-title);
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0.04em;
}

.aik-topic h3 {
	font-size: 24px;
}

.aik-topic ul {
	margin: 0;
	padding-inline-start: 20px;
	color: var(--text);
	font-size: 17px;
}

.aik-topic-out {
	margin-top: auto;
	padding-top: 10px;
	border-top: 2px dotted rgba(118, 70, 245, 0.25);
	font-size: 16px;
}

.aik-topic-out b {
	color: var(--purple-dark);
}

.aik-prose {
	max-width: 780px;
	margin-inline: auto;
	font-size: 19px;
}

.aik-prose > * + * {
	margin-top: 18px;
}

.aik-prose h2 {
	margin-top: 54px;
	font-size: clamp(26px, 3.2vw, 34px);
	scroll-margin-top: 100px;
}

.aik-prose h3 {
	margin-top: 32px;
	font-size: 23px;
}

.aik-prose h2 + *,
.aik-prose h3 + * {
	margin-top: 12px;
}

.aik-prose ul,
.aik-prose ol {
	padding-inline-start: 24px;
}

.aik-prose li + li {
	margin-top: 8px;
}

.aik-prose .aik-like,
.aik-prose .aik-asterisk {
	margin-inline: 0;
}

.aik-prose .aik-button {
	margin-top: 8px;
}

.aik-toc {
	max-width: 780px;
	margin: 0 auto 10px;
	padding: 22px 26px;
	border-radius: var(--radius);
	background: var(--tint);
}

.aik-toc p {
	color: var(--ink);
	font-family: var(--font-title);
	font-weight: 600;
}

.aik-toc ol {
	columns: 2 260px;
	margin: 10px 0 0;
	padding-inline-start: 22px;
	font-size: 17px;
}

.aik-toc li {
	break-inside: avoid;
	margin-bottom: 6px;
}

.aik-page-intro {
	max-width: 780px;
	margin: -10px auto 30px;
	color: var(--muted);
	font-size: 20px;
	text-align: center;
}

.aik-ps {
	max-width: 720px;
	margin: 30px auto 0;
	color: #b0145f;
	font-family: var(--font-title);
	font-size: 20px;
	font-weight: 500;
	text-align: center;
}

.aik-ps b {
	margin-inline-end: 6px;
}

.aik-programs.is-many {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

.aik-programs.is-many > .aik-program {
	flex: 1 1 330px;
	max-width: 384px;
}

.aik-programs.is-many .aik-program img {
	height: 170px;
}

.aik-programs.is-many .aik-program h3 {
	font-size: 26px;
}

@media (max-width: 800px) {
	.aik-split,
	.aik-split.is-art-first {
		grid-template-columns: minmax(0, 1fr);
		gap: 24px;
	}

	.aik-split-art {
		order: -1;
	}

	.aik-split-art img {
		max-width: 220px;
	}

	.aik-story {
		font-size: 19px;
	}
}

.aik-workshop .aik-checklist {
	flex: 1;
	align-self: stretch;
	gap: 10px;
	text-align: start;
}

.aik-workshop .aik-checklist li {
	font-size: 17px;
}

.aik-workshop:has(.aik-checklist) > p {
	flex: none;
}

.aik-steps + .aik-cards {
	margin-top: 44px;
}

.aik-explain.is-four {
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
}

.aik-topics {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

.aik-topics > .aik-topic {
	flex: 1 1 330px;
	max-width: 384px;
}

.aik-format-lead {
	margin: -4px 0 4px;
	color: var(--ink);
	font-family: var(--font-title);
	font-size: 20px;
	font-weight: 600;
}

.aik-format:has(.aik-format-lead) {
	grid-template-areas: "head head" "lead lead" "list art";
}

.aik-format-lead {
	grid-area: lead;
}

@media (max-width: 480px) {
	.aik-format:has(.aik-format-lead) {
		grid-template-areas: "head" "lead" "list" "art";
	}
}

.aik-nav-list li {
	flex: none;
	white-space: nowrap;
}

@media (max-width: 800px) {
	.aik-about-photo {
		width: 100%; /* keeps its place before the lazy photo loads, so the page doesn't jump */
	}
}

/* Wider on desktop (Hadar, 18.10.2026: "התוכן מאוד צר בדסקטופ"): the story sits next to a picture, the guide's
   table of contents stays beside the text, and Hadar's photo is a round portrait (the full scene looked made up). */

.aik-story-row {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
	align-items: center;
	gap: clamp(32px, 5vw, 72px);
}

.aik-story-row .aik-story {
	max-width: none;
	margin: 0;
	font-size: 22px;
}

.aik-story-art img {
	display: block;
	width: 100%;
	max-width: 520px;
	margin: 0 auto;
	border-radius: 28px;
}

.aik-story-art img[src*="game-preview"] {
	border: 5px solid #fff;
	box-shadow: var(--shadow), 0 0 0 2px var(--lilac-line);
	transform: rotate(-2deg);
}

.aik-guide {
	display: grid;
	grid-template-columns: 280px minmax(0, 1fr);
	align-items: start;
	gap: 56px;
}

.aik-guide .aik-toc {
	position: sticky;
	top: 100px;
	max-width: none;
	margin: 0;
}

.aik-guide .aik-toc ol {
	columns: auto;
}

.aik-guide .aik-prose {
	max-width: 880px;
	margin: 0;
}

.aik-guide .aik-prose > h2:first-child {
	margin-top: 0;
}

.aik-asterisk {
	max-width: 1000px;
}

.aik-about-photo {
	justify-self: center;
	width: 100%;
	max-width: 440px;
}

.aik-about-photo img:not(.aik-about-badge) {
	aspect-ratio: 1;
	width: 100%;
	max-height: none;
	padding: 9px;
	border: 0;
	border-radius: 50%;
	background: linear-gradient(135deg, #5fe3f6, #a991ff 55%, #ff4fa3);
	box-shadow: 0 18px 40px rgba(90, 48, 216, 0.22);
	object-position: center;
}

.aik-about-photo .aik-about-badge {
	position: absolute;
	border: 0;
	border-radius: 0;
	max-height: none;
	bottom: 2%;
	left: 2%;
	width: 30%;
	max-width: 130px;
	filter: drop-shadow(0 6px 10px rgba(29, 22, 64, 0.25));
}

@media (max-width: 900px) {
	.aik-story-row,
	.aik-guide {
		grid-template-columns: minmax(0, 1fr);
		gap: 28px;
	}

	.aik-story-art {
		order: -1;
	}

	.aik-story-art img {
		max-width: 300px;
	}

	.aik-guide .aik-toc {
		position: static;
	}

	.aik-guide .aik-toc ol {
		columns: 2 220px;
	}

	.aik-story-row .aik-story {
		font-size: 19px;
	}
}

@media (max-width: 800px) {
	.aik-about-photo {
		max-width: 300px;
	}
}

/* The shop (/shop/, 18.10.2026): one card per course or workshop, live price and seats */

.aik-shop {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 24px;
}

.aik-shop-card {
	position: relative;
	display: flex;
	flex: 1 1 330px;
	flex-direction: column;
	gap: 10px;
	max-width: 384px;
	padding: 24px;
	border: 2px solid var(--lilac-line);
	border-radius: 26px;
	background: #fff;
}

.aik-shop-card.is-open {
	border-color: var(--purple-soft);
	box-shadow: var(--shadow);
}

.aik-shop-card > .aik-badge {
	position: absolute;
	top: 18px;
	inset-inline-start: 18px;
	z-index: 1;
}

.aik-shop-card.is-open > .aik-badge {
	background: #dcf7e6;
	color: #135c31;
}

.aik-shop-card-img {
	display: grid;
	place-items: center;
	height: 190px;
	border-radius: 18px;
	background: var(--tint);
}

.aik-shop-card-img img {
	width: auto;
	max-height: 170px;
	object-fit: contain;
}

.aik-shop-card h3 {
	margin-top: 6px;
	font-size: 24px;
}

.aik-shop-card h3 a {
	color: inherit;
	text-decoration: none;
}

.aik-shop-card > p {
	color: var(--muted);
	font-size: 17px;
}

.aik-shop-card .aik-checklist {
	gap: 8px;
}

.aik-shop-card .aik-checklist li {
	font-size: 16px;
}

.aik-shop-buy {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 10px;
	margin-top: auto;
	padding-top: 14px;
	border-top: 2px dotted var(--lilac-line);
	text-align: center;
}

.aik-shop-price {
	color: var(--ink);
	font-family: var(--font-title);
	font-size: 30px;
	font-weight: 600;
	line-height: 1.2;
}

.aik-shop-price span {
	display: block;
	color: var(--purple-dark);
	font-family: var(--font-text);
	font-size: 15px;
	font-weight: 500;
}

.aik-shop-price.is-soon {
	color: var(--muted);
	font-family: var(--font-text);
	font-size: 16px;
	font-weight: 400;
}

.aik-shop-seats {
	color: #b0145f;
	font-weight: 600;
}

.aik-shop-more {
	font-size: 16px;
}

/* ==========================================================================
   Polish (18.10.2026, Hadar: "the whole site should look higher-level", same world, finer execution).
   White cards with soft layered shadows and a colour line on top, icons on tinted tiles, bigger and sharper
   titles, soft glows behind tinted sections, a floating stats panel, a night footer, gentle motion,
   and the contrast fixes from Matan's QA (the form button, focus rings on white).
   ========================================================================== */

:root {
	--shadow-sm: 0 1px 2px rgba(29, 22, 64, 0.05), 0 6px 18px rgba(58, 30, 140, 0.07);
	--shadow-md: 0 2px 6px rgba(29, 22, 64, 0.06), 0 16px 40px rgba(58, 30, 140, 0.13);
	--shadow-lg: 0 30px 70px rgba(40, 22, 110, 0.18);
	--card-line: rgba(118, 70, 245, 0.12);
	--grad-brand: linear-gradient(120deg, #5fe3f6, #a991ff 55%, #ff7dbf);
	--grad-ink: linear-gradient(100deg, #6a3df0, #1590b8);
	--ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* Focus you can see on white too (cyan on white was 2:1); cyan stays on the night parts */
:focus-visible {
	outline: 3px solid var(--purple-dark);
	outline-offset: 3px;
}

.aik-hero :focus-visible,
.aik-signup :focus-visible,
.aik-footer :focus-visible,
.aik-program.is-night:focus-visible,
.aik-magazine-hero :focus-visible {
	outline-color: #5fe3f6;
}

/* Header: a soft shadow once the page scrolls */
.aik-header {
	transition: box-shadow 0.25s;
}

.aik-header.is-scrolled {
	box-shadow: 0 8px 30px rgba(40, 22, 110, 0.1);
}

.aik-nav-list a {
	transition: background 0.2s, color 0.2s;
}

/* Buttons: the same 3D press, plus a soft glow */
.aik-button {
	box-shadow: 0 4px 0 var(--purple-dark), 0 12px 26px rgba(118, 70, 245, 0.28);
}

.aik-button:hover {
	box-shadow: 0 6px 0 var(--purple-dark), 0 16px 32px rgba(118, 70, 245, 0.34);
}

.aik-button-light {
	box-shadow: 0 4px 0 #7f62e0, 0 12px 30px rgba(169, 145, 255, 0.35);
}

.aik-button-light:hover {
	box-shadow: 0 6px 0 #7f62e0, 0 16px 36px rgba(169, 145, 255, 0.45);
}

.aik-button-ghost,
.aik-button-ghost:hover {
	box-shadow: inset 0 0 0 2px var(--purple), 0 6px 16px rgba(118, 70, 245, 0.12);
}

/* The forms' submit button: white on #b597ff was 2.4:1 */
.aik-lead-form button[type="submit"] {
	background: linear-gradient(180deg, #8d63ff, var(--purple));
	box-shadow: 0 4px 0 var(--purple-dark), 0 12px 26px rgba(118, 70, 245, 0.35);
}

/* Hero: a sharper title, a gradient on its second line, a glassy eyebrow */
.aik-hero-title {
	letter-spacing: -0.01em;
}

.aik-hero-title span {
	background: linear-gradient(90deg, #7fe9f8, #c9b8ff 70%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	text-shadow: none;
	filter: drop-shadow(0 4px 0 rgba(15, 8, 45, 0.45));
}

.aik-eyebrow {
	border: 1px solid rgba(255, 255, 255, 0.22);
	background: rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(6px);
	letter-spacing: 0.01em;
}

.aik-hero-lead {
	font-weight: 400;
	opacity: 0.95;
}

/* The stats: a white panel floating over the hero's edge */
.aik-hero:has(+ .aik-band) .aik-hero-text {
	padding-bottom: 128px;
}

.aik-band {
	position: relative;
	z-index: 2;
	margin-top: -64px;
	padding: 0 var(--pad);
}

.aik-band .aik-stats {
	max-width: 1100px;
	padding: 30px 18px;
	border: 1px solid var(--card-line);
	border-radius: 28px;
	background: #fff;
	box-shadow: var(--shadow-lg);
}

.aik-stats strong {
	background: var(--grad-ink);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	font-size: clamp(22px, 2.4vw, 28px);
}

.aik-band + .aik-section {
	padding-top: clamp(56px, 7vw, 96px);
}

/* Sections and titles */
.aik-section {
	padding-block: clamp(64px, 8vw, 112px);
}

.aik-section-tint {
	background:
		radial-gradient(55% 60% at 100% 0%, rgba(169, 145, 255, 0.2), transparent 70%),
		radial-gradient(45% 55% at 0% 100%, rgba(95, 227, 246, 0.16), transparent 70%),
		#f8f5ff;
}

.aik-title {
	gap: 16px;
	font-size: clamp(32px, 4.4vw, 52px);
	letter-spacing: -0.01em;
}

.aik-title::before,
.aik-title::after {
	width: 18px;
	height: 18px;
}

.aik-subtitle {
	margin-top: -20px;
	margin-bottom: 44px;
	font-size: clamp(18px, 1.6vw, 21px);
}

/* Cards: white, a soft shadow, a colour line on top, the icon on a tinted tile */
.aik-card,
.aik-explain > li,
.aik-topic,
.aik-steps li,
.aik-facts li,
.aik-format,
.aik-workshop,
.aik-shop-card,
.aik-faq-item {
	border: 1px solid var(--card-line);
	box-shadow: var(--shadow-sm);
}

.aik-card,
.aik-explain > li,
.aik-topic,
.aik-shop-card,
.aik-program,
.aik-workshop {
	transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), opacity 0.7s var(--ease);
}

.aik-card:hover,
.aik-explain > li:hover,
.aik-topic:hover,
.aik-shop-card:hover,
.aik-workshop:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-md);
}

.aik-card {
	position: relative;
	overflow: hidden;
	align-items: flex-start;
	gap: 10px;
	padding: 30px 26px;
	border-radius: 24px;
	background: #fff;
	text-align: start;
	--tile: #efe8ff;
	--line: linear-gradient(90deg, #a991ff, #7646f5);
}

.aik-card.is-cream {
	border-color: var(--card-line);
	background: #fff;
	--tile: #fff1d6;
	--line: linear-gradient(90deg, #ffd37a, #ffb347);
}

.aik-card.is-sky {
	border-color: var(--card-line);
	background: #fff;
	--tile: #dff6fd;
	--line: linear-gradient(90deg, #5fe3f6, #19a8d6);
}

.aik-card::before {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	height: 4px;
	background: var(--line);
}

.aik-card > .aik-icon,
.aik-explain h3 .aik-icon {
	box-sizing: content-box;
	padding: 12px;
	border-radius: 20px;
	background: var(--tile, #efe8ff);
}

.aik-card > .aik-icon {
	width: 56px;
	height: 56px;
}

.aik-explain h3 .aik-icon {
	width: 34px;
	height: 34px;
	padding: 9px;
	border-radius: 14px;
}

.aik-card h3 {
	margin-top: 8px;
	font-size: 24px;
}

.aik-card p {
	color: var(--muted);
}

.aik-cards,
.aik-explain {
	gap: 24px;
}

.aik-explain > li {
	position: relative;
	overflow: hidden;
	padding: 30px 28px;
	border-radius: 24px;
}

.aik-explain > li::before {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	height: 4px;
	background: var(--grad-brand);
	opacity: 0.85;
}

.aik-explain h3 {
	font-size: 24px;
}

.aik-like {
	border: 1px solid #cdeffa;
	border-radius: 14px;
	background: linear-gradient(180deg, #f2fbff, #e9f8fe);
}

.aik-asterisk {
	border: 0;
	border-inline-start: 5px solid #f0b429;
	border-radius: 18px;
	background: linear-gradient(180deg, #fffbea, #fff6d6);
	box-shadow: var(--shadow-sm);
}

/* Programs: white cards, the picture on a soft stage */
.aik-program {
	border: 1px solid var(--card-line);
	background: #fff;
	box-shadow: var(--shadow-sm);
}

.aik-program:hover {
	transform: translateY(-6px);
	box-shadow: var(--shadow-md);
}

.aik-program img,
.aik-programs.is-many .aik-program img {
	width: 100%;
	height: 200px;
	margin: 0 0 8px;
	padding: 16px;
	border-radius: 20px;
	background: radial-gradient(circle at 50% 65%, #fff, #efe8ff 75%);
	object-fit: contain;
}

.aik-program.is-night img {
	background: radial-gradient(circle at 50% 60%, rgba(169, 145, 255, 0.35), transparent 70%);
}

.aik-program .aik-badge {
	box-shadow: var(--shadow-sm);
}

/* Steps: white cards, the number in a gradient badge */
.aik-steps li {
	padding: 24px 14px 26px;
	border-radius: 22px;
	background: #fff;
}

.aik-steps b {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--grad-brand);
	color: #fff;
	font-size: 17px;
	text-shadow: 0 1px 2px rgba(29, 22, 64, 0.3);
}

.aik-steps li:not(:last-child)::after {
	color: #b9a6f5;
}

/* Topics, formats, workshops, facts, shop: the same family */
.aik-topic,
.aik-topic:nth-child(3n + 2),
.aik-topic:nth-child(3n) {
	border-color: var(--card-line);
	border-radius: 24px;
	background: #fff;
}

.aik-topic::before {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	height: 4px;
	border-radius: 24px 24px 0 0;
	background: var(--grad-brand);
}

.aik-topic-num {
	align-self: flex-start;
	padding: 3px 12px;
	border-radius: 999px;
	background: #efe8ff;
}

.aik-format,
.aik-format.is-cream {
	border-color: var(--card-line);
	border-radius: 28px;
	background: linear-gradient(180deg, #fff, #faf8ff);
}

.aik-format.is-cream {
	background: linear-gradient(180deg, #fff, #fffaf0);
}

.aik-workshop {
	border-radius: 28px;
}

.aik-workshop > img {
	width: 100%;
	padding: 14px;
	border-radius: 20px;
	background: radial-gradient(circle at 50% 65%, #fff, #efe8ff 75%);
}

.aik-facts li {
	border-radius: 22px;
}

.aik-shop-card {
	border-radius: 28px;
}

.aik-shop-card-img {
	background: radial-gradient(circle at 50% 65%, #fff, #efe8ff 75%);
}

/* Questions */
.aik-faq-item {
	border-radius: 18px;
	background: #fff;
	transition: box-shadow 0.25s;
}

.aik-faq-item[open] {
	border-color: rgba(118, 70, 245, 0.28);
	box-shadow: var(--shadow-md);
}

.aik-faq-item summary {
	font-size: 19px;
}

.aik-faq-answer {
	background: #f8f5ff;
}

/* The story: the hook in the brand gradient */
.aik-story-hook {
	background: var(--grad-ink);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	font-size: clamp(26px, 3vw, 34px);
}

.aik-story-art img,
.aik-split-art img,
.aik-parents-art img {
	filter: drop-shadow(0 24px 40px rgba(58, 30, 140, 0.17));
}

/* Sign-up: the form on a glass panel */
.aik-signup-box {
	margin-block: 56px;
	padding: 40px clamp(20px, 3vw, 40px);
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 28px;
	background: rgba(27, 20, 66, 0.62);
	backdrop-filter: blur(10px);
	box-shadow: 0 30px 70px rgba(10, 6, 35, 0.4);
}

/* Footer: the night again, the brand and three columns */
.aik-footer {
	position: relative;
	display: block;
	padding: 72px var(--pad) 28px;
	border: 0;
	background:
		radial-gradient(50% 70% at 100% 0%, rgba(169, 145, 255, 0.22), transparent 70%),
		radial-gradient(40% 60% at 0% 100%, rgba(95, 227, 246, 0.14), transparent 70%),
		var(--night);
	color: var(--night-text);
	text-align: start;
}

.aik-footer::before {
	content: "";
	position: absolute;
	inset-inline: 0;
	top: -1px;
	height: 24px;
	background: var(--pixel-edge) repeat-x bottom / 96px 24px;
	transform: scaleY(-1);
}

.aik-footer-inner {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
	gap: 40px;
	max-width: var(--wrap);
	margin: 0 auto;
}

.aik-footer-brand {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
	font-size: 16px;
}

.aik-footer-logo img {
	width: 190px;
}

.aik-footer-tagline {
	color: #fff;
	font-family: var(--font-heading);
	font-size: 24px;
	line-height: 1.3;
}

.aik-footer a {
	color: var(--night-text);
}

.aik-footer a:hover {
	color: #fff;
}

.aik-footer .aik-class-link {
	margin-top: 6px;
	color: #fff;
}

.aik-footer-col h2 {
	margin-bottom: 14px;
	color: #fff;
	font-family: var(--font-title);
	font-size: 19px;
}

.aik-footer-col ul {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.aik-footer-col a {
	font-size: 16px;
	text-decoration: none;
}

.aik-footer-col a:hover {
	text-decoration: underline;
}

.aik-footer-note {
	max-width: var(--wrap);
	margin: 48px auto 0;
	padding-top: 22px;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	color: #b9b0e6;
	text-align: center;
}

/* Gentle motion: things rise into place as the page scrolls (site.js adds the classes; without JS all is shown) */
.aik-r {
	opacity: 0;
	transform: translateY(16px);
	transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
	transition-delay: var(--aik-delay, 0s);
}

.aik-r.is-in {
	opacity: 1;
	transform: none;
}

.aik-r.is-in:hover {
	transition-delay: 0s;
}

@media (max-width: 1000px) {
	.aik-footer-inner {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.aik-footer-brand {
		grid-column: 1 / -1;
	}
}

@media (max-width: 800px) {
	.aik-hero:has(+ .aik-band) .aik-hero-text {
		padding-bottom: 104px;
	}

	.aik-band {
		margin-top: -56px;
	}

	.aik-band .aik-stats {
		padding: 24px 20px;
	}

	.aik-signup-box {
		margin: 0 var(--pad) 40px;
	}
}

@media (max-width: 600px) {
	.aik-footer-inner {
		grid-template-columns: 1fr 1fr;
		gap: 32px 20px;
	}

	.aik-card {
		padding: 26px 22px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.aik-r {
		opacity: 1;
		transform: none;
	}
}

/* No white pixel edge between the night sign-up and the night footer */
main:has(> .aik-signup:last-child) + .aik-footer::before {
	display: none;
}

main:has(> .aik-signup:last-child) + .aik-footer {
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Real photos (18.10.2026, Hadar: "missing some realistic images"; Pixabay only, site/dev/photos-sources.md):
   a rounded photo with a white frame and a brand sticker on its corner, and a night band of real moments. */

.aik-photo {
	position: relative;
	width: 100%;
	max-width: 540px;
	margin: 0 auto;
}

.aik-photo > img:first-child,
.aik-story-art .aik-photo > img:first-child,
.aik-split-art .aik-photo > img:first-child {
	display: block;
	width: 100%;
	max-width: none;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border: 6px solid #fff;
	border-radius: 30px;
	box-shadow: var(--shadow-lg);
	filter: none;
	transform: rotate(-1.5deg);
}

.aik-photo .aik-photo-sticker,
.aik-story-art .aik-photo .aik-photo-sticker {
	position: absolute;
	bottom: -8%;
	left: -6%;
	width: 34%;
	max-width: 170px;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	filter: drop-shadow(0 10px 16px rgba(29, 22, 64, 0.28));
	transform: rotate(4deg);
}

.aik-prose .aik-photo {
	max-width: 620px;
	margin-block: 34px 44px;
}

/* The night band of real moments (home) */
.aik-section-night {
	background:
		radial-gradient(50% 70% at 100% 0%, rgba(169, 145, 255, 0.25), transparent 70%),
		radial-gradient(40% 60% at 0% 100%, rgba(95, 227, 246, 0.16), transparent 70%),
		var(--night);
}

.aik-section-night .aik-title {
	color: #fff;
}

.aik-section-night .aik-subtitle {
	color: var(--night-text);
}

.aik-mosaic {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	grid-auto-rows: clamp(150px, 16vw, 230px);
	gap: 18px;
}

.aik-mosaic-item {
	position: relative;
	overflow: hidden;
	margin: 0;
	border-radius: 24px;
	background: #2a1f63;
	box-shadow: 0 20px 50px rgba(5, 2, 25, 0.45);
}

.aik-mosaic-item.is-big {
	grid-column: span 2;
	grid-row: span 2;
}

.aik-mosaic-item img,
.aik-mosaic-item video {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.8s var(--ease);
}

.aik-mosaic-item:hover img,
.aik-mosaic-item:hover video {
	transform: scale(1.04);
}

.aik-mosaic-item figcaption {
	position: absolute;
	inset: auto 0 0;
	padding: 34px 18px 14px;
	background: linear-gradient(transparent, rgba(15, 9, 45, 0.82));
	color: #fff;
	font-family: var(--font-title);
	font-size: 18px;
	font-weight: 600;
	line-height: 1.3;
}

.aik-mosaic-item.is-big figcaption {
	padding: 60px 26px 22px;
	font-size: clamp(20px, 2vw, 26px);
}

@media (max-width: 800px) {
	.aik-mosaic {
		grid-template-columns: 1fr 1fr;
		grid-auto-rows: 160px;
		gap: 12px;
	}

	.aik-mosaic-item figcaption {
		padding: 28px 12px 10px;
		font-size: 15px;
	}

	.aik-photo {
		max-width: 360px;
	}
}

/* The sticker peeks past the photo; the page itself never scrolls sideways (clip, unlike hidden, keeps sticky working) */
.aik-section {
	overflow-x: clip;
}

/* Lo-fi hero (inc/hero.php): the class's night world as a slow loop, a camera that barely drifts, motes of light rising
   and a shade under the text. The same recipe as the class's projector screens (AI-school/class-system, LofiBg). */
.aik-lofi {
	overflow: hidden;
	background: var(--night);
}

.aik-lofi-camera {
	position: absolute;
	inset: 0;
	animation: aik-lofi-drift 26s ease-in-out infinite alternate;
	transform-origin: 30% 60%;
}

.aik-lofi-camera img,
.aik-lofi-video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: left center;
}

.aik-lofi-video {
	opacity: 0;
	transition: opacity 1.2s ease;
}

.aik-lofi.is-playing .aik-lofi-video {
	opacity: 1;
}

/* Dark where the text sits (the right side in Hebrew), clear over Benya and the robot on the left */
.aik-lofi-shade {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(270deg, rgba(27, 20, 66, 0.88) 0%, rgba(27, 20, 66, 0.62) 34%, rgba(27, 20, 66, 0) 62%),
		linear-gradient(0deg, rgba(27, 20, 66, 0.55), rgba(27, 20, 66, 0) 30%);
}

.aik-lofi-motes span {
	position: absolute;
	bottom: -12px;
	inset-inline-start: var(--x);
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: #ffe7a8;
	box-shadow: 0 0 10px 3px rgba(255, 214, 120, 0.55);
	opacity: 0;
	animation: aik-lofi-mote var(--t) linear var(--d) infinite;
}

.aik-lofi-motes span:nth-child(3n) {
	background: #c9b8ff;
	box-shadow: 0 0 10px 3px rgba(169, 145, 255, 0.55);
}

.aik-lofi-motes span:nth-child(4n) {
	width: 3px;
	height: 3px;
}

@keyframes aik-lofi-drift {
	from {
		transform: scale(1);
	}
	to {
		transform: scale(1.06) translate(-1%, -1%);
	}
}

@keyframes aik-lofi-mote {
	0% {
		opacity: 0;
		transform: translate(0, 0);
	}
	12% {
		opacity: 0.9;
	}
	50% {
		transform: translate(18px, -45vh);
	}
	85% {
		opacity: 0.7;
	}
	100% {
		opacity: 0;
		transform: translate(-10px, -90vh);
	}
}

.aik-hero-home .aik-hero-title {
	text-shadow: 0 4px 24px rgba(15, 8, 45, 0.6);
}

@media (max-width: 800px) {
	.aik-lofi {
		position: relative;
		height: 62vw;
		max-height: 420px;
	}

	.aik-lofi-shade {
		background: linear-gradient(0deg, var(--night) 0%, rgba(27, 20, 66, 0) 45%);
	}
}

@media (prefers-reduced-motion: reduce) {
	.aik-lofi-camera,
	.aik-lofi-motes span {
		animation: none;
	}

	.aik-lofi-motes {
		display: none;
	}
}

/* Split hero (service pages): light, the text beside a real photo in a tilted frame, with a sticker and soft glows.
   .is-night = the same split on the night sky (Hanukkah). */
.aik-hero-split {
	grid-template-columns: minmax(var(--pad), 1fr) minmax(0, 600px) minmax(0, 560px) minmax(var(--pad), 1fr);
	align-items: center;
	min-height: clamp(520px, 44vw, 640px);
	background:
		radial-gradient(42% 60% at 18% 30%, rgba(95, 227, 246, 0.28), transparent 70%),
		radial-gradient(40% 55% at 85% 80%, rgba(255, 79, 163, 0.14), transparent 70%),
		linear-gradient(160deg, #f6f2ff 0%, #ece4ff 55%, #f9f7ff 100%);
	overflow: hidden;
}

.aik-hero-split::after {
	display: none;
}

.aik-hero-split .aik-hero-text {
	padding: 64px 0;
}

.aik-hero-split .aik-hero-title {
	color: var(--ink);
	text-shadow: none;
}

.aik-hero-split .aik-hero-title span {
	background: linear-gradient(90deg, var(--purple), #ff4fa3);
	-webkit-background-clip: text;
	background-clip: text;
	filter: none;
}

.aik-hero-split .aik-hero-lead {
	color: #3d3470;
}

.aik-hero-split .aik-hero-meta {
	color: #5b5290;
}

.aik-hero-split .aik-eyebrow {
	border-color: rgba(123, 92, 255, 0.25);
	background: rgba(255, 255, 255, 0.7);
	color: var(--purple-dark);
	font-weight: 600;
}

.aik-hero-split :focus-visible {
	outline-color: var(--purple-dark);
}

.aik-hero-media {
	grid-column: 3;
	position: relative;
	padding: 56px 0 56px 24px;
}

.aik-hero-media .aik-photo {
	max-width: none;
	margin: 0;
	transform: rotate(-2.5deg);
	animation: aik-float 7s ease-in-out infinite;
}

.aik-hero-media .aik-photo img:not(.aik-photo-sticker) {
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

/* A dotted pixel card behind the photo */
.aik-hero-media::before {
	content: "";
	position: absolute;
	inset: 90px 40px 30px -10px;
	border-radius: 28px;
	background: radial-gradient(rgba(123, 92, 255, 0.35) 1.6px, transparent 1.8px) 0 0 / 18px 18px;
	transform: rotate(4deg);
	z-index: -1;
}

.aik-hero-split.is-night {
	background:
		radial-gradient(40% 60% at 20% 30%, rgba(169, 145, 255, 0.35), transparent 70%),
		radial-gradient(35% 50% at 80% 85%, rgba(255, 201, 60, 0.18), transparent 70%),
		var(--night);
}

.aik-hero-split.is-night .aik-hero-title {
	color: #fff;
}

.aik-hero-split.is-night .aik-hero-title span {
	background: linear-gradient(90deg, #ffd66b, #ff9bd0);
	-webkit-background-clip: text;
	background-clip: text;
}

.aik-hero-split.is-night .aik-hero-lead {
	color: #fff;
}

.aik-hero-split.is-night .aik-hero-meta {
	color: var(--night-text);
}

.aik-hero-split.is-night .aik-eyebrow {
	border-color: rgba(255, 255, 255, 0.22);
	background: rgba(255, 255, 255, 0.1);
	color: var(--night-text);
}

.aik-hero-split.is-night :focus-visible {
	outline-color: #5fe3f6;
}

.aik-hero-split.is-night .aik-hero-media::before {
	background: radial-gradient(rgba(255, 214, 107, 0.45) 1.6px, transparent 1.8px) 0 0 / 18px 18px;
}

/* Little lights over the night split: Hanukkah candles' glow, without a single extra file */
.aik-hero-split.is-night .aik-hero-media::after {
	content: "";
	position: absolute;
	inset: 30px -10px auto auto;
	width: 140px;
	height: 140px;
	background:
		radial-gradient(circle, #ffe7a8 0 3px, transparent 4px) 10px 20px / 46px 52px,
		radial-gradient(circle, #c9b8ff 0 2px, transparent 3px) 30px 6px / 38px 44px;
	opacity: 0.8;
	animation: aik-twinkle 3.2s ease-in-out infinite alternate;
}

@keyframes aik-float {
	0%, 100% {
		translate: 0 0;
	}
	50% {
		translate: 0 -10px;
	}
}

@keyframes aik-twinkle {
	from {
		opacity: 0.35;
	}
	to {
		opacity: 0.95;
	}
}

@media (max-width: 800px) {
	.aik-hero-split {
		display: flex;
		flex-direction: column;
		min-height: 0;
	}

	.aik-hero-split .aik-hero-text {
		margin: 0;
		padding: 40px var(--pad) 8px;
	}

	.aik-hero-media {
		width: 100%;
		padding: 16px calc(var(--pad) + 8px) 48px;
	}

	.aik-hero-media::before {
		inset: 40px 30px 20px 10px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.aik-hero-media .aik-photo,
	.aik-hero-split.is-night .aik-hero-media::after {
		animation: none;
	}
}

/* "Sounds familiar?" as an editorial spread when a page has no picture beside it: the hook as a big pull quote
   that stays in view on one side, the story on the other */
.aik-story-row.is-editorial {
	display: block;
}

.aik-story-row.is-editorial .aik-story {
	display: grid;
	grid-template-columns: minmax(0, 360px) minmax(0, 620px);
	justify-content: center;
	column-gap: clamp(28px, 5vw, 80px);
	max-width: none;
}

.aik-story-row.is-editorial .aik-story > * {
	grid-column: 2;
}

.aik-story-row.is-editorial .aik-story > .aik-story-hook {
	grid-column: 1;
	grid-row: 1 / span 30;
	align-self: start;
	position: sticky;
	top: 110px;
	margin: 0;
	padding-inline-start: 22px;
	border-inline-start: 6px solid var(--purple);
	font-family: var(--font-heading);
	font-size: clamp(26px, 2.6vw, 36px);
	line-height: 1.25;
	color: var(--ink);
}

.aik-story-row.is-editorial .aik-story > .aik-button {
	justify-self: start;
}

@media (max-width: 800px) {
	.aik-story-row.is-editorial .aik-story {
		grid-template-columns: 1fr;
	}

	.aik-story-row.is-editorial .aik-story > .aik-story-hook {
		grid-column: 1;
		grid-row: auto;
		position: static;
		margin-bottom: 8px;
	}

	.aik-story-row.is-editorial .aik-story > * {
		grid-column: 1;
	}
}

/* Game hero (build-a-game): the course's sky as a game level, a score bar, Benya and the robot hovering and coins to grab */
.aik-hero-game .aik-hero-art img:first-child {
	object-position: left center;
}

.aik-hero-game .aik-hero-art::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(270deg, rgba(27, 20, 66, 0.8) 0%, rgba(27, 20, 66, 0.35) 45%, rgba(27, 20, 66, 0) 70%);
}

.aik-hud {
	position: absolute;
	top: 22px;
	inset-inline: 0;
	z-index: 2;
	display: flex;
	justify-content: center;
	gap: clamp(18px, 4vw, 56px);
	color: #fff;
	font-family: var(--font-title);
	font-size: clamp(14px, 1.4vw, 18px);
	font-weight: 600;
	letter-spacing: 0.04em;
	text-shadow: 0 2px 0 rgba(15, 8, 45, 0.7);
}

.aik-hud span {
	padding: 6px 14px;
	border: 2px solid rgba(255, 255, 255, 0.35);
	border-radius: 10px;
	background: rgba(27, 20, 66, 0.55);
}

.aik-hud b {
	color: #ffd66b;
	font-variant-numeric: tabular-nums;
}

.aik-hud-hearts {
	color: #ff6fae;
}

.aik-hero-art .aik-hero-player {
	position: absolute;
	inset: auto auto 16% 12%;
	z-index: 2;
	width: clamp(150px, 19vw, 280px);
	height: auto;
	object-fit: contain;
	filter: drop-shadow(0 18px 24px rgba(10, 6, 40, 0.55));
	animation: aik-hover 3.6s ease-in-out infinite;
}

.aik-coins {
	position: absolute;
	inset: 0;
	z-index: 2;
	pointer-events: none;
}

.aik-coins i {
	position: absolute;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: radial-gradient(circle at 35% 35%, #fff3b0 0 18%, #ffd23c 20% 58%, #e8a300 60%);
	box-shadow: inset 0 0 0 3px #b97800, 0 0 14px rgba(255, 210, 60, 0.6);
	animation: aik-coin 2.4s ease-in-out infinite;
}

.aik-coins i:nth-child(1) { inset: 30% auto auto 30%; animation-delay: -0.2s; }
.aik-coins i:nth-child(2) { inset: 22% auto auto 36%; animation-delay: -0.6s; }
.aik-coins i:nth-child(3) { inset: 16% auto auto 42%; animation-delay: -1s; }
.aik-coins i:nth-child(4) { inset: 52% auto auto 6%; animation-delay: -1.4s; }
.aik-coins i:nth-child(5) { inset: 60% auto auto 34%; animation-delay: -1.8s; }
.aik-coins i:nth-child(6) { inset: 40% auto auto 48%; animation-delay: -2.1s; }

@keyframes aik-hover {
	0%, 100% {
		transform: translateY(0) rotate(-1deg);
	}
	50% {
		transform: translateY(-16px) rotate(1deg);
	}
}

@keyframes aik-coin {
	0%, 100% {
		transform: translateY(0) scaleX(1);
	}
	25% {
		transform: translateY(-6px) scaleX(0.25);
	}
	50% {
		transform: translateY(-10px) scaleX(1);
	}
	75% {
		transform: translateY(-6px) scaleX(0.25);
	}
}

/* "Press start": a blinking arcade prompt down to the playable game */
.aik-press-start {
	color: #ffd66b;
	font-family: var(--font-title);
	font-weight: 700;
	letter-spacing: 0.03em;
	text-decoration: none;
	animation: aik-blink 1.4s steps(2, jump-none) infinite;
}

.aik-press-start:hover {
	text-decoration: underline;
	animation: none;
}

@keyframes aik-blink {
	0% {
		opacity: 1;
	}
	100% {
		opacity: 0.6;
	}
}

@media (max-width: 800px) {
	.aik-hero-game .aik-hero-art::before {
		background: linear-gradient(0deg, var(--night) 0%, rgba(27, 20, 66, 0) 45%);
	}

	.aik-hud {
		top: 12px;
		gap: 8px;
	}

	.aik-hud span {
		padding: 4px 8px;
	}

	.aik-hero-art .aik-hero-player {
		inset: auto auto 14% 50%;
		translate: -50% 0;
		width: 170px;
	}

	.aik-coins i {
		width: 18px;
		height: 18px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.aik-hero-art .aik-hero-player,
	.aik-coins i,
	.aik-press-start {
		animation: none;
	}
}

/* Magazine front (home.php): the newest article big, two beside each other, the rest as a quick list.
   An article without a picture gets a colored tile for its section instead of pale lilac. */
.aik-article-card-img.is-emoji {
	background: linear-gradient(135deg, #5fe3f6, #a991ff);
}

.aik-article-card-img.is-emoji.is-animals {
	background: linear-gradient(135deg, #ffd66b, #7fdc9a);
}

.aik-article-card-img.is-emoji span {
	font-size: 80px;
	filter: drop-shadow(0 10px 14px rgba(29, 22, 64, 0.25));
	transition: transform 0.35s var(--ease);
}

.aik-article-card:hover .aik-article-card-img.is-emoji span {
	transform: scale(1.12) rotate(-6deg);
}

.aik-article-card-img img {
	transition: transform 0.5s var(--ease);
}

.aik-article-card:hover .aik-article-card-img img {
	transform: scale(1.04);
}

.aik-article-card.is-lead {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
	margin-bottom: 24px;
	border: 0;
	box-shadow: var(--shadow);
}

.aik-article-card.is-lead .aik-article-card-img {
	aspect-ratio: auto;
	min-height: 360px;
}

.aik-article-card.is-lead .aik-article-card-img.is-emoji span {
	font-size: 140px;
}

.aik-article-card.is-lead .aik-article-card-body {
	justify-content: center;
	gap: 14px;
	padding: clamp(24px, 4vw, 48px);
}

.aik-article-card.is-lead h2 {
	font-size: clamp(28px, 3vw, 40px);
	line-height: 1.15;
}

.aik-article-card.is-lead p {
	font-size: 19px;
}

.aik-articles.is-two {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.aik-articles-list-title {
	margin: 48px 0 16px;
	font-size: 26px;
}

.aik-articles-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px 28px;
}

.aik-article-card.is-row {
	flex-direction: row;
	align-items: center;
	border-width: 0 0 2px;
	border-radius: 0;
	background: transparent;
}

.aik-article-card.is-row:hover {
	transform: none;
	box-shadow: none;
}

.aik-article-card.is-row .aik-article-card-img {
	flex: 0 0 120px;
	aspect-ratio: 1;
	border-radius: 16px;
	overflow: hidden;
}

.aik-article-card.is-row .aik-article-card-img.is-emoji span {
	font-size: 48px;
}

.aik-article-card.is-row .aik-article-card-body {
	gap: 4px;
	padding: 12px 18px;
}

.aik-article-card.is-row h3 {
	font-size: 19px;
}

.aik-article-card.is-row h3 a:hover {
	color: var(--purple-dark);
}

.aik-article-card.is-row p {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-size: 15px;
}

@media (max-width: 800px) {
	.aik-article-card.is-lead {
		grid-template-columns: 1fr;
	}

	.aik-article-card.is-lead .aik-article-card-img {
		min-height: 0;
		aspect-ratio: 16 / 9;
	}

	.aik-articles.is-two,
	.aik-articles-list {
		grid-template-columns: 1fr;
	}

	.aik-article-card.is-row .aik-article-card-img {
		flex-basis: 88px;
	}
}

/* An article (single.php): a colored head, a reading progress line under the header, and a share row */
.aik-progress {
	position: fixed;
	inset: 0 0 auto;
	z-index: 60;
	height: 4px;
	pointer-events: none;
}

.aik-progress span {
	display: block;
	height: 100%;
	background: linear-gradient(90deg, #5fe3f6, var(--purple), #ff4fa3);
	transform: scaleX(0);
	transform-origin: right;
}

.aik-article-head {
	position: relative;
	margin: 0 calc(var(--pad) * -1);
	padding: clamp(24px, 4vw, 40px) var(--pad);
	border-radius: 28px;
	background:
		radial-gradient(60% 80% at 10% 0%, rgba(95, 227, 246, 0.25), transparent 70%),
		radial-gradient(50% 70% at 100% 100%, rgba(255, 79, 163, 0.12), transparent 70%),
		linear-gradient(160deg, #f4efff, #ebe3ff);
}

.aik-article-head h1 {
	font-size: clamp(34px, 5vw, 54px);
	line-height: 1.1;
}

.aik-article-img {
	margin: 28px calc(clamp(0px, 6vw, 80px) * -1) 0;
}

.aik-article-img img {
	box-shadow: var(--shadow);
}

.aik-article-body > p:first-child {
	font-size: 21px;
}

.aik-article-share {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin-top: 40px;
	padding-top: 24px;
	border-top: 2px dashed var(--lilac-line);
}

.aik-article-share p {
	flex-basis: 100%;
	font-weight: 600;
}

@media (max-width: 800px) {
	.aik-article-head {
		margin: 0;
		border-radius: 22px;
	}

	.aik-article-img {
		margin-inline: 0;
	}
}

/* "Creating, not just watching" (home): a wide night band edge to edge, the class's sky glowing through, motes of light
   and a 6-column mosaic of photos and short loops (big, wide and tall tiles fill in densely) */
.aik-moments {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	padding-inline: clamp(16px, 3vw, 48px);
}

.aik-moments::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: url("../img/bg-sky-1200.webp") center top / cover no-repeat;
	opacity: 0.38;
	-webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.6) 45%, transparent 100%);
	mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.6) 45%, transparent 100%);
}

.aik-moments .aik-lofi-motes {
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
}

.aik-mosaic.is-wide {
	grid-template-columns: repeat(6, minmax(0, 1fr));
	grid-auto-rows: clamp(150px, 12.5vw, 250px);
	grid-auto-flow: dense;
	gap: clamp(12px, 1.2vw, 20px);
	max-width: 1840px;
	margin-inline: auto;
}

.aik-mosaic-item.is-wide {
	grid-column: span 2;
}

.aik-mosaic-item.is-tall {
	grid-row: span 2;
}

.aik-mosaic.is-wide .aik-mosaic-item {
	box-shadow: 0 24px 60px rgba(5, 2, 25, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.aik-mosaic.is-wide .aik-mosaic-item:nth-child(3n + 1) {
	border-radius: 28px 28px 28px 8px;
}

.aik-mosaic.is-wide .aik-mosaic-item:nth-child(4n + 2) {
	border-radius: 8px 28px 28px 28px;
}

@media (max-width: 1100px) {
	.aik-mosaic.is-wide {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		grid-auto-rows: clamp(150px, 18vw, 220px);
	}
}

@media (max-width: 800px) {
	.aik-mosaic.is-wide {
		grid-template-columns: 1fr 1fr;
		grid-auto-rows: 150px;
	}

	.aik-mosaic.is-wide .aik-mosaic-item.is-wide {
		grid-column: span 2;
	}
}
