/* ═══════════════════════════════════════════════════════
   DafinCore — Homepage Module Styles (v1.7.0)
   Design System: Stitch Academic Intelligence Interface
   ═══════════════════════════════════════════════════════ */

/* ─── Design Tokens ───────────────────────────────── */
:root {
	--dhp-primary: #4f378a;
	--dhp-primary-container: #6750a4;
	--dhp-primary-light: #e9ddff;
	--dhp-primary-dim: #cfbcff;
	--dhp-teal: #503d00;
	--dhp-teal-container: #c9a74d;
	--dhp-surface: #fdf7ff;
	--dhp-surface-container: #f2ecf4;
	--dhp-surface-container-low: #f8f2fa;
	--dhp-surface-container-high: #ece6ee;
	--dhp-on-surface: #1d1b20;
	--dhp-on-surface-variant: #494551;
	--dhp-outline: #7a7582;
	--dhp-outline-variant: #cbc4d2;
	--dhp-error: #ba1a1a;
	--dhp-radius-sm: 0.25rem;
	--dhp-radius: 0.5rem;
	--dhp-radius-md: 0.75rem;
	--dhp-radius-lg: 1rem;
	--dhp-radius-xl: 1.5rem;
	--dhp-shadow-sm: 0 1px 3px rgba(0,0,0,0.04);
	--dhp-shadow: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -1px rgba(0,0,0,0.03);
	--dhp-shadow-lg: 0 10px 15px -3px rgba(103,80,164,0.1), 0 4px 6px -2px rgba(103,80,164,0.05);
	--dhp-container-max: 1440px;
	--dhp-gutter: 24px;
	--dhp-margin-desktop: 64px;
	--dhp-margin-mobile: 20px;
}

/* ─── Base & Reset ────────────────────────────────── */

.dafin-homepage-wrap {
	width: 100%;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
	color: var(--dhp-on-surface);
	line-height: 1.6;
	overflow-x: hidden;
	background-color: var(--dhp-surface);
}

/* Boxed container for all sections after hero */
.dhp-boxed {
	max-width: var(--dhp-container-max);
	margin: 0 auto;
	padding: 0 var(--dhp-margin-desktop);
}

.dhp-container {
	max-width: var(--dhp-container-max);
	margin: 0 auto;
	padding: 0 var(--dhp-margin-desktop);
}

/* ─── Glass Panel (shared component) ─────────────── */
.glass-panel {
	background-color: rgba(255, 255, 255, 0.8);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border: 1px solid rgba(103, 80, 164, 0.1);
	box-shadow: var(--dhp-shadow);
	border-radius: var(--dhp-radius-lg);
	transition: all 0.3s ease;
}
.glass-panel:hover {
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	box-shadow: var(--dhp-shadow-lg);
	border-color: rgba(103, 80, 164, 0.2);
}

/* ─── Section Base ────────────────────────────────── */
.dhp-section {
	padding: 5rem 0;
	position: relative;
}
.dhp-section + .dhp-section {
	border-top: 1px solid rgba(203, 196, 210, 0.2);
}
.dhp-section:nth-child(even) {
	background: var(--dhp-surface-container-low);
}
.dhp-section__header {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	margin-bottom: 2rem;
	gap: 1rem;
}
.dhp-section__header--center {
	flex-direction: column;
	align-items: center;
	text-align: center;
}
.dhp-section__title {
	font-family: 'Playfair Display', serif;
	font-size: 32px;
	font-weight: 700;
	line-height: 1.2;
	color: var(--dhp-primary);
	margin: 0 0 0.25rem;
}
.dhp-section__title--center {
	text-align: center;
	margin-bottom: 3rem;
}
.dhp-section__subtitle {
	font-size: 18px;
	font-weight: 400;
	line-height: 1.6;
	color: var(--dhp-on-surface-variant);
	margin: 0;
	max-width: 600px;
}
.dhp-section__footer {
	margin-top: 1.5rem;
	text-align: center;
}
.dhp-section__footer--mobile {
	display: none;
}
.dhp-section-image {
	border-radius: 12px;
	overflow: hidden;
}
.dhp-section-image img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 12px;
}
/* Split layout: text left, image right */
.dhp-split-layout {
	display: flex;
	align-items: center;
	gap: 2.5rem;
}
.dhp-split-layout__text {
	flex: 1;
	min-width: 0;
}
.dhp-split-layout__desc {
	margin-top: 1rem;
	font-size: 0.95rem;
	line-height: 1.7;
	color: var(--dhp-on-surface, #4a4458);
}
.dhp-split-layout__desc p {
	margin: 0 0 0.75rem;
}
.dhp-split-layout__desc p:last-child {
	margin-bottom: 0;
}
.dhp-split-layout__image {
	width: 50%;
	flex-shrink: 0;
	border-radius: 12px;
	overflow: hidden;
}
.dhp-split-layout__image img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 12px;
}
@media (max-width: 768px) {
	.dhp-split-layout {
		flex-direction: column;
		gap: 1.5rem;
	}
	.dhp-split-layout__image {
		width: 100%;
	}
}
.dhp-empty {
	text-align: center;
	color: var(--dhp-outline);
	font-style: italic;
	padding: 2rem;
}

/* ─── Chips & Links ───────────────────────────────── */
.dhp-chip {
	display: inline-block;
	font-family: 'Inter', sans-serif;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.03em;
	padding: 3px 10px;
	border-radius: var(--dhp-radius-sm);
	text-transform: uppercase;
}
.dhp-chip--primary {
	background: rgba(103, 80, 164, 0.1);
	color: var(--dhp-primary);
	border: 1px solid rgba(103, 80, 164, 0.2);
}
.dhp-chip--accent {
	background: rgba(80, 61, 0, 0.08);
	color: var(--dhp-teal);
	border: 1px solid rgba(80, 61, 0, 0.15);
}
.dhp-chip--muted {
	background: var(--dhp-surface-container-high);
	color: var(--dhp-on-surface-variant);
	border: 1px solid var(--dhp-outline-variant);
}
.dhp-link {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-family: 'Inter', sans-serif;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0.05em;
	color: var(--dhp-primary);
	text-decoration: none;
	transition: color 0.2s;
}
.dhp-link:hover {
	color: var(--dhp-primary-container);
}
.dhp-link .material-symbols-outlined {
	font-size: 16px;
}
.dhp-link--header {
	white-space: nowrap;
}
.dhp-link--small {
	font-size: 12px;
	font-weight: 700;
}
.dhp-link--small .material-symbols-outlined {
	font-size: 14px;
}
.dhp-hide-mobile { display: inline-flex; }

