/*
Theme Name: International University Centre
Theme URI: https://www.internationaluniversitycentre.com
Author: International University Centre
Description: Custom theme for International University Centre (IUC). On activation it creates the Home, About Us, Our Team, Gallery and Contact Us pages, the main menu and the photo gallery. Brand navy and IUC blue, Poppins type, hero slider, services carousel, scroll animations and a gallery lightbox.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: Proprietary
Text Domain: iuc
*/

/* ---------- Fonts (Poppins, self-hosted, SIL OFL) ---------- */
@font-face { font-family: "Poppins"; font-weight: 300; font-style: normal; font-display: swap; src: url("assets/fonts/Poppins-Light.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 400; font-style: normal; font-display: swap; src: url("assets/fonts/Poppins-Regular.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 500; font-style: normal; font-display: swap; src: url("assets/fonts/Poppins-Medium.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 600; font-style: normal; font-display: swap; src: url("assets/fonts/Poppins-SemiBold.woff2") format("woff2"); }

/* ---------- Tokens ---------- */
:root {
	--navy: #0e1a45;
	--navy-2: #17255d;
	--blue: #393f98;
	--blue-2: #4b52b8;
	--blue-soft: #8e94e0;
	--tint: #eef1f8;
	--tint-2: #f6f7fb;
	--ink: #0e1a45;
	--text: #3b4364;
	--muted: #6b7290;
	--line: #dde2ef;
	--white: #fff;
	--radius: 14px;
	--radius-lg: 22px;
	--shadow: 0 10px 30px -12px rgba(14, 26, 69, .18);
	--shadow-lg: 0 30px 60px -25px rgba(14, 26, 69, .35);
	--ease: cubic-bezier(.22, .8, .24, 1);
	--font: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
	--header-h: 84px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.7;
	color: var(--text);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; transition: color .2s; }
a:hover { color: var(--navy); }
h1, h2, h3, h4, .h1 { color: var(--ink); font-weight: 500; line-height: 1.18; margin: 0 0 .6em; letter-spacing: -.01em; }
h1, .h1 { font-size: clamp(2.2rem, 5vw, 3.9rem); }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.15rem; font-weight: 500; }
p { margin: 0 0 1em; }
.lead { font-size: 1.2rem; font-weight: 300; color: var(--ink); line-height: 1.6; }
button { font: inherit; cursor: pointer; }
.screen-reader-text, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 999; background: var(--white); padding: 8px 14px; border-radius: 8px; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--blue-2); outline-offset: 3px; }

.container { width: 100%; max-width: 1220px; margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(70px, 9vw, 120px) 0; position: relative; }
.section--tint { background: var(--tint); }
.section--navy { background: var(--navy); color: rgba(255, 255, 255, .78); }
.section--navy h2, .section--navy h3 { color: var(--white); }

.eyebrow {
	font-size: .76rem; font-weight: 500; letter-spacing: .24em; text-transform: uppercase;
	color: var(--blue); margin-bottom: 1rem; display: inline-flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.eyebrow--light { color: var(--blue-soft); }

.section-head { max-width: 760px; margin-bottom: 52px; }
.section-head p:last-child { margin-bottom: 0; }
.section-head h2::after { content: ""; display: block; width: 62px; height: 4px; background: var(--blue); margin-top: 22px; border-radius: 2px; }
.section--navy .section-head h2::after { background: var(--blue-soft); }
.section-head--row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; }
.section-head--row > div:first-child { max-width: 720px; }

.icon { width: 22px; height: 22px; flex: none; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	padding: 14px 26px; border-radius: 999px; font-weight: 500; font-size: .95rem;
	border: 1.5px solid transparent; transition: transform .3s var(--ease), background .3s, color .3s, box-shadow .3s, border-color .3s;
	white-space: nowrap;
}
.btn .icon { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover .icon { transform: translateX(4px); }
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--blue); color: var(--white); box-shadow: 0 10px 24px -10px rgba(57, 63, 152, .7); }
.btn--primary:hover { background: var(--navy); color: var(--white); }
.btn--light { background: var(--white); color: var(--navy); }
.btn--light:hover { background: var(--tint); color: var(--navy); }
.btn--ghost { border-color: rgba(255, 255, 255, .55); color: var(--white); }
.btn--ghost:hover { background: rgba(255, 255, 255, .12); color: var(--white); border-color: var(--white); }
.btn--outline { border-color: var(--blue); color: var(--blue); }
.btn--outline:hover { background: var(--blue); color: var(--white); }
.btn--sm { padding: 10px 20px; font-size: .88rem; }
.btn--block { width: 100%; }

