/*
Theme Name: Papadopoulos-Schmitt Modern
Theme URI: https://papadopoulos-schmitt.de/
Author: Redesign
Description: Modernes Custom-Theme fuer die Heilpraktikerschule Papadopoulos-Schmitt – editorial, ruhig, hochwertig, mit subtiler 3D- und Motion-Ebene.
Version: 2.18.0
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: papadopoulos-modern
*/

@font-face {
	font-family: 'DM Sans';
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url('assets/fonts/dm-sans-latin.woff2') format('woff2');
}
@font-face {
	font-family: 'Manrope';
	font-style: normal;
	font-weight: 500 800;
	font-display: swap;
	src: url('assets/fonts/manrope-latin.woff2') format('woff2');
}
@font-face {
	font-family: 'Dancing Script';
	font-style: normal;
	font-weight: 500 700;
	font-display: swap;
	src: url('assets/fonts/dancing-script-latin.woff2') format('woff2');
}

:root {
	--ink: #08132b;
	--ink-2: #0f2657;
	--muted: #506186;
	--muted-light: #a6b1c9;
	--cream: #fdf7e3;
	--cream-2: #f5ecd3;
	--paper: #fffbef;
	--white: #ffffff;
	--teal: #1a4093;
	--teal-dark: #122e68;
	--teal-deep: #0c1e45;
	--teal-soft: #e1e7f4;
	--lime: #b9d6a6;
	--terracotta: #ef8354;
	--terracotta-dark: #d1603d;
	--terracotta-deep: #9d4525;
	--line: rgba(8,19,43,.13);
	--line-light: rgba(255,255,255,.16);
	--shadow-sm: 0 12px 34px rgba(8,19,43,.07);
	--shadow-md: 0 24px 70px rgba(8,19,43,.11);
	--shadow-lg: 0 35px 100px rgba(12,30,69,.2);
	--font-display: 'Manrope', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	--font-body: 'DM Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	--font-script: 'Dancing Script', 'Segoe Script', cursive;
	--radius-xs: 10px;
	--radius-sm: 16px;
	--radius: 24px;
	--radius-lg: 36px;
	--max: 1240px;
	--header-h: 144px;
	--ease: cubic-bezier(.2,.75,.25,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
	margin: 0;
	background: var(--cream);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: clamp(16px, 1.1vw, 18px);
	line-height: 1.72;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}
body.nav-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--teal-dark); }
p { margin: 0 0 1.25em; }
ul, ol { padding-left: 1.35em; }
svg { display: block; }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	color: var(--ink);
	letter-spacing: -.035em;
	line-height: 1.3;
	margin: 0 0 .65em;
	font-weight: 700;
}
h1 { font-size: clamp(2.1rem, 4vw, 3.6rem); }
h2 { font-size: clamp(2.15rem, 4.6vw, 4.45rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.72rem); }
h4 { font-size: 1.05rem; }

.container {
	width: min(calc(100% - 48px), var(--max));
	margin-inline: auto;
}

::selection { background: var(--teal); color: var(--white); }
:focus-visible { outline: 3px solid var(--terracotta); outline-offset: 4px; }
.skip-link {
	position: fixed;
	left: 18px;
	top: -100px;
	background: var(--ink);
	color: var(--white);
	padding: 12px 18px;
	border-radius: 0 0 var(--radius-xs) var(--radius-xs);
	z-index: 999;
	transition: top .2s ease;
}
.skip-link:focus { top: 0; color: var(--white); }

/* Buttons */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 52px;
	padding: 14px 23px;
	border: 1px solid transparent;
	border-radius: 999px;
	font-family: var(--font-display);
	font-size: .94rem;
	font-weight: 700;
	line-height: 1;
	transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .3s ease, color .3s ease, border-color .3s ease;
}
.btn svg { width: 17px; height: 17px; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--terracotta); color: var(--ink); box-shadow: 0 12px 26px rgba(239,131,84,.32); }
.btn-primary:hover { background: var(--terracotta-dark); color: var(--ink); transform: translateY(-2px); box-shadow: 0 18px 34px rgba(209,96,61,.28); }
.btn-ghost { color: var(--white); border-color: rgba(255,255,255,.42); background: rgba(255,255,255,.04); backdrop-filter: blur(8px); }
.btn-ghost:hover { color: var(--white); border-color: rgba(255,255,255,.75); background: rgba(255,255,255,.1); transform: translateY(-2px); }
.btn-light { background: var(--paper); color: var(--ink); box-shadow: 0 12px 32px rgba(0,0,0,.1); }
.btn-light:hover { background: var(--white); color: var(--teal-dark); transform: translateY(-2px); }
.btn-secondary { background: var(--teal-soft); color: var(--teal-dark); }
.btn-secondary:hover { background: #c8d2ea; color: var(--teal-dark); transform: translateY(-1px); }

/* Header */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	border-bottom: 1px solid transparent;
	transition: border-color .3s ease;
}
/*
 * The frosted-glass background lives on a pseudo-element rather than on
 * .site-header itself: backdrop-filter (like transform/filter/perspective)
 * makes the element it's set on a new containing block for any
 * position:fixed descendant. #primary-navigation is fixed-positioned and
 * lives inside the header, so putting backdrop-filter directly on
 * .site-header made the mobile menu panel size itself against the header
 * bar instead of the viewport (squashed to a sliver instead of full-height).
 */