/* ─── Hero Section ────────────────────────────────── */
.dhp-hero {
	position: relative;
	min-height: 80vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 5rem var(--dhp-margin-desktop);
	overflow: hidden;
	background-color: var(--dhp-surface);
	background-image: radial-gradient(rgba(103, 80, 164, 0.05) 1px, transparent 1px);
	background-size: 32px 32px;
}
.dhp-hero__bg-pattern {
	position: absolute;
	inset: 0;
	opacity: 0.1;
	background-image: radial-gradient(rgba(103, 80, 164, 0.15) 1px, transparent 1px);
	background-size: 24px 24px;
	pointer-events: none;
}
.dhp-hero__bg-gradient {
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, rgba(253, 247, 255, 0.9) 0%, rgba(248, 242, 250, 0.7) 50%, transparent 100%);
	pointer-events: none;
}
.dhp-hero__content {
	position: relative;
	z-index: 10;
	max-width: var(--dhp-container-max);
	margin: 0 auto;
	width: 100%;
	display: grid;
	gap: 3rem;
}
.dhp-hero__text {
	max-width: 800px;
}
.dhp-hero__title {
	font-family: 'Playfair Display', serif;
	font-size: 48px;
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.02em;
	color: var(--dhp-primary);
	margin: 0 0 1.5rem;
}
.dhp-hero__subtitle {
	font-family: 'Inter', sans-serif;
	font-size: 18px;
	line-height: 1.6;
	color: var(--dhp-on-surface-variant);
	max-width: 700px;
	margin: 0;
}

/* Hero Stats Grid */
.dhp-hero__stats {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
	gap: 1rem;
}
.dhp-stat-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 0.5rem;
	padding: 1.25rem 1rem;
	border-radius: var(--dhp-radius-lg);
	text-decoration: none;
	color: inherit;
	transition: transform 0.2s ease;
}
.dhp-stat-card:hover {
	transform: translateY(-4px);
}
.dhp-stat-card__icon {
	font-size: 24px;
	color: var(--dhp-primary-container);
}
.dhp-stat-card__value {
	font-family: 'Playfair Display', serif;
	font-size: 24px;
	font-weight: 600;
	line-height: 1.3;
	color: var(--dhp-primary);
}
.dhp-stat-card__label {
	font-family: 'Inter', sans-serif;
	font-size: 10px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--dhp-on-surface-variant);
}

/* ─── Honors Section ──────────────────────────────── */
.dhp-honors-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 1.25rem;
	margin-top: 2rem;
}

.dhp-honor-card {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 1rem 1.25rem;
	border-radius: var(--dhp-radius-lg);
	background: var(--dhp-surface-container);
	border: 1px solid var(--dhp-outline-variant);
	transition: box-shadow 0.2s ease;
}

.dhp-honor-card:hover {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.dhp-honor-card__img {
	width: 3.5rem;
	height: 3.5rem;
	border-radius: var(--dhp-radius-md);
	overflow: hidden;
	flex-shrink: 0;
	background: var(--dhp-primary-light);
	display: flex;
	align-items: center;
	justify-content: center;
}

.dhp-honor-card__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.dhp-honor-card__img--placeholder .material-symbols-outlined {
	font-size: 1.5rem;
	color: var(--dhp-primary-container);
}

.dhp-honor-card__content {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	min-width: 0;
}

.dhp-honor-card__year {
	font-size: 0.75rem;
	font-weight: 600;
	color: var(--dhp-teal-container);
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

.dhp-honor-card__title {
	font-size: 0.925rem;
	font-weight: 600;
	color: var(--dhp-on-surface);
	margin: 0;
	line-height: 1.35;
}

.dhp-honor-card__meta {
	font-size: 0.8rem;
	color: var(--dhp-on-surface-variant);
}

@media (max-width: 768px) {
	.dhp-honors-grid {
		grid-template-columns: 1fr;
	}
}

/* Legacy honors split (kept for backward compat) */
.dhp-honors-split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 3rem;
}
.dhp-honors-col__heading {
	font-family: 'Playfair Display', serif;
	font-size: 24px;
	font-weight: 600;
	color: var(--dhp-primary-container);
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-bottom: 1.5rem;
}
.dhp-honors-col__heading .material-symbols-outlined {
	font-size: 30px;
}
.dhp-honors-col__heading--teal {
	color: var(--dhp-teal);
}
.dhp-honors-dhc-list {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}
.dhp-dhc-card {
	padding: 1.25rem 1.5rem;
	border-left: 4px solid var(--dhp-primary-container);
}
.dhp-dhc-card__year {
	font-family: 'Inter', sans-serif;
	font-size: 12px;
	font-weight: 600;
	color: var(--dhp-on-surface-variant);
	margin-bottom: 0.25rem;
}
.dhp-dhc-card__title {
	font-family: 'Inter', sans-serif;
	font-size: 16px;
	font-weight: 600;
	color: var(--dhp-primary);
	margin: 0;
}
.dhp-dhc-card__country {
	font-size: 13px;
	color: var(--dhp-on-surface-variant);
}

/* Contributions Panel */
.dhp-contributions-panel {
	padding: 2rem;
	height: auto;
	display: flex;
	flex-direction: column;
}
.dhp-contributions__title {
	font-family: 'Inter', sans-serif;
	font-size: 20px;
	font-weight: 600;
	color: var(--dhp-primary);
	margin: 0 0 1rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid var(--dhp-outline-variant);
}
.dhp-contributions__text {
	font-size: 16px;
	line-height: 1.5;
	color: var(--dhp-on-surface-variant);
	margin: 0 0 1.5rem;
}
.dhp-contributions__list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}
.dhp-contributions__list li {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	font-size: 14px;
	color: var(--dhp-on-surface-variant);
}
.dhp-contributions__list .material-symbols-outlined {
	color: var(--dhp-teal);
	font-size: 18px;
	flex-shrink: 0;
	margin-top: 2px;
}
.dhp-honors-other {
	margin-top: 1.5rem;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}
.dhp-honor-badge {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 1rem 1.25rem;
}
.dhp-honor-badge .material-symbols-outlined {
	color: var(--dhp-teal-container);
	font-size: 24px;
}
.dhp-honor-badge h4 {
	font-size: 14px;
	font-weight: 600;
	color: var(--dhp-on-surface);
	margin: 0;
}
.dhp-honor-badge span {
	font-size: 12px;
	color: var(--dhp-on-surface-variant);
}

/* ─── Timeline Section (Scrollable Viewport) ───────── */
.dhp-timeline-viewport {
	position: relative;
	height: 520px;
	overflow-y: auto;
	overflow-x: hidden;
	border-radius: var(--dhp-radius-lg);
	border: 1px solid var(--dhp-outline-variant);
	background: var(--dhp-surface-container);
	scrollbar-width: thin;
	scrollbar-color: var(--dhp-primary-container) transparent;
	scroll-behavior: smooth;
}
.dhp-timeline-viewport::-webkit-scrollbar {
	width: 4px;
}
.dhp-timeline-viewport::-webkit-scrollbar-thumb {
	background: var(--dhp-primary-container);
	border-radius: 4px;
}
.dhp-timeline-viewport::-webkit-scrollbar-track {
	background: transparent;
}