.round-btn {
	width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
	border: 1.5px solid rgba(255, 255, 255, .5); background: rgba(14, 26, 69, .25); color: var(--white);
	backdrop-filter: blur(6px); transition: background .3s, transform .3s var(--ease), border-color .3s;
}
.round-btn:hover { background: var(--white); color: var(--navy); transform: scale(1.06); }
.round-btn--dark { border-color: var(--line); background: var(--white); color: var(--navy); }
.round-btn--dark:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.round-btn:disabled { opacity: .35; pointer-events: none; }

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 100; height: var(--header-h);
	background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px);
	border-bottom: 1px solid transparent;
	transition: background .35s, box-shadow .35s, height .35s, border-color .35s;
}
.admin-bar .site-header { top: 32px; }
.site-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: block; flex: none; }
.brand__logo { height: 50px; width: auto; transition: height .35s; }
.brand__logo--white { display: none; }

.site-header--overlay { position: fixed; left: 0; right: 0; background: transparent; }
.site-header--overlay .brand__logo--color { display: none; }
.site-header--overlay .brand__logo--white { display: block; }
.site-header--overlay .menu a { color: rgba(255, 255, 255, .88); }
.site-header--overlay .menu a:hover, .site-header--overlay .menu .current-menu-item > a { color: var(--white); }
.site-header--overlay .main-nav__cta { background: var(--white); color: var(--navy); box-shadow: none; }
.site-header--overlay .nav-toggle span:not(.screen-reader-text) { background: var(--white); }

.site-header.is-scrolled { background: rgba(255, 255, 255, .97); box-shadow: 0 8px 30px -18px rgba(14, 26, 69, .4); border-color: var(--line); height: 72px; }
.site-header.is-scrolled .brand__logo { height: 44px; }
.site-header.is-scrolled .brand__logo--color { display: block; }
.site-header.is-scrolled .brand__logo--white { display: none; }
.site-header.is-scrolled .menu a { color: var(--ink); }
.site-header.is-scrolled .menu .current-menu-item > a { color: var(--blue); }
.site-header.is-scrolled .main-nav__cta { background: var(--blue); color: var(--white); }
.site-header.is-scrolled .nav-toggle span:not(.screen-reader-text) { background: var(--navy); }

.main-nav { display: flex; align-items: center; gap: 34px; }
.menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 30px; }
.menu a { color: var(--ink); font-size: .94rem; font-weight: 400; position: relative; padding: 6px 0; }
.menu a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.menu a:hover::after, .menu .current-menu-item > a::after { transform: scaleX(1); transform-origin: left; }
.menu .current-menu-item > a { color: var(--blue); }
.menu .sub-menu { display: none; }

