/*
Theme Name: Oksana
Theme URI: https://oksana-huzyk.blog/
Author: Ivan Huzyk
Description: Яскрава, смілива тема для блогу вчителя-дефектолога Оксани Гузик. Зошит у клітинку, жирні контури, кольорові «наліпки». Окремі шаблони для головної, блогу, галереї та сертифікатів.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: oksana
*/

/* ==========================================================================
   Tokens
   ========================================================================== */
:root {
	--ink: #16132d;
	--ink-soft: #4a4668;
	--paper: #fff8ec;
	--paper-2: #fff1d6;
	--white: #ffffff;
	--grid: rgba(58, 91, 255, 0.09);

	--yellow: #ffd23f;
	--pink: #ff5d8f;
	--blue: #3a5bff;
	--green: #22c3a0;
	--orange: #ff8a3d;
	--lilac: #b59cff;

	--line: 3px solid var(--ink);
	--shadow: 6px 6px 0 var(--ink);
	--shadow-lg: 10px 10px 0 var(--ink);
	--radius: 22px;
	--radius-sm: 14px;

	--font-display: "Unbounded", "Arial Black", system-ui, sans-serif;
	--font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

	--wrap: 1200px;
	--gutter: clamp(16px, 4vw, 40px);
}

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

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

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 18px;
	line-height: 1.65;
	color: var(--ink);
	background-color: var(--paper);
	background-image:
		linear-gradient(var(--grid) 1px, transparent 1px),
		linear-gradient(90deg, var(--grid) 1px, transparent 1px);
	background-size: 28px 28px;
	overflow-x: hidden;
}

img, svg, video, iframe { max-width: 100%; height: auto; }
img { display: block; }

a { color: var(--blue); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--pink); }

:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.01em;
	margin: 0 0 0.5em;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden; clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}
.skip-link:focus {
	clip: auto; width: auto; height: auto;
	top: 10px; left: 10px; z-index: 1000;
	padding: 10px 16px;
	background: var(--yellow); color: var(--ink);
	border: var(--line); border-radius: 10px;
}

.wrap {
	width: 100%;
	max-width: var(--wrap);
	margin: 0 auto;
	padding: 0 var(--gutter);
}
.wrap--narrow { max-width: 820px; }

/* ==========================================================================
   Buttons & chips
   ========================================================================== */
.btn,
.wp-element-button,
.wp-block-button__link,
.wp-block-file .wp-block-file__button {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 14px 24px;
	font-family: var(--font-display);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	color: var(--ink);
	text-decoration: none;
	background: var(--yellow);
	border: var(--line);
	border-radius: 999px;
	box-shadow: 4px 4px 0 var(--ink);
	cursor: pointer;
	transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover,
.wp-element-button:hover,
.wp-block-button__link:hover,
.wp-block-file .wp-block-file__button:hover {
	color: var(--ink);
	transform: translate(-2px, -2px);
	box-shadow: 6px 6px 0 var(--ink);
}
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.btn--pink { background: var(--pink); color: var(--white); }
.btn--pink:hover { color: var(--white); }
.btn--blue { background: var(--blue); color: var(--white); }
.btn--blue:hover { color: var(--white); }
.btn--white { background: var(--white); }
.btn--ghost { background: transparent; box-shadow: none; }
.btn--ghost:hover { background: var(--white); }
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(4px); }

.chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 14px;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .03em;
	text-transform: uppercase;
	color: var(--ink);
	text-decoration: none;
	background: var(--white);
	border: 2px solid var(--ink);
	border-radius: 999px;
}
a.chip:hover { background: var(--yellow); color: var(--ink); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	padding: 14px 0;
	transition: padding .2s ease;
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; position: relative; } }

.site-header__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 10px 12px 10px 20px;
	background: var(--white);
	border: var(--line);
	border-radius: 999px;
	box-shadow: var(--shadow);
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	color: var(--ink);
	text-decoration: none;
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 19px;
	line-height: 1;
}
.brand:hover { color: var(--ink); }
.brand__mark {
	display: grid;
	place-items: center;
	width: 42px; height: 42px;
	flex: none;
	font-size: 20px;
	background: var(--pink);
	color: var(--white);
	border: var(--line);
	border-radius: 50%;
	transform: rotate(-8deg);
	transition: transform .3s ease;
}
.brand:hover .brand__mark { transform: rotate(12deg) scale(1.05); }
.brand__text small {
	display: block;
	margin-top: 4px;
	font-family: var(--font-body);
	font-size: 12px;
	font-weight: 700;
	color: var(--ink-soft);
	letter-spacing: .02em;
}
.custom-logo { max-height: 46px; width: auto; }

.nav ul {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 0; padding: 0;
	list-style: none;
}
.nav a {
	display: block;
	padding: 10px 18px;
	font-weight: 800;
	font-size: 15px;
	color: var(--ink);
	text-decoration: none;
	border: 2px solid transparent;
	border-radius: 999px;
	transition: background .15s ease, border-color .15s ease;
}
.nav a:hover { background: var(--paper-2); border-color: var(--ink); color: var(--ink); }
.nav .current-menu-item > a,
.nav .current_page_item > a,
.nav .current_page_parent > a,
.nav .is-current > a {
	background: var(--yellow);
	border-color: var(--ink);
}
.nav .sub-menu { display: none; }