.dhp-timeline {
	position: relative;
	max-width: 1000px;
	margin: 0 auto;
	padding: 2rem 1.5rem;
}
.dhp-timeline__line {
	position: absolute;
	left: 50%;
	top: 0;
	bottom: 0;
	width: 2px;
	background: linear-gradient(to bottom, transparent, rgba(103, 80, 164, 0.3), rgba(103, 80, 164, 0.1), transparent);
	transform: translateX(-50%);
}
.dhp-timeline__item {
	position: relative;
	display: flex;
	align-items: flex-start;
	margin-bottom: 3rem;
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.5s ease, transform 0.5s ease;
}
.dhp-timeline__item.is-visible {
	opacity: 1;
	transform: translateY(0);
}
.dhp-timeline__item--left {
	flex-direction: row;
}
.dhp-timeline__item--right {
	flex-direction: row-reverse;
}
.dhp-timeline__node {
	position: absolute;
	left: 50%;
	top: 0.5rem;
	width: 12px;
	height: 12px;
	background-color: var(--dhp-primary-container);
	border-radius: 50%;
	transform: translateX(-50%);
	box-shadow: 0 0 8px rgba(103, 80, 164, 0.4);
	z-index: 2;
	transition: all 0.3s ease;
}
.dhp-timeline__node--active {
	background-color: var(--dhp-primary);
	box-shadow: 0 0 15px rgba(79, 55, 138, 0.6);
	animation: dhp-pulse 2s infinite;
}

/* Highlight for current/active item on scroll */
.dhp-timeline__item.is-current .dhp-timeline__node {
	background-color: var(--dhp-primary);
	box-shadow: 0 0 12px rgba(79, 55, 138, 0.5);
	transform: translateX(-50%) scale(1.3);
}
.dhp-timeline__item.is-current .dhp-timeline__card {
	border: 2px solid rgba(103, 80, 164, 0.4);
	box-shadow: 0 6px 24px rgba(103, 80, 164, 0.15), 0 0 0 4px rgba(103, 80, 164, 0.05);
	background: #fff;
	transform: scale(1.02);
}
.dhp-timeline__item.is-current .dhp-timeline__year {
	color: var(--dhp-primary);
}
.dhp-timeline__item.is-current .dhp-timeline__title {
	color: var(--dhp-primary);
}
@keyframes dhp-pulse {
	0% { transform: translateX(-50%) scale(1); opacity: 1; }
	50% { transform: translateX(-50%) scale(1.4); opacity: 0.6; }
	100% { transform: translateX(-50%) scale(1); opacity: 1; }
}

.dhp-timeline__heading {
	width: calc(50% - 3rem);
}
.dhp-timeline__heading--left {
	text-align: right;
	padding-right: 2rem;
}
.dhp-timeline__heading--right {
	text-align: left;
	padding-left: 2rem;
}
.dhp-timeline__year {
	font-family: 'Playfair Display', serif;
	font-size: 32px;
	font-weight: 600;
	color: var(--dhp-primary-container);
	margin-bottom: 0.25rem;
	line-height: 1.1;
}
.dhp-timeline__title {
	font-family: 'Inter', sans-serif;
	font-size: 18px;
	font-weight: 600;
	color: var(--dhp-primary);
	margin: 0;
}
.dhp-timeline__card {
	width: calc(50% - 3rem);
	padding: 1.25rem 1.5rem;
	transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, transform 0.3s ease;
}
.dhp-timeline__item--left .dhp-timeline__card {
	margin-left: auto;
}
.dhp-timeline__item--right .dhp-timeline__card {
	margin-right: auto;
}
.dhp-timeline__card-label {
	font-family: 'Inter', sans-serif;
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--dhp-teal);
	margin-bottom: 0.6rem;
}
.dhp-timeline__list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
}
.dhp-timeline__list li {
	display: flex;
	align-items: flex-start;
	gap: 0.6rem;
	font-size: 14px;
	color: var(--dhp-on-surface-variant);
	line-height: 1.5;
}
.dhp-timeline__list .material-symbols-outlined {
	color: var(--dhp-primary-container);
	font-size: 16px;
	flex-shrink: 0;
	margin-top: 2px;
}

@media (max-width: 768px) {
	.dhp-timeline-viewport {
		height: 420px;
	}
	.dhp-timeline {
		padding: 2rem 1rem 2rem 2.5rem;
	}
	.dhp-timeline__line {
		left: 1.5rem;
	}
	.dhp-timeline__item {
		flex-direction: column !important;
		padding-left: 2rem;
		margin-bottom: 2rem;
	}
	.dhp-timeline__node {
		left: 1.5rem;
	}
	.dhp-timeline__heading,
	.dhp-timeline__card {
		width: 100%;
		text-align: left;
		padding-left: 0;
		padding-right: 0;
	}
	.dhp-timeline__heading--left,
	.dhp-timeline__heading--right {
		text-align: left;
		padding: 0;
	}
	.dhp-timeline__card {
		margin-top: 0.75rem;
		padding: 1rem 1.25rem;
	}
	.dhp-timeline__year {
		font-size: 24px;
	}
	.dhp-timeline__title {
		font-size: 15px;
	}
}

/* ─── Academic Showcase (Articole Științifice) ────── */
.dhp-academic-intro {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 2rem;
	margin-bottom: 2.5rem;
}
.dhp-academic-intro__text {
	flex: 1;
	min-width: 0;
}
.dhp-academic-intro__desc {
	margin-top: 1rem;
	font-size: 0.938rem;
	line-height: 1.75;
	color: var(--dhp-on-surface-variant);
	max-width: 640px;
}
.dhp-academic-intro__desc p {
	margin: 0 0 0.5rem;
}
.dhp-academic-intro__desc p:last-child {
	margin-bottom: 0;
}

/* Google Scholar Link Card */
.dhp-scholar-link {
	display: flex;
	align-items: center;
	gap: 0.875rem;
	padding: 1rem 1.5rem;
	background: white;
	border: 1.5px solid var(--dhp-outline-variant);
	border-radius: var(--dhp-radius-lg);
	text-decoration: none;
	transition: all 0.25s ease;
	box-shadow: var(--dhp-shadow-sm);
	flex-shrink: 0;
}
.dhp-scholar-link:hover {
	border-color: var(--dhp-primary);
	box-shadow: var(--dhp-shadow);
	transform: translateY(-2px);
}
.dhp-scholar-link__icon {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--dhp-primary-light);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--dhp-primary);
	flex-shrink: 0;
}
.dhp-scholar-link__icon svg {
	width: 22px;
	height: 22px;
}
.dhp-scholar-link__label {
	display: flex;
	flex-direction: column;
	gap: 2px;
}
.dhp-scholar-link__title {
	font-size: 0.9375rem;
	font-weight: 700;
	color: var(--dhp-on-surface);
}
.dhp-scholar-link__action {
	font-size: 0.75rem;
	color: var(--dhp-primary);
	font-weight: 500;
	display: flex;
	align-items: center;
	gap: 2px;
}
.dhp-scholar-link__action .material-symbols-outlined {
	font-size: 14px;
}

/* Metrics Band — dark panel */
.dhp-academic-metrics {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0;
	background: linear-gradient(135deg, var(--dhp-primary) 0%, var(--dhp-primary-container) 100%);
	border-radius: var(--dhp-radius-xl);
	padding: 2rem 3rem;
	margin-bottom: 2.5rem;
}
.dhp-academic-metric {
	flex: 1;
	text-align: center;
	position: relative;
	padding: 0 2rem;
}
.dhp-academic-metric + .dhp-academic-metric::before {
	content: '';
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 1px;
	height: 55%;
	background: rgba(255, 255, 255, 0.2);
}
.dhp-academic-metric__value {
	display: block;
	font-family: 'Inter', sans-serif;
	font-size: 2.75rem;
	font-weight: 800;
	color: #fff;
	line-height: 1;
	letter-spacing: -0.03em;
}
.dhp-academic-metric__label {
	display: block;
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: rgba(255, 255, 255, 0.7);
	margin-top: 0.5rem;
}