.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; padding: 10px; position: relative; z-index: 120; }
.nav-toggle span:not(.screen-reader-text) { display: block; height: 2px; background: var(--navy); margin: 6px 0; border-radius: 2px; transition: transform .35s var(--ease), opacity .2s; }
.nav-open .nav-toggle span:nth-child(2) { transform: translateY(8px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(3) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(4) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero slider ---------- */
.hero { position: relative; height: 100vh; min-height: 640px; max-height: 960px; color: var(--white); overflow: hidden; background: var(--navy); }
.hero__slides, .hero__slide { position: absolute; inset: 0; }
.hero__slide { opacity: 0; visibility: hidden; transition: opacity 1.1s var(--ease), visibility 1.1s; display: flex; align-items: center; }
.hero__slide.is-active { opacity: 1; visibility: visible; }
.hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center 30%; transform: scale(1.12); transition: transform 7s linear; }
.hero__slide.is-active .hero__bg { transform: scale(1); }
.hero__slide::before {
	content: ""; position: absolute; inset: 0; z-index: 1;
	background: linear-gradient(90deg, rgba(14, 26, 69, .94) 0%, rgba(14, 26, 69, .78) 38%, rgba(14, 26, 69, .25) 75%, rgba(14, 26, 69, .1) 100%),
		linear-gradient(0deg, rgba(14, 26, 69, .85) 0%, rgba(14, 26, 69, 0) 40%);
}
.hero__content { position: relative; z-index: 2; padding-top: 40px; }
.hero__content > * { max-width: 680px; }
.hero h1, .hero .h1 { color: var(--white); font-weight: 500; }
.hero__text { font-size: 1.08rem; font-weight: 300; color: rgba(255, 255, 255, .85); max-width: 600px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.hero__slide .eyebrow, .hero__slide h1, .hero__slide .h1, .hero__slide .hero__text, .hero__slide .hero__actions {
	opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.hero__slide.is-active .eyebrow { opacity: 1; transform: none; transition-delay: .35s; }
.hero__slide.is-active h1, .hero__slide.is-active .h1 { opacity: 1; transform: none; transition-delay: .5s; }
.hero__slide.is-active .hero__text { opacity: 1; transform: none; transition-delay: .65s; }
.hero__slide.is-active .hero__actions { opacity: 1; transform: none; transition-delay: .8s; }

.hero__controls { position: absolute; left: 0; right: 0; bottom: 92px; z-index: 3; display: flex; justify-content: space-between; align-items: center; }
.hero__dots { display: flex; gap: 10px; }
.hero__dot { width: 54px; height: 22px; border: 0; background: none; padding: 0; display: flex; align-items: center; }
.hero__dot span { display: block; width: 100%; height: 3px; background: rgba(255, 255, 255, .3); position: relative; overflow: hidden; border-radius: 2px; }
.hero__dot span::after { content: ""; position: absolute; inset: 0; background: var(--white); transform: scaleX(0); transform-origin: left; }
.hero__dot.is-active span::after { animation: dotfill var(--hero-delay, 6.5s) linear forwards; }
.hero.is-paused .hero__dot.is-active span::after { animation-play-state: paused; }
@keyframes dotfill { to { transform: scaleX(1); } }
.hero__arrows { display: flex; gap: 10px; }
.hero__pills { position: absolute; left: 0; right: 0; bottom: 28px; z-index: 3; display: flex; gap: 10px; flex-wrap: wrap; }
.hero__pills span { font-size: .8rem; padding: 6px 16px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 999px; color: rgba(255, 255, 255, .85); }

/* ---------- Stats strip ---------- */
.stats-strip { background: var(--white); position: relative; z-index: 4; }
.stats-strip__grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: -1px; border-bottom: 1px solid var(--line); }
.stat { padding: 42px 26px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat strong { display: block; font-size: clamp(2.3rem, 4vw, 3.1rem); font-weight: 400; color: var(--blue); line-height: 1; margin-bottom: 12px; }
.stat > span { font-size: .9rem; color: var(--muted); display: block; max-width: 210px; line-height: 1.5; }

/* ---------- Split layouts ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.split--center { align-items: center; }
.media-stack { position: relative; padding: 0 0 40px 40px; }
.media-stack::before { content: ""; position: absolute; left: 0; bottom: 0; width: 70%; height: 70%; background: var(--tint); border-radius: var(--radius-lg); z-index: -1; }
.media-stack img { border-radius: var(--radius-lg); aspect-ratio: 4 / 4.4; object-fit: cover; width: 100%; box-shadow: var(--shadow-lg); }
.media-stack__badge {
	position: absolute; right: -20px; bottom: 70px; background: var(--navy); color: rgba(255, 255, 255, .75);
	padding: 22px 26px; border-radius: var(--radius); box-shadow: var(--shadow-lg); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase;
	animation: floaty 6s ease-in-out infinite;
}
.media-stack__badge strong { display: block; color: var(--white); font-size: 2.2rem; font-weight: 500; letter-spacing: 0; line-height: 1.1; margin: 4px 0; }
@keyframes floaty { 50% { transform: translateY(-10px); } }

.checks { list-style: none; padding: 0; margin: 26px 0 34px; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); }
.checks .icon { width: 22px; height: 22px; padding: 4px; background: var(--tint); color: var(--blue); border-radius: 50%; margin-top: 3px; }

/* ---------- Market / why now ---------- */
.market-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.market-card { grid-column: span 2; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius); padding: 30px; transition: transform .4s var(--ease), background .4s; }
.market-card:hover { transform: translateY(-6px); background: rgba(255, 255, 255, .09); }
.market-card--big { grid-column: span 3; background: var(--navy-2); padding: 40px; }
.market-card--blue { background: var(--blue); border-color: var(--blue); }
.market-card--blue:hover { background: var(--blue-2); }
.market-card strong { display: block; color: var(--white); font-weight: 400; font-size: 2.4rem; line-height: 1; margin-bottom: 14px; }
.market-card--big strong { font-size: clamp(3rem, 6vw, 4.6rem); }
.market-card p { margin: 0; color: rgba(255, 255, 255, .8); }
.market-card small { display: block; margin-top: 18px; font-size: .74rem; color: rgba(255, 255, 255, .55); }
.trend-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 20px; }
.trend { padding: 30px; border-top: 2px solid var(--blue-soft); background: rgba(255, 255, 255, .03); border-radius: 0 0 var(--radius) var(--radius); }
.trend span { font-size: .8rem; color: var(--blue-soft); letter-spacing: .1em; }
.trend h3 { margin: 8px 0 8px; }
.trend p { margin: 0; font-size: .95rem; }
.fineprint { margin-top: 34px; font-size: .74rem; color: rgba(255, 255, 255, .45); }

/* ---------- Services carousel ---------- */
.carousel { overflow: hidden; margin: 0 -12px; padding: 12px 12px 30px; cursor: grab; }
.carousel.is-dragging { cursor: grabbing; }
.carousel__track { display: flex; gap: 24px; transition: transform .7s var(--ease); will-change: transform; }
.carousel.is-dragging .carousel__track { transition: none; }
.service-card {
	flex: 0 0 calc((100% - 48px) / 3); background: var(--white); border-radius: var(--radius-lg); padding: 34px 32px;
	border: 1px solid var(--line); position: relative; overflow: hidden; user-select: none;
	transition: transform .45s var(--ease), box-shadow .45s, border-color .45s;
}
.service-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card:hover::after { transform: scaleX(1); }
.service-card__top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 30px; }
.service-card__icon { width: 58px; height: 58px; border-radius: 16px; background: var(--tint); color: var(--blue); display: grid; place-items: center; transition: background .4s, color .4s, transform .4s var(--ease); }
.service-card__icon .icon { width: 28px; height: 28px; }
.service-card:hover .service-card__icon { background: var(--navy); color: var(--white); transform: rotate(-8deg); }
.service-card__num { font-size: 2.6rem; font-weight: 300; color: var(--line); line-height: 1; }
.service-card__pillar { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); margin-bottom: 8px; }
.service-card h3 { font-size: 1.2rem; }
.service-card p:last-child { margin: 0; color: var(--muted); font-size: .95rem; }
.carousel-arrows { display: flex; gap: 10px; }
.carousel-progress { height: 3px; background: var(--line); border-radius: 2px; position: relative; overflow: hidden; margin-top: 10px; }
.carousel-progress span { position: absolute; left: 0; top: 0; bottom: 0; background: var(--blue); width: 33%; transition: transform .7s var(--ease), width .4s; }

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; position: relative; }
.steps::before { content: ""; position: absolute; top: 28px; left: 28px; right: 12%; height: 2px; background: linear-gradient(90deg, var(--line) 50%, transparent 0) 0 0 / 12px 2px repeat-x; }
.step { position: relative; }
.step__num { width: 56px; height: 56px; border-radius: 50%; background: var(--navy); color: var(--white); display: grid; place-items: center; font-weight: 500; margin-bottom: 26px; position: relative; box-shadow: 0 0 0 8px var(--white); transition: background .3s, transform .4s var(--ease); }
.step:hover .step__num { background: var(--blue); transform: scale(1.1); }
.step h3 { font-size: 1.3rem; }
.step p { color: var(--muted); font-size: .95rem; }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.team-card { background: var(--white); border-radius: var(--radius-lg); padding: 34px 26px 30px; text-align: center; transition: transform .45s var(--ease), box-shadow .45s; }
.team-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.team-card__photo { width: 148px; height: 148px; margin: 0 auto 22px; border-radius: 50%; padding: 5px; background: linear-gradient(135deg, var(--blue), var(--navy)); position: relative; }
.team-card__photo img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 4px solid var(--white); transition: transform .6s var(--ease); }
.team-card:hover .team-card__photo img { transform: scale(1.04); }
.team-card__initial { width: 100%; height: 100%; border-radius: 50%; border: 4px solid var(--white); background: var(--navy); color: var(--white); display: grid; place-items: center; font-size: 3rem; font-weight: 300; }
.team-card h3 { margin-bottom: 4px; font-size: 1.2rem; }
.team-card__role { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; font-weight: 500; }
.team-card p:last-child { color: var(--muted); font-size: .9rem; margin: 0; line-height: 1.6; }

