/* ==========================================================================
   YARSIS — main stylesheet
   Palette: deep emerald + muted gold on warm paper.
   ========================================================================== */

:root {
	--green-950: #062A20;
	--green-900: #0B3D2E;
	--green-800: #0F4F3B;
	--green-700: #146349;
	--green-500: #2A8B66;
	--green-100: #DDEDE5;
	--gold: #C9A24B;
	--gold-dark: #9C7A2E;
	--gold-light: #E9D7A6;
	--paper: #FBF9F4;
	--cream: #F3EEE2;
	--ink: #14211C;
	--muted: #586861;
	--line: #E2DCCB;
	--white: #fff;

	--font-display: "Fraunces", Georgia, "Times New Roman", serif;
	--font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

	--radius: 22px;
	--radius-sm: 10px;
	--shadow: 0 1px 2px rgba(11, 61, 46, .06), 0 12px 32px -12px rgba(11, 61, 46, .18);
	--container: 1200px;
	--gutter: clamp(1.25rem, 4vw, 2.5rem);
	--header-h: 64px;
	--ease: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 1rem;
	line-height: 1.65;
	color: var(--ink);
	background: var(--paper);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, svg, iframe, video { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--green-700); text-underline-offset: .2em; }
a:hover { color: var(--green-900); }
h1, h2, h3, h4 { font-family: var(--font-body); font-weight: 700; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; color: var(--green-950); }
h1 em, h2 em, h3 em, .accent { font-family: var(--font-display); font-style: italic; font-weight: 400; letter-spacing: -.02em; color: var(--green-700); margin-right: -.06em; }
.section--green h2 em, .page-hero h1 em, .uslider h1 em, .uslider h2 em { color: var(--gold-light); }
p { margin: 0 0 1em; }
ul, ol { padding: 0; margin: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--gold-light); color: var(--green-950); }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link {
	position: absolute; left: 1rem; top: -100px; z-index: 1000;
	background: var(--gold); color: var(--green-950); padding: .75rem 1rem; border-radius: var(--radius-sm); font-weight: 700;
}
.skip-link:focus { top: 1rem; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(760px + var(--gutter) * 2); }

.icon { flex: none; }

/* ---------- Type helpers ---------- */
.eyebrow {
	display: inline-flex; align-items: center; gap: .6rem;
	font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
	color: var(--gold-dark); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.eyebrow a { color: inherit; text-decoration: none; }
.eyebrow a:hover { text-decoration: underline; }
.eyebrow--light { color: var(--gold); }

.section-title { font-size: clamp(1.9rem, 3.8vw, 3.2rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.05; max-width: 20ch; }
.lead { font-size: 1.125rem; color: var(--muted); max-width: 56ch; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
	min-height: 48px; padding: .75rem 1.4rem; border-radius: 999px;
	font: 600 .95rem/1.2 var(--font-body); text-decoration: none; white-space: nowrap;
	border: 1.5px solid transparent; cursor: pointer;
	transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn--gold { background: var(--gold); color: var(--green-950); }
.btn--gold:hover { background: var(--gold-light); color: var(--green-950); }
.btn--outline { border-color: var(--green-800); color: var(--green-800); }
.btn--outline:hover { background: var(--green-800); color: var(--white); }
.btn--lg { min-height: 56px; padding: .9rem 1.7rem; font-size: 1rem; }
.btn--glass { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .25); color: var(--white); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.btn--glass:hover { background: rgba(255, 255, 255, .2); color: var(--white); }
.btn--ghost-light { border-color: rgba(255, 255, 255, .35); color: var(--white); }
.btn--ghost-light:hover { border-color: var(--white); background: rgba(255, 255, 255, .08); color: var(--white); }

.text-link { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; text-decoration: none; color: var(--green-700); }
.text-link .icon { transition: transform .25s var(--ease); }
.text-link:hover .icon { transform: translateX(4px); }

.icon-btn {
	display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
	border: 1.5px solid var(--line); background: var(--white); color: var(--green-900); cursor: pointer;
	transition: border-color .2s, background .2s;
}
.icon-btn:hover { border-color: var(--green-700); }
.icon-btn[data-scroll="-1"] .icon, .icon-btn[data-step="-1"] .icon { transform: rotate(180deg); }
.icon-btn--glass { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .22); color: var(--white); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.icon-btn--glass:hover { border-color: var(--gold); background: rgba(255, 255, 255, .16); }

.chip {
	display: inline-flex; align-items: center; gap: .4rem;
	padding: .4rem .85rem; border-radius: 999px; font-size: .875rem; font-weight: 500;
	background: var(--green-100); color: var(--green-900);
}
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }

/* ---------- Header (floating pill) ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 14px 0; pointer-events: none; }
.site-header__inner {
	pointer-events: auto;
	display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
	min-height: var(--header-h); padding: 0 10px 0 22px; border-radius: 999px;
	background: rgba(251, 249, 244, .88); border: 1px solid var(--line);
	backdrop-filter: saturate(1.5) blur(16px); -webkit-backdrop-filter: saturate(1.5) blur(16px);
	box-shadow: 0 10px 30px -18px rgba(6, 42, 32, .35);
	transition: background .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
body:not(.has-dark-hero) .site-main { padding-top: calc(var(--header-h) + 28px); }

.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--green-900); }
.brand__logo { max-height: 46px; width: auto; }
.brand__mark { width: 34px; height: 34px; color: var(--gold); flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--font-body); font-weight: 800; font-size: 1.2rem; letter-spacing: .12em; color: var(--green-900); }
.brand__sub { font-size: .68rem; font-weight: 500; color: var(--muted); letter-spacing: .02em; }
.brand--light .brand__name { color: var(--white); }
.brand--light .brand__sub { color: rgba(255, 255, 255, .65); }

.site-nav { display: flex; align-items: center; gap: 1rem; }
.site-nav .menu { display: flex; align-items: center; gap: .15rem; }
.site-nav .menu > li { position: relative; }
.site-nav .menu a {
	display: flex; align-items: center; gap: .3rem; padding: .55rem .9rem; border-radius: 999px;
	font-weight: 500; font-size: .93rem; color: var(--ink); text-decoration: none;
	transition: background .25s, color .25s;
}
.site-nav .menu a:hover,
.site-nav .menu .current-menu-item > a,
.site-nav .menu .current-menu-ancestor > a,
.site-nav .menu .current_page_item > a { color: var(--green-700); background: var(--green-100); }
.site-nav .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); margin-left: .25rem; opacity: .7;
}
.site-nav .sub-menu {
	position: absolute; top: calc(100% + 12px); left: 0; min-width: 270px; padding: .5rem;
	background: rgba(255, 255, 255, .97); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow);
	opacity: 0; visibility: hidden; transform: translateY(6px);
	transition: opacity .25s, transform .25s, visibility .25s;
}
.site-nav .sub-menu::before { content: ""; position: absolute; inset: -14px 0 auto; height: 14px; }
.site-nav .menu > li:hover > .sub-menu,
.site-nav .menu > li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.site-nav .sub-menu a { border-radius: 12px; padding: .65rem .85rem; color: var(--ink) !important; background: none !important; }
.site-nav .sub-menu a:hover { background: var(--green-100) !important; color: var(--green-700) !important; }

.nav-toggle {
	display: none; width: 46px; height: 46px; border: 0; border-radius: 50%;
	background: var(--green-100); color: var(--green-900); cursor: pointer; place-items: center;
}
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-menu { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }

@media (min-width: 1024px) {
	.has-dark-hero .site-header:not(.is-scrolled) .site-header__inner { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .18); box-shadow: none; }
	.has-dark-hero .site-header:not(.is-scrolled) .brand__name { color: var(--white); }
	.has-dark-hero .site-header:not(.is-scrolled) .brand__sub { color: rgba(255, 255, 255, .7); }
	.has-dark-hero .site-header:not(.is-scrolled) .menu > li > a { color: rgba(255, 255, 255, .88); }
	.has-dark-hero .site-header:not(.is-scrolled) .menu > li > a:hover,
	.has-dark-hero .site-header:not(.is-scrolled) .menu > .current-menu-item > a,
	.has-dark-hero .site-header:not(.is-scrolled) .menu > .current-menu-ancestor > a { background: rgba(255, 255, 255, .14); color: var(--white); }
}

@media (max-width: 1023px) {
	.nav-toggle { display: grid; }
	.has-dark-hero .site-header:not(.is-scrolled):not(.nav-open-header) .site-header__inner { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .2); }
	.has-dark-hero .site-header:not(.is-scrolled) .brand__name { color: var(--white); }
	.has-dark-hero .site-header:not(.is-scrolled) .nav-toggle { background: rgba(255, 255, 255, .16); color: var(--white); }
	.nav-open .site-header .site-header__inner { background: var(--paper) !important; border-color: var(--line) !important; }
	.nav-open .site-header .brand__name { color: var(--green-900) !important; }
	.nav-open .site-header .nav-toggle { background: var(--green-100) !important; color: var(--green-900) !important; }
	.site-nav {
		position: fixed; top: calc(var(--header-h) + 36px); left: var(--gutter); right: var(--gutter); z-index: 99;
		max-height: calc(100vh - var(--header-h) - 56px); overflow-y: auto;
		flex-direction: column; align-items: stretch; gap: 1rem;
		padding: 1rem 1.25rem 1.5rem; background: var(--paper); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow);
		opacity: 0; visibility: hidden; transform: translateY(-8px);
		transition: opacity .25s, transform .25s, visibility .25s;
	}
	.nav-open .site-nav { opacity: 1; visibility: visible; transform: none; }
	.site-nav .menu { flex-direction: column; align-items: stretch; gap: 0; }
	.site-nav .menu a { padding: .9rem .25rem; border-radius: 0; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
	.site-nav .menu a:hover, .site-nav .menu .current-menu-item > a { background: none; }
	.site-nav .menu-item-has-children > a::after { display: none; }
	.site-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 1rem; min-width: 0; background: none; }
	.site-nav .sub-menu a { font-size: .98rem; color: var(--muted) !important; border-radius: 0; }
	.site-nav__cta { align-self: stretch; }
	.nav-open { overflow: hidden; }
}

/* ---------- Hero (home, cinematic) ---------- */
.hero {
	position: relative; overflow: hidden; isolation: isolate;
	min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end;
	background: var(--green-950); color: var(--white);
	padding: calc(var(--header-h) + 80px) 0 clamp(3rem, 7vh, 5rem);
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--hero-focus, center); transform: scale(1.06); animation: heroDrift 18s var(--ease) forwards; }
.hero__overlay {
	position: absolute; inset: 0; z-index: -1;
	background:
		linear-gradient(180deg, rgba(6, 42, 32, .55) 0%, rgba(6, 42, 32, 0) 28%),
		linear-gradient(90deg, rgba(6, 42, 32, .92) 0%, rgba(6, 42, 32, .7) 38%, rgba(6, 42, 32, .15) 75%),
		linear-gradient(0deg, rgba(6, 42, 32, .95) 0%, rgba(6, 42, 32, 0) 45%);
}
.hero__inner { display: grid; grid-template-columns: 1fr auto; gap: 3rem; align-items: end; }
.hero__copy { max-width: 720px; }
.proof-pill {
	display: inline-flex; align-items: center; gap: .6rem; padding: .45rem 1rem .45rem .45rem; margin-bottom: 1.75rem;
	border-radius: 999px; font-size: .82rem; font-weight: 600; letter-spacing: .02em;
	background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2);
	backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.proof-pill__star { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--gold); }