/* Publication Category Cards */
.dhp-academic-cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
}
.dhp-academic-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 3rem 2rem;
	background: #fff;
	border: 1px solid var(--dhp-outline-variant);
	border-radius: var(--dhp-radius-xl);
	transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
	box-shadow: var(--dhp-shadow-sm);
	position: relative;
	overflow: hidden;
}
.dhp-academic-card::after {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background: radial-gradient(circle at 50% 0%, rgba(79, 55, 138, 0.06) 0%, transparent 60%);
	opacity: 0;
	transition: opacity 0.35s ease;
	pointer-events: none;
}
.dhp-academic-card:hover {
	border-color: var(--dhp-primary-dim);
	box-shadow: 0 20px 40px -12px rgba(79, 55, 138, 0.15), 0 8px 16px -8px rgba(79, 55, 138, 0.1);
	transform: translateY(-6px);
}
.dhp-academic-card:hover::after {
	opacity: 1;
}
.dhp-academic-card:hover .dhp-academic-card__icon {
	transform: scale(1.1);
}
.dhp-academic-card__icon {
	width: 80px;
	height: 80px;
	margin-bottom: 1.5rem;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: #fff;
	border: 2px solid;
	transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.dhp-academic-card__icon .material-symbols-outlined {
	font-size: 36px;
}
.dhp-academic-card__icon--purple {
	border-color: var(--dhp-primary);
}
.dhp-academic-card__icon--purple .material-symbols-outlined {
	color: var(--dhp-primary);
}
.dhp-academic-card__icon--teal {
	border-color: var(--dhp-teal-container);
}
.dhp-academic-card__icon--teal .material-symbols-outlined {
	color: var(--dhp-teal-container);
}
.dhp-academic-card__icon--indigo {
	border-color: #5c6bc0;
}
.dhp-academic-card__icon--indigo .material-symbols-outlined {
	color: #5c6bc0;
}
.dhp-academic-card__icon img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}
.dhp-academic-card__count {
	font-family: 'Inter', sans-serif;
	font-size: 3.25rem;
	font-weight: 800;
	color: var(--dhp-primary);
	line-height: 1;
	letter-spacing: -0.03em;
	margin-bottom: 0.75rem;
}
.dhp-academic-card__label {
	font-size: 0.9375rem;
	font-weight: 600;
	color: var(--dhp-on-surface-variant);
}

/* ─── Legacy Academic Grid (kept for potential reuse) ── */
.dhp-academic-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1.5rem;
}
.dhp-article-card {
	display: flex;
	overflow: hidden;
	background: white;
}
.dhp-article-card__body {
	padding: 1.5rem;
	flex: 1;
}
.dhp-article-card__title {
	font-family: 'Inter', sans-serif;
	font-size: 16px;
	font-weight: 600;
	color: var(--dhp-primary);
	margin: 0 0 0.5rem;
}
.dhp-article-card__authors {
	font-size: 14px;
	color: var(--dhp-on-surface-variant);
	margin: 0 0 0.75rem;
	line-height: 1.4;
}
.dhp-article-card__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}
.dhp-article-card__sidebar {
	background: var(--dhp-surface-container-low);
	width: 180px;
	padding: 1.5rem;
	display: flex;
	flex-direction: column;
	justify-content: center;
	border-left: 1px solid var(--dhp-outline-variant);
	flex-shrink: 0;
}
.dhp-article-card__journal-label {
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--dhp-on-surface-variant);
	margin-bottom: 0.25rem;
}
.dhp-article-card__journal {
	font-size: 14px;
	font-weight: 700;
	color: var(--dhp-primary);
	margin-bottom: 0.5rem;
}
.dhp-article-card__year {
	font-size: 12px;
	color: var(--dhp-on-surface-variant);
	margin-bottom: 0.75rem;
}

/* ─── Carousel (Programe Educationale) ────────────── */
.dhp-carousel-nav {
	display: flex;
	gap: 0.5rem;
}
.dhp-carousel-nav__btn {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 1px solid rgba(103, 80, 164, 0.1);
	background: rgba(255, 255, 255, 0.8);
	backdrop-filter: blur(8px);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	color: var(--dhp-primary);
	transition: all 0.2s;
}
.dhp-carousel-nav__btn:hover {
	background: rgba(103, 80, 164, 0.05);
	border-color: rgba(103, 80, 164, 0.3);
}
.dhp-carousel-nav__btn .material-symbols-outlined {
	font-size: 20px;
}
.dhp-carousel-track {
	display: flex;
	overflow-x: auto;
	gap: 1.5rem;
	padding: 1rem 0 2rem;
	scroll-behavior: smooth;
	scroll-snap-type: x mandatory;
	-ms-overflow-style: none;
	scrollbar-width: none;
}
.dhp-carousel-track::-webkit-scrollbar { display: none; }
.dhp-event-card {
	min-width: 320px;
	max-width: 400px;
	flex-shrink: 0;
	scroll-snap-align: start;
	display: flex;
	flex-direction: column;
	overflow: hidden;
}
.dhp-event-card__header {
	padding: 1.25rem 1.5rem;
	background: var(--dhp-surface-container);
	border-bottom: 1px solid var(--dhp-outline-variant);
	display: flex;
	align-items: center;
	gap: 1rem;
}
.dhp-event-card__date-box {
	background: white;
	border-radius: var(--dhp-radius);
	padding: 0.5rem 0.75rem;
	text-align: center;
	border: 1px solid var(--dhp-outline-variant);
	box-shadow: var(--dhp-shadow-sm);
	min-width: 60px;
}
.dhp-event-card__year {
	font-family: 'Playfair Display', serif;
	font-size: 18px;
	font-weight: 700;
	color: var(--dhp-primary);
	line-height: 1;
}
.dhp-event-card__type-info {
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.dhp-event-card__location {
	font-size: 12px;
	color: var(--dhp-on-surface-variant);
	display: flex;
	align-items: center;
	gap: 4px;
}
.dhp-event-card__location .material-symbols-outlined {
	font-size: 14px;
}
.dhp-event-card__body {
	padding: 1.5rem;
	flex: 1;
	display: flex;
	flex-direction: column;
}
.dhp-event-card__title {
	font-size: 18px;
	font-weight: 700;
	color: var(--dhp-primary);
	margin: 0 0 0.75rem;
}
.dhp-event-card__meta {
	display: flex;
	gap: 6px;
	flex-wrap: wrap;
	margin-bottom: 0.75rem;
}

/* ─── Video Gallery ───────────────────────────────── */
.dhp-video-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 1.5rem;
}
.dhp-video-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	text-decoration: none;
	color: inherit;
}
.dhp-video-card__thumb-wrap {
	position: relative;
	padding-bottom: 56.25%;
	background: var(--dhp-surface-container);
	overflow: hidden;
}
.dhp-video-card__thumb {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s;
}
.dhp-video-card:hover .dhp-video-card__thumb {
	transform: scale(1.05);
}
.dhp-video-card__placeholder {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--dhp-surface-container-high);
}
.dhp-video-card__placeholder .material-symbols-outlined {
	font-size: 48px;
	color: var(--dhp-outline);
}
.dhp-video-card__play {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 56px;
	height: 56px;
	background: rgba(255, 255, 255, 0.85);
	backdrop-filter: blur(8px);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid rgba(103, 80, 164, 0.2);
	transition: all 0.3s;
}
.dhp-video-card:hover .dhp-video-card__play {
	background: rgba(103, 80, 164, 0.9);
	transform: translate(-50%, -50%) scale(1.1);
}
.dhp-video-card:hover .dhp-video-card__play .material-symbols-outlined {
	color: white;
}
.dhp-video-card__play .material-symbols-outlined {
	font-size: 28px;
	color: var(--dhp-primary);
}
.dhp-video-card__info {
	padding: 1rem 1.5rem;
}
.dhp-video-card__title {
	font-size: 16px;
	font-weight: 600;
	color: var(--dhp-primary);
	margin: 0 0 0.5rem;
}
.dhp-video-card__meta {
	display: flex;
	justify-content: space-between;
	font-size: 13px;
	color: var(--dhp-on-surface-variant);
}
.dhp-video-card__views {
	display: flex;
	align-items: center;
	gap: 4px;
}
.dhp-video-card__views .material-symbols-outlined {
	font-size: 14px;
}