.leader { display: grid; grid-template-columns: 420px 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; padding: 30px 0 60px; }
.leader + .leader { border-top: 1px solid var(--line); padding-top: 70px; }
.leader--flip { grid-template-columns: 1fr 420px; }
.leader--flip .leader__photo { order: 2; }
.leader__photo { position: relative; max-width: 420px; }
.leader__photo::before { content: ""; position: absolute; inset: -18px; border: 2px dashed var(--blue-soft); border-radius: 50%; animation: rot 50s linear infinite; }
.leader__photo::after { content: ""; position: absolute; width: 22px; height: 22px; right: 9%; top: 6%; border-radius: 50%; background: var(--blue); z-index: 2; box-shadow: 0 0 0 6px var(--white); }
@keyframes rot { to { transform: rotate(360deg); } }
.leader__photo img { position: relative; z-index: 1; border-radius: 50%; aspect-ratio: 1; object-fit: cover; width: 100%; box-shadow: var(--shadow-lg); border: 8px solid var(--white); }
.tags { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.tags li { font-size: .82rem; padding: 7px 16px; border-radius: 999px; background: var(--tint); color: var(--ink); }
.tags--sm li { font-size: .76rem; padding: 5px 12px; background: var(--white); border: 1px solid var(--line); }

.member-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.member { display: grid; grid-template-columns: 130px 1fr; gap: 28px; background: var(--white); padding: 34px; border-radius: var(--radius-lg); transition: transform .45s var(--ease), box-shadow .45s; }
.member:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.member__photo { width: 130px; height: 130px; border-radius: 50%; overflow: hidden; }
.member__photo img { width: 100%; height: 100%; object-fit: cover; }
.member__photo .team-card__initial { border: 0; }
.member h3 { margin-bottom: 4px; }
.member p { font-size: .94rem; color: var(--muted); }

/* ---------- Presence / orbit ---------- */
.presence { overflow: hidden; }
.market-list { list-style: none; padding: 0; margin: 34px 0 0; }
.market-list li { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, .14); color: var(--white); font-size: 1.1rem; transition: padding .3s var(--ease); }
.market-list li:hover { padding-left: 10px; }
.market-list small { font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--blue-soft); }
.orbit { position: relative; width: min(460px, 100%); aspect-ratio: 1; margin: 0 auto; }
.orbit__ring { position: absolute; border: 1px solid rgba(255, 255, 255, .16); border-radius: 50%; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.orbit__ring--1 { width: 100%; height: 100%; animation: spin 60s linear infinite; border-style: dashed; }
.orbit__ring--2 { width: 62%; height: 62%; background: radial-gradient(circle, rgba(75, 82, 184, .45), transparent 70%); }
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
.orbit__core { position: absolute; top: 50%; left: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; background: var(--white); display: grid; place-items: center; }
.orbit__core::before, .orbit__core::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .5); animation: pulse 2.8s var(--ease) infinite; }
.orbit__core::after { animation-delay: 1.4s; }
.orbit__core span { width: 30px; height: 30px; border-radius: 50%; background: var(--blue); }
@keyframes pulse { from { transform: scale(1); opacity: .9; } to { transform: scale(2.6); opacity: 0; } }
.orbit__label--core { position: absolute; top: calc(50% + 50px); left: 50%; transform: translateX(-50%); color: var(--white); font-weight: 500; white-space: nowrap; }
.orbit__node { position: absolute; display: flex; flex-direction: column; align-items: center; gap: 8px; color: rgba(255, 255, 255, .85); font-size: .92rem; }
.orbit__node b { font-weight: 400; }
.orbit__node i { width: 18px; height: 18px; border-radius: 50%; background: var(--white); box-shadow: 0 0 0 6px rgba(255, 255, 255, .12); }
.orbit__node--n { top: 0; left: 50%; transform: translate(-50%, -9px); flex-direction: column-reverse; }
.orbit__node--s { bottom: 0; left: 50%; transform: translate(-50%, 9px); }
.orbit__node--e { right: 0; top: 50%; transform: translate(9px, -9px); align-items: flex-end; }
.orbit__node--w { left: 0; top: 50%; transform: translate(-9px, -9px); align-items: flex-start; }
.orbit__node::before { content: ""; position: absolute; }
.orbit::before, .orbit::after { content: ""; position: absolute; top: 50%; left: 50%; background: linear-gradient(90deg, rgba(255, 255, 255, .35) 50%, transparent 0) 0 0 / 8px 1px; }
.orbit::before { width: 100%; height: 1px; transform: translateX(-50%); }
.orbit::after { height: 100%; width: 1px; transform: translateY(-50%); background: linear-gradient(0deg, rgba(255, 255, 255, .35) 50%, transparent 0) 0 0 / 1px 8px; }