.nav-toggle {
	display: none;
	width: 48px; height: 48px;
	padding: 0;
	background: var(--yellow);
	border: var(--line);
	border-radius: 50%;
	cursor: pointer;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
	display: block;
	width: 20px; height: 3px;
	margin: 0 auto;
	background: var(--ink);
	border-radius: 2px;
	position: relative;
	transition: transform .2s ease, background .2s ease;
}
.nav-toggle span::before,
.nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
	.nav-toggle { display: block; }
	.site-header__bar { border-radius: 28px; flex-wrap: wrap; }
	.nav { display: none; width: 100%; }
	.nav-open .nav { display: block; }
	.nav ul { flex-direction: column; align-items: stretch; padding: 8px 0 6px; }
	.nav a { padding: 14px 18px; font-size: 18px; border-color: var(--ink); background: var(--paper); }
	.brand__text small { display: none; }
}

/* ==========================================================================
   Decorations
   ========================================================================== */
.marker {
	position: relative;
	display: inline;
	background: linear-gradient(transparent 55%, var(--yellow) 55%, var(--yellow) 92%, transparent 92%);
	padding: 0 .08em;
	box-decoration-break: clone;
	-webkit-box-decoration-break: clone;
}
.marker--pink { background: linear-gradient(transparent 55%, var(--pink) 55%, var(--pink) 92%, transparent 92%); }
.marker--green { background: linear-gradient(transparent 55%, var(--green) 55%, var(--green) 92%, transparent 92%); }

.squiggle { display: block; width: 140px; height: 18px; color: var(--pink); }

.sticker {
	position: absolute;
	z-index: 3;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 16px;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 15px;
	background: var(--white);
	border: var(--line);
	border-radius: 999px;
	box-shadow: 4px 4px 0 var(--ink);
	white-space: nowrap;
}