/* ─── Editorial Feed (Presă Scrisă) ──────────────── */
.dhp-editorial-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 1.5rem;
}
.dhp-press-card {
	background: white;
	border-radius: var(--dhp-radius-lg);
	overflow: hidden;
	border: 1px solid rgba(103, 80, 164, 0.1);
	box-shadow: var(--dhp-shadow);
	transition: all 0.3s;
}
.dhp-press-card:hover {
	box-shadow: var(--dhp-shadow-lg);
	transform: translateY(-2px);
}
.dhp-press-card__image {
	height: 160px;
	overflow: hidden;
	background: var(--dhp-surface-container);
}
.dhp-press-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.dhp-press-card__content {
	padding: 1.25rem;
}
.dhp-press-card__header {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 0.75rem;
}
.dhp-press-card__date {
	font-size: 12px;
	color: var(--dhp-on-surface-variant);
}
.dhp-press-card__source {
	font-size: 12px;
	font-weight: 600;
	color: var(--dhp-teal);
	margin-bottom: 0.5rem;
}
.dhp-press-card__title {
	font-size: 15px;
	font-weight: 600;
	color: var(--dhp-on-surface);
	margin: 0 0 0.5rem;
}
.dhp-press-card__desc {
	font-size: 13px;
	color: var(--dhp-on-surface-variant);
	margin: 0;
	line-height: 1.5;
}
.dhp-press-card__footer {
	margin-top: 0.75rem;
}

/* ─── Logo Wall / Societies ───────────────────────── */
.dhp-society-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
	gap: 1rem;
}
.dhp-society-card {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
	padding: 1.25rem;
	background: white;
	border-radius: var(--dhp-radius-lg);
	border: 1px solid rgba(103, 80, 164, 0.08);
	box-shadow: var(--dhp-shadow-sm);
	transition: all 0.2s;
}
.dhp-society-card:hover {
	box-shadow: var(--dhp-shadow);
	border-color: rgba(103, 80, 164, 0.15);
}
.dhp-society-card__icon {
	flex-shrink: 0;
	width: 48px;
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--dhp-surface-container);
	border-radius: var(--dhp-radius);
}
.dhp-society-card__icon .material-symbols-outlined {
	font-size: 24px;
	color: var(--dhp-primary-container);
}
.dhp-society-card__logo {
	max-width: 44px;
	max-height: 44px;
	object-fit: contain;
}
.dhp-society-card__role {
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	color: var(--dhp-teal);
	margin-bottom: 0.25rem;
}
.dhp-society-card__name {
	font-size: 14px;
	font-weight: 600;
	color: var(--dhp-on-surface);
	margin: 0;
}
.dhp-society-card__name a {
	color: inherit;
	text-decoration: none;
}
.dhp-society-card__name a:hover {
	color: var(--dhp-primary);
}
.dhp-society-card__acronym {
	font-weight: 400;
	color: var(--dhp-on-surface-variant);
}

/* ─── Grant Cards ─────────────────────────────────── */
.dhp-grant-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
	gap: 1.5rem;
}
.dhp-grant-card {
	background: white;
	border-radius: var(--dhp-radius-lg);
	padding: 1.5rem;
	border: 1px solid rgba(103, 80, 164, 0.08);
	border-left: 4px solid var(--dhp-primary);
	box-shadow: var(--dhp-shadow-sm);
	transition: all 0.2s;
}
.dhp-grant-card:hover {
	box-shadow: var(--dhp-shadow);
}
.dhp-grant-card__header {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 0.75rem;
}
.dhp-grant-card__type {
	font-size: 12px;
	color: var(--dhp-on-surface-variant);
}
.dhp-grant-card__title {
	font-size: 16px;
	font-weight: 600;
	color: var(--dhp-on-surface);
	margin: 0 0 0.5rem;
}
.dhp-grant-card__desc {
	font-size: 13px;
	color: var(--dhp-on-surface-variant);
	margin: 0 0 1rem;
	line-height: 1.5;
}
.dhp-grant-card__progress {
	margin-top: auto;
}
.dhp-grant-card__period {
	display: flex;
	justify-content: space-between;
	font-size: 12px;
	color: var(--dhp-on-surface-variant);
	margin-bottom: 0.5rem;
}
.dhp-progress-bar {
	background: rgba(103, 80, 164, 0.1);
	border-radius: 9999px;
	height: 6px;
	width: 100%;
	overflow: hidden;
}
.dhp-progress-bar__fill {
	background: linear-gradient(90deg, var(--dhp-primary), var(--dhp-primary-container));
	height: 100%;
	border-radius: 9999px;
	transition: width 0.6s ease;
}
.dhp-progress-bar__fill--complete {
	background: linear-gradient(90deg, #16a34a, #22c55e);
}

/* ─── Social Feed (LinkedIn) ──────────────────────── */
.dhp-social-feed {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 1.5rem;
}
.dhp-linkedin-card {
	background: white;
	border-radius: var(--dhp-radius-lg);
	overflow: hidden;
	border: 1px solid rgba(103, 80, 164, 0.08);
	box-shadow: var(--dhp-shadow-sm);
}
.dhp-linkedin-card__embed {
	padding: 1rem;
}
.dhp-linkedin-card__embed iframe {
	width: 100%;
	border: none;
	border-radius: var(--dhp-radius);
	overflow: hidden;
}
.dhp-linkedin-card__content {
	padding: 1.5rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 0.75rem;
}
.dhp-linkedin-card__icon .material-symbols-outlined {
	font-size: 32px;
	color: var(--dhp-primary-container);
}
.dhp-linkedin-card__text {
	font-size: 14px;
	color: var(--dhp-on-surface-variant);
	margin: 0;
}
.dhp-linkedin-card__year {
	color: var(--dhp-outline);
}
.dhp-linkedin-card__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	justify-content: center;
}
.dhp-linkedin-card__footer {
	padding: 0.75rem 1.5rem;
	border-top: 1px solid var(--dhp-outline-variant);
	text-align: center;
}