.proof-pill__icon { width: 16px; height: 16px; color: var(--green-950); }
.hero__title {
	font-size: clamp(2.6rem, 6.2vw, 5.4rem); font-weight: 800; line-height: .98; letter-spacing: -.035em;
	color: var(--white); margin-bottom: 1.5rem;
}
.hero__title em { color: var(--gold-light); }
.hero__lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); font-weight: 500; color: rgba(255, 255, 255, .82); max-width: 52ch; margin-bottom: 2.25rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero__facts { display: grid; grid-template-columns: repeat(2, minmax(150px, 190px)); gap: .75rem; margin: 0; }
.glass-stat {
	padding: 1.1rem 1.2rem; border-radius: 22px;
	background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18);
	backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3);
	box-shadow: 0 20px 40px -24px rgba(0, 0, 0, .5);
}
.glass-stat__value { font-size: 1.85rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.05; color: var(--white); }
.glass-stat__label { margin: .35rem 0 0; font-size: .8rem; line-height: 1.35; color: rgba(255, 255, 255, .72); }
.hero__scroll { position: absolute; left: 50%; bottom: 18px; width: 26px; height: 42px; margin-left: -13px; border: 1.5px solid rgba(255, 255, 255, .4); border-radius: 999px; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 3px; background: var(--gold); animation: scrollDot 2s var(--ease) infinite; }
@keyframes heroDrift { to { transform: scale(1); } }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