.float { animation: float 6s ease-in-out infinite; }
.float--slow { animation-duration: 8s; animation-delay: -2s; }
@keyframes float {
	0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); }
	50% { transform: translateY(-10px) rotate(var(--r, 0deg)); }
}
.spin { animation: spin 18s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.shape { position: absolute; z-index: 0; pointer-events: none; }

/* ==========================================================================
   Hero (front page)
   ========================================================================== */
.hero {
	position: relative;
	padding: clamp(36px, 6vw, 80px) 0 clamp(60px, 8vw, 110px);
}
.hero__grid {
	display: grid;
	grid-template-columns: 1.15fr .85fr;
	gap: clamp(30px, 5vw, 70px);
	align-items: center;
}
.hero__kicker {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 18px;
	padding: 8px 18px 8px 10px;
	font-weight: 800;
	background: var(--white);
	border: var(--line);
	border-radius: 999px;
	box-shadow: 4px 4px 0 var(--ink);
	transform: rotate(-2deg);
}
.hero__kicker .wave {
	display: grid; place-items: center;
	width: 32px; height: 32px;
	background: var(--yellow);
	border: 2px solid var(--ink);
	border-radius: 50%;
	animation: wave 2.4s ease-in-out infinite;
	transform-origin: 70% 70%;
}
@keyframes wave {
	0%, 60%, 100% { transform: rotate(0); }
	10%, 30% { transform: rotate(16deg); }
	20%, 40% { transform: rotate(-10deg); }
}
.hero__title {
	font-size: clamp(44px, 8.4vw, 112px);
	font-weight: 900;
	line-height: .95;
	letter-spacing: -0.035em;
	margin: 0 0 .25em;
}
.hero__title .line { display: block; }
.hero__title .outline {
	color: var(--paper);
	-webkit-text-stroke: 3px var(--ink);
	paint-order: stroke fill;
	text-shadow: 6px 6px 0 var(--pink);
}
.hero__role {
	display: inline-block;
	margin-bottom: 22px;
	padding: 10px 22px;
	font-family: var(--font-display);
	font-size: clamp(17px, 2.2vw, 24px);
	font-weight: 700;
	color: var(--white);
	background: var(--blue);
	border: var(--line);
	border-radius: 14px;
	box-shadow: 5px 5px 0 var(--ink);
	transform: rotate(1.5deg);
}
.hero__text {
	max-width: 560px;
	margin: 0 0 30px;
	font-size: clamp(18px, 1.8vw, 21px);
	font-weight: 500;
	color: var(--ink-soft);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__media { position: relative; justify-self: center; width: min(100%, 440px); }
.hero__photo {
	position: relative;
	z-index: 2;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	background: var(--lilac);
	border: 4px solid var(--ink);
	border-radius: 200px 200px 28px 28px;
	box-shadow: var(--shadow-lg);
	transform: rotate(2.5deg);
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__photo--empty {
	display: grid; place-items: center;
	font-family: var(--font-display);
	font-size: 120px;
	color: var(--white);
}
.hero__blob {
	position: absolute;
	z-index: 1;
	inset: -6% -10% 10% -12%;
	background: var(--yellow);
	border: var(--line);
	border-radius: 58% 42% 46% 54% / 48% 56% 44% 52%;
	animation: blob 12s ease-in-out infinite;
}
@keyframes blob {
	0%, 100% { border-radius: 58% 42% 46% 54% / 48% 56% 44% 52%; }
	50% { border-radius: 42% 58% 60% 40% / 56% 42% 58% 44%; }
}
.hero__media .sticker--a { --r: -8deg; top: 8%; left: -14%; background: var(--green); }
.hero__media .sticker--b { --r: 6deg; bottom: 12%; right: -12%; background: var(--pink); color: var(--white); }
.hero__media .sticker--c { --r: -4deg; bottom: -4%; left: 4%; }

.badge-round {
	position: absolute;
	z-index: 4;
	top: -30px; right: -26px;
	width: 132px; height: 132px;
	background: var(--white);
	border: var(--line);
	border-radius: 50%;
	box-shadow: 4px 4px 0 var(--ink);
}
.badge-round svg { width: 100%; height: 100%; }
.badge-round text {
	font-family: var(--font-display);
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 2.2px;
	fill: var(--ink);
	text-transform: uppercase;
}
.badge-round__center {
	position: absolute; inset: 0;
	display: grid; place-items: center;
	font-size: 38px;
}

.hero .shape--star { top: 6%; left: 46%; width: 54px; color: var(--orange); }
.hero .shape--dots { bottom: 4%; left: 2%; width: 110px; color: var(--blue); }

@media (max-width: 900px) {
	.hero__grid { grid-template-columns: 1fr; }
	.hero__media { order: -1; width: min(78%, 360px); margin-top: 10px; }
	.badge-round { width: 104px; height: 104px; top: -20px; right: -18px; }
	.badge-round text { font-size: 10px; letter-spacing: 1.6px; }
	.hero__media .sticker--a { left: -10%; }
	.hero__media .sticker--b { right: -8%; }
	.hero .shape--star { left: auto; right: 4%; top: 46%; }
}
@media (max-width: 520px) {
	.sticker { font-size: 13px; padding: 8px 12px; }
	.hero__title .outline { -webkit-text-stroke-width: 2px; text-shadow: 4px 4px 0 var(--pink); }
}

/* ==========================================================================
   Marquee
   ========================================================================== */
.marquee {
	position: relative;
	z-index: 2;
	overflow: hidden;
	padding: 18px 0;
	color: var(--white);
	background: var(--blue);
	border-top: var(--line);
	border-bottom: var(--line);
	transform: rotate(-1.6deg);
	margin: 0 -20px;
}
.marquee--alt { background: var(--pink); transform: rotate(1.2deg); margin-top: -14px; }
.marquee__track {
	display: flex;
	width: max-content;
	animation: marquee 32s linear infinite;
}
.marquee--alt .marquee__track { animation-direction: reverse; animation-duration: 38s; }
.marquee__item {
	display: inline-flex;
	align-items: center;
	gap: 28px;
	padding-right: 28px;
	font-family: var(--font-display);
	font-size: clamp(20px, 3vw, 34px);
	font-weight: 800;
	white-space: nowrap;
	text-transform: uppercase;
}
.marquee__item .dot { color: var(--yellow); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   Sections
   ========================================================================== */
.section { position: relative; padding: clamp(70px, 9vw, 120px) 0; }
.section--tight { padding-top: clamp(40px, 5vw, 60px); }

.section-head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px 40px;
	margin-bottom: clamp(32px, 4vw, 54px);
}
.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 14px;
	font-size: 14px;
	font-weight: 800;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--ink);
}
.eyebrow::before {
	content: "";
	width: 14px; height: 14px;
	background: var(--pink);
	border: 2px solid var(--ink);
	border-radius: 50%;
}
.section-title {
	font-size: clamp(34px, 5.4vw, 66px);
	font-weight: 900;
	letter-spacing: -0.03em;
	margin: 0;
	max-width: 15ch;
}
.section-lead { max-width: 460px; margin: 0; font-size: 18px; color: var(--ink-soft); font-weight: 500; }

/* ---------- About ---------- */
.about__grid {
	display: grid;
	grid-template-columns: .9fr 1.1fr;
	gap: clamp(30px, 5vw, 70px);
	align-items: start;
}
.about__card {
	position: relative;
	padding: clamp(28px, 4vw, 44px);
	background: var(--white);
	border: var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow-lg);
}
.about__card::before {
	content: "";
	position: absolute;
	top: -18px; left: 34px;
	width: 110px; height: 34px;
	background: rgba(255, 210, 63, .85);
	border: 2px solid var(--ink);
	transform: rotate(-4deg);
}
.about__card p { margin: 0 0 1em; font-size: 19px; }
.about__card p:last-child { margin-bottom: 0; }
.about__quote {
	font-family: var(--font-display);
	font-size: clamp(22px, 2.6vw, 30px);
	font-weight: 700;
	line-height: 1.3;
}

.directions {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 22px;
}
.direction {
	position: relative;
	padding: 26px 24px 28px;
	border: var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	transition: transform .2s ease, box-shadow .2s ease;
}
.direction:hover { transform: translate(-3px, -3px) rotate(-.6deg); box-shadow: var(--shadow-lg); }
.direction:nth-child(1) { background: var(--yellow); }
.direction:nth-child(2) { background: var(--green); }
.direction:nth-child(3) { background: var(--lilac); }
.direction:nth-child(4) { background: var(--orange); }
.direction__icon {
	display: grid; place-items: center;
	width: 58px; height: 58px;
	margin-bottom: 16px;
	font-size: 28px;
	background: var(--white);
	border: var(--line);
	border-radius: 16px;
	transform: rotate(-6deg);
}
.direction h3 { font-size: 20px; margin-bottom: .45em; }
.direction p { margin: 0; font-size: 16px; font-weight: 500; line-height: 1.55; }