/* ─── Editorial List (Activitate Editorială) ──────── */
.dhp-editorial-list-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
	gap: 1rem;
}
.dhp-editorial-item {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 1.25rem;
}
.dhp-editorial-item__icon {
	width: 48px;
	height: 48px;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--dhp-surface-container);
	border-radius: var(--dhp-radius);
	overflow: hidden;
}
.dhp-editorial-item__icon img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}
.dhp-editorial-item__icon .material-symbols-outlined {
	font-size: 24px;
	color: var(--dhp-primary-container);
}
.dhp-editorial-item__content {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}
.dhp-editorial-item__title {
	font-size: 14px;
	font-weight: 600;
	color: var(--dhp-on-surface);
	margin: 0;
}
.dhp-editorial-item__title a {
	color: inherit;
	text-decoration: none;
}
.dhp-editorial-item__title a:hover {
	color: var(--dhp-primary);
}

/* ─── Doctoral Grid ───────────────────────────────── */
.dhp-doctoral-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 1.5rem;
}
.dhp-doctoral-card {
	padding: 1.5rem;
}
.dhp-doctoral-card__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 0.75rem;
}
.dhp-doctoral-card__year {
	font-size: 13px;
	font-weight: 500;
	color: var(--dhp-on-surface-variant);
}
.dhp-doctoral-card__student {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 15px;
	font-weight: 600;
	color: var(--dhp-primary);
	margin-bottom: 0.5rem;
}
.dhp-doctoral-card__student .material-symbols-outlined {
	font-size: 18px;
}
.dhp-doctoral-card__title {
	font-size: 14px;
	font-weight: 500;
	color: var(--dhp-on-surface);
	margin: 0 0 0.5rem;
	line-height: 1.4;
}
.dhp-doctoral-card__desc {
	font-size: 13px;
	color: var(--dhp-on-surface-variant);
	margin: 0;
	line-height: 1.5;
}

/* ─── Generic Section (fallback) ──────────────────── */
.dhp-generic-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 1rem;
}
.dhp-generic-card {
	padding: 1.25rem;
	background: white;
	border-radius: var(--dhp-radius-lg);
	border: 1px solid var(--dhp-outline-variant);
}
.dhp-generic-card__title {
	font-size: 14px;
	font-weight: 600;
	color: var(--dhp-on-surface);
	margin: 0 0 0.25rem;
}
.dhp-generic-card__year {
	font-size: 12px;
	color: var(--dhp-on-surface-variant);
}