/* ---------- CTA band ---------- */
.cta-band { padding: 0 0 clamp(70px, 9vw, 110px); background: linear-gradient(var(--white) 50%, var(--navy) 50%); }
.section--tint + .cta-band, .section--navy + .cta-band { padding-top: 0; }
.section--tint + .cta-band { background: linear-gradient(var(--tint) 50%, var(--navy) 50%); }
.section--navy + .cta-band { background: var(--navy); }
.cta-band__inner {
	background: var(--blue) url("assets/img/building-dusk-wide.jpg") center/cover; border-radius: var(--radius-lg);
	padding: clamp(40px, 6vw, 70px); display: flex; align-items: center; justify-content: space-between; gap: 30px;
	position: relative; overflow: hidden; color: rgba(255, 255, 255, .85);
}
.cta-band__inner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(57, 63, 152, .97) 30%, rgba(14, 26, 69, .85)); }
.cta-band__inner > * { position: relative; }
.cta-band h2 { color: var(--white); margin-bottom: .4em; }
.cta-band p { margin: 0; max-width: 560px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, .7); padding: 20px 0 0; font-size: .94rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: 50px; padding-bottom: 60px; }
.site-footer__brand img { height: 56px; width: auto; margin-bottom: 22px; }
.site-footer h3 { color: var(--white); font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; margin-bottom: 22px; }
.footer-menu { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-menu a { color: rgba(255, 255, 255, .7); }
.footer-menu a:hover { color: var(--white); }
.footer-menu--plain span { font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-soft); margin-left: 8px; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; }
.contact-list .icon { color: var(--blue-soft); width: 20px; height: 20px; margin-top: 3px; }
.contact-list a { color: rgba(255, 255, 255, .85); word-break: break-word; }
.social { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); color: var(--white); }
.social:hover { background: var(--white); color: var(--navy); }
.site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding: 24px 0; display: flex; justify-content: space-between; gap: 20px; font-size: .82rem; color: rgba(255, 255, 255, .5); flex-wrap: wrap; }
.site-footer__bottom p { margin: 0; }
.site-footer__bottom p:last-child { letter-spacing: .2em; text-transform: uppercase; font-size: .72rem; }

.to-top { position: fixed; right: 22px; bottom: 22px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--blue); color: var(--white); display: grid; place-items: center; z-index: 90; opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity .3s, transform .3s var(--ease), background .3s; box-shadow: var(--shadow); }
.to-top .icon { transform: rotate(-90deg); }
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--navy); }