.hero__pattern {
	position: absolute; inset: 0; z-index: -1; opacity: .07; pointer-events: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 100 100'%3E%3Cpath d='M50 4l13.5 19.4L86.6 13.4l-10 23.1L96 50l-19.4 13.5 10 23.1-23.1-10L50 96 36.5 76.6l-23.1 10 10-23.1L4 50l19.4-13.5-10-23.1 23.1 10z' fill='none' stroke='%23E9D7A6' stroke-width='1.6'/%3E%3C/svg%3E");
	background-size: 80px 80px;
	mask-image: linear-gradient(110deg, transparent 20%, #000 75%);
	-webkit-mask-image: linear-gradient(110deg, transparent 20%, #000 75%);
}


/* Hero — photo bleeds from the right and fades into green (event photos) */
.hero--split { background: radial-gradient(90% 120% at 0% 100%, var(--green-800) 0%, var(--green-950) 60%); }
.hero--split .hero__media { left: 34%; }
.hero--split .hero__media img {
	object-position: var(--hero-focus, center);
	-webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .55) 18%, #000 42%);
	mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .55) 18%, #000 42%);
}
.hero--split .hero__overlay {
	background:
		linear-gradient(180deg, rgba(6, 42, 32, .6) 0%, rgba(6, 42, 32, 0) 22%),
		linear-gradient(0deg, rgba(6, 42, 32, .92) 0%, rgba(6, 42, 32, .35) 30%, rgba(6, 42, 32, 0) 55%),
		linear-gradient(90deg, rgba(6, 42, 32, .55) 0%, rgba(6, 42, 32, 0) 50%);
}
.hero--split .hero__copy { max-width: 600px; }
.hero--split .hero__title { font-size: clamp(2.4rem, 5vw, 4.6rem); }
.hero--split .hero__facts { grid-template-columns: repeat(4, minmax(120px, 150px)); }
.hero--split .glass-stat { background: rgba(6, 42, 32, .45); }
.hero--split .glass-stat__value { font-size: 1.5rem; }
@media (max-width: 1100px) {
	.hero--split .hero__facts { grid-template-columns: repeat(2, minmax(130px, 170px)); }
}
@media (max-width: 900px) {
	.hero--split .hero__media { left: 0; bottom: 45%; }
	.hero--split .hero__media img { -webkit-mask-image: linear-gradient(0deg, transparent 0%, #000 45%); mask-image: linear-gradient(0deg, transparent 0%, #000 45%); }
	.hero--split .hero__overlay { background: linear-gradient(180deg, rgba(6, 42, 32, .5) 0%, rgba(6, 42, 32, 0) 25%); }
	.hero--split { padding-top: calc(var(--header-h) + 30vh); }
	.hero--split .hero__media { bottom: 52%; }
}

/* ---------- Logo / unit rail ---------- */
.rail {
	position: relative; overflow: hidden; padding: 1.35rem 0; background: var(--paper); border-bottom: 1px solid var(--line);
	mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.rail__track { display: flex; width: max-content; animation: rail 36s linear infinite; }
.rail__list { display: flex; flex: none; }
.rail__list li { display: inline-flex; align-items: center; gap: 1rem; padding-right: 3rem; white-space: nowrap; font-weight: 700; font-size: 1.02rem; letter-spacing: -.01em; color: var(--green-900); }
.rail__star { width: 14px; height: 14px; color: var(--gold); }
.rail:hover .rail__track { animation-play-state: paused; }
@keyframes rail { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section--cream { background: var(--cream); }
.section--green { background: var(--green-900); color: rgba(255, 255, 255, .85); }
.section--green .section-title { color: var(--white); }
.section-head { margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head--split { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.section-head--split .section-title { margin-bottom: 0; }

/* Focus */
.focus__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.focus-card {
	position: relative; padding: 2rem; border-radius: var(--radius);
	background: var(--white); border: 1px solid var(--line);
	transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.focus-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.focus-card__icon { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--green-900); color: var(--gold); margin-bottom: 1.5rem; }
.focus-card__num { position: absolute; top: 1.5rem; right: 1.75rem; font-family: var(--font-display); font-size: 2rem; color: var(--line); }
.focus-card__title { font-size: 1.45rem; }
.focus-card p { color: var(--muted); }

/* Units */
.units__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.units__grid--3 { grid-template-columns: repeat(3, 1fr); }
.unit-card { height: 100%; }
.unit-card__link {
	display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit;
	background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
	transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.unit-card__link:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; color: inherit; }
.unit-card__media { position: relative; aspect-ratio: 4 / 3; background: var(--green-100); overflow: hidden; }
.unit-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.unit-card__link:hover .unit-card__media img { transform: scale(1.04); }
.unit-card__media.is-empty { display: grid; place-items: center; background: var(--green-900); }
.unit-card__star { width: 40%; color: var(--gold); opacity: .8; }
.chip--on-media { position: absolute; left: .85rem; top: .85rem; background: rgba(255, 255, 255, .94); font-size: .78rem; }
.unit-card__body { display: flex; flex-direction: column; flex: 1; padding: 1.4rem 1.4rem 1.5rem; }
.unit-card__year { font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: .4rem; }
.unit-card__title { font-size: 1.25rem; margin-bottom: .6rem; }
.unit-card__text { color: var(--muted); font-size: .93rem; flex: 1; }
.unit-card__more { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; font-size: .9rem; color: var(--green-700); }
.unit-card__more .icon { transition: transform .25s var(--ease); }
.unit-card__link:hover .unit-card__more .icon { transform: translateX(4px); }

/* History / timeline (horizontal on home) */
.history { overflow: hidden; }
.history__nav { display: flex; gap: .5rem; }
.history__track .timeline {
	display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 1fr); gap: 0;
	overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
	padding-bottom: .5rem; margin-right: calc(var(--gutter) * -1);
}
.history__track .timeline::-webkit-scrollbar { display: none; }
.timeline__item { position: relative; scroll-snap-align: start; padding: 2.25rem 2rem 0 0; border-top: 2px solid var(--line); }
.timeline__item::before {
	content: ""; position: absolute; top: -8px; left: 0; width: 14px; height: 14px; border-radius: 50%;
	background: var(--paper); border: 3px solid var(--gold);
}
.timeline__year { display: block; font-family: var(--font-display); font-size: 2.2rem; font-weight: 600; color: var(--green-700); line-height: 1; margin-bottom: .75rem; }
.timeline__title { font-family: var(--font-body); font-size: 1.05rem; font-weight: 700; color: var(--ink); margin-bottom: .35rem; }
.timeline__text { color: var(--muted); font-size: .93rem; max-width: 30ch; }

/* Vertical timeline (about page) */
.timeline-vertical .timeline { display: grid; gap: 0; max-width: 820px; }
.timeline-vertical .timeline__item {
	display: grid; grid-template-columns: 120px 1fr; column-gap: 2rem;
	border-top: 0; border-left: 2px solid var(--line); padding: 0 0 2.5rem 2rem; margin-left: 7px;
}
.timeline-vertical .timeline__item::before { top: 6px; left: -8px; }
.timeline-vertical .timeline__year { grid-row: span 2; font-size: 1.9rem; }
.timeline-vertical .timeline__text { max-width: none; }

/* Leaders */
.leaders__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.leader {
	display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden;
	background: var(--green-800); border: 1px solid rgba(255, 255, 255, .08);
}
.leader__photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; background: var(--green-950); }
.leader__photo.is-monogram, .person__photo.is-monogram {
	display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; color: var(--gold-light);
	background: radial-gradient(circle at 30% 20%, var(--green-700), var(--green-950));
}
.leader__photo.is-monogram { font-size: 4rem; }
.leader__body { padding: 1.5rem; }
.leader__role { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: .5rem; }
.leader__name { font-size: 1.3rem; color: var(--white); margin-bottom: .6rem; }
.leader__bio { font-size: .93rem; color: rgba(255, 255, 255, .72); margin: 0; }

/* Posts */
.posts__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.post-card__link { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; }
.post-card__media { aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; background: var(--cream); margin-bottom: 1.1rem; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post-card__link:hover .post-card__media img { transform: scale(1.04); }
.post-card__media.is-empty { display: grid; place-items: center; background: var(--green-100); }
.post-card__star { width: 22%; color: var(--green-500); opacity: .5; }
.post-card__meta { font-size: .82rem; color: var(--muted); margin-bottom: .5rem; }
.post-card__meta span { color: var(--gold-dark); font-weight: 600; }
.post-card__title { font-size: 1.25rem; line-height: 1.3; transition: color .2s; }
.post-card__link:hover .post-card__title { color: var(--green-700); }
.post-card__text { font-size: .93rem; color: var(--muted); margin: 0; }

/* Contact */
.contact { background: var(--cream); }
.contact__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: stretch; }
.contact-list { display: grid; gap: 1.1rem; margin-top: 2rem; }
.contact-list li { display: flex; gap: .9rem; align-items: flex-start; }
.contact-list .icon { color: var(--green-700); margin-top: .2rem; }
.contact-list strong { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.contact-list a { color: var(--ink); text-decoration: none; font-weight: 600; }
.contact-list a:hover { color: var(--green-700); text-decoration: underline; }
.contact__map { min-height: 380px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--white); }
.contact__map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; }

/* ---------- Inner page hero ---------- */
.page-hero {
	position: relative; overflow: hidden; isolation: isolate;
	background: linear-gradient(135deg, var(--green-950), var(--green-800));
	color: var(--white); padding: calc(var(--header-h) + clamp(4.5rem, 8vw, 6.5rem)) 0 clamp(3.5rem, 7vw, 5.5rem);
}
.page-hero__title { font-size: clamp(2.3rem, 5vw, 4rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.02; color: var(--white); max-width: 18ch; margin-bottom: 1rem; }
.page-hero__lead { font-size: 1.125rem; color: rgba(255, 255, 255, .78); max-width: 60ch; margin: 0; }

/* Unit single */
.unit-hero { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.unit-hero__motto { font-family: var(--font-display); font-style: italic; font-size: 1.2rem; color: var(--gold-light); max-width: 48ch; margin-bottom: 2rem; }
.unit-hero__media { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: rgba(255, 255, 255, .06); }
.unit-hero__media img { width: 100%; height: 100%; object-fit: cover; }

.unit-detail { display: grid; grid-template-columns: 1fr 380px; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.unit-services { margin-top: 2.5rem; padding-top: 2.5rem; border-top: 1px solid var(--line); }
.unit-services__title { font-size: 1.5rem; margin-bottom: 1.25rem; }
.unit-detail__aside { position: sticky; top: calc(var(--header-h) + 24px); }
.info-card { padding: 1.75rem; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
.info-card .contact-list { margin-top: 0; }
.info-card .contact-list a { word-break: break-word; }
.info-card__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 0 0 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--line); }
.info-card__facts dt { display: flex; align-items: center; gap: .35rem; font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.info-card__facts dt .icon { color: var(--gold-dark); }
.info-card__facts dd { margin: .25rem 0 0; font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; color: var(--green-900); line-height: 1.2; }

.social { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.social a {
	display: inline-flex; padding: .4rem .9rem; border-radius: 999px; font-size: .85rem; font-weight: 500;
	border: 1px solid rgba(255, 255, 255, .25); color: var(--white); text-decoration: none;
}
.social a:hover { border-color: var(--gold); color: var(--gold-light); }
.social--dark a { border-color: var(--line); color: var(--green-900); }
.social--dark a:hover { border-color: var(--green-700); color: var(--green-700); }

/* About */
.about__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 5rem); }
.about__text { font-size: 1.1rem; }

/* Struktur */
.organ-nav { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 3rem; position: sticky; top: calc(var(--header-h) + 8px); z-index: 5; padding: .5rem 0; background: var(--paper); }
.organ-nav a, .cat-nav a {
	padding: .5rem 1rem; border-radius: 999px; border: 1px solid var(--line); background: var(--white);
	color: var(--ink); text-decoration: none; font-size: .9rem; font-weight: 500;
}
.organ-nav a:hover, .cat-nav a:hover, .cat-nav a.is-active { background: var(--green-900); border-color: var(--green-900); color: var(--white); }
.organ + .organ { margin-top: 4rem; }
.organ__title { font-size: clamp(1.5rem, 2.6vw, 2rem); padding-bottom: 1rem; margin-bottom: 2rem; border-bottom: 1px solid var(--line); }
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 2rem 1.25rem; }
.person { text-align: left; }
.person__photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; border-radius: var(--radius); background: var(--cream); margin-bottom: 1rem; }
.person__photo.is-monogram { font-size: 2.75rem; }
.person__name { font-family: var(--font-body); font-size: 1rem; font-weight: 700; line-height: 1.35; margin-bottom: .2rem; color: var(--ink); }
.person__role { font-size: .88rem; color: var(--muted); margin: 0; }

/* Archive tools */
.archive-tools { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.cat-nav { display: flex; flex-wrap: wrap; gap: .5rem; }
.search-form { display: flex; gap: .5rem; }
.search-form label { flex: 1; }
.search-field {
	width: 100%; min-width: 220px; min-height: 46px; padding: .6rem 1rem; border-radius: 999px;
	border: 1px solid var(--line); background: var(--white); font: inherit; color: var(--ink);
}
.search-field:focus { outline: none; border-color: var(--green-700); box-shadow: 0 0 0 3px var(--green-100); }
.search-submit {
	min-height: 46px; padding: .6rem 1.2rem; border-radius: 999px; border: 0; cursor: pointer;
	background: var(--green-900); color: var(--white); font: 600 .9rem var(--font-body);
}
.pagination { margin-top: 3rem; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: .4rem; justify-content: center; }
.pagination .page-numbers {
	display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 .9rem; border-radius: 999px;
	border: 1px solid var(--line); text-decoration: none; color: var(--ink); background: var(--white); font-weight: 500;
}
.pagination .page-numbers.current, .pagination .page-numbers:hover { background: var(--green-900); color: var(--white); border-color: var(--green-900); }
.empty { color: var(--muted); }

/* Article */
.article__head { padding: clamp(3rem, 6vw, 4.5rem) 0 2rem; }
.article__title { font-size: clamp(2rem, 4.4vw, 3.1rem); line-height: 1.12; }
.article__meta { color: var(--muted); font-size: .92rem; }
.article__media { margin: 0 auto 3rem; max-width: 1040px; }
.article__media img { width: 100%; border-radius: var(--radius); }
.article__body { padding-bottom: 3rem; }
.article__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; padding-bottom: 5rem; }
.article__nav a {
	display: block; height: 100%; padding: 1.25rem; border-radius: var(--radius-sm); border: 1px solid var(--line);
	text-decoration: none; color: var(--ink); font-weight: 600; line-height: 1.4; background: var(--white);
}
.article__nav a span { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: .4rem; }
.article__nav div:last-child { text-align: right; }
.article__nav a:hover { border-color: var(--green-700); }

/* Prose (post/page content) */
.prose { font-size: 1.075rem; }
.prose > * { margin-top: 0; margin-bottom: 0; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: 1.75rem; margin-top: 2em; }
.prose h3 { font-size: 1.35rem; margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.4rem; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--gold-dark); }
.prose img, .prose figure { border-radius: var(--radius-sm); }
.prose figure { margin: 2em 0; }
.prose figcaption { font-size: .88rem; color: var(--muted); margin-top: .6rem; }
.prose blockquote { margin: 2em 0; padding: .25rem 0 .25rem 1.5rem; border-left: 3px solid var(--gold); font-family: var(--font-display); font-size: 1.3rem; font-style: italic; color: var(--green-900); }
.prose a { color: var(--green-700); font-weight: 500; }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.prose th, .prose td { padding: .7rem; border-bottom: 1px solid var(--line); text-align: left; }
.prose .alignwide { max-width: 1040px; margin-inline: auto; }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border-radius: var(--radius-sm); }
.alignleft { float: left; margin: .3em 1.5em 1em 0; }
.alignright { float: right; margin: .3em 0 1em 1.5em; }
.aligncenter { margin-inline: auto; }
.wp-caption-text { font-size: .88rem; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { position: relative; overflow: hidden; background: var(--green-950); color: rgba(255, 255, 255, .7); padding: clamp(3.5rem, 7vw, 5rem) 0 0; font-size: .95rem; }
.site-footer__star { position: absolute; right: -120px; bottom: -160px; width: 460px; height: 460px; color: var(--green-900); pointer-events: none; }
.site-footer__grid { position: relative; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; }
.site-footer__about p { margin-top: 1.25rem; max-width: 36ch; }
.site-footer__title { font-family: var(--font-body); font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.1rem; }
.site-footer__list { display: grid; gap: .55rem; }
.site-footer a { color: rgba(255, 255, 255, .8); text-decoration: none; }
.site-footer a:hover { color: var(--gold-light); text-decoration: underline; }
.contact-list--light { margin-top: 0; gap: .9rem; }
.contact-list--light .icon { color: var(--gold); }
.contact-list--light a { color: rgba(255, 255, 255, .85); font-weight: 500; }
.site-footer__bottom {
	position: relative; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
	margin-top: 3.5rem; padding-top: 1.5rem; padding-bottom: 1.75rem; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .85rem;
}
.site-footer__bottom p { margin: 0; }


/* ---------- Cinematic unit slider ---------- */
.uslider {
	position: relative; overflow: hidden; isolation: isolate; color: var(--white); background: var(--green-950);
	min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end;
	padding: calc(var(--header-h) + 80px) 0 clamp(2rem, 5vh, 3.5rem);
}
.uslider__stage { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.uslider__photos, .uslider__photo, .uslider__map, .uslider__clouds, .uslider__shade { position: absolute; inset: 0; }
.uslider__photo { opacity: 0; will-change: transform, filter, opacity; }
.uslider__photo.is-active { opacity: 1; }
.uslider__photo img { width: 100%; height: 100%; object-fit: cover; }
.uslider__photo.is-active img { animation: heroDrift 9s var(--ease) both; }

.uslider__map { opacity: 0; will-change: opacity; overflow: hidden; background: #0b3a5c; }
.umap-img { position: absolute; left: 0; top: 0; max-width: none; transform-origin: 0 0; will-change: transform; }
.uslider.is-flying .uslider__shade { opacity: .15; }
.umap { width: 100%; height: 100%; display: block; }
.umap__grid line { stroke: rgba(233, 215, 166, .12); stroke-width: .8; vector-effect: non-scaling-stroke; }
.umap__other { fill: #12392F; stroke: rgba(233, 215, 166, .18); stroke-width: 1; vector-effect: non-scaling-stroke; }
.umap__land { fill: url(#umap-land); stroke: #E9D7A6; stroke-width: 1.6; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.umap__glow { fill: none; stroke: rgba(201, 162, 75, .55); stroke-width: 14; }
.uslider__region {
	position: absolute; left: 50%; top: 22%; transform: translateX(-50%); opacity: 0;
	font: 800 clamp(1rem, 2vw, 1.4rem)/1 var(--font-body); letter-spacing: .5em; text-transform: uppercase; color: var(--gold-light);
	text-shadow: 0 2px 20px rgba(0, 0, 0, .5); white-space: nowrap;
}
.uslider__pin { position: absolute; left: 50%; top: 50%; opacity: 0; display: flex; flex-direction: column; align-items: center; gap: .8rem; transform: translate(-50%, -50%); }
.uslider__pin-dot { position: relative; width: 18px; height: 18px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 5px rgba(201, 162, 75, .35); }
.uslider__pin-dot::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--gold); animation: pinPulse 1.4s ease-out infinite; }
.uslider__pin-label {
	padding: .45rem 1rem; border-radius: 999px; font-weight: 700; font-size: .95rem; letter-spacing: .04em;
	background: rgba(6, 42, 32, .55); border: 1px solid rgba(233, 215, 166, .4); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.uslider__hud {
	position: absolute; right: var(--gutter); top: calc(var(--header-h) + 44px);
	font: 600 .72rem/1 ui-monospace, "SFMono-Regular", Menlo, monospace; letter-spacing: .14em; color: rgba(233, 215, 166, .8);
	padding: .5rem .8rem; border-radius: 8px; background: rgba(6, 42, 32, .45); border: 1px solid rgba(233, 215, 166, .2);
}
@keyframes pinPulse { from { transform: scale(1); opacity: 1; } to { transform: scale(2.6); opacity: 0; } }

.uslider__clouds { opacity: 0; pointer-events: none; will-change: transform, opacity; }
.cloud { position: absolute; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, .95), rgba(255, 255, 255, .6) 45%, rgba(255, 255, 255, 0)); filter: blur(6px); }
.cloud--1 { width: 70%; height: 45%; left: -15%; top: 5%; }
.cloud--2 { width: 65%; height: 40%; right: -20%; top: 25%; }
.cloud--3 { width: 80%; height: 50%; left: 10%; top: 45%; }
.cloud--4 { width: 55%; height: 38%; left: -10%; top: 70%; }
.cloud--5 { width: 60%; height: 42%; right: -10%; top: 75%; }

.uslider__shade {
	background:
		linear-gradient(180deg, rgba(6, 42, 32, .5) 0%, rgba(6, 42, 32, 0) 25%),
		linear-gradient(90deg, rgba(6, 42, 32, .88) 0%, rgba(6, 42, 32, .55) 40%, rgba(6, 42, 32, 0) 75%),
		linear-gradient(0deg, rgba(6, 42, 32, .96) 0%, rgba(6, 42, 32, 0) 50%);
	transition: opacity .6s var(--ease);
}
.uslider.is-flying .uslider__shade { opacity: .35; }

.uslider__content { display: grid; gap: 2.5rem; }
.uslider__slides { min-height: 330px; display: grid; align-items: end; }
.uslider__slide { grid-area: 1 / 1; max-width: 680px; }
.uslider__slide.is-active > * { animation: slideIn .9s var(--ease) both; }
.uslider__slide.is-active > *:nth-child(2) { animation-delay: .06s; }
.uslider__slide.is-active > *:nth-child(3) { animation-delay: .12s; }
.uslider__slide.is-active > *:nth-child(4) { animation-delay: .18s; }
.uslider__slide.is-active > *:nth-child(5) { animation-delay: .24s; }
.uslider__slide.is-leaving { opacity: 0; transform: translateY(-12px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
@keyframes slideIn { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.uslider__title { font-size: clamp(2.4rem, 5.5vw, 4.6rem); font-weight: 800; letter-spacing: -.035em; line-height: 1; color: var(--white); margin-bottom: 1rem; }
.uslider__motto { font-family: var(--font-display); font-size: clamp(1.1rem, 1.6vw, 1.35rem); color: var(--gold-light); margin-bottom: .75rem; max-width: 46ch; }
.uslider__motto em { font-style: italic; }
.uslider__text { color: rgba(255, 255, 255, .8); max-width: 54ch; margin-bottom: 1.75rem; }
.uslider__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; }
.uslider__since { margin-left: .5rem; font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }

.uslider__controls { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .14); }
.uslider__tabs { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 1.5rem; flex: 1; max-width: 900px; }
.uslider__tab { display: grid; gap: .35rem; width: 100%; padding: 0; border: 0; background: none; color: rgba(255, 255, 255, .55); text-align: left; cursor: pointer; font: inherit; transition: color .3s; }
.uslider__tab:hover, .uslider__tab.is-active { color: var(--white); }
.uslider__tab-num { font-size: .72rem; font-weight: 700; letter-spacing: .16em; color: var(--gold); }
.uslider__tab-name { font-size: .9rem; font-weight: 600; line-height: 1.3; }
.uslider__tab-bar { display: block; height: 2px; margin-top: .45rem; background: rgba(255, 255, 255, .18); border-radius: 2px; overflow: hidden; }
.uslider__tab-bar span { display: block; height: 100%; width: 0; background: var(--gold); }
.uslider__tab.is-active .uslider__tab-bar span { width: 100%; }
.uslider__tab.is-running .uslider__tab-bar span { animation: tabBar var(--dwell, 6500ms) linear both; }
@keyframes tabBar { from { width: 0; } to { width: 100%; } }
.uslider__arrows { display: flex; gap: .5rem; }
[data-pause] .i-play, .is-paused [data-pause] .i-pause { display: none; }
.is-paused [data-pause] .i-play { display: block; }


@media (max-width: 900px) {
	.hero__inner { grid-template-columns: 1fr; }
	.hero__facts { grid-template-columns: repeat(2, 1fr); max-width: 520px; }
	.uslider__tabs { grid-auto-flow: row; grid-template-columns: 1fr 1fr; gap: 1rem 1.25rem; }
	.uslider__controls { flex-direction: column; align-items: stretch; }
	.uslider__arrows { justify-content: flex-end; }
}
@media (max-width: 640px) {
	.hero { align-items: flex-end; }
	.hero__facts { display: none; }
	.hero__scroll { display: none; }
	.hero__actions .btn { flex: 1 1 auto; }
	.uslider { min-height: 0; padding-top: calc(var(--header-h) + 140px); }
	.uslider__slides { min-height: 0; }
	.uslider__hud { display: none; }
	.uslider__tab-name { font-size: .8rem; }
	.uslider__since { display: none; }
	.uslider__shade, .hero__overlay { background: linear-gradient(0deg, rgba(6, 42, 32, .97) 0%, rgba(6, 42, 32, .86) 55%, rgba(6, 42, 32, .5) 100%); }
	.uslider { padding-top: calc(var(--header-h) + 100px); }
}
@media (prefers-reduced-motion: reduce) {
	.rail__track { animation: none; }
	.uslider__photo { transition: opacity .6s !important; }
}


/* Slider: always fit one screen */
.uslider { min-height: 100vh; min-height: 100svh; padding: calc(var(--header-h) + 48px) 0 clamp(1.25rem, 3vh, 2rem); }
.uslider__content { gap: clamp(1rem, 3vh, 2rem); }
.uslider__slides { min-height: 0; }
.uslider__title { font-size: clamp(2.1rem, 4.2vw, 3.6rem); margin-bottom: .6rem; }
.uslider__motto { font-size: clamp(1rem, 1.3vw, 1.15rem); margin-bottom: .5rem; }
.uslider__text { font-size: .98rem; margin-bottom: 1.25rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.uslider__controls { padding-top: 1rem; }
.uslider__tab-name { font-size: .85rem; }
@media (max-height: 760px) and (min-width: 641px) {
	.uslider__motto { display: none; }
	.uslider__title { font-size: clamp(2rem, 3.6vw, 3rem); }
	.btn--lg { min-height: 50px; padding: .75rem 1.4rem; }
	.hero__title { font-size: clamp(2.3rem, 5vw, 4.2rem); }
}


/* ---------- Unit detail sections ---------- */
.unit-tabs { position: sticky; top: calc(var(--header-h) + 22px); z-index: 20; margin-top: -1px; pointer-events: none; }
.unit-tabs__inner { display: flex; justify-content: center; }
.unit-tabs__inner { gap: .25rem; overflow-x: auto; scrollbar-width: none; }
.unit-tabs__inner::-webkit-scrollbar { display: none; }
.unit-tabs a {
	pointer-events: auto; flex: none; padding: .55rem 1.1rem; border-radius: 999px; font-size: .9rem; font-weight: 600; text-decoration: none;
	color: var(--green-900); background: rgba(255, 255, 255, .92); border: 1px solid var(--line);
	backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 6px 20px -12px rgba(6, 42, 32, .4);
	transition: background .25s, color .25s;
}
.unit-tabs a:hover { color: var(--green-700); }
.unit-tabs a.is-active { background: var(--green-900); color: var(--white); border-color: var(--green-900); }
#profil, #visi-misi, #sejarah, #pimpinan, #program-studi, #dokter, #kabar { scroll-margin-top: calc(var(--header-h) + 90px); }

.vm { position: relative; overflow: hidden; isolation: isolate; }
.vm__visi { font-family: var(--font-display); font-style: italic; font-weight: 400; font-size: clamp(1.7rem, 3.6vw, 3rem); line-height: 1.2; color: var(--white); max-width: 26ch; margin-bottom: clamp(2.5rem, 5vw, 4rem); position: relative; }
.vm__quote { position: absolute; left: -.55em; top: -.15em; font-size: 2.2em; color: var(--gold); opacity: .6; line-height: 1; }
.vm__label { font-family: var(--font-body); font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.25rem; }
.vm__misi { margin-bottom: 3.5rem; }
.vm__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1rem 2.5rem; counter-reset: none; }
.vm__list li { display: flex; gap: 1rem; padding: 1.1rem 0; border-top: 1px solid rgba(255, 255, 255, .14); }
.vm__num { flex: none; font-weight: 800; font-size: .9rem; color: var(--gold); padding-top: .15rem; }
.vm__list p { margin: 0; color: rgba(255, 255, 255, .85); }
.nilai-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1rem; }
.nilai { position: relative; overflow: hidden; padding: 1.4rem; border-radius: 20px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); }
.nilai__letter { position: absolute; right: -.1em; bottom: -.35em; font-family: var(--font-display); font-style: italic; font-size: 6rem; line-height: 1; color: rgba(233, 215, 166, .12); }
.nilai__title { font-size: 1.1rem; color: var(--white); margin-bottom: .4rem; }
.nilai p { position: relative; margin: 0; font-size: .9rem; color: rgba(255, 255, 255, .72); }

.sejarah { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.sejarah__intro { position: sticky; top: calc(var(--header-h) + 100px); }
.tonggak { border-left: 2px solid var(--line); margin-left: .5rem; }
.tonggak__item { position: relative; padding: 0 0 1.6rem 2rem; }
.tonggak__item::before { content: ""; position: absolute; left: -8px; top: .35rem; width: 14px; height: 14px; border-radius: 50%; background: var(--paper); border: 3px solid var(--gold); }
.tonggak__year { display: block; font-size: 1.35rem; font-weight: 800; letter-spacing: -.02em; color: var(--green-700); line-height: 1.2; }
.tonggak__item p { margin: .2rem 0 0; color: var(--muted); }

.pimpinan-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.pimpinan-grid.is-single { grid-template-columns: minmax(0, 560px); }
.pimpinan { display: flex; align-items: center; gap: 1.25rem; padding: 1.25rem; border-radius: 22px; background: var(--white); border: 1px solid var(--line); }
.pimpinan.is-lead { grid-column: 1 / -1; background: var(--green-900); border-color: var(--green-900); }
.pimpinan.is-lead .pimpinan__name { color: var(--white); font-size: 1.5rem; }
.pimpinan.is-lead .pimpinan__role { color: var(--gold); }
.pimpinan__photo { flex: none; width: 84px; height: 84px; border-radius: 50%; object-fit: cover; object-position: top; }
.pimpinan.is-lead .pimpinan__photo { width: 104px; height: 104px; }
.pimpinan__photo.is-monogram { display: grid; place-items: center; font-family: var(--font-display); font-size: 1.8rem; color: var(--gold-light); background: radial-gradient(circle at 30% 20%, var(--green-700), var(--green-950)); }
.pimpinan__role { margin: 0 0 .25rem; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-dark); line-height: 1.4; }
.pimpinan__name { margin: 0; font-size: 1.15rem; }

.fakultas-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; align-items: start; }
.fakultas { border-radius: 22px; background: var(--white); border: 1px solid var(--line); overflow: hidden; }
.fakultas__head { display: flex; align-items: center; gap: .85rem; padding: 1.1rem 1.35rem; background: var(--green-900); color: var(--white); }
.fakultas__icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: rgba(255, 255, 255, .1); color: var(--gold); flex: none; }
.fakultas__name { flex: 1; margin: 0; font-size: 1.05rem; color: var(--white); }
.fakultas__count { font-size: .78rem; font-weight: 700; color: var(--gold-light); white-space: nowrap; }
.prodi-list { padding: .4rem 0; }
.prodi { display: grid; grid-template-columns: 64px 1fr auto; align-items: center; gap: .75rem; padding: .7rem 1.35rem; }
.prodi + .prodi { border-top: 1px solid var(--line); }
.prodi__level { justify-self: start; padding: .2rem .55rem; border-radius: 8px; font-size: .75rem; font-weight: 800; background: var(--green-100); color: var(--green-900); }
.prodi__name { font-weight: 600; line-height: 1.3; }
.prodi__name small { display: block; font-weight: 500; font-size: .8rem; color: var(--muted); }
.prodi__akr { font-size: .75rem; font-weight: 700; padding: .25rem .6rem; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); white-space: nowrap; }
.prodi__akr.is-top { background: var(--gold); border-color: var(--gold); color: var(--green-950); }
.note { margin-top: 1.5rem; font-size: .88rem; color: var(--muted); }