@media (max-width: 900px) {
	.about__grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
	.directions { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Post cards
   ========================================================================== */
.posts-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
}
.post-card {
	--accent: var(--yellow);
	position: relative;
	display: flex;
	flex-direction: column;
	background: var(--white);
	border: var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	overflow: hidden;
	transition: transform .2s ease, box-shadow .2s ease;
}
.post-card:hover { transform: translate(-4px, -4px); box-shadow: var(--shadow-lg); }
.post-card:nth-child(5n+1) { --accent: var(--yellow); }
.post-card:nth-child(5n+2) { --accent: var(--pink); }
.post-card:nth-child(5n+3) { --accent: var(--green); }
.post-card:nth-child(5n+4) { --accent: var(--lilac); }
.post-card:nth-child(5n+5) { --accent: var(--orange); }

.post-card__media {
	position: relative;
	aspect-ratio: 16 / 10;
	background: var(--accent);
	border-bottom: var(--line);
	overflow: hidden;
}
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.post-card:hover .post-card__media img { transform: scale(1.05); }
.post-card__placeholder {
	position: absolute; inset: 0;
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	padding: 18px 20px;
	background-image: radial-gradient(rgba(22, 19, 45, .16) 2px, transparent 2px);
	background-size: 18px 18px;
}
.post-card__num {
	font-family: var(--font-display);
	font-size: 72px;
	font-weight: 900;
	line-height: .8;
	color: var(--white);
	-webkit-text-stroke: 3px var(--ink);
	paint-order: stroke fill;
}
.post-card__emoji {
	display: grid; place-items: center;
	width: 64px; height: 64px;
	font-size: 32px;
	background: var(--white);
	border: var(--line);
	border-radius: 50%;
	transform: rotate(10deg);
	transition: transform .3s ease;
}
.post-card:hover .post-card__emoji { transform: rotate(-10deg) scale(1.08); }

.post-card__body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.post-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 14px;
	margin-bottom: 12px;
	font-size: 14px;
	font-weight: 700;
	color: var(--ink-soft);
}
.post-card__title {
	font-size: 20px;
	line-height: 1.25;
	margin: 0 0 12px;
	/* Some titles are typed in CAPS, so tame them a bit. */
	overflow-wrap: anywhere;
}
.post-card__title a { color: var(--ink); text-decoration: none; }
.post-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.post-card__title a:hover { color: var(--ink); }
.post-card__excerpt {
	flex: 1;
	margin: 0 0 18px;
	font-size: 16px;
	color: var(--ink-soft);
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.post-card__more {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	align-self: flex-start;
	padding: 8px 16px;
	font-weight: 800;
	font-size: 15px;
	background: var(--accent);
	border: 2px solid var(--ink);
	border-radius: 999px;
}

/* Featured (first) card on blog index */
.posts-grid--blog .post-card--featured {
	grid-column: span 3;
	flex-direction: row;
}
.posts-grid--blog .post-card--featured .post-card__media {
	flex: 0 0 44%;
	aspect-ratio: auto;
	min-height: 320px;
	border-bottom: 0;
	border-right: var(--line);
}
.posts-grid--blog .post-card--featured .post-card__body { padding: 36px 40px; justify-content: center; }
.posts-grid--blog .post-card--featured .post-card__title { font-size: clamp(24px, 2.8vw, 36px); }
.posts-grid--blog .post-card--featured .post-card__num { font-size: 140px; }

@media (max-width: 1000px) {
	.posts-grid { grid-template-columns: repeat(2, 1fr); }
	.posts-grid--blog .post-card--featured { grid-column: span 2; }
}
@media (max-width: 680px) {
	.posts-grid { grid-template-columns: 1fr; }
	.posts-grid--blog .post-card--featured { grid-column: auto; flex-direction: column; }
	.posts-grid--blog .post-card--featured .post-card__media { min-height: 200px; border-right: 0; border-bottom: var(--line); }
	.posts-grid--blog .post-card--featured .post-card__body { padding: 22px 24px 24px; }
	.posts-grid--blog .post-card--featured .post-card__num { font-size: 90px; }
}

/* ==========================================================================
   Gallery teaser (front page)
   ========================================================================== */
.gallery-teaser {
	background: var(--ink);
	color: var(--white);
	border-top: var(--line);
	border-bottom: var(--line);
	overflow: hidden;
}
.gallery-teaser .section-title { color: var(--white); }
.gallery-teaser .section-lead { color: rgba(255, 255, 255, .75); }
.gallery-teaser .eyebrow { color: var(--yellow); }
.gallery-teaser .eyebrow::before { background: var(--yellow); border-color: var(--yellow); }

.polaroids {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 18px;
	align-items: center;
}
.polaroid {
	display: block;
	padding: 10px 10px 34px;
	background: var(--white);
	border: 3px solid var(--white);
	border-radius: 8px;
	box-shadow: 8px 8px 0 var(--pink);
	transition: transform .25s ease, box-shadow .25s ease;
}
.polaroid img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 4px; }
.polaroid:nth-child(odd) { rotate: -4deg; }
.polaroid:nth-child(even) { rotate: 3.5deg; translate: 0 24px; }
.polaroid:nth-child(3n) { box-shadow: 8px 8px 0 var(--yellow); }
.polaroid:nth-child(4n) { box-shadow: 8px 8px 0 var(--green); }
.polaroid { transition: transform .25s ease, box-shadow .25s ease, rotate .25s ease, translate .25s ease, opacity .7s ease; }
.js .polaroid.reveal.is-visible:hover,
.polaroid:hover { rotate: 0deg; translate: 0 -8px; transform: scale(1.04); z-index: 2; position: relative; }