/* ---------- Page banner ---------- */
.page-banner { position: relative; min-height: 440px; display: flex; align-items: flex-end; color: var(--white); overflow: hidden; background: var(--navy); padding: 120px 0 70px; }
.page-banner__bg { position: absolute; inset: 0; background-size: cover; background-position: center 35%; animation: kenburns 14s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.15); } to { transform: scale(1); } }
.page-banner::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(14, 26, 69, .95) 0%, rgba(14, 26, 69, .7) 55%, rgba(14, 26, 69, .35) 100%); }
.page-banner__inner { position: relative; z-index: 2; }
.page-banner h1 { color: var(--white); margin-bottom: .3em; }
.page-banner__intro { max-width: 620px; font-weight: 300; font-size: 1.1rem; color: rgba(255, 255, 255, .85); margin: 0; }
.crumbs { font-size: .82rem; color: rgba(255, 255, 255, .6); margin-bottom: 22px; display: flex; gap: 10px; }
.crumbs a { color: rgba(255, 255, 255, .85); }
.crumbs a:hover { color: var(--white); }

/* ---------- About ---------- */
.glance { background: var(--navy); border-radius: var(--radius-lg); padding: 44px 40px; color: var(--white); box-shadow: var(--shadow-lg); }
.glance dl { margin: 0; display: grid; gap: 22px; }
.glance dt { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--blue-soft); margin-bottom: 4px; }
.glance dd { margin: 0; font-size: 1.08rem; font-weight: 500; line-height: 1.45; }
.glance dl > div { padding-bottom: 20px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.glance dl > div:last-child { border: 0; padding-bottom: 0; }

.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mv-card { background: var(--white); border-radius: var(--radius-lg); padding: 44px; border-left: 5px solid var(--blue); transition: transform .45s var(--ease), box-shadow .45s; }
.mv-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.mv-card__icon { width: 56px; height: 56px; border-radius: 16px; background: var(--tint); color: var(--blue); display: grid; place-items: center; margin-bottom: 22px; }
.mv-card__icon .icon { width: 28px; height: 28px; }
.mv-card h3 { font-size: 1.5rem; }
.mv-card p { font-size: 1.12rem; color: var(--ink); font-weight: 300; margin: 0; }

.feature-grid { display: grid; gap: 24px; }
.feature-grid--3 { grid-template-columns: repeat(3, 1fr); }
.feature-grid--4 { grid-template-columns: repeat(4, 1fr); }
.feature { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px 32px; transition: transform .45s var(--ease), box-shadow .45s, border-color .45s; }
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.feature__num { display: block; font-size: 3.4rem; font-weight: 300; color: var(--blue); line-height: 1; margin-bottom: 18px; }
.feature p { color: var(--muted); margin: 0; font-size: .95rem; }

.split--network { margin-top: 24px; align-items: stretch; gap: 24px; }
.network-card { background: var(--navy); border-radius: var(--radius-lg); padding: 44px; color: rgba(255, 255, 255, .78); }
.network-card h3 { color: var(--white); font-size: 1.5rem; }
.network-card__nums { display: flex; gap: 40px; margin: 22px 0; }
.network-card__nums strong { display: block; color: var(--white); font-size: 3rem; font-weight: 400; line-height: 1; }
.network-card__nums > div > span { font-size: .88rem; display: block; margin-top: 6px; }
.network-card p { margin: 0; }
.events-card { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 44px; }
.events-card h3 { font-size: 1.4rem; }
.events-card ul { list-style: none; padding: 0; margin: 20px 0 0; }
.events-card li { padding: 13px 0 13px 26px; border-bottom: 1px solid var(--line); position: relative; color: var(--ink); }
.events-card li:last-child { border: 0; }
.events-card li::before { content: ""; position: absolute; left: 2px; top: 50%; width: 9px; height: 9px; margin-top: -4px; border-radius: 50%; background: var(--blue); }

.tabs__list { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 30px; }
.tabs__tab { border: 1px solid var(--line); background: var(--white); border-radius: 999px; padding: 12px 24px; color: var(--ink); font-weight: 500; display: inline-flex; gap: 10px; align-items: center; transition: background .3s, color .3s, border-color .3s; }
.tabs__tab span { font-size: .78rem; color: var(--blue); transition: color .3s; }
.tabs__tab:hover { border-color: var(--blue); }
.tabs__tab.is-active { background: var(--navy); color: var(--white); border-color: var(--navy); }
.tabs__tab.is-active span { color: var(--blue-soft); }
.tabs__panel { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tabs__panel[hidden] { display: none; }
.tabs__panel.is-active .pillar-item { animation: rise .6s var(--ease) both; }
.tabs__panel.is-active .pillar-item:nth-child(2) { animation-delay: .08s; }
.tabs__panel.is-active .pillar-item:nth-child(3) { animation-delay: .16s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
.pillar-item { background: var(--white); border-radius: var(--radius-lg); padding: 34px; }
.pillar-item__icon { width: 52px; height: 52px; border-radius: 14px; background: var(--tint); color: var(--blue); display: grid; place-items: center; margin-bottom: 20px; }
.pillar-item p { color: var(--muted); margin: 0; font-size: .95rem; }

.why-card { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; transition: transform .45s var(--ease), box-shadow .45s, border-color .45s, background .45s; }
.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.why-card__icon { width: 50px; height: 50px; border-radius: 14px; background: var(--tint); color: var(--blue); display: grid; place-items: center; margin-bottom: 20px; transition: background .4s, color .4s; }
.why-card:hover .why-card__icon { background: var(--blue); color: var(--white); }
.why-card p { color: var(--muted); margin: 0; font-size: .95rem; }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 260px; gap: 20px; grid-auto-flow: dense; }
.gallery-item { margin: 0; position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--tint); }
.gallery-item--wide { grid-column: span 2; grid-row: span 2; }
.gallery-item--full { grid-column: 1 / -1; grid-row: span 2; }
.gallery-item--tall { grid-row: span 2; }
.gallery-item--span2 { grid-column: span 2; }
.gallery-item__btn { border: 0; padding: 0; width: 100%; height: 100%; display: block; background: none; position: relative; cursor: zoom-in; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.gallery-item:hover img { transform: scale(1.07); }
.gallery-item__btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(14, 26, 69, .85), rgba(14, 26, 69, 0) 55%); opacity: .6; transition: opacity .4s; }
.gallery-item:hover .gallery-item__btn::after { opacity: 1; }
.gallery-item__zoom { position: absolute; top: 18px; right: 18px; width: 44px; height: 44px; border-radius: 50%; background: var(--white); color: var(--navy); display: grid; place-items: center; font-size: 1.5rem; z-index: 2; transform: scale(0); transition: transform .4s var(--ease); }
.gallery-item:hover .gallery-item__zoom { transform: scale(1); }
.gallery-item figcaption { position: absolute; left: 22px; right: 22px; bottom: 18px; color: var(--white); font-size: .92rem; z-index: 2; pointer-events: none; transform: translateY(6px); transition: transform .4s var(--ease); }
.gallery-item:hover figcaption { transform: none; }

.lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(8, 14, 38, .95); display: flex; align-items: center; justify-content: center; padding: 60px 90px; opacity: 0; transition: opacity .35s; }
.lightbox.is-open { opacity: 1; }
.lightbox[hidden] { display: none; }
.lightbox__figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lightbox__figure img { max-height: calc(100vh - 160px); width: auto; border-radius: 10px; animation: lbin .5s var(--ease); }
.lightbox__figure figcaption { color: rgba(255, 255, 255, .8); margin-top: 16px; text-align: center; }
@keyframes lbin { from { opacity: 0; transform: scale(.96); } }
.lightbox__close { position: absolute; top: 20px; right: 20px; }
.lightbox__nav { position: absolute; top: 50%; margin-top: -24px; }
.lightbox__nav--prev { left: 22px; }
.lightbox__nav--next { right: 22px; }

/* ---------- Contact ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.contact-cards { list-style: none; padding: 0; margin: 30px 0; display: grid; gap: 14px; }
.contact-cards li { display: flex; gap: 18px; align-items: center; padding: 18px 22px; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .3s, transform .3s var(--ease); }
.contact-cards li:hover { border-color: var(--blue); transform: translateX(6px); }
.contact-cards__icon { width: 48px; height: 48px; border-radius: 12px; background: var(--tint); color: var(--blue); display: grid; place-items: center; flex: none; }
.contact-cards small, .markets-inline small { display: block; font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.contact-cards strong, .contact-cards a { color: var(--ink); font-weight: 500; word-break: break-word; }
.markets-inline p { color: var(--ink); font-weight: 500; margin: 4px 0 0; }

.form-card { background: var(--white); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 48px); box-shadow: var(--shadow-lg); border-top: 5px solid var(--blue); scroll-margin-top: 100px; }
.form-card h3 { font-size: 1.6rem; margin-bottom: 4px; }
.form-card > p { color: var(--muted); }
.form { display: grid; gap: 18px; margin-top: 10px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: grid; gap: 6px; }
.form label > span { font-size: .82rem; font-weight: 500; color: var(--ink); }
.form input, .form select, .form textarea {
	width: 100%; font: inherit; font-size: .95rem; color: var(--ink); background: var(--tint-2);
	border: 1.5px solid var(--line); border-radius: 10px; padding: 13px 15px; transition: border-color .25s, background .25s, box-shadow .25s;
}
.form textarea { resize: vertical; min-height: 130px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--blue); background: var(--white); box-shadow: 0 0 0 4px rgba(57, 63, 152, .12); }
.notice { padding: 14px 18px; border-radius: 10px; margin: 14px 0; font-size: .93rem; }
.notice--ok { background: #e8f6ee; color: #145a32; }
.notice--err { background: #fdecec; color: #8a1f1f; }
.map-wrap { line-height: 0; filter: grayscale(.4) contrast(1.05); }
.map-wrap iframe { width: 100%; height: 420px; border: 0; }

/* ---------- Generic content ---------- */
.entry-content { max-width: 860px; }
.entry-content .wp-block-gallery { margin: 30px 0; }
.post-row { padding: 30px 0; border-bottom: 1px solid var(--line); }
.post-row__date { color: var(--muted); font-size: .85rem; }