.site-header::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: -1;
	background: rgba(253,247,227,.86);
	backdrop-filter: blur(18px) saturate(140%);
	transition: background .3s ease, box-shadow .3s ease;
}
.site-header.is-scrolled {
	border-color: var(--line);
}
.site-header.is-scrolled::before {
	background: rgba(255,251,239,.94);
	box-shadow: 0 10px 35px rgba(8,19,43,.06);
}
.header-inner {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 12px;
	min-height: var(--header-h);
	padding: 14px 0;
}
.header-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
}
.site-branding { min-width: 0; flex: 1 1 auto; }
.site-branding > a { display: flex; align-items: center; gap: 16px; min-width: 0; color: var(--ink); }
.site-logo-mark, .footer-mark {
	position: relative;
	flex: 0 0 auto;
	width: 48px;
	height: 48px;
	display: grid;
	place-items: center;
}
.site-logo-mark { width: 74px; height: 74px; }
.site-logo-mark img, .footer-mark img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}
.footer-mark img { filter: brightness(0) invert(1); }
.site-logo-mark::before {
	content: '';
	position: absolute;
	inset: -30% 45% 35% -25%;
	background: rgba(255,255,255,.15);
	transform: rotate(35deg);
}
.site-logo-mark span { position: relative; }
.site-title-group { min-width: 0; display: block; }
.site-title {
	display: block;
	font-family: var(--font-display);
	font-weight: 800;
	font-size: .95rem;
	line-height: 1.2;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	letter-spacing: -.02em;
}
.site-tagline {
	display: block;
	margin-top: 2px;
	font-family: var(--font-script);
	font-size: 1.3rem;
	font-weight: 400;
	color: var(--ink);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.primary-navigation { width: 100%; }
.primary-menu {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 2px;
	padding: 0;
	margin: 0;
}
.primary-menu > li { position: relative; }
.primary-menu > li > a {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 10px 10px;
	border-radius: 999px;
	color: var(--ink);
	font-size: .9rem;
	font-weight: 600;
	white-space: nowrap;
	transition: background-color .25s ease, color .25s ease;
}
.primary-menu > li > a:hover,
.primary-menu > li.current-menu-item > a,
.primary-menu > li.current-menu-ancestor > a,
.primary-menu > li.current_page_item > a,
.primary-menu > li.current_page_ancestor > a { background: rgba(26,64,147,.08); color: var(--teal-dark); }
.primary-menu .menu-item-has-children > a::after {
	content: '';
	width: 6px;
	height: 6px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg) translateY(-2px);
	opacity: .65;
}
.primary-menu .sub-menu {
	list-style: none;
	position: absolute;
	top: calc(100% + 10px);
	left: 0;
	min-width: 270px;
	margin: 0;
	padding: 8px;
	background: rgba(255,251,239,.98);
	border: 1px solid var(--line);
	border-radius: 18px;
	box-shadow: var(--shadow-md);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity .22s ease, visibility .22s ease, transform .22s var(--ease);
}
.primary-menu .sub-menu a {
	display: block;
	padding: 10px 12px;
	border-radius: 10px;
	font-size: .9rem;
	color: var(--ink);
	line-height: 1.35;
}
.primary-menu .sub-menu a:hover { background: var(--teal-soft); color: var(--teal-dark); }
.primary-menu li:hover > .sub-menu,
.primary-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.header-cta {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	padding: 9px 10px 9px 15px;
	border: 1px solid var(--line);
	border-radius: 999px;
	font-size: .77rem;
	font-family: var(--font-display);
	font-weight: 700;
	color: var(--ink);
	background: rgba(255,255,255,.55);
	white-space: nowrap;
}
.header-cta > span { width: 29px; height: 29px; border-radius: 50%; background: var(--ink); color: var(--white); display: grid; place-items: center; }
.header-cta svg { width: 13px; height: 13px; }
.header-cta:hover { color: var(--teal-dark); border-color: rgba(26,64,147,.28); }
.menu-toggle { display: none; }
@media (min-width: 1181px) {
	.primary-navigation { border-top: 1px solid var(--line); padding-top: 12px; }
}
.mobile-nav-cta { display: none; }
.nav-backdrop { position: fixed; inset: var(--nav-top, var(--header-h)) 0 0; background: rgba(8,19,43,.33); backdrop-filter: blur(3px); z-index: 90; }