.dokter-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.dokter-tools { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 1.75rem; }
.dokter-search { flex: 1 1 320px; display: flex; align-items: center; gap: .6rem; padding: 0 1.1rem; min-height: 52px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); color: var(--muted); }
.dokter-search:focus-within { border-color: var(--green-700); box-shadow: 0 0 0 3px var(--green-100); }
.dokter-search input { flex: 1; border: 0; outline: 0; background: none; font: inherit; color: var(--ink); min-width: 0; }
.dokter-filter select { min-height: 52px; padding: 0 2.5rem 0 1.1rem; border-radius: 999px; border: 1px solid var(--line); background: var(--white); font: inherit; color: var(--ink); max-width: 100%; }
.dokter-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1.25rem; }
.dokter { display: flex; flex-direction: column; border-radius: 20px; overflow: hidden; background: var(--white); border: 1px solid var(--line); text-decoration: none; color: inherit; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
a.dokter:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: inherit; }
.dokter[hidden] { display: none; }
.dokter__photo { display: block; aspect-ratio: 4 / 5; background: linear-gradient(180deg, var(--green-100), #cfe4d9); overflow: hidden; }
.dokter__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .6s var(--ease); }
a.dokter:hover .dokter__photo img { transform: scale(1.04); }
.dokter__photo .is-monogram { display: grid; place-items: center; width: 100%; height: 100%; font-family: var(--font-display); font-size: 2.6rem; color: var(--gold-light); background: radial-gradient(circle at 30% 20%, var(--green-700), var(--green-950)); }
.dokter__body { display: flex; flex-direction: column; gap: .3rem; padding: 1rem 1.1rem 1.2rem; }
.dokter__spes { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-dark); line-height: 1.35; }
.dokter__name { font-weight: 700; line-height: 1.35; }
.dokter-more { margin-top: 2rem; text-align: center; }
.dokter-groups { display: grid; gap: clamp(2rem, 4vw, 3rem); }
.dokter-group__title { display: flex; align-items: center; gap: .6rem; margin: 0 0 1rem; padding-bottom: .65rem; border-bottom: 1px solid var(--line); font-family: var(--font-display); font-size: clamp(1.15rem, 2vw, 1.4rem); color: var(--green-950); }
.dokter-group__title span { display: inline-grid; place-items: center; min-width: 1.8rem; height: 1.8rem; padding: 0 .5rem; border-radius: 999px; background: var(--gold); color: var(--white); font: 700 .8rem var(--font-body); }
.dokter-empty { margin-top: 1rem; color: var(--muted); }