/* ---------- Scroll animations ---------- */
.js .anim { opacity: 0; transition: opacity .9s var(--ease), transform .9s var(--ease); will-change: opacity, transform; }
.js .anim[data-anim="up"] { transform: translateY(40px); }
.js .anim[data-anim="left"] { transform: translateX(-50px); }
.js .anim[data-anim="right"] { transform: translateX(50px); }
.js .anim[data-anim="zoom"] { transform: scale(.92); }
.js .anim[data-delay="1"] { transition-delay: .1s; }
.js .anim[data-delay="2"] { transition-delay: .2s; }
.js .anim[data-delay="3"] { transition-delay: .3s; }
.js .anim.is-in { opacity: 1; transform: none; }

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

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.menu { gap: 22px; }
	.main-nav { gap: 22px; }
	.team-grid { grid-template-columns: repeat(2, 1fr); }
	.service-card { flex-basis: calc((100% - 24px) / 2); }
	.feature-grid--4 { grid-template-columns: repeat(2, 1fr); }
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
	.leader, .leader--flip { grid-template-columns: 340px 1fr; }
	.leader--flip { grid-template-columns: 1fr 340px; }
}

@media (max-width: 960px) {
	:root { --header-h: 72px; }
	.nav-toggle { display: block; }
	.site-header { backdrop-filter: none; -webkit-backdrop-filter: none; }
	.brand__logo { height: 42px; }
	.main-nav {
		position: fixed; inset: 0; background: var(--navy); flex-direction: column; justify-content: center; align-items: flex-start;
		padding: 90px 32px 40px; gap: 30px; transform: translateX(100%); transition: transform .5s var(--ease); z-index: 110; visibility: hidden;
	}
	.nav-open .main-nav { transform: none; visibility: visible; }
	.nav-open { overflow: hidden; }
	.nav-open .nav-toggle span:not(.screen-reader-text) { background: var(--white) !important; }
	.nav-open .site-header { background: transparent; box-shadow: none; }
	.main-nav .menu { flex-direction: column; gap: 6px; }
	.main-nav .menu a, .site-header.is-scrolled .main-nav .menu a { color: var(--white); font-size: 1.7rem; font-weight: 300; }
	.main-nav .main-nav__cta { background: var(--white) !important; color: var(--navy) !important; }

	.split, .contact-layout { grid-template-columns: 1fr; }
	.split__media { order: -1; }
	.stats-strip__grid { grid-template-columns: repeat(2, 1fr); }
	.stat { padding: 30px 20px; }
	.stat:nth-child(odd) { border-left: 0; padding-left: 0; }
	.stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
	.market-card, .market-card--big { grid-column: span 6; }
	.trend-row, .feature-grid--3, .tabs__panel, .mv-grid, .member-grid { grid-template-columns: 1fr; }
	.steps { grid-template-columns: 1fr 1fr; }
	.steps::before { display: none; }
	.leader, .leader--flip { grid-template-columns: 1fr; }
	.leader--flip .leader__photo { order: 0; }
	.leader__photo { max-width: 420px; }
	.gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 220px; }
	.cta-band__inner { flex-direction: column; align-items: flex-start; }
	.media-stack__badge { right: 10px; }
	.hero__controls { bottom: 110px; }
}

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

@media (max-width: 640px) {
	.container { padding: 0 18px; }
	.hero__slide::before { background: linear-gradient(0deg, rgba(14, 26, 69, .96) 0%, rgba(14, 26, 69, .82) 45%, rgba(14, 26, 69, .55) 100%); }
	.orbit { width: 74%; margin: 30px auto; }
	.orbit__node { font-size: .82rem; }
	.hero { min-height: 680px; }
	.hero__content { padding-top: 60px; }
	.hero__arrows { display: none; }
	.hero__pills span:nth-child(n+3) { display: none; }
	.service-card { flex-basis: 86%; }
	.team-grid, .feature-grid--4, .steps, .site-footer__grid, .form__row { grid-template-columns: 1fr; }
	.gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 240px; }
	.gallery-item--wide, .gallery-item--full, .gallery-item--tall, .gallery-item--span2 { grid-column: auto; grid-row: span 1; }
	.member { grid-template-columns: 1fr; text-align: left; }
	.media-stack { padding: 0 0 24px 24px; }
	.media-stack__badge { bottom: 40px; padding: 16px 20px; }
	.lightbox { padding: 60px 14px; }
	.lightbox__nav { top: auto; bottom: 18px; margin: 0; }
	.network-card, .events-card, .glance, .mv-card { padding: 30px 26px; }
	.page-banner { min-height: 360px; padding-bottom: 50px; }
}