@media (max-width: 900px) {
	.polaroids { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 520px) {
	.polaroids { grid-template-columns: repeat(2, 1fr); gap: 14px; }
	.polaroid:nth-child(n+5) { display: none; }
}

/* ==========================================================================
   Certificates teaser
   ========================================================================== */
.cert-banner {
	position: relative;
	display: grid;
	grid-template-columns: auto 1fr auto;
	gap: clamp(20px, 4vw, 50px);
	align-items: center;
	padding: clamp(30px, 5vw, 56px);
	background: var(--yellow);
	border: 4px solid var(--ink);
	border-radius: 36px;
	box-shadow: 12px 12px 0 var(--ink);
}
.cert-banner__medal {
	position: relative;
	display: grid; place-items: center;
	width: clamp(130px, 16vw, 180px);
	aspect-ratio: 1;
	font-family: var(--font-display);
	font-weight: 900;
	text-align: center;
	line-height: 1;
	background: var(--pink);
	color: var(--white);
	border: 4px solid var(--ink);
	border-radius: 50%;
	box-shadow: 6px 6px 0 var(--ink);
	transform: rotate(-8deg);
}
.cert-banner__medal::before,
.cert-banner__medal::after {
	content: "";
	position: absolute;
	bottom: -40px;
	width: 34px; height: 60px;
	background: var(--blue);
	border: 3px solid var(--ink);
	z-index: -1;
	clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 78%, 0 100%);
}
.cert-banner__medal::before { left: 28%; transform: rotate(12deg); }
.cert-banner__medal::after { right: 28%; transform: rotate(-12deg); background: var(--green); }
.cert-banner__num { display: block; font-size: clamp(48px, 6vw, 72px); -webkit-text-stroke: 2px var(--ink); paint-order: stroke fill; }
.cert-banner__label { display: block; margin-top: 4px; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }
.cert-banner h2 { font-size: clamp(28px, 4vw, 48px); margin-bottom: .3em; }
.cert-banner p { margin: 0; font-size: 18px; font-weight: 600; max-width: 520px; }

@media (max-width: 820px) {
	.cert-banner { grid-template-columns: 1fr; justify-items: start; }
	.cert-banner__medal { margin-bottom: 30px; }
}

/* ==========================================================================
   Page hero (inner pages)
   ========================================================================== */
.page-hero {
	position: relative;
	padding: clamp(40px, 6vw, 80px) 0 clamp(40px, 5vw, 60px);
}
.page-hero__inner {
	position: relative;
	padding: clamp(30px, 5vw, 60px);
	background: var(--accent, var(--pink));
	border: 4px solid var(--ink);
	border-radius: 36px;
	box-shadow: 12px 12px 0 var(--ink);
	overflow: hidden;
}
.page-hero--blue { --accent: var(--blue); }
.page-hero--yellow { --accent: var(--yellow); }
.page-hero--green { --accent: var(--green); }
.page-hero--lilac { --accent: var(--lilac); }
.page-hero--pink { --accent: var(--pink); }
.page-hero--blue .page-hero__inner,
.page-hero--pink .page-hero__inner { color: var(--white); }
.page-hero__inner::after {
	content: "";
	position: absolute;
	right: -60px; bottom: -80px;
	width: 300px; height: 300px;
	background-image: radial-gradient(rgba(255, 255, 255, .45) 3px, transparent 3px);
	background-size: 22px 22px;
	border-radius: 50%;
	pointer-events: none;
}
.page-hero__title {
	position: relative;
	z-index: 1;
	font-size: clamp(40px, 7vw, 92px);
	font-weight: 900;
	letter-spacing: -0.035em;
	line-height: 1;
	margin: 0;
	max-width: 16ch;
	overflow-wrap: anywhere;
}
.page-hero__lead {
	position: relative;
	z-index: 1;
	max-width: 620px;
	margin: 18px 0 0;
	font-size: clamp(17px, 1.8vw, 20px);
	font-weight: 600;
}
.page-hero__emoji {
	position: absolute;
	z-index: 2;
	top: clamp(14px, 3vw, 30px);
	right: clamp(14px, 3vw, 40px);
	display: grid; place-items: center;
	width: clamp(64px, 9vw, 110px);
	aspect-ratio: 1;
	font-size: clamp(30px, 4.5vw, 54px);
	background: var(--white);
	border: var(--line);
	border-radius: 50%;
	box-shadow: 5px 5px 0 var(--ink);
	--r: 8deg;
}
@media (max-width: 600px) {
	.page-hero__emoji { position: relative; top: 0; right: 0; margin-bottom: 16px; }
}

/* ==========================================================================
   Single post
   ========================================================================== */
.progress {
	position: fixed;
	top: 0; left: 0;
	z-index: 100;
	width: 100%; height: 6px;
	background: transparent;
}
.progress__bar {
	height: 100%;
	width: 0;
	background: linear-gradient(90deg, var(--pink), var(--orange), var(--yellow));
	border-right: 2px solid var(--ink);
}
.admin-bar .progress { top: 32px; }

.entry-header {
	padding: clamp(40px, 6vw, 80px) 0 clamp(30px, 4vw, 50px);
	text-align: left;
}
.entry-header .chip { margin-bottom: 20px; background: var(--yellow); }
.entry-title {
	font-size: clamp(32px, 5vw, 60px);
	font-weight: 900;
	letter-spacing: -0.025em;
	line-height: 1.08;
	margin: 0 0 24px;
	overflow-wrap: anywhere;
}
.entry-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}
.entry-meta .chip { margin: 0; background: var(--white); text-transform: none; letter-spacing: 0; font-size: 14px; }
.entry-thumb {
	margin: 0 0 40px;
	border: 4px solid var(--ink);
	border-radius: var(--radius);
	box-shadow: var(--shadow-lg);
	overflow: hidden;
}
.entry-thumb img { width: 100%; }