@media (max-width: 900px) {
	.sejarah, .fakultas-list { grid-template-columns: 1fr; }
	.sejarah__intro { position: static; }
	.unit-tabs__inner { justify-content: flex-start; }
}
@media (max-width: 640px) {
	.pimpinan-grid { grid-template-columns: 1fr; }
	.dokter-grid { grid-template-columns: repeat(2, 1fr); gap: .75rem; }
	.dokter__body { padding: .75rem .8rem .9rem; }
	.dokter__name { font-size: .9rem; }
	.prodi { grid-template-columns: 52px 1fr; }
	.prodi__akr { grid-column: 2; justify-self: start; }
	.vm__quote { position: static; display: block; font-size: 1.5em; }
}


/* ---------- Unit sub-pages ---------- */
.unit-tabs { position: sticky; top: calc(var(--header-h) + 22px); z-index: 30; padding: .75rem 0; margin: 0; background: transparent; pointer-events: none; }
.admin-bar .unit-tabs { top: calc(var(--header-h) + 54px); }
.unit-tabs__inner { pointer-events: auto; }
.subpages.is-tabbed [data-panel][hidden] { display: none; }
.subpages.is-tabbed [data-panel] { min-height: 50vh; }
.subpages.is-tabbed [data-panel].is-entering { animation: panelIn .55s var(--ease) both; }
@keyframes panelIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.subpages .unit-tabs + [data-panel] { padding-top: clamp(2rem, 4vw, 3rem); }
.subpages.is-tabbed [data-panel] { padding-top: clamp(2.5rem, 5vw, 4rem); }