/* Hero */
.hero {
	position: relative;
	isolation: isolate;
	min-height: calc(100vh - var(--header-h));
	min-height: calc(100svh - var(--header-h));
	display: flex;
	align-items: center;
	background:
		radial-gradient(circle at 80% 16%, rgba(185,214,166,.13), transparent 26%),
		linear-gradient(135deg, #1a4093 0%, #122e68 47%, #0c1e45 100%);
	color: var(--white);
	overflow: hidden;
	padding: clamp(72px, 8vw, 124px) 0 clamp(88px, 9vw, 132px);
}
.hero::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: -1;
	opacity: .3;
	background-image: radial-gradient(rgba(255,255,255,.35) .6px, transparent .6px);
	background-size: 18px 18px;
	mask-image: linear-gradient(to right, transparent 0, rgba(0,0,0,.25) 60%, #000 100%);
}
.hero-ambient { position: absolute; border-radius: 50%; filter: blur(1px); z-index: -1; pointer-events: none; }
.hero-ambient-one { width: 520px; height: 520px; right: -170px; top: -180px; border: 1px solid rgba(255,255,255,.11); box-shadow: inset 0 0 120px rgba(255,255,255,.035); }
.hero-ambient-two { width: 280px; height: 280px; left: -125px; bottom: -120px; background: rgba(239,131,84,.08); filter: blur(3px); }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(460px, .95fr); gap: clamp(48px, 7vw, 90px); align-items: center; }
.hero-copy { position: relative; z-index: 3; }
.hero-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	padding: 8px 13px 8px 10px;
	margin-bottom: 27px;
	border: 1px solid rgba(255,255,255,.2);
	border-radius: 999px;
	background: rgba(255,255,255,.08);
	font-family: var(--font-display);
	font-size: .76rem;
	font-weight: 600;
	letter-spacing: .01em;
	backdrop-filter: blur(12px);
}
.hero-eyebrow svg { width: 23px; height: 23px; padding: 4px; border-radius: 50%; background: rgba(255,255,255,.14); }
.hero h1 { color: var(--white); font-size: clamp(2.3rem, 4.4vw, 3.8rem); max-width: 100%; margin-bottom: .32em; letter-spacing: -.055em; overflow-wrap: normal; hyphens: none; }
.hero .lead { max-width: 57ch; font-size: clamp(1.02rem, 1.38vw, 1.18rem); line-height: 1.72; color: rgba(255,255,255,.88); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-meta { display: flex; gap: 0; margin-top: 38px; color: rgba(255,255,255,.82); font-size: .78rem; }
.hero-meta span { padding-right: 24px; margin-right: 24px; border-right: 1px solid rgba(255,255,255,.18); }
.hero-meta span:last-child { border: 0; padding-right: 0; margin-right: 0; }
.hero-meta strong { color: var(--white); font-weight: 600; }

.hero-stage {
	--tilt-x: 0deg;
	--tilt-y: 0deg;
	position: relative;
	width: 90%;
	min-height: 560px;
	perspective: 1200px;
	transform-style: preserve-3d;
	transform: rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
	transition: transform .6s var(--ease);
}
.hero-orbit-scene { position: absolute; inset: 2% 0 4%; transform-style: preserve-3d; }
.orbit {
	position: absolute;
	left: 50%; top: 47%;
	border: 1px solid rgba(255,255,255,.19);
	border-radius: 50%;
	transform-style: preserve-3d;
}
.orbit::after { content: ''; position: absolute; width: 9px; height: 9px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 18px rgba(185,214,166,.6); }
.orbit-a { width: 365px; height: 365px; margin: -182px 0 0 -182px; transform: rotateX(68deg) rotateZ(0deg); animation: orbitA 15s linear infinite; }
.orbit-a::after { left: 50%; top: -5px; }
.orbit-b { width: 425px; height: 260px; margin: -130px 0 0 -212px; transform: rotateZ(-33deg) rotateY(54deg); animation: orbitB 19s linear infinite reverse; }
.orbit-b::after { right: 3%; top: 40%; background: #f0cec2; }
.orbit-c { width: 290px; height: 430px; margin: -215px 0 0 -145px; transform: rotateZ(53deg) rotateX(63deg); animation: orbitC 22s linear infinite; opacity: .6; }
.orbit-c::after { left: 18%; bottom: 7%; }
/* Sun/face logo — traced from the client's own reference artwork,
   recoloured to the site palette (terracotta rays, teal linework) instead
   of the original yellow/black. Gentle float + sway, no full rotation, so
   the face never reads upside down. */
.hero-sun-logo {
	position: absolute;
	left: 50%; top: 47%;
	width: 260px; height: 260px;
	margin: -130px;
	transform: translateZ(64px);
	filter: drop-shadow(0 30px 60px rgba(0,0,0,.22));
	animation: sunFloat 6.5s ease-in-out infinite;
}
.hero-sun-logo picture, .hero-sun-logo img { display: block; width: 100%; height: 100%; object-fit: contain; }
.hero-sun-logo img { filter: brightness(0) invert(1); opacity: .55; }
@keyframes sunFloat {
	0%, 100% { transform: translateZ(64px) translateY(0); }
	50% { transform: translateZ(64px) translateY(-10px); }
}
.orb-dot { position: absolute; border-radius: 50%; backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.22); box-shadow: 0 15px 40px rgba(0,0,0,.12); }
.orb-dot-a { width: 48px; height: 48px; top: 17%; right: 8%; background: rgba(185,214,166,.5); animation: dotFloat 7s ease-in-out infinite; }
.orb-dot-b { width: 28px; height: 28px; bottom: 24%; left: 4%; background: rgba(239,131,84,.6); animation: dotFloat 5s ease-in-out infinite reverse; }
.orb-dot-c { width: 18px; height: 18px; top: 26%; left: 17%; background: rgba(255,255,255,.38); animation: dotFloat 8s ease-in-out infinite 1s; }
.glass-panel {
	background: linear-gradient(135deg, rgba(255,255,255,.145), rgba(255,255,255,.075));
	border: 1px solid rgba(255,255,255,.18);
	box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 30px 80px rgba(0,0,0,.12);
	backdrop-filter: blur(18px) saturate(130%);
}
.hero-card {
	position: absolute;
	right: 1%;
	bottom: 2%;
	width: min(420px, 88%);
	padding: 24px;
	border-radius: 24px;
	transform: translateZ(120px);
}
.hero-card-label { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; font-family: var(--font-display); font-size: .69rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.82); }
.hero-card-label span { width: 20px; height: 1px; background: var(--lime); }
.hero-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.hero-card li { display: grid; grid-template-columns: 19px 1fr; gap: 10px; align-items: start; font-size: 1rem; line-height: 1.5; color: rgba(255,255,255,.86); }
.hero-card li svg { width: 18px; height: 18px; color: var(--terracotta); margin-top: 1px; }
.float-chip {
	position: absolute;
	display: flex;
	align-items: center;
	gap: 9px;
	padding: 11px 14px;
	border-radius: 999px;
	background: rgba(255,251,239,.92);
	color: var(--ink);
	box-shadow: 0 16px 38px rgba(0,0,0,.17);
	backdrop-filter: blur(12px);
	font-size: .72rem;
	line-height: 1.05;
	z-index: 5;
}
.float-chip strong { font-size: 1rem; font-family: var(--font-display); color: var(--teal-dark); }
.float-chip span { white-space: nowrap; }
.float-chip svg { width: 15px; height: 15px; color: var(--terracotta); }
.float-chip-years { left: 1%; top: 15%; transform: translateZ(155px) rotate(-4deg); animation: chipFloat 6s ease-in-out infinite; }
.float-chip-place { right: 4%; top: 16%; transform: translateZ(95px) rotate(3deg); animation: chipFloat 7s ease-in-out infinite reverse; }
.hero-scroll { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.45); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; }
.hero-scroll span { display: block; width: 28px; height: 42px; border: 1px solid rgba(255,255,255,.24); border-radius: 999px; position: relative; }
.hero-scroll span::after { content: ''; width: 3px; height: 8px; border-radius: 3px; background: rgba(255,255,255,.7); position: absolute; left: 50%; top: 7px; transform: translateX(-50%); animation: scrollDot 2s ease-in-out infinite; }

@keyframes dotFloat { 0%,100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-16px) scale(1.06); } }
@keyframes chipFloat { 0%,100% { margin-top: 0; } 50% { margin-top: -10px; } }
@keyframes orbitA { to { transform: rotateX(68deg) rotateZ(360deg); } }
@keyframes orbitB { to { transform: rotateZ(327deg) rotateY(54deg); } }
@keyframes orbitC { to { transform: rotateZ(413deg) rotateX(63deg); } }
@keyframes scrollDot { 0% { opacity: 0; transform: translate(-50%,0); } 35% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%,15px); } }

/* General sections */
.section { position: relative; padding: clamp(78px, 9vw, 132px) 0; }
.section-intro { margin-bottom: clamp(44px, 6vw, 74px); }
.section-intro h2 { margin: 0; max-width: none; }
.kicker {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	margin-bottom: 14px;
	font-family: var(--font-display);
	font-size: .72rem;
	font-weight: 800;
	letter-spacing: .13em;
	text-transform: uppercase;
	color: var(--terracotta-deep);
}
.kicker::before { content: ''; width: 26px; height: 1px; background: currentColor; }
.section-head { max-width: 700px; margin: 0 auto 44px; text-align: center; }
.section-head .kicker::before { display: none; }
.section-head p { color: var(--muted); }