.entry-paper {
	padding: clamp(26px, 5vw, 60px);
	background: var(--white);
	border: var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow-lg);
}

/* ==========================================================================
   Prose (post & page content)
   ========================================================================== */
.prose { font-size: 19px; line-height: 1.75; }
.prose > * { margin-top: 0; margin-bottom: 1.15em; }
.prose > *:last-child { margin-bottom: 0; }
.prose h2 { font-size: clamp(26px, 3vw, 34px); margin-top: 1.8em; }
.prose h3 { font-size: clamp(21px, 2.4vw, 26px); margin-top: 1.6em; }
.prose h4 { font-size: 20px; margin-top: 1.4em; }
.prose h2::after {
	content: "";
	display: block;
	width: 70px; height: 7px;
	margin-top: 12px;
	background: var(--pink);
	border: 2px solid var(--ink);
	border-radius: 999px;
}
.prose strong { font-weight: 800; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .45em; }
.prose ul li::marker { color: var(--pink); font-size: 1.2em; }
.prose ol li::marker { color: var(--blue); font-weight: 800; font-family: var(--font-display); }
.prose blockquote,
.prose .wp-block-quote {
	position: relative;
	margin: 1.8em 0;
	padding: 28px 30px 28px 34px;
	font-size: 21px;
	font-weight: 600;
	background: var(--paper-2);
	border: var(--line);
	border-left-width: 12px;
	border-left-color: var(--yellow);
	border-radius: var(--radius-sm);
}
.prose blockquote p:last-child { margin-bottom: 0; }
.prose blockquote cite { display: block; margin-top: 10px; font-size: 15px; font-style: normal; font-weight: 800; }
.prose hr, .prose .wp-block-separator {
	height: 0; margin: 2.4em auto;
	border: 0; border-top: 4px dashed var(--ink);
	opacity: .25;
	max-width: 240px;
}
.prose img { border-radius: var(--radius-sm); }
.prose figure { margin-left: 0; margin-right: 0; }
.prose figcaption { margin-top: 8px; font-size: 15px; color: var(--ink-soft); text-align: center; }
.prose .wp-block-image img { border: var(--line); }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; }
.prose th, .prose td { padding: 10px 14px; border: 2px solid var(--ink); text-align: left; }
.prose th { background: var(--yellow); font-weight: 800; }
.prose .wp-block-table { overflow-x: auto; }
.prose mark { background: var(--yellow); padding: 0 .2em; }
.prose code { padding: .1em .35em; background: var(--paper-2); border-radius: 6px; font-size: .9em; }
.prose .alignwide { max-width: calc(100% + 120px); margin-left: -60px; margin-right: -60px; }
.prose .alignleft { float: left; margin: .3em 1.5em 1em 0; }
.prose .alignright { float: right; margin: .3em 0 1em 1.5em; }
.prose .aligncenter { margin-left: auto; margin-right: auto; }
@media (max-width: 900px) { .prose .alignwide { max-width: 100%; margin-left: 0; margin-right: 0; } }

/* Core galleries anywhere */
.wp-block-gallery.has-nested-images figure.wp-block-image img { border: 0; }
.prose .wp-block-gallery { gap: 14px; }

/* Post navigation */
.post-nav {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 22px;
	margin: 50px 0 0;
}
.post-nav a {
	display: block;
	height: 100%;
	padding: 22px 24px;
	color: var(--ink);
	text-decoration: none;
	background: var(--white);
	border: var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.post-nav a:hover { transform: translate(-3px, -3px); box-shadow: var(--shadow-lg); background: var(--yellow); }
.post-nav__label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft); }
.post-nav__title { font-family: var(--font-display); font-weight: 700; font-size: 17px; line-height: 1.3; overflow-wrap: anywhere; }
.post-nav__next { text-align: right; grid-column: 2; }
@media (max-width: 640px) {
	.post-nav { grid-template-columns: 1fr; }
	.post-nav__next { grid-column: auto; }
}

.author-box {
	display: flex;
	align-items: center;
	gap: 22px;
	margin-top: 50px;
	padding: 24px 28px;
	background: var(--lilac);
	border: var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}
.author-box__avatar {
	flex: none;
	width: 84px; height: 84px;
	border: var(--line);
	border-radius: 50%;
	overflow: hidden;
	background: var(--white);
}
.author-box__avatar img { width: 100%; height: 100%; object-fit: cover; }
.author-box h3 { font-size: 20px; margin: 0 0 4px; }
.author-box p { margin: 0; font-size: 16px; font-weight: 600; }

/* Pagination */
.pagination { margin-top: 56px; }
.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
}
.pagination .page-numbers {
	display: grid; place-items: center;
	min-width: 50px; height: 50px;
	padding: 0 16px;
	font-family: var(--font-display);
	font-weight: 700;
	color: var(--ink);
	text-decoration: none;
	background: var(--white);
	border: var(--line);
	border-radius: 999px;
	box-shadow: 3px 3px 0 var(--ink);
}
.pagination .page-numbers.current,
.pagination a.page-numbers:hover { background: var(--yellow); }

/* ==========================================================================
   Gallery page
   ========================================================================== */