/* ─── Responsive ──────────────────────────────────── */
@media (max-width: 1024px) {
	.dhp-academic-grid {
		grid-template-columns: 1fr;
	}
	.dhp-academic-cards {
		grid-template-columns: repeat(3, 1fr);
	}
	.dhp-academic-intro {
		flex-direction: column;
	}
	.dhp-honors-split {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 768px) {
	.dhp-academic-metrics {
		flex-direction: column;
		padding: 1.5rem;
		gap: 1.25rem;
	}
	.dhp-academic-metric {
		padding: 0.5rem 0;
	}
	.dhp-academic-metric + .dhp-academic-metric::before {
		width: 60%;
		height: 1px;
		top: 0;
		left: 50%;
		transform: translateX(-50%);
	}
	.dhp-academic-metric__value {
		font-size: 2rem;
	}
	.dhp-academic-cards {
		grid-template-columns: 1fr;
		gap: 1rem;
	}
	.dhp-academic-card {
		flex-direction: row;
		padding: 1.5rem 2rem;
		text-align: left;
		gap: 1.5rem;
	}
	.dhp-academic-card__icon {
		width: 64px;
		height: 64px;
		margin-bottom: 0;
		flex-shrink: 0;
	}
	.dhp-academic-card__icon .material-symbols-outlined {
		font-size: 28px;
	}
	.dhp-academic-card__count {
		font-size: 2.25rem;
		margin-bottom: 0.25rem;
	}
	.dhp-scholar-link {
		width: 100%;
	}
	.dhp-container,
	.dhp-boxed {
		padding: 0 var(--dhp-margin-mobile);
	}
	.dhp-section {
		padding: 3rem 0;
	}
	.dhp-section__header {
		flex-direction: column;
		align-items: flex-start;
	}
	.dhp-section__title {
		font-size: 28px;
	}
	.dhp-hero {
		padding: 3rem var(--dhp-margin-mobile);
		min-height: 60vh;
	}
	.dhp-hero__title {
		font-size: 32px;
	}
	.dhp-hero__subtitle {
		font-size: 16px;
	}
	.dhp-hero__stats {
		grid-template-columns: repeat(2, 1fr);
	}
	.dhp-hide-mobile {
		display: none;
	}
	.dhp-section__footer--mobile {
		display: block;
	}

	/* Timeline mobile */
	.dhp-timeline__line {
		left: 1rem;
	}
	.dhp-timeline__node {
		left: 1rem;
	}
	.dhp-timeline__item {
		flex-direction: column !important;
		padding-left: 3rem;
	}
	.dhp-timeline__heading {
		width: 100%;
		text-align: left !important;
		padding: 0 !important;
		margin-bottom: 0.75rem;
	}
	.dhp-timeline__card {
		width: 100%;
	}
	.dhp-timeline__year {
		font-size: 28px;
	}

	/* Grids mobile */
	.dhp-video-grid,
	.dhp-grant-grid,
	.dhp-editorial-grid,
	.dhp-society-grid,
	.dhp-editorial-list-grid,
	.dhp-doctoral-grid,
	.dhp-social-feed {
		grid-template-columns: 1fr;
	}

	/* Article card mobile */
	.dhp-article-card {
		flex-direction: column;
	}
	.dhp-article-card__sidebar {
		width: 100%;
		border-left: none;
		border-top: 1px solid var(--dhp-outline-variant);
	}

	/* Carousel */
	.dhp-event-card {
		min-width: 280px;
	}
}

@media (max-width: 480px) {
	.dhp-hero__stats {
		grid-template-columns: repeat(2, 1fr);
		gap: 0.5rem;
	}
	.dhp-stat-card {
		padding: 1rem 0.5rem;
	}
	.dhp-stat-card__value {
		font-size: 20px;
	}
}

/* ─── Scroll Animations ───────────────────────────── */

/* Hero entrance animations (immediate, no JS needed) */
.dhp-hero__text {
	opacity: 0;
	transform: translateY(40px);
	animation: dhp-fadeInUp 0.8s ease forwards;
	animation-delay: 0.2s;
}
.dhp-hero__stats {
	opacity: 0;
	transform: translateY(30px);
	animation: dhp-fadeInUp 0.8s ease forwards;
	animation-delay: 0.5s;
}

@keyframes dhp-fadeInUp {
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Timeline line grows when visible */
.dhp-timeline__line {
	transform: scaleY(0);
	transform-origin: top;
	transition: transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.dhp-timeline--visible .dhp-timeline__line {
	transform: scaleY(1);
}

/* Timeline items — hidden by default, revealed by JS */
.dhp-timeline__item {
	opacity: 0;
	transform: translateY(40px);
	transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.dhp-timeline__item--visible {
	opacity: 1;
	transform: translateY(0) !important;
}
.dhp-timeline__item:nth-child(1) { transition-delay: 0s; }
.dhp-timeline__item:nth-child(2) { transition-delay: 0.2s; }
.dhp-timeline__item:nth-child(3) { transition-delay: 0.4s; }

/* Section content reveal — only when JS adds the class */
.dhp-section[data-animate] .dhp-section__header {
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.6s ease, transform 0.6s ease;
}
.dhp-section[data-animate].dhp-section--visible .dhp-section__header {
	opacity: 1;
	transform: translateY(0);
}

/* Card stagger — only for sections JS has tagged */
.dhp-section[data-animate] .glass-panel,
.dhp-section[data-animate] .dhp-article-card,
.dhp-section[data-animate] .dhp-press-card,
.dhp-section[data-animate] .dhp-grant-card,
.dhp-section[data-animate] .dhp-society-card,
.dhp-section[data-animate] .dhp-video-card {
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.5s ease, transform 0.5s ease;
}
.dhp-section[data-animate].dhp-section--visible .glass-panel,
.dhp-section[data-animate].dhp-section--visible .dhp-article-card,
.dhp-section[data-animate].dhp-section--visible .dhp-press-card,
.dhp-section[data-animate].dhp-section--visible .dhp-grant-card,
.dhp-section[data-animate].dhp-section--visible .dhp-society-card,
.dhp-section[data-animate].dhp-section--visible .dhp-video-card {
	opacity: 1;
	transform: translateY(0);
}

/* Stagger delays within grids */
.dhp-section[data-animate].dhp-section--visible .dhp-academic-grid > *:nth-child(1),
.dhp-section[data-animate].dhp-section--visible .dhp-video-grid > *:nth-child(1),
.dhp-section[data-animate].dhp-section--visible .dhp-grant-grid > *:nth-child(1),
.dhp-section[data-animate].dhp-section--visible .dhp-editorial-grid > *:nth-child(1),
.dhp-section[data-animate].dhp-section--visible .dhp-society-grid > *:nth-child(1),
.dhp-section[data-animate].dhp-section--visible .dhp-social-feed > *:nth-child(1) { transition-delay: 0s; }
.dhp-section[data-animate].dhp-section--visible .dhp-academic-grid > *:nth-child(2),
.dhp-section[data-animate].dhp-section--visible .dhp-video-grid > *:nth-child(2),
.dhp-section[data-animate].dhp-section--visible .dhp-grant-grid > *:nth-child(2),
.dhp-section[data-animate].dhp-section--visible .dhp-editorial-grid > *:nth-child(2),
.dhp-section[data-animate].dhp-section--visible .dhp-society-grid > *:nth-child(2),
.dhp-section[data-animate].dhp-section--visible .dhp-social-feed > *:nth-child(2) { transition-delay: 0.1s; }
.dhp-section[data-animate].dhp-section--visible .dhp-academic-grid > *:nth-child(3),
.dhp-section[data-animate].dhp-section--visible .dhp-video-grid > *:nth-child(3),
.dhp-section[data-animate].dhp-section--visible .dhp-grant-grid > *:nth-child(3),
.dhp-section[data-animate].dhp-section--visible .dhp-editorial-grid > *:nth-child(3),
.dhp-section[data-animate].dhp-section--visible .dhp-society-grid > *:nth-child(3),
.dhp-section[data-animate].dhp-section--visible .dhp-social-feed > *:nth-child(3) { transition-delay: 0.2s; }
.dhp-section[data-animate].dhp-section--visible .dhp-academic-grid > *:nth-child(4),
.dhp-section[data-animate].dhp-section--visible .dhp-video-grid > *:nth-child(4),
.dhp-section[data-animate].dhp-section--visible .dhp-grant-grid > *:nth-child(4),
.dhp-section[data-animate].dhp-section--visible .dhp-editorial-grid > *:nth-child(4),
.dhp-section[data-animate].dhp-section--visible .dhp-society-grid > *:nth-child(4),
.dhp-section[data-animate].dhp-section--visible .dhp-social-feed > *:nth-child(4) { transition-delay: 0.3s; }

/* Honors split columns animation */
.dhp-section[data-animate] .dhp-honors-split .dhp-honors-col {
	opacity: 0;
	transform: translateX(-20px);
	transition: opacity 0.7s ease, transform 0.7s ease;
}
.dhp-section[data-animate] .dhp-honors-split .dhp-honors-col:nth-child(2) {
	transform: translateX(20px);
	transition-delay: 0.2s;
}
.dhp-section[data-animate].dhp-section--visible .dhp-honors-split .dhp-honors-col {
	opacity: 1;
	transform: translateX(0);
}

/* Stat cards hover pulse */
.dhp-stat-card:hover .dhp-stat-card__icon {
	animation: dhp-iconBounce 0.4s ease;
}
@keyframes dhp-iconBounce {
	0% { transform: scale(1); }
	50% { transform: scale(1.2); }
	100% { transform: scale(1); }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
	.dhp-timeline__item,
	.dhp-timeline__line,
	.dhp-hero__text,
	.dhp-hero__stats,
	.dhp-section[data-animate] .glass-panel,
	.dhp-section[data-animate] .dhp-article-card,
	.dhp-section[data-animate] .dhp-press-card,
	.dhp-section[data-animate] .dhp-grant-card,
	.dhp-section[data-animate] .dhp-society-card,
	.dhp-section[data-animate] .dhp-video-card,
	.dhp-section[data-animate] .dhp-section__header,
	.dhp-section[data-animate] .dhp-honors-split .dhp-honors-col {
		opacity: 1 !important;
		transform: none !important;
		animation: none !important;
		transition: none !important;
	}
	.dhp-timeline__node--active {
		animation: none;
	}
}


/* ─── Contributions Section (2×2 Grid — Honors style) ── */
.dhp-section--contributions {
	padding: 4rem 0;
}

.dhp-contrib-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 3rem 2.5rem;
	margin-top: 2.5rem;
}

@media (max-width: 768px) {
	.dhp-contrib-grid {
		grid-template-columns: 1fr;
		gap: 2.5rem;
	}
}

.dhp-contrib-col {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.dhp-contrib-col__header {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding-bottom: 1rem;
	border-bottom: 2px solid var(--contrib-accent, var(--dhp-primary-container));
}

.dhp-contrib-col__icon-wrap {
	width: 2.75rem;
	height: 2.75rem;
	border-radius: var(--dhp-radius-md);
	background: color-mix(in srgb, var(--contrib-accent) 12%, transparent);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.dhp-contrib-col__icon-wrap .material-symbols-outlined {
	font-size: 1.4rem;
	color: var(--contrib-accent, var(--dhp-primary-container));
}

.dhp-contrib-col__heading {
	font-family: 'Playfair Display', serif;
	font-size: 1.2rem;
	font-weight: 600;
	color: var(--dhp-on-surface);
	margin: 0;
}

.dhp-contrib-items {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.dhp-contrib-entry {
	display: flex;
	align-items: flex-start;
	gap: 0.875rem;
	padding: 1.5rem;
	border-radius: var(--dhp-radius-lg);
	background: var(--dhp-surface-container);
	border: 1px solid var(--dhp-outline-variant);
	transition: box-shadow 0.2s ease;
}

.dhp-contrib-entry:hover {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.dhp-contrib-entry__icon {
	font-size: 1.35rem;
	color: var(--dhp-teal-container);
	margin-top: 0.15rem;
	flex-shrink: 0;
}

.dhp-contrib-entry__img {
	width: 2.25rem;
	height: 2.25rem;
	border-radius: var(--dhp-radius-sm);
	object-fit: cover;
	flex-shrink: 0;
	margin-top: 0.1rem;
}

.dhp-contrib-entry__content {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	min-width: 0;
}

.dhp-contrib-entry__title {
	font-family: 'Playfair Display', serif;
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--dhp-primary);
	line-height: 1.35;
	padding-bottom: 0.5rem;
	border-bottom: 1px solid var(--dhp-outline-variant);
}

.dhp-contrib-entry__text {
	font-size: 0.9rem;
	line-height: 1.65;
	color: var(--dhp-on-surface-variant);
}

.dhp-contrib-entry__bullets {
	list-style: none;
	padding: 0;
	margin: 0.375rem 0 0;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.dhp-contrib-entry__bullets li {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	font-size: 0.875rem;
	line-height: 1.5;
	color: var(--dhp-on-surface-variant);
}

.dhp-contrib-entry__bullets li .material-symbols-outlined {
	font-size: 1.1rem;
	color: var(--dhp-teal-container);
	flex-shrink: 0;
	margin-top: 0.1rem;
}

.dhp-contrib-empty {
	font-size: 0.875rem;
	color: var(--dhp-outline);
	font-style: italic;
	margin: 0;
	padding: 1rem 1.25rem;
	background: var(--dhp-surface-container-low);
	border-radius: var(--dhp-radius-md);
}

/* ═══════════════════════════════════════════════════════
   Responsive 3-2-1 Carousel (v1.7.0)
   3 items on desktop, 2 on tablet, 1 on mobile.
   ═══════════════════════════════════════════════════════ */

/* 3-2-1 Carousel Track */
.dhp-carousel-track--321 {
	display: flex;
	overflow-x: auto;
	gap: 1.5rem;
	padding: 1rem 0 2rem;
	scroll-behavior: smooth;
	scroll-snap-type: x mandatory;
	-ms-overflow-style: none;
	scrollbar-width: none;
}
.dhp-carousel-track--321::-webkit-scrollbar { display: none; }

/* Cards inside 3-2-1 carousel */
.dhp-carousel-track--321 > * {
	flex: 0 0 calc((100% - 3rem) / 3);
	min-width: 0;
	scroll-snap-align: start;
}

@media (max-width: 1024px) {
	.dhp-carousel-track--321 > * {
		flex: 0 0 calc((100% - 1.5rem) / 2);
	}
}

@media (max-width: 768px) {
	.dhp-carousel-track--321 > * {
		flex: 0 0 100%;
	}
}

/* ─── Updated Honor Card (with visual/thumbnail + badge) ─ */
.dhp-honor-card {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	overflow: hidden;
	border-radius: var(--dhp-radius-lg);
	padding: 0;
}

.dhp-honor-card__visual {
	position: relative;
	height: 240px;
	overflow: hidden;
	background: var(--dhp-surface-container);
}

.dhp-honor-card__thumb {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.3s;
}

.dhp-honor-card:hover .dhp-honor-card__thumb {
	transform: scale(1.05);
}

.dhp-honor-card__thumb-placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--dhp-primary-light);
}

.dhp-honor-card__thumb-placeholder .material-symbols-outlined {
	font-size: 48px;
	color: var(--dhp-primary-container);
}

.dhp-honor-card__badge {
	position: absolute;
	bottom: 0.75rem;
	right: 0.75rem;
	width: 44px;
	height: 44px;
	border-radius: var(--dhp-radius);
	background: white;
	border: 2px solid rgba(255, 255, 255, 0.9);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.dhp-honor-card__badge img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.dhp-honor-card__content {
	padding: 1.25rem 1.5rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 0.3rem;
}

.dhp-honor-card__year {
	font-size: 0.75rem;
	font-weight: 600;
	color: var(--dhp-teal-container);
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

.dhp-honor-card__title {
	font-size: 0.925rem;
	font-weight: 600;
	color: var(--dhp-on-surface);
	margin: 0;
	line-height: 1.35;
}

.dhp-honor-card__meta {
	font-size: 0.8rem;
	color: var(--dhp-on-surface-variant);
}

/* ─── "See All" Button ────────────────────────────── */
.dhp-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-family: 'Inter', sans-serif;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.02em;
	padding: 0.75rem 1.5rem;
	border-radius: var(--dhp-radius-lg);
	text-decoration: none;
	transition: all 0.2s;
	cursor: pointer;
	border: none;
}

.dhp-btn .material-symbols-outlined {
	font-size: 18px;
}

.dhp-btn--outline {
	background: transparent;
	border: 1.5px solid rgba(103, 80, 164, 0.3);
	color: var(--dhp-primary);
}

.dhp-btn--outline:hover {
	background: rgba(103, 80, 164, 0.05);
	border-color: var(--dhp-primary);
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(103, 80, 164, 0.1);
}

/* ─── Video card in carousel — no min-width override ─ */
.dhp-carousel-track--321 .dhp-video-card {
	min-width: 0;
	max-width: none;
}

/* ─── Press card in carousel — ensure proper sizing ── */
.dhp-carousel-track--321 .dhp-press-card {
	min-width: 0;
	max-width: none;
}

/* ─── Carousel cards animation support ────────────── */
.dhp-section[data-animate] .dhp-carousel-track--321 > * {
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.5s ease, transform 0.5s ease;
}
.dhp-section[data-animate].dhp-section--visible .dhp-carousel-track--321 > * {
	opacity: 1;
	transform: translateY(0);
}
.dhp-section[data-animate].dhp-section--visible .dhp-carousel-track--321 > *:nth-child(1) { transition-delay: 0s; }
.dhp-section[data-animate].dhp-section--visible .dhp-carousel-track--321 > *:nth-child(2) { transition-delay: 0.1s; }
.dhp-section[data-animate].dhp-section--visible .dhp-carousel-track--321 > *:nth-child(3) { transition-delay: 0.2s; }
.dhp-section[data-animate].dhp-section--visible .dhp-carousel-track--321 > *:nth-child(4) { transition-delay: 0.3s; }
.dhp-section[data-animate].dhp-section--visible .dhp-carousel-track--321 > *:nth-child(5) { transition-delay: 0.4s; }
.dhp-section[data-animate].dhp-section--visible .dhp-carousel-track--321 > *:nth-child(6) { transition-delay: 0.5s; }