.social-icons { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.social-icons a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); color: var(--green-900); transition: background .25s, color .25s, border-color .25s; }
.social-icons a:hover { background: var(--green-900); border-color: var(--green-900); color: var(--white); }

.kontak-unit { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: stretch; }
.kontak-unit__label { color: var(--gold-dark); margin: 2rem 0 1rem; }
.social-big { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: .6rem; }
.social-big a { display: flex; align-items: center; gap: .75rem; padding: .8rem 1rem; border-radius: 16px; background: var(--white); border: 1px solid var(--line); color: var(--green-900); text-decoration: none; font-weight: 700; transition: transform .25s var(--ease), border-color .25s, box-shadow .25s; }
.social-big a:hover { transform: translateY(-2px); border-color: var(--green-700); box-shadow: var(--shadow); color: var(--green-900); }
.social-big .icon-social { flex: none; width: 36px; height: 36px; padding: 7px; border-radius: 10px; background: var(--green-900); color: var(--gold-light); }
.social-big small { display: block; font-weight: 500; font-size: .78rem; color: var(--muted); }
.kontak-unit__map { min-height: 420px; }
@media (max-width: 900px) { .kontak-unit { grid-template-columns: 1fr; } }


/* Sub-page tab bar: solid strip so it never sits on top of text */
.unit-tabs { pointer-events: auto; background: rgba(251, 249, 244, .94); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.unit-tabs a { box-shadow: none; }
.info-card__facts { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
.chip--link { text-decoration: none; transition: background .2s, color .2s; }
.chip--link:hover { background: var(--green-900); color: var(--white); }
.chip--link .icon { margin-left: .1rem; }


/* ---------- Brand logo ---------- */
.brand__img { display: block; height: 46px; width: auto; }
.brand__img--light { display: none; }
@media (min-width: 1024px) {
	.has-dark-hero .site-header:not(.is-scrolled) .brand__img--dark { display: none; }
	.has-dark-hero .site-header:not(.is-scrolled) .brand__img--light { display: block; }
}
@media (max-width: 1023px) {
	.has-dark-hero .site-header:not(.is-scrolled) .brand__img--dark { display: none; }
	.has-dark-hero .site-header:not(.is-scrolled) .brand__img--light { display: block; }
	.nav-open .site-header .brand__img--dark { display: block !important; }
	.nav-open .site-header .brand__img--light { display: none !important; }
}
.brand__img--light.is-only { display: block; height: 56px; }
@media (max-width: 640px) { .brand__img { height: 38px; } }

/* ---------- Intro (logo animation): small card on the right over a blurred page ---------- */
.intro {
	position: fixed; inset: 0; z-index: 1000;
	display: flex; align-items: center; justify-content: flex-end;
	padding: 0 clamp(1.5rem, 6vw, 7rem);
	background: rgba(216, 216, 216, .94);
	backdrop-filter: blur(14px) grayscale(1); -webkit-backdrop-filter: blur(14px) grayscale(1);
	transition: opacity .7s var(--ease), visibility .7s, backdrop-filter .7s;
}
.intro.is-leaving { opacity: 0; visibility: hidden; }
.intro__card {
	position: relative; width: min(400px, 32vw); aspect-ratio: 1 / 1; overflow: hidden;
	background: transparent;
	-webkit-mask-image: radial-gradient(closest-side, #000 72%, transparent 100%); mask-image: radial-gradient(closest-side, #000 72%, transparent 100%);
	animation: introIn .8s var(--ease) both;
}
.intro.is-leaving .intro__card { transform: scale(.96) translateY(10px); transition: transform .7s var(--ease); }
.intro__video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 52%; }
.intro__wrap { position: relative; display: flex; flex-direction: column; align-items: center; gap: .4rem; }
.intro__wrap::before { content: ""; position: absolute; left: 50%; top: 42%; width: 170%; aspect-ratio: 1; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(238, 238, 238, .95), rgba(238, 238, 238, 0)); pointer-events: none; z-index: -1; }
.intro__skip { position: static; padding: .45rem .95rem; border-radius: 999px; border: 1px solid rgba(6, 42, 32, .2); background: rgba(255, 255, 255, .75); color: var(--green-950); font: 600 .82rem var(--font-body); cursor: pointer; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.intro__skip:hover { background: var(--white); }
@keyframes introIn { from { opacity: 0; transform: translateY(18px) scale(.96); } to { opacity: 1; transform: none; } }
html.intro-on { overflow: hidden; }
html.intro-pending .intro { display: flex; }
@media (max-width: 900px) {
	.intro { justify-content: center; align-items: flex-end; padding: 0 1rem 2rem; }
	.intro__card { width: min(320px, 82vw); }
}

/* ---------- Video section (YouTube lite embed) ---------- */
.video-sec__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.yt { position: relative; aspect-ratio: 16 / 9; border-radius: 24px; overflow: hidden; background: var(--green-950); box-shadow: 0 30px 60px -30px rgba(6, 42, 32, .55); cursor: pointer; }
.yt img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), opacity .3s; opacity: .92; }
.yt:hover img { transform: scale(1.03); opacity: 1; }
.yt__play { position: absolute; inset: 0; display: grid; place-items: center; border: 0; background: linear-gradient(180deg, rgba(6, 42, 32, 0) 50%, rgba(6, 42, 32, .45)); cursor: pointer; }
.yt__play svg { transition: transform .3s var(--ease); filter: drop-shadow(0 10px 20px rgba(0, 0, 0, .35)); }
.yt:hover .yt__play svg { transform: scale(1.1); }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Quotes ---------- */
.quotes { position: relative; overflow: hidden; background: var(--green-950); color: var(--white); }
/* Ketua yayasan */
.ketua { background: var(--white, #fff); }
.ketua__grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.ketua__media { position: relative; display: grid; }
.ketua__photo { grid-area: 1 / 1; width: 100%; height: auto; opacity: 0; transition: opacity .9s var(--ease); filter: drop-shadow(0 30px 40px rgba(6, 42, 32, .18)); }
.ketua__photo.is-active { opacity: 1; }
.ketua__dots { display: flex; justify-content: center; gap: .5rem; margin-top: 1rem; }
.ketua__dots button { width: 28px; height: 4px; border: 0; border-radius: 4px; background: rgba(6, 42, 32, .18); padding: 0; cursor: pointer; }
.ketua__dots button.is-active { background: var(--gold); }
.ketua__caption { margin: .75rem 0 0; text-align: center; font-size: .88rem; color: rgba(6, 42, 32, .6); }
.ketua__name { font-size: 1.15rem; font-weight: 700; color: var(--green-900); margin: 1.25rem 0 .15rem; }
.ketua__role { font-size: .92rem; color: var(--gold-dark); margin: 0 0 1.25rem; }
.ketua__text { color: rgba(6, 42, 32, .75); max-width: 42ch; margin: 0; }
@media (max-width: 900px) { .ketua__grid { grid-template-columns: 1fr; } }

/* Pesan ketua + medallion logo animation */
.quotes__grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.quotes__inner { position: relative; display: grid; }
.quotes__medal { position: relative; width: min(100%, 440px); aspect-ratio: 1; justify-self: end; display: grid; place-items: center; }
.quotes__medal::before { content: ""; position: absolute; inset: -12%; border-radius: 50%; background: radial-gradient(closest-side, rgba(201, 162, 75, .28), rgba(201, 162, 75, 0)); pointer-events: none; }
.quotes__disc { position: relative; width: 84%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: radial-gradient(closest-side, #efefef, #d8d8d8); box-shadow: 0 0 0 1px rgba(233, 215, 166, .55), 0 0 0 10px rgba(201, 162, 75, .08), 0 40px 80px -20px rgba(0, 0, 0, .55); }
.quotes__video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.quotes__orbit { position: absolute; inset: 0; border-radius: 50%; border: 1.5px dashed rgba(233, 215, 166, .45); animation: medalSpin 40s linear infinite; }
.quotes__orbit::after { content: ""; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 14px 3px rgba(201, 162, 75, .7); }
.quotes__orbit--2 { inset: 4%; border: 1px solid rgba(233, 215, 166, .18); animation-duration: 26s; animation-direction: reverse; }
.quotes__orbit--2::after { top: auto; bottom: -4px; width: 7px; height: 7px; margin-left: -3.5px; background: var(--gold-light); }
@keyframes medalSpin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .quotes__orbit { animation: none; } }
@media (max-width: 900px) {
	.quotes__grid { grid-template-columns: 1fr; }
	.quotes__medal { justify-self: center; width: min(78vw, 340px); order: -1; }
}
.quote { grid-area: 2 / 1; margin: 0; opacity: 0; transform: translateY(12px); transition: opacity .6s var(--ease), transform .6s var(--ease); pointer-events: none; }
.quote.is-active { opacity: 1; transform: none; pointer-events: auto; }
.quote blockquote { margin: 0 0 1.75rem; }
.quote p { font-family: var(--font-display); font-style: italic; font-size: clamp(1.4rem, 2.8vw, 2.35rem); line-height: 1.3; max-width: 34ch; color: var(--white); margin: 0; }
.quote p::before { content: "“"; display: block; font-size: 4rem; line-height: .6; color: var(--gold); margin-bottom: .5rem; }
.quote figcaption strong { display: block; font-size: 1.05rem; color: var(--gold-light); }
.quote figcaption span { font-size: .9rem; color: rgba(255, 255, 255, .65); }
.quotes__dots { grid-area: 3 / 1; display: flex; gap: .5rem; margin-top: 2rem; }
.quotes__dots button { width: 34px; height: 4px; border: 0; border-radius: 4px; background: rgba(255, 255, 255, .25); cursor: pointer; padding: 0; }
.quotes__dots button.is-active { background: var(--gold); }

/* ---------- Identity (Tentang Kami) ---------- */
.identity__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.identity__media { border-radius: 26px; overflow: hidden; background: #d8d8d8; box-shadow: 0 30px 60px -30px rgba(6, 42, 32, .4); }
.identity__media video { display: block; width: 100%; height: auto; }

@media (max-width: 900px) {
	.video-sec__grid, .identity__grid { grid-template-columns: 1fr; }
}

/* ---------- Reveal animation ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

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

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.units__grid { grid-template-columns: repeat(2, 1fr); }
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
	.hero__grid, .unit-hero, .unit-detail, .contact__grid, .about__grid { grid-template-columns: 1fr; }
	.hero__emblem { max-width: 220px; justify-self: start; }
	.facts { grid-template-columns: repeat(2, 1fr); }
	.facts__item:nth-child(3) { padding-left: 0; border-left: 0; }
	.facts__item:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .14); }
	.focus__grid, .leaders__grid, .posts__grid, .units__grid--3 { grid-template-columns: 1fr 1fr; }
	.unit-detail__aside { position: static; }
}
@media (max-width: 640px) {
	:root { --header-h: 66px; }
	.brand__sub { display: none; }
	.brand__mark { width: 32px; height: 32px; }
	.hero__units { grid-template-columns: 1fr; }
	.hero__emblem { display: none; }
	.facts__item { padding-right: 1rem; }
	.facts__item + .facts__item { padding-left: 1rem; }
	.facts__item:nth-child(3) { padding-left: 0; }
	.focus__grid, .leaders__grid, .posts__grid, .units__grid, .units__grid--3 { grid-template-columns: 1fr; }
	.people { grid-template-columns: repeat(2, 1fr); gap: 1.5rem 1rem; }
	.site-footer__grid { grid-template-columns: 1fr; gap: 2rem; }
	.timeline-vertical .timeline__item { grid-template-columns: 1fr; }
	.timeline-vertical .timeline__year { grid-row: auto; }
	.article__nav { grid-template-columns: 1fr; }
	.article__nav div:last-child { text-align: left; }
	.search-form { width: 100%; }
	.search-field { min-width: 0; }
	.info-card__facts { grid-template-columns: 1fr; }
}