.gallery-page .entry-paper { background: transparent; border: 0; box-shadow: none; padding: 0; }
.gallery-page .wp-block-gallery.has-nested-images {
	display: block !important;
	columns: 3 260px;
	column-gap: 22px;
}
.gallery-page .wp-block-gallery.has-nested-images figure.wp-block-image {
	display: block;
	width: 100% !important;
	margin: 0 0 22px !important;
	break-inside: avoid;
	padding: 10px;
	background: var(--white);
	border: var(--line);
	border-radius: 18px;
	box-shadow: var(--shadow);
	transition: transform .25s ease, box-shadow .25s ease;
}
.gallery-page .wp-block-gallery.has-nested-images figure.wp-block-image:nth-child(4n+1) { transform: rotate(-1.2deg); }
.gallery-page .wp-block-gallery.has-nested-images figure.wp-block-image:nth-child(4n+2) { transform: rotate(1deg); box-shadow: 6px 6px 0 var(--pink); }
.gallery-page .wp-block-gallery.has-nested-images figure.wp-block-image:nth-child(4n+3) { transform: rotate(-.6deg); box-shadow: 6px 6px 0 var(--blue); }
.gallery-page .wp-block-gallery.has-nested-images figure.wp-block-image:nth-child(4n) { transform: rotate(1.4deg); box-shadow: 6px 6px 0 var(--green); }
.gallery-page .wp-block-gallery.has-nested-images figure.wp-block-image:hover {
	transform: rotate(0) translateY(-6px);
	box-shadow: var(--shadow-lg);
	z-index: 2;
}
.gallery-page .wp-block-gallery.has-nested-images figure.wp-block-image img {
	width: 100% !important;
	height: auto !important;
	object-fit: initial !important;
	border-radius: 10px;
	cursor: zoom-in;
}
.gallery-page .wp-block-gallery.has-nested-images figure.wp-block-image figcaption {
	position: static;
	padding: 10px 6px 2px;
	color: var(--ink);
	background: none;
	font-weight: 700;
	font-size: 15px;
	text-align: left;
	max-height: none;
}
.gallery-page .wp-block-gallery.has-nested-images figure.wp-block-image::before { display: none; }
.gallery-page .prose > .wp-block-image { max-width: 640px; margin-left: auto; margin-right: auto; }

.gallery-count {
	display: inline-flex;
	gap: 10px;
	align-items: center;
	margin-top: 22px;
	position: relative;
	z-index: 1;
}

/* ==========================================================================
   Certificates page
   ========================================================================== */
.certs-page .entry-paper { background: transparent; border: 0; box-shadow: none; padding: 0; }
.certs-page .prose { counter-reset: cert; }
.certs-page .prose > p,
.certs-page .prose > h2,
.certs-page .prose > h3 { max-width: 760px; }

.certs-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 28px;
	margin-bottom: 40px;
}

.cert-card,
.certs-page .wp-block-file {
	--accent: var(--yellow);
	counter-increment: cert;
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin: 0;
	padding: 114px 24px 24px;
	background: var(--white);
	border: var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	transition: transform .2s ease, box-shadow .2s ease;
}
.cert-card:hover,
.certs-page .wp-block-file:hover { transform: translate(-3px, -3px) rotate(-.4deg); box-shadow: var(--shadow-lg); }
.certs-page .wp-block-file::before {
	content: "";
	position: absolute;
	top: 0; left: 0; right: 0;
	height: 70px;
	background: var(--accent);
	background-image: radial-gradient(rgba(22, 19, 45, .14) 2px, transparent 2px);
	background-size: 16px 16px;
	border-bottom: var(--line);
	border-radius: 19px 19px 0 0;
}
.certs-page .wp-block-file::after {
	content: "🏅";
	position: absolute;
	top: 30px; left: 22px;
	display: grid; place-items: center;
	width: 70px; height: 70px;
	font-size: 34px;
	background: var(--white);
	border: var(--line);
	border-radius: 50%;
	transform: rotate(-10deg);
}
.cert-card__num {
	position: absolute;
	top: 14px; right: 18px;
	font-family: var(--font-display);
	font-size: 15px;
	font-weight: 800;
}
.certs-grid > *:nth-child(4n+2) { --accent: var(--pink); }
.certs-grid > *:nth-child(4n+3) { --accent: var(--green); }
.certs-grid > *:nth-child(4n) { --accent: var(--lilac); }

.certs-page .wp-block-file .wp-block-file__embed { display: none; }
.certs-page .wp-block-file > a:not(.wp-block-file__button):not(.cert-view) {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 19px;
	line-height: 1.3;
	color: var(--ink);
	text-decoration: none;
	overflow-wrap: anywhere;
}
.certs-page .wp-block-file > a:not(.wp-block-file__button):not(.cert-view):hover { color: var(--blue); }
.cert-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.certs-page .wp-block-file .wp-block-file__button,
.certs-page .cert-view {
	margin: 0;
	padding: 10px 18px;
	font-size: 14px;
	box-shadow: 3px 3px 0 var(--ink);
}
.certs-page .cert-view { background: var(--blue); color: var(--white); }
.certs-page .cert-view:hover { color: var(--white); }

/* Image certificates */
.cert-card--image { padding: 12px 12px 18px; }
.cert-card--image img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border: 2px solid var(--ink);
	border-radius: 12px;
	cursor: zoom-in;
}
.cert-card--image figcaption { padding: 0 8px; font-weight: 700; font-size: 16px; }

.certs-empty {
	padding: 40px;
	text-align: center;
	font-weight: 700;
	background: var(--white);
	border: 3px dashed var(--ink);
	border-radius: var(--radius);
}