/* Offer bento */
.offers-section { background: var(--cream); }
.offer-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.offer-card {
	will-change: transform;
	backface-visibility: hidden;
	grid-column: span 4;
	min-height: 340px;
	position: relative;
	isolation: isolate;
	padding: 26px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: rgba(255,251,239,.76);
	box-shadow: var(--shadow-sm), 0 2px 3px rgba(255,255,255,.6) inset;
	display: flex;
	flex-direction: column;
	color: var(--ink);
	overflow: hidden;
	transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.offer-card::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: -1;
	opacity: 0;
	background: radial-gradient(circle at var(--pointer-x, 50%) var(--pointer-y, 50%), rgba(26,64,147,.12), transparent 34%);
	transition: opacity .3s ease;
}
.offer-card::after { content: ''; position: absolute; right: -110px; bottom: -115px; width: 240px; height: 240px; border-radius: 50%; border: 1px solid rgba(26,64,147,.08); }
.offer-card:nth-child(odd) { background: linear-gradient(135deg, #1a4093 0%, #122e68 47%, #0c1e45 100%); color: var(--white); border-color: transparent; }
.offer-card:nth-child(odd) h3 { color: var(--white); }
.offer-card:nth-child(odd) p { color: rgba(255,255,255,.68); }
.offer-card:nth-child(odd) .card-index { color: rgba(255,255,255,.35); }
.offer-card:nth-child(odd) .card-ico { background: rgba(255,255,255,.1); color: var(--terracotta); }
.offer-card:nth-child(odd) .card-link { color: var(--white); }
.offer-card:nth-child(odd)::before { background: radial-gradient(circle at var(--pointer-x, 50%) var(--pointer-y, 50%), rgba(185,214,166,.18), transparent 34%); }
.offer-card:nth-child(odd)::after { border-color: rgba(185,214,166,.18); }
.offer-card:hover { color: var(--ink); border-color: rgba(26,64,147,.23); box-shadow: var(--shadow-md), 0 2px 3px rgba(255,255,255,.6) inset; }
.offer-card:nth-child(odd):hover { color: var(--white); }
.offer-card:hover::before { opacity: 1; }
.card-topline { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.card-index { font-family: var(--font-display); font-weight: 600; color: rgba(8,19,43,.3); font-size: .73rem; letter-spacing: .08em; }
.card-ico { width: 50px; height: 50px; border-radius: 16px; display: grid; place-items: center; background: var(--teal-soft); color: var(--teal-dark); }
.card-ico svg { width: 24px; height: 24px; }
.card-body { padding: 30px 0 24px; }
.card-body h3 { max-width: 18ch; margin-bottom: 11px; }
.card-body p { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.65; max-width: 43ch; }
.card-link { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: .8rem; color: var(--teal-dark); }
.arrow-disc { width: 31px; height: 31px; border-radius: 50%; display: grid; place-items: center; background: var(--teal); color: var(--white); transition: transform .35s var(--ease); }
.arrow-disc svg { width: 14px; height: 14px; }
.offer-card:hover .arrow-disc { transform: translateX(4px) rotate(-5deg); }

/* Generic grid/cards for archives/search */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.card {
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 26px;
	box-shadow: var(--shadow-sm);
	transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .25s ease;
}
a.card { display: flex; flex-direction: column; color: var(--ink); }
a.card:hover { color: var(--ink); transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: rgba(26,64,147,.22); }
.card > p { color: var(--muted); font-size: .92rem; }
.card > .card-link { margin-top: auto; padding-top: 12px; }

/* News */
.news-section { background: var(--ink); color: var(--white); overflow: hidden; }
.news-section::before { content: ''; position: absolute; width: 520px; height: 520px; border-radius: 50%; border: 1px solid rgba(255,255,255,.07); right: -250px; top: -260px; }
.section-intro-light h2 { color: var(--white); }
.section-intro-light .kicker { color: #eba084; }
.text-link { display: inline-flex; align-items: center; justify-self: end; gap: 8px; color: rgba(255,255,255,.82); font-family: var(--font-display); font-weight: 700; font-size: .81rem; margin-bottom: 8px; }
.text-link:hover { color: var(--white); }
.text-link svg { width: 15px; height: 15px; }
.news-grid { border-top: 1px solid var(--line-light); }
.news-card { display: grid; grid-template-columns: 70px 1fr 52px; gap: 24px; align-items: center; padding: 31px 2px; border-bottom: 1px solid var(--line-light); color: var(--white); transition: padding .35s var(--ease), background .3s ease; }
.news-card:hover { color: var(--white); padding-left: 16px; padding-right: 16px; background: rgba(255,255,255,.035); }
.news-number { font-family: var(--font-display); font-size: .68rem; color: rgba(255,255,255,.35); letter-spacing: .1em; }
.news-content { display: grid; grid-template-columns: minmax(140px, .45fr) minmax(220px, 1fr) minmax(280px, 1.2fr); gap: 28px; align-items: center; }
.news-content .entry-date { margin: 0; color: #cfada0; font-size: .74rem; }
.news-content h3 { color: var(--white); margin: 0; font-size: clamp(1.12rem, 1.8vw, 1.5rem); }
.news-content > p:last-child { color: rgba(255,255,255,.57); margin: 0; font-size: .83rem; line-height: 1.55; }
.news-arrow { justify-self: end; width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; transition: transform .35s var(--ease), background .3s ease; }
.news-arrow svg { width: 15px; height: 15px; }
.news-card:hover .news-arrow { background: var(--white); color: var(--ink); transform: translateX(2px) rotate(-8deg); }

/* Home content */
.about-section { background: var(--cream); }
.content-layout { display: grid; grid-template-columns: minmax(0, 2.15fr) minmax(250px, .85fr); gap: clamp(34px, 5vw, 70px); align-items: start; }
.entry-shell { padding: clamp(26px, 5vw, 58px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: rgba(255,251,239,.7); box-shadow: var(--shadow-sm), 0 2px 0 rgba(255,255,255,.75) inset; }
:is(.entry-content, .editor-styles-wrapper) { max-width: 76ch; overflow-wrap: anywhere; }
:is(.entry-content, .editor-styles-wrapper) > *:first-child { margin-top: 0; }
:is(.entry-content, .editor-styles-wrapper) > *:last-child { margin-bottom: 0; }
/*
 * The source content is 25+ years of hand-edited copy where h1–h6 and
 * nested em/strong were picked ad hoc per paragraph to "look right" in an
 * old WYSIWYG editor, not to express real document structure — the same
 * "course title" role shows up as h2 on one page and h4 or h5 on the next.
 * Inside actual page content every heading level renders identically: one
 * deliberate size/weight instead of reproducing that per-page randomness,
 * and italics that happened to land on a heading are switched back off.
 */
:is(.entry-content, .editor-styles-wrapper) h1,
:is(.entry-content, .editor-styles-wrapper) h2,
:is(.entry-content, .editor-styles-wrapper) h3,
:is(.entry-content, .editor-styles-wrapper) h4,
:is(.entry-content, .editor-styles-wrapper) h5,
:is(.entry-content, .editor-styles-wrapper) h6 {
	font-style: normal;
	font-weight: 700;
	font-size: 1.25rem;
	margin-top: 1.4em;
}
:is(.entry-content, .editor-styles-wrapper) hr {
	border: 0;
	border-top: 1px solid var(--line);
	margin: 2.2em 0;
}
:is(.entry-content, .editor-styles-wrapper) p { color: #293856; font-size: 18px; }
:is(.entry-content, .editor-styles-wrapper) p:empty,
:is(.entry-content, .editor-styles-wrapper) h1:empty,
:is(.entry-content, .editor-styles-wrapper) h2:empty,
:is(.entry-content, .editor-styles-wrapper) h3:empty,
:is(.entry-content, .editor-styles-wrapper) h4:empty,
:is(.entry-content, .editor-styles-wrapper) h5:empty,
:is(.entry-content, .editor-styles-wrapper) h6:empty { display: none; }
:is(.entry-content, .editor-styles-wrapper) strong { color: var(--ink); font-weight: 700; }
/* The source content used <em>/<i> purely as a "make it look different"
   knob, not real emphasis — kill italics everywhere in content, headings
   included (a nested em's own italic otherwise wins over the heading's
   font-style:normal, since it's a rule on the em itself, not inherited). */
:is(.entry-content, .editor-styles-wrapper) em,
:is(.entry-content, .editor-styles-wrapper) i { font-style: normal; }
/* A <p> that's entirely one <strong>/<em> and nothing else was the
   classic-editor way of faking a heading — render it like one. */
:is(.entry-content, .editor-styles-wrapper) p.pseudo-heading {
	font-size: 18px;
	font-weight: 700;
	color: var(--ink);
	margin-top: 1.3em;
	margin-bottom: 0.5em;
}
:is(.entry-content, .editor-styles-wrapper) p.pseudo-heading a {
	color: inherit;
	text-decoration: none;
}
:is(.entry-content, .editor-styles-wrapper) a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; text-decoration-color: rgba(26,64,147,.3); }
:is(.entry-content, .editor-styles-wrapper) a:hover { text-decoration-color: currentColor; }
:is(.entry-content, .editor-styles-wrapper) ul, :is(.entry-content, .editor-styles-wrapper) ol { margin-bottom: 1.4em; }
:is(.entry-content, .editor-styles-wrapper) li { margin-bottom: .45em; font-size: 18px; }
:is(.entry-content, .editor-styles-wrapper) li::marker { color: #122e68; }
:is(.entry-content, .editor-styles-wrapper) img { border-radius: 20px; box-shadow: var(--shadow-sm); margin-bottom: 24px; }
:is(.entry-content, .editor-styles-wrapper) blockquote {
	position: relative;
	margin: 2.3em 0;
	padding: clamp(27px, 5vw, 48px);
	padding-top: 50px;
	border: 0;
	border-radius: var(--radius);
	background: var(--teal-soft);
	color: var(--ink);
	font-family: var(--font-display);
	font-size: clamp(1rem, 1.6vw, 1.18rem);
	line-height: 1.7;
	box-shadow: var(--shadow-sm);
}
:is(.entry-content, .editor-styles-wrapper) blockquote::before { content: '“'; position: absolute; top: -18px; left: 21px; color: #122e68; opacity: 1; font-family: Georgia, serif; font-size: 8rem; line-height: 1; }
:is(.entry-content, .editor-styles-wrapper) blockquote p { position: relative; color: var(--ink-2); }
:is(.entry-content, .editor-styles-wrapper) table { display: block; overflow-x: auto; width: 100%; border-collapse: collapse; margin: 1.8em 0; border-radius: 14px; -webkit-overflow-scrolling: touch; }
:is(.entry-content, .editor-styles-wrapper) th, :is(.entry-content, .editor-styles-wrapper) td { border: 1px solid var(--line); padding: 12px 14px; text-align: left; }
:is(.entry-content, .editor-styles-wrapper) th { background: var(--teal-soft); font-family: var(--font-display); }
:is(.entry-content, .editor-styles-wrapper) .gallery { display: grid; grid-template-columns: repeat(auto-fill,minmax(150px,1fr)); gap: 12px; list-style: none; padding: 0; margin: 1.8em 0; }
:is(.entry-content, .editor-styles-wrapper) .gallery-item { margin: 0; }
:is(.entry-content, .editor-styles-wrapper) .gallery dl, :is(.entry-content, .editor-styles-wrapper) .gallery dt { margin: 0; }
:is(.entry-content, .editor-styles-wrapper) .gallery img { width: 100%; height: auto; border: 0 !important; }
:is(.entry-content, .editor-styles-wrapper) .gallery-caption { font-size: .72rem; color: var(--muted); margin-top: 5px; }

/* Sidebar */
.page-sidebar { display: grid; gap: 17px; position: sticky; top: calc(var(--header-h) + 26px); min-width: 0; }
.side-box { padding: 23px; border-radius: 20px; border: 1px solid var(--line); background: var(--paper); box-shadow: var(--shadow-md); }
.side-box h2 { margin-bottom: 14px; font-size: .94rem; letter-spacing: -.02em; }
.side-box p { margin-bottom: 10px; font-size: 1rem; line-height: 1.6; }
.side-box ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 7px; }
.side-box li a { display: block; padding: 6px 0; color: var(--ink-2); font-size: 1rem; border-bottom: 1px solid rgba(8,19,43,.08); overflow-wrap: break-word; }
.side-box li:last-child a { border-bottom: 0; }
.side-box li a:hover, .side-box li a[aria-current="page"] { color: var(--teal); }
.contact-box { position: relative; overflow: hidden; background: linear-gradient(145deg, #1a4093, #122e68); color: var(--white); border: 0; box-shadow: var(--shadow-md); }
.contact-box::after { content: ''; position: absolute; right: -54px; top: -62px; width: 145px; height: 145px; border: 1px solid rgba(255,255,255,.15); border-radius: 50%; }
.contact-box h2 { color: var(--terracotta); }
.contact-box p { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,.73); }
.contact-box p svg { width: 16px; height: 16px; flex: 0 0 auto; }
.contact-box a { color: var(--white); }
.contact-box .btn { width: 100%; margin-top: 10px; position: relative; }
.contact-box .sidebar-quote { display: block; font-style: italic; line-height: 1.6; }
.contact-box .sidebar-divider { border: 0; border-top: 1px solid rgba(255,255,255,.2); margin: 18px 0; }
.contact-box h2 + h2 { margin-top: 0; }
.contact-box .sidebar-news { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 9px; }
.contact-box .sidebar-news a { display: block; color: rgba(255,255,255,.85); font-size: 1rem; line-height: 1.5; overflow-wrap: break-word; }
.contact-box .sidebar-news a:hover { color: var(--white); }

/* Closing CTA */
.closing-section { padding-top: 24px; padding-bottom: clamp(80px, 10vw, 130px); }
.cta-band {
	--tilt-x: 0deg;
	--tilt-y: 0deg;
	position: relative;
	isolation: isolate;
	overflow: hidden;
	min-height: 300px;
	padding: clamp(36px, 6vw, 70px);
	border-radius: var(--radius-lg);
	background: linear-gradient(120deg, #ef8354, #d1603d);
	color: var(--ink);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 36px;
	box-shadow: 0 32px 80px rgba(209,96,61,.32);
	transform: perspective(1200px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
	transition: transform .6s var(--ease);
}
.cta-band::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at var(--pointer-x, 85%) var(--pointer-y, 20%), rgba(255,255,255,.2), transparent 30%); }
.cta-copy { position: relative; z-index: 2; }
.cta-copy .kicker { color: var(--white); }
.cta-copy h2 { color: var(--ink); margin-bottom: .2em; font-size: clamp(2.25rem, 4.5vw, 4rem); }
.cta-copy p { color: rgba(8,19,43,.78); margin: 0; }
.cta-band .btn { position: relative; z-index: 2; flex: 0 0 auto; }
.cta-orb { position: absolute; z-index: -1; width: 290px; height: 290px; right: -70px; top: -120px; border-radius: 50%; border: 1px solid rgba(255,255,255,.17); box-shadow: inset 0 0 80px rgba(255,255,255,.04); }
.cta-orb::before, .cta-orb::after { content: ''; position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,.13); }
.cta-orb::before { inset: 34px; } .cta-orb::after { inset: 78px; }

/* Interior page hero */
.page-hero {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(circle at 80% 16%, rgba(185,214,166,.13), transparent 26%),
		linear-gradient(135deg, #1a4093 0%, #122e68 47%, #0c1e45 100%);
	color: var(--white);
	padding: clamp(52px, 7vw, 92px) 0 clamp(54px, 7vw, 88px);
	border-bottom: 1px solid var(--line-light);
}
.page-hero::after { content: ''; position: absolute; right: -90px; top: -170px; width: 360px; height: 360px; border: 1px solid rgba(255,255,255,.15); border-radius: 50%; box-shadow: inset 0 0 90px rgba(255,255,255,.12); }
.breadcrumbs { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 7px; align-items: center; margin-bottom: 20px; font-size: .88rem; color: var(--terracotta); }
.breadcrumbs a { color: var(--terracotta); }
.breadcrumbs a:hover { color: var(--white); }
.page-title { position: relative; z-index: 2; max-width: 100%; margin: 0; font-size: clamp(2rem, 3.8vw, 3.4rem); color: var(--white); }
.page-hero > .container > p:not(.entry-date) { position: relative; z-index: 2; color: rgba(255,255,255,.8); }
.page-hero .entry-date { color: rgba(255,255,255,.8); }
.content-wrap { padding: clamp(54px, 8vw, 100px) 0 clamp(80px, 10vw, 130px); }
.content-wrap .content-layout > div:first-child { min-width: 0; }
.content-wrap :is(.entry-content, .editor-styles-wrapper):not(.entry-shell :is(.entry-content, .editor-styles-wrapper)) { padding: clamp(0px, 1vw, 8px) 0; }
.content-wrap :is(.entry-content, .editor-styles-wrapper):not(.entry-shell :is(.entry-content, .editor-styles-wrapper)) > p:first-child { font-size: 1.05em; }
.content-wrap img.wp-post-image { border-radius: var(--radius); box-shadow: var(--shadow-md); }

/* PDF cards & exam/solution pairs — replaces bare inline PDF links */
.pdf-card {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 18px;
	margin: 10px 0;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	background: var(--paper);
	box-shadow: var(--shadow-sm);
	text-decoration: none !important;
	color: var(--ink) !important;
	transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .2s ease;
}
.pdf-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: rgba(26,64,147,.25); color: var(--ink) !important; }
.pdf-card .pdf-ico { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 10px; background: var(--teal-soft); color: var(--teal-dark); display: grid; place-items: center; }
.pdf-card .pdf-ico svg { width: 19px; height: 19px; }
.pdf-card .pdf-label { flex: 1 1 auto; min-width: 0; font-weight: 600; font-size: .92rem; line-height: 1.4; }
.pdf-card .pdf-tag { flex: 0 0 auto; font-family: var(--font-display); font-size: .66rem; font-weight: 800; letter-spacing: .07em; color: var(--muted); text-transform: uppercase; }

.exam-pair {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 14px;
	padding: 16px 20px;
	margin: 10px 0;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	background: var(--paper);
	box-shadow: var(--shadow-sm);
}
.exam-pair-title { display: flex; align-items: center; gap: 12px; font-weight: 700; color: var(--ink); font-size: .95rem; min-width: 0; }
.exam-pair-title .pdf-ico { width: 38px; height: 38px; border-radius: 10px; background: var(--teal-soft); color: var(--teal-dark); display: grid; place-items: center; flex: 0 0 auto; }
.exam-pair-title .pdf-ico svg { width: 18px; height: 18px; }
.exam-pair-actions { display: flex; gap: 10px; flex-wrap: wrap; flex: 0 0 auto; }
.exam-pair-actions a, .exam-pair-actions span { display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: 999px; font-family: var(--font-display); font-size: .8rem; font-weight: 700; text-decoration: none !important; white-space: nowrap; transition: background-color .2s ease, transform .2s ease; }
.exam-btn-question { background: var(--teal); color: var(--white) !important; }
.exam-btn-question:hover { background: var(--teal-dark); transform: translateY(-1px); }
.exam-btn-solution { background: var(--teal-soft); color: var(--teal-dark) !important; }
.exam-btn-solution:hover { background: #c8d2ea; transform: translateY(-1px); }
:is(.entry-content, .editor-styles-wrapper) li:has(> .exam-pair),
:is(.entry-content, .editor-styles-wrapper) li:has(> .pdf-card) { list-style: none; }

/* Block-editor-only preview chrome for the PDF blocks (papadopoulos/pdf-card,
   papadopoulos/exam-pair) — never output on the front end. */
.pm-pdf-block-ico { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 10px; background: var(--teal-soft); display: grid; place-items: center; font-size: 1.1rem; }
.pm-pdf-block-preview { margin-bottom: 10px; pointer-events: none; }
.pm-pdf-block-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.pm-pdf-block-editor .components-text-control__input { margin-top: 6px; }

/* Archives / metadata / pagination */
.entry-date { color: var(--muted); font-size: .76rem; }
.entry-date svg { width: 15px; height: 15px; display: inline; vertical-align: -2px; }
.tag-pill { display: inline-flex; padding: 6px 11px; border-radius: 999px; background: var(--teal-soft); color: var(--teal-dark); font-family: var(--font-display); font-size: .7rem; font-weight: 800; letter-spacing: .08em; }
.pagination, .wp-pagenavi { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 34px; }
.pagination .page-numbers, .wp-pagenavi a, .wp-pagenavi span { min-width: 42px; min-height: 42px; display: grid; place-items: center; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); font-size: .8rem; }
.pagination .current, .wp-pagenavi .current { background: var(--ink); color: var(--white); border-color: var(--ink); }
.pagination .prev, .pagination .next { padding-inline: 16px; }
.search-none { padding: clamp(70px, 11vw, 140px) 0; text-align: center; }
.search-none h1 { font-size: clamp(2.5rem, 7vw, 5.5rem); margin-top: 18px; }

/* Footer */
.site-footer { position: relative; overflow: hidden; margin-top: 0; padding: clamp(70px, 9vw, 110px) 0 0; background: #08132b; color: rgba(255,255,255,.76); }
.footer-glow { position: absolute; width: 600px; height: 600px; border-radius: 50%; right: -280px; top: -330px; background: radial-gradient(circle, rgba(20,137,126,.22), transparent 67%); pointer-events: none; }
.footer-lead { display: flex; justify-content: space-between; gap: 35px; align-items: flex-end; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-brandline { display: flex; align-items: center; gap: 18px; }
.footer-brand-text { min-width: 0; }
.footer-mark { width: 88px; height: 88px; }
.footer-brand-title { color: var(--white); margin: 0 0 5px; font-size: .95rem; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.footer-tagline { margin: 0; font-family: var(--font-script); font-size: 1.3rem; color: rgba(255,255,255,.78); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.footer-contact-link { display: inline-flex; align-items: center; gap: 9px; color: var(--terracotta); font-family: var(--font-display); font-size: clamp(1.05rem, 1.6vw, 1.2rem); font-weight: 600; }
.footer-contact-link:hover { color: var(--white); }
.footer-contact-link svg { width: 16px; height: 16px; }
.footer-grid { display: flex; justify-content: space-between; gap: clamp(35px, 7vw, 90px); padding: 48px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-label { margin: 0 0 15px; color: var(--terracotta); font-family: var(--font-display); font-size: .67rem; font-weight: 800; text-transform: uppercase; letter-spacing: .13em; }
.footer-location p:not(.footer-label) { display: flex; gap: 9px; align-items: flex-start; margin-bottom: 9px; color: rgba(255,255,255,.78); font-size: 1rem; }
.footer-location svg { width: 16px; height: 16px; flex: 0 0 auto; margin-top: 4px; color: var(--terracotta); }
.footer-location a { color: rgba(255,255,255,.82); }
.footer-menu { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-menu a { color: rgba(255,255,255,.78); font-size: 1rem; }
.footer-menu a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; color: rgba(255,255,255,.72); font-size: .95rem; letter-spacing: .02em; }

/* Motion */
.motion-enabled [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .72s var(--ease) var(--reveal-delay, 0ms), transform .72s var(--ease) var(--reveal-delay, 0ms); }
.motion-enabled [data-reveal].is-revealed { opacity: 1; transform: translateY(0); }
.motion-enabled .hero-stage[data-reveal] { transform: translateY(22px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)); }
.motion-enabled .hero-stage[data-reveal].is-revealed { transform: translateY(0) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)); }
.motion-enabled .offer-card[data-reveal] { transform: translateY(22px); }
.motion-enabled .offer-card[data-reveal].is-revealed { transform: translateY(0); }
.motion-enabled .cta-band[data-reveal] { transform: translateY(22px) perspective(1200px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)); }
.motion-enabled .cta-band[data-reveal].is-revealed { transform: translateY(0) perspective(1200px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)); }


/* Component refinements */
.offer-card.card {
	background: rgba(255,251,239,.76);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 26px;
	box-shadow: var(--shadow-sm), 0 2px 3px rgba(255,255,255,.6) inset;
}
.offer-card.card:nth-child(odd) {
	background: linear-gradient(135deg, #1a4093 0%, #122e68 47%, #0c1e45 100%);
	border-color: transparent;
	box-shadow: 0 2px 3px rgba(255,255,255,.04) inset;
}
.offer-card.card:hover,
.motion-enabled .offer-card[data-reveal].is-revealed:hover {
	transform: scale(1.03);
	box-shadow: var(--shadow-md), 0 2px 3px rgba(255,255,255,.6) inset;
}
.featured-media { margin-bottom: 24px; border-radius: var(--radius); overflow: hidden; }
.card-media { margin: -26px -26px 20px; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; aspect-ratio: 16 / 10; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.archive-card:hover .card-media img { transform: scale(1.035); }
.archive-card .card-ico { margin-bottom: 20px; }
.archive-card h2, .archive-card h3 { margin-bottom: 12px; font-size: clamp(1.25rem, 2vw, 1.72rem); }
.archive-card .card-link { margin-top: auto; padding-top: 12px; }
.page-hero-lead { margin-top: 16px !important; max-width: 58ch; }
.page-hero-date { margin-top: 16px; display: flex; align-items: center; gap: 7px; }
.back-link-wrap { margin-top: 24px; }
.error-page { min-height: 62vh; display: grid; align-items: center; }
.error-copy { max-width: 50ch; margin: 0 auto 28px; color: var(--muted); }

/* Responsive */
@media (max-width: 1180px) {
	:root { --header-h: 79px; }
	.header-cta { display: none; }
	.menu-toggle {
		display: grid;
		place-items: center;
		width: 46px;
		height: 46px;
		border: 1px solid var(--line);
		border-radius: 15px;
		background: rgba(255,255,255,.7);
		cursor: pointer;
		padding: 0;
	}
	.menu-toggle span { grid-area: 1/1; width: 19px; height: 1.5px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease); }
	.menu-toggle span:first-child { transform: translateY(-4px); }
	.menu-toggle span:last-child { transform: translateY(4px); }
	.menu-toggle[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
	.menu-toggle[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }
	.primary-navigation {
		position: fixed;
		top: var(--nav-top, var(--header-h));
		right: 0;
		bottom: 0;
		width: min(420px, 90vw);
		z-index: 101;
		margin: 0;
		padding: 22px;
		background: var(--paper);
		border-left: 1px solid var(--line);
		box-shadow: -25px 0 80px rgba(8,19,43,.15);
		overflow-y: auto;
		transform: translateX(105%);
		transition: transform .4s var(--ease);
	}
	.primary-navigation.is-open { transform: translateX(0); }
	.primary-menu { display: block; }
	.primary-menu > li > a { justify-content: space-between; padding: 13px 7px; border-radius: 0; border-bottom: 1px solid rgba(8,19,43,.08); font-size: .95rem; }
	.primary-menu .sub-menu { position: static; min-width: 0; padding: 5px 0 7px 14px; margin: 0; background: transparent; border: 0; border-radius: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; display: none; }
	.primary-menu .sub-menu a { padding: 9px 7px; font-size: .9rem; }
	.primary-menu li.is-expanded > .sub-menu { display: block; }
	.mobile-nav-cta { display: flex; margin-top: 24px; }
	.hero-inner { grid-template-columns: 1fr 430px; gap: 34px; }
	.hero-stage { min-height: 520px; }
	.offer-card { grid-column: span 6; }
	.news-content { grid-template-columns: minmax(120px,.4fr) minmax(200px,1fr); }
	.news-content > p:last-child { display: none; }
}

@media (max-width: 900px) {
	.container { width: min(calc(100% - 36px), var(--max)); }
	.hero { min-height: auto; padding: 72px 0 92px; }
	.hero-inner { grid-template-columns: 1fr; }
	.hero h1 { max-width: 100%; }
	.hero-stage { width: min(620px, 100%); min-height: 520px; margin: 8px auto 0; }
	.hero-scroll { display: none; }
	.text-link { justify-self: start; }
	.offer-card, .offer-card:nth-child(odd), .offer-card:nth-child(2) { grid-column: span 6; min-height: 330px; }
	.news-content { grid-template-columns: 1fr; gap: 6px; }
	.news-card { grid-template-columns: 45px 1fr 44px; gap: 14px; }
	.content-layout { grid-template-columns: 1fr; }
	.page-sidebar { position: static; grid-template-columns: repeat(2,minmax(0,1fr)); }
	.page-sidebar .contact-box { grid-column: 1 / -1; }
	.footer-grid { gap: 28px; }
}

@media (max-width: 680px) {
	:root { --header-h: 73px; }
	.container { width: min(calc(100% - 28px), var(--max)); }
	.header-inner { gap: 8px; }
	.header-top { flex-wrap: wrap; gap: 8px; row-gap: 10px; }
	.header-actions { margin-left: auto; }
	.site-branding { flex: 1 1 auto; overflow: visible; }
	.site-branding > a { gap: 8px; }
	.site-logo-mark { width: 52px; height: 52px; border-radius: 12px; }
	.site-title { font-size: .7rem; overflow: visible; text-overflow: clip; }
	.site-tagline { font-size: .92rem; overflow: visible; text-overflow: clip; }
	.menu-toggle { width: 40px; height: 40px; }
	.hero { padding: 56px 0 128px; }
	.hero h1 { font-size: clamp(1.8rem, 1.356rem + 2.222vw, 2.3rem); max-width: 100%; margin-bottom: 24px; }
	.hero .lead { font-size: .98rem; margin-bottom: 24px; }
	.hero-actions { display: grid; grid-template-columns: 1fr; margin-top: 0; }
	.hero-actions .btn { width: 100%; }
	.hero-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 0; font-size: .71rem; }
	.hero-meta span { padding-right: 12px; margin-right: 12px; }
	.hero-stage { width: 90%; margin: 14px auto 0; min-height: 430px; }
	.hero-orbit-scene { transform: scale(.7); transform-origin: center; }
	.hero-card { left: 50%; right: auto; bottom: -8%; width: min(420px, 96%); transform: translateX(-50%) translateZ(110px); padding: 20px; }
	.hero-card li { font-size: .74rem; }
	.float-chip-years { left: 16px; top: 7%; }
	.float-chip-place { right: 16px; top: 13%; }
	.section { padding: 72px 0; }
	.about-section { padding-bottom: 32px; }
	.closing-section { padding-top: 32px; }
	.section-intro { margin-bottom: 38px; }
	h2 { font-size: 30px; }
	.offer-grid { display: grid; grid-template-columns: 1fr; }
	.offer-card, .offer-card:nth-child(odd), .offer-card:nth-child(2) { grid-column: auto; min-height: 300px; }
	.grid-3, .grid-2 { grid-template-columns: 1fr; }
	.news-card { grid-template-columns: 32px 1fr 38px; padding: 24px 0; }
	.news-number { font-size: .6rem; }
	.news-arrow { width: 36px; height: 36px; }
	.entry-shell { border-radius: 24px; padding: 24px 19px; }
	:is(.entry-content, .editor-styles-wrapper) p,
	:is(.entry-content, .editor-styles-wrapper) li,
	:is(.entry-content, .editor-styles-wrapper) blockquote { line-height: 1.5; }
	:is(.entry-content, .editor-styles-wrapper) p.wp-block-paragraph { line-height: 1.5; }
	:is(.entry-content, .editor-styles-wrapper) p.pseudo-heading { line-height: 1.5; }
	.page-sidebar { grid-template-columns: 1fr; }
	.page-sidebar .contact-box { grid-column: auto; }
	.cta-band { min-height: 360px; padding: 34px 24px; align-items: flex-start; flex-direction: column; justify-content: center; }
	.cta-band .btn { width: 100%; }
	.cta-copy h2 { font-size: 30px; }
	.page-hero { padding: 48px 0 56px; }
	.page-title { font-size: clamp(1.9rem, 10vw, 2.9rem); }
	.footer-lead { align-items: flex-start; flex-direction: column; }
	.footer-brand-title { font-size: .78rem; overflow: visible; text-overflow: clip; }
	.footer-tagline { font-size: 1rem; overflow: visible; text-overflow: clip; }
	.footer-mark { width: 60px; height: 60px; }
	.footer-grid { flex-direction: column; }
	.footer-bottom { flex-direction: column; }
}

@media (max-width: 420px) {
	.hero-stage { min-height: 400px; }
	.hero-orbit-scene { transform: scale(.6); }
	.hero-card { bottom: -16%; }
	.float-chip { padding: 9px 11px; font-size: .65rem; }
	.float-chip strong { font-size: .88rem; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
	.motion-enabled [data-reveal] { opacity: 1 !important; transform: none !important; }
}


/* Accessibility & agent-friendly interaction */
.visually-hidden {
	position: absolute !important;
	width: 1px !important; height: 1px !important;
	padding: 0 !important; margin: -1px !important;
	overflow: hidden !important; clip: rect(0 0 0 0) !important;
	white-space: nowrap !important; border: 0 !important;
}
.submenu-toggle { display: none; }
@media (max-width: 1180px) {
	.primary-menu > li { position: relative; padding-right: 46px; }
	.primary-menu > li > a { padding-right: 8px; }
	.primary-menu .menu-item-has-children > a::after { display: none; }
	.submenu-toggle {
		display: grid; place-items: center; position: absolute; right: 2px; top: 5px;
		width: 40px; height: 40px; border: 0; border-radius: 10px;
		background: transparent; color: var(--ink); cursor: pointer;
	}
	.submenu-toggle span { width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translate(-1px,-1px); transition: transform .2s ease; }
	.submenu-toggle[aria-expanded="true"] span { transform: rotate(225deg) translate(-1px,-1px); }
}
@media (forced-colors: active) {
	.btn, .header-cta, .menu-toggle, .submenu-toggle, .pdf-card, .exam-pair { border: 1px solid ButtonText; }
}