/* ==========================================================================
   Lightbox / modal
   ========================================================================== */
.lightbox {
	position: fixed;
	inset: 0;
	z-index: 1000;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 70px 80px;
	background: rgba(22, 19, 45, .92);
}
.lightbox.is-open { display: flex; animation: fadeIn .2s ease; }
@keyframes fadeIn { from { opacity: 0; } }
.lightbox__img {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	border: 4px solid var(--white);
	border-radius: 16px;
	box-shadow: 10px 10px 0 var(--pink);
	animation: pop .25s ease;
}
@keyframes pop { from { transform: scale(.94); opacity: 0; } }
.lightbox__frame {
	width: min(1000px, 100%);
	height: 100%;
	background: var(--white);
	border: 4px solid var(--white);
	border-radius: 16px;
	box-shadow: 10px 10px 0 var(--yellow);
}
.lightbox__btn {
	position: absolute;
	display: grid; place-items: center;
	width: 54px; height: 54px;
	padding: 0;
	font-size: 24px;
	font-weight: 900;
	color: var(--ink);
	background: var(--yellow);
	border: var(--line);
	border-radius: 50%;
	box-shadow: 3px 3px 0 var(--ink);
	cursor: pointer;
}
.lightbox__btn:hover { background: var(--white); }
.lightbox__close { top: 14px; right: 14px; background: var(--pink); color: var(--white); }
.lightbox__prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 14px; top: 50%; transform: translateY(-50%); }
.lightbox__count {
	position: absolute;
	bottom: 18px; left: 50%;
	transform: translateX(-50%);
	padding: 6px 16px;
	font-weight: 800;
	background: var(--white);
	border: var(--line);
	border-radius: 999px;
}
.lightbox--single .lightbox__prev,
.lightbox--single .lightbox__next,
.lightbox--single .lightbox__count { display: none; }
@media (max-width: 640px) {
	.lightbox { padding: 70px 12px; }
	.lightbox__prev, .lightbox__next { top: auto; bottom: 10px; transform: none; }
}
body.lightbox-open { overflow: hidden; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
	position: relative;
	margin-top: clamp(60px, 8vw, 110px);
	padding: clamp(60px, 8vw, 100px) 0 30px;
	color: var(--white);
	background: var(--ink);
	border-top: 4px solid var(--ink);
	overflow: hidden;
}
.site-footer::before {
	content: "";
	position: absolute;
	top: 0; left: 0; right: 0;
	height: 14px;
	background: repeating-linear-gradient(90deg,
		var(--yellow) 0 60px, var(--pink) 60px 120px, var(--blue) 120px 180px,
		var(--green) 180px 240px, var(--orange) 240px 300px, var(--lilac) 300px 360px);
}
.footer__big {
	font-family: var(--font-display);
	font-size: clamp(38px, 7.5vw, 104px);
	font-weight: 900;
	line-height: .98;
	letter-spacing: -0.035em;
	margin: 0 0 40px;
}
.footer__big span { color: var(--yellow); }
.footer__grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr;
	gap: 40px;
	padding: 36px 0;
	border-top: 2px solid rgba(255, 255, 255, .2);
}
.footer__grid h3 {
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: .1em;
	color: var(--yellow);
	margin-bottom: 14px;
}
.footer__grid p { margin: 0; color: rgba(255, 255, 255, .8); font-size: 16px; }
.footer__links { margin: 0; padding: 0; list-style: none; }
.footer__links li { margin-bottom: 8px; }
.footer__links a {
	color: var(--white);
	font-weight: 700;
	text-decoration: none;
	border-bottom: 2px solid transparent;
}
.footer__links a:hover { color: var(--yellow); border-color: var(--yellow); }
.footer__bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 14px;
	padding-top: 24px;
	font-size: 14px;
	color: rgba(255, 255, 255, .6);
	border-top: 2px solid rgba(255, 255, 255, .2);
}
.to-top {
	color: var(--ink);
	background: var(--yellow);
	padding: 6px 14px;
	border-radius: 999px;
	font-weight: 800;
	text-decoration: none;
}
.to-top:hover { color: var(--ink); background: var(--white); }
@media (max-width: 800px) {
	.footer__grid { grid-template-columns: 1fr; gap: 26px; }
}

/* ==========================================================================
   404 / search / misc
   ========================================================================== */
.notfound {
	padding: clamp(60px, 10vw, 140px) 0;
	text-align: center;
}
.notfound__num {
	font-family: var(--font-display);
	font-size: clamp(120px, 26vw, 300px);
	font-weight: 900;
	line-height: .9;
	color: var(--yellow);
	-webkit-text-stroke: 5px var(--ink);
	paint-order: stroke fill;
	text-shadow: 12px 12px 0 var(--pink);
}
.notfound h1 { font-size: clamp(26px, 4vw, 42px); margin: 30px 0 16px; }
.notfound p { margin: 0 auto 30px; max-width: 520px; color: var(--ink-soft); font-weight: 600; }

.search-form {
	display: flex;
	gap: 10px;
	max-width: 520px;
	margin: 0 auto;
}
.search-form .search-field {
	flex: 1;
	min-width: 0;
	padding: 14px 20px;
	font: inherit;
	font-weight: 600;
	background: var(--white);
	border: var(--line);
	border-radius: 999px;
}
.search-form .search-submit { flex: none; }

/* ==========================================================================
   Reveal on scroll
   ========================================================================== */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
	.js .reveal { opacity: 1; transform: none; }
}

.section-head__side { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }

.site-main { overflow-x: clip; }
