/* =========================================================
   PepX Scientific — Research page
========================================================= */

.research-page {
	background: var(--pepx-white);
	overflow: hidden;
}

/* Hero */

.research-hero {
	position: relative;
	min-height: 760px;
	padding: 100px 0 120px;
	background:
		radial-gradient(
			circle at 82% 24%,
			rgba(45, 101, 255, 0.15),
			transparent 31%
		),
		linear-gradient(180deg, #ffffff 0%, #f3f7ff 100%);
	overflow: hidden;
}

.research-hero__glow {
	position: absolute;
	border-radius: 50%;
	pointer-events: none;
}

.research-hero__glow--one {
	top: -230px;
	right: -180px;
	width: 720px;
	height: 720px;
	background: rgba(54, 105, 255, 0.09);
}

.research-hero__glow--two {
	bottom: -250px;
	left: 23%;
	width: 520px;
	height: 520px;
	background: rgba(145, 177, 255, 0.13);
	filter: blur(8px);
}

.research-hero__grid {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: minmax(0, 0.94fr) minmax(500px, 1.06fr);
	align-items: center;
	gap: 70px;
}

.research-hero__content {
	max-width: 720px;
}

.research-hero h1 {
	margin: 24px 0 28px;
	color: var(--pepx-navy);
	font-family: var(--pepx-font-heading);
	font-size: clamp(78px, 7.5vw, 122px);
	font-weight: 400;
	letter-spacing: 0.005em;
	line-height: 0.87;
}

.research-hero h1 span {
	display: block;
	color: var(--pepx-blue);
}

.research-hero__content > p {
	max-width: 630px;
	margin: 0 0 35px;
	color: var(--pepx-muted);
	font-size: 17px;
	line-height: 1.8;
}

.research-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.research-hero__facts {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	max-width: 590px;
	margin-top: 50px;
	border-top: 1px solid var(--pepx-border);
}

.research-hero__facts > div {
	padding: 24px 18px 0 0;
}

.research-hero__facts strong {
	display: block;
	margin-bottom: 5px;
	color: var(--pepx-navy);
	font-family: var(--pepx-font-heading);
	font-size: 33px;
	font-weight: 400;
	line-height: 1;
}

.research-hero__facts span {
	color: var(--pepx-muted);
	font-size: 8px;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.research-hero__visual {
	position: relative;
	min-height: 580px;
}

.research-hero__orb {
	position: absolute;
	border-radius: 50%;
}

.research-hero__orb--large {
	top: 10px;
	right: 5px;
	width: 525px;
	height: 525px;
	background:
		radial-gradient(
			circle at 32% 25%,
			rgba(255, 255, 255, 0.98),
			rgba(210, 224, 255, 0.55) 47%,
			rgba(229, 236, 255, 0.2)
		);
	border: 1px solid rgba(34, 92, 255, 0.12);
	box-shadow:
		inset 0 0 90px rgba(255, 255, 255, 0.88),
		0 45px 105px rgba(34, 92, 255, 0.13);
}

.research-hero__orb--small {
	top: 48px;
	left: 28px;
	width: 115px;
	height: 115px;
	background: linear-gradient(145deg, #ffffff, #c8d9ff);
	box-shadow: 0 24px 55px rgba(34, 92, 255, 0.16);
}

.research-hero__molecule {
	position: absolute;
	z-index: 2;
	top: 70px;
	right: 65px;
	width: 390px;
	height: 330px;
	opacity: 0.76;
}

.research-hero__molecule::before,
.research-hero__molecule::after {
	position: absolute;
	height: 2px;
	background: rgba(34, 92, 255, 0.24);
	content: "";
	transform-origin: left center;
}

.research-hero__molecule::before {
	top: 145px;
	left: 42px;
	width: 285px;
	transform: rotate(-17deg);
}

.research-hero__molecule::after {
	top: 91px;
	left: 188px;
	width: 200px;
	transform: rotate(57deg);
}

.research-hero__molecule span {
	position: absolute;
	width: 29px;
	height: 29px;
	background: linear-gradient(145deg, #ffffff, #9fb9ff);
	border: 1px solid rgba(34, 92, 255, 0.2);
	border-radius: 50%;
	box-shadow: 0 15px 30px rgba(34, 92, 255, 0.18);
}

.research-hero__molecule span:nth-child(1) {
	top: 130px;
	left: 27px;
}

.research-hero__molecule span:nth-child(2) {
	top: 38px;
	left: 175px;
	width: 49px;
	height: 49px;
}

.research-hero__molecule span:nth-child(3) {
	top: 128px;
	right: 20px;
	width: 36px;
	height: 36px;
}

.research-hero__molecule span:nth-child(4) {
	bottom: 35px;
	left: 180px;
	width: 40px;
	height: 40px;
}

.research-hero__molecule span:nth-child(5) {
	right: 40px;
	bottom: 4px;
	width: 58px;
	height: 58px;
}

.research-hero__vial {
	position: absolute;
	z-index: 4;
	filter: drop-shadow(0 33px 30px rgba(38, 65, 125, 0.2));
}

.research-hero__vial--back {
	top: 110px;
	right: 245px;
	width: 148px;
	opacity: 0.72;
	transform: rotate(-11deg) scale(0.92);
	animation: pepxFloat 7s ease-in-out infinite;
}

.research-hero__vial--front {
	top: 82px;
	right: 100px;
	width: 185px;
	transform: rotate(7deg);
	animation: pepxFloat 6s ease-in-out infinite reverse;
}

.research-hero__vial-cap {
	position: relative;
	z-index: 2;
	width: 72%;
	height: 68px;
	margin: 0 auto -7px;
	background:
		linear-gradient(
			90deg,
			#a0aab8,
			#ffffff 22%,
			#84909f 46%,
			#ffffff 71%,
			#9ba6b4
		);
	border-radius: 21px 21px 11px 11px;
	box-shadow: inset 0 -9px 13px rgba(55, 65, 82, 0.14);
}

.research-hero__vial-body {
	position: relative;
	height: 280px;
	background:
		linear-gradient(
			90deg,
			rgba(204, 222, 248, 0.68),
			rgba(255, 255, 255, 0.95),
			rgba(191, 214, 246, 0.62)
		);
	border: 1px solid rgba(153, 180, 216, 0.54);
	border-radius: 32px 32px 42px 42px;
	overflow: hidden;
}

.research-hero__vial-label {
	position: absolute;
	top: 86px;
	right: 8px;
	left: 8px;
	padding: 29px 8px 24px;
	background: rgba(255, 255, 255, 0.94);
	border-top: 1px solid var(--pepx-border);
	border-bottom: 1px solid var(--pepx-border);
	text-align: center;
}

.research-hero__vial-label span {
	display: block;
	color: var(--pepx-navy);
	font-family: var(--pepx-font-heading);
	font-size: 33px;
	letter-spacing: 0.04em;
}

.research-hero__vial-label strong {
	color: var(--pepx-blue);
	font-weight: 400;
}

.research-hero__vial-label small {
	display: block;
	margin-top: 7px;
	color: var(--pepx-muted);
	font-size: 7px;
	font-weight: 800;
	letter-spacing: 0.15em;
}

.research-hero__card {
	position: absolute;
	z-index: 6;
	right: 0;
	bottom: 15px;
	width: 330px;
	padding: 27px;
	background: rgba(255, 255, 255, 0.79);
	border: 1px solid rgba(255, 255, 255, 0.96);
	border-radius: 27px;
	box-shadow: var(--pepx-shadow-md);
	backdrop-filter: blur(24px);
}

.research-hero__card > span {
	display: block;
	margin-bottom: 13px;
	color: var(--pepx-blue);
	font-size: 8px;
	font-weight: 800;
	letter-spacing: 0.13em;
	text-transform: uppercase;
}

.research-hero__card > strong {
	display: block;
	margin-bottom: 12px;
	color: var(--pepx-navy);
	font-family: var(--pepx-font-heading);
	font-size: 35px;
	font-weight: 400;
	line-height: 1;
}

.research-hero__card > small {
	display: block;
	color: var(--pepx-muted);
	font-size: 9px;
	line-height: 1.65;
}

/* Intro */

.research-intro {
	padding: 135px 0;
	background: var(--pepx-white);
}

.research-intro__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.75fr);
	align-items: end;
	gap: 100px;
}

.research-intro__heading h2 {
	margin: 18px 0 0;
	color: var(--pepx-navy);
	font-family: var(--pepx-font-heading);
	font-size: clamp(62px, 6vw, 92px);
	font-weight: 400;
	line-height: 0.92;
}

.research-intro__heading h2 span {
	display: block;
	color: var(--pepx-blue);
}

.research-intro__content p {
	margin: 0 0 18px;
	color: var(--pepx-muted);
	font-size: 14px;
	line-height: 1.85;
}

.research-intro__content a {
	display: inline-flex;
	align-items: center;
	gap: 11px;
	margin-top: 12px;
	color: var(--pepx-blue);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-decoration: none;
	text-transform: uppercase;
}

.research-intro__content a svg {
	width: 19px;
	height: 19px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
	transition: transform var(--pepx-transition);
}

.research-intro__content a:hover svg {
	transform: translateX(5px);
}

/* Research areas */

.research-areas {
	padding: 130px 0;
	background: var(--pepx-blue-pale);
}

.research-section-heading {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 50px;
	margin-bottom: 55px;
}

.research-section-heading h2 {
	margin: 18px 0 0;
	color: var(--pepx-navy);
	font-family: var(--pepx-font-heading);
	font-size: clamp(62px, 6vw, 90px);
	font-weight: 400;
	line-height: 0.92;
}

.research-section-heading > p {
	max-width: 440px;
	margin: 0 0 7px;
	color: var(--pepx-muted);
	font-size: 13px;
	line-height: 1.8;
}

.research-areas__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
}

.research-area-card {
	background: rgba(255, 255, 255, 0.86);
	border: 1px solid rgba(255, 255, 255, 0.96);
	border-radius: 29px;
	box-shadow: 0 17px 42px rgba(34, 61, 119, 0.055);
	overflow: hidden;
	backdrop-filter: blur(15px);
	transition:
		transform var(--pepx-transition),
		box-shadow var(--pepx-transition);
}

.research-area-card:hover {
	box-shadow: 0 28px 70px rgba(34, 61, 119, 0.13);
	transform: translateY(-8px);
}

.research-area-card > a {
	display: block;
	height: 100%;
	color: inherit;
	text-decoration: none;
}

.research-area-card__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 25px 27px 0;
}

.research-area-card__number {
	color: var(--pepx-blue);
	font-family: var(--pepx-font-heading);
	font-size: 30px;
	line-height: 1;
}

.research-area-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	background: var(--pepx-blue-soft);
	color: var(--pepx-blue);
	border-radius: 15px;
}

.research-area-card__icon svg {
	width: 21px;
	height: 21px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.research-area-card__visual {
	position: relative;
	height: 195px;
	margin: 10px 16px 0;
	background:
		radial-gradient(
			circle at 72% 28%,
			rgba(75, 120, 255, 0.22),
			transparent 31%
		),
		linear-gradient(145deg, #f8faff, #e9f0ff);
	border: 1px solid rgba(34, 92, 255, 0.08);
	border-radius: 22px;
	overflow: hidden;
}

.research-area-card__grid-lines {
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(34, 92, 255, 0.06) 1px, transparent 1px),
		linear-gradient(90deg, rgba(34, 92, 255, 0.06) 1px, transparent 1px);
	background-size: 33px 33px;
}

.research-area-card__molecule {
	position: absolute;
	top: 31px;
	left: 50%;
	width: 230px;
	height: 135px;
	transform: translateX(-50%);
}

.research-area-card__molecule::before,
.research-area-card__molecule::after {
	position: absolute;
	height: 2px;
	background: rgba(34, 92, 255, 0.22);
	content: "";
	transform-origin: left center;
}

.research-area-card__molecule::before {
	top: 65px;
	left: 20px;
	width: 180px;
	transform: rotate(-14deg);
}

.research-area-card__molecule::after {
	top: 40px;
	left: 108px;
	width: 105px;
	transform: rotate(55deg);
}

.research-area-card__molecule span {
	position: absolute;
	width: 24px;
	height: 24px;
	background: linear-gradient(145deg, #ffffff, #99b5ff);
	border: 1px solid rgba(34, 92, 255, 0.2);
	border-radius: 50%;
	box-shadow: 0 10px 24px rgba(34, 92, 255, 0.17);
}

.research-area-card__molecule span:nth-child(1) {
	top: 53px;
	left: 7px;
}

.research-area-card__molecule span:nth-child(2) {
	top: 8px;
	left: 96px;
	width: 39px;
	height: 39px;
}

.research-area-card__molecule span:nth-child(3) {
	top: 63px;
	right: 6px;
	width: 29px;
	height: 29px;
}

.research-area-card__molecule span:nth-child(4) {
	right: 39px;
	bottom: 1px;
	width: 44px;
	height: 44px;
}

.research-area-card__content {
	padding: 26px 27px 28px;
}

.research-area-card__content h3 {
	margin: 0 0 13px;
	color: var(--pepx-navy);
	font-family: var(--pepx-font-heading);
	font-size: 38px;
	font-weight: 400;
	line-height: 1;
}

.research-area-card__content p {
	min-height: 58px;
	margin: 0 0 22px;
	color: var(--pepx-muted);
	font-size: 10px;
	line-height: 1.75;
}

.research-area-card__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding-top: 18px;
	border-top: 1px solid var(--pepx-border-light);
}

.research-area-card__footer span {
	color: var(--pepx-muted);
	font-size: 8px;
	font-weight: 800;
	letter-spacing: 0.09em;
	text-transform: uppercase;
}

.research-area-card__footer svg {
	width: 20px;
	height: 20px;
	color: var(--pepx-blue);
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
	transition: transform var(--pepx-transition);
}

.research-area-card:hover .research-area-card__footer svg {
	transform: translateX(5px);
}

/* Method */

.research-method {
	padding: 145px 0;
	background: var(--pepx-white);
}

.research-method__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
	align-items: center;
	gap: 95px;
}

.research-method__content h2 {
	margin: 18px 0 28px;
	color: var(--pepx-navy);
	font-family: var(--pepx-font-heading);
	font-size: clamp(62px, 6vw, 92px);
	font-weight: 400;
	line-height: 0.92;
}

.research-method__content h2 span {
	display: block;
	color: var(--pepx-blue);
}

.research-method__content > p {
	max-width: 610px;
	margin: 0 0 34px;
	color: var(--pepx-muted);
	font-size: 15px;
	line-height: 1.85;
}

.research-method__steps {
	display: grid;
	gap: 15px;
}

.research-method-step {
	display: grid;
	grid-template-columns: 80px 1fr;
	align-items: center;
	gap: 25px;
	padding: 25px 27px;
	background: linear-gradient(180deg, #ffffff, #f8faff);
	border: 1px solid var(--pepx-border-light);
	border-radius: 22px;
	box-shadow: 0 12px 35px rgba(16, 24, 40, 0.045);
	transition:
		transform var(--pepx-transition),
		box-shadow var(--pepx-transition);
}

.research-method-step:hover {
	box-shadow: 0 22px 55px rgba(16, 24, 40, 0.09);
	transform: translateX(7px);
}

.research-method-step > span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 58px;
	height: 58px;
	background: var(--pepx-blue-soft);
	color: var(--pepx-blue);
	border-radius: 18px;
	font-family: var(--pepx-font-heading);
	font-size: 29px;
	line-height: 1;
}

.research-method-step strong {
	display: block;
	margin-bottom: 6px;
	color: var(--pepx-navy);
	font-family: var(--pepx-font-heading);
	font-size: 31px;
	font-weight: 400;
	line-height: 1;
}

.research-method-step p {
	margin: 0;
	color: var(--pepx-muted);
	font-size: 10px;
	line-height: 1.7;
}

/* Principles */

.research-principles {
	padding: 15px 0 130px;
	background: var(--pepx-white);
}

.research-principles__panel {
	display: grid;
	grid-template-columns: minmax(320px, 0.76fr) minmax(0, 1.24fr);
	align-items: center;
	gap: 65px;
	padding: 75px;
	background:
		radial-gradient(
			circle at 85% 12%,
			rgba(56, 108, 255, 0.26),
			transparent 31%
		),
		linear-gradient(135deg, #101828, #17233c);
	border-radius: 38px;
	box-shadow: 0 34px 88px rgba(16, 24, 40, 0.2);
}

.research-principles__intro .home-eyebrow {
	color: #8facff;
}

.research-principles__intro h2 {
	margin: 18px 0 20px;
	color: var(--pepx-white);
	font-family: var(--pepx-font-heading);
	font-size: clamp(52px, 5vw, 74px);
	font-weight: 400;
	line-height: 0.93;
}

.research-principles__intro p {
	max-width: 420px;
	margin: 0;
	color: rgba(255, 255, 255, 0.65);
	font-size: 13px;
	line-height: 1.8;
}

.research-principles__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 14px;
}

.research-principles__grid > div {
	min-height: 178px;
	padding: 25px;
	background: rgba(255, 255, 255, 0.065);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 21px;
	backdrop-filter: blur(15px);
}

.research-principles__grid span {
	display: block;
	margin-bottom: 24px;
	color: #8facff;
	font-family: var(--pepx-font-heading);
	font-size: 27px;
	line-height: 1;
}

.research-principles__grid strong {
	display: block;
	margin-bottom: 7px;
	color: var(--pepx-white);
	font-size: 11px;
}

.research-principles__grid p {
	margin: 0;
	color: rgba(255, 255, 255, 0.6);
	font-size: 9px;
	line-height: 1.65;
}

/* Notice */

.research-notice {
	padding: 0 0 120px;
	background: var(--pepx-white);
}

.research-notice__panel {
	display: flex;
	align-items: flex-start;
	gap: 20px;
	padding: 28px 32px;
	background: #f8faff;
	border: 1px solid var(--pepx-border-light);
	border-radius: 22px;
}

.research-notice__icon {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	background: var(--pepx-blue-soft);
	color: var(--pepx-blue);
	border-radius: 15px;
}

.research-notice__icon svg {
	width: 21px;
	height: 21px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.research-notice strong {
	display: block;
	margin-bottom: 6px;
	color: var(--pepx-navy);
	font-size: 12px;
}

.research-notice p {
	margin: 0;
	color: var(--pepx-muted);
	font-size: 10px;
	line-height: 1.75;
}

/* CTA */

.research-cta {
	padding: 0 0 120px;
}

.research-cta__panel {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 50px;
	padding: 65px 70px;
	background:
		radial-gradient(
			circle at 88% 20%,
			rgba(63, 111, 255, 0.25),
			transparent 32%
		),
		linear-gradient(135deg, #101828, #17233c);
	border-radius: 36px;
	box-shadow: 0 32px 85px rgba(16, 24, 40, 0.2);
}

.research-cta__panel .home-eyebrow {
	color: #8eabff;
}

.research-cta__panel h2 {
	max-width: 760px;
	margin: 18px 0 16px;
	color: var(--pepx-white);
	font-family: var(--pepx-font-heading);
	font-size: clamp(54px, 5vw, 76px);
	font-weight: 400;
	line-height: 0.92;
}

.research-cta__panel p {
	max-width: 650px;
	margin: 0;
	color: rgba(255, 255, 255, 0.66);
	font-size: 13px;
	line-height: 1.8;
}

.research-cta__actions {
	display: flex;
	flex: 0 0 auto;
	flex-wrap: wrap;
	gap: 12px;
}

.research-cta__panel .pepx-button--secondary {
	background: rgba(255, 255, 255, 0.08);
	border-color: rgba(255, 255, 255, 0.22);
	color: var(--pepx-white);
}

.research-cta__panel .pepx-button--secondary:hover {
	background: rgba(255, 255, 255, 0.15);
}

/* Responsive */

@media (max-width: 1120px) {
	.research-hero__grid {
		grid-template-columns: minmax(0, 0.9fr) minmax(450px, 1.1fr);
		gap: 30px;
	}

	.research-areas__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.research-method__grid {
		gap: 55px;
	}
}

@media (max-width: 900px) {
	.research-hero__grid,
	.research-intro__grid,
	.research-method__grid,
	.research-principles__panel {
		grid-template-columns: 1fr;
	}

	.research-hero__visual {
		width: min(100%, 650px);
		margin-inline: auto;
	}

	.research-intro__grid {
		gap: 45px;
	}

	.research-cta__panel {
		align-items: flex-start;
		flex-direction: column;
	}

	.research-cta__actions {
		width: 100%;
	}
}

@media (max-width: 680px) {
	.research-hero {
		min-height: auto;
		padding: 70px 0 40px;
	}

	.research-hero h1 {
		font-size: clamp(65px, 19vw, 90px);
	}

	.research-hero__content > p {
		font-size: 15px;
	}

	.research-hero__actions {
		display: grid;
		grid-template-columns: 1fr;
	}

	.research-hero__facts strong {
		font-size: 26px;
	}

	.research-hero__visual {
		left: 50%;
		width: 550px;
		min-height: 510px;
		margin-left: -275px;
		transform: scale(0.78);
		transform-origin: top center;
	}

	.research-intro,
	.research-areas,
	.research-method {
		padding: 90px 0;
	}

	.research-section-heading {
		align-items: flex-start;
		flex-direction: column;
		margin-bottom: 38px;
	}

	.research-areas__grid {
		grid-template-columns: 1fr;
	}

	.research-area-card__content p {
		min-height: 0;
	}

	.research-method-step {
		grid-template-columns: 64px 1fr;
		padding: 21px;
	}

	.research-method-step > span {
		width: 52px;
		height: 52px;
	}

	.research-principles {
		padding-bottom: 90px;
	}

	.research-principles__panel {
		gap: 40px;
		padding: 40px 25px;
		border-radius: 29px;
	}

	.research-principles__grid {
		grid-template-columns: 1fr;
	}

	.research-notice {
		padding-bottom: 90px;
	}

	.research-notice__panel {
		padding: 24px;
	}

	.research-cta {
		padding-bottom: 90px;
	}

	.research-cta__panel {
		padding: 42px 25px;
		border-radius: 28px;
	}

	.research-cta__actions {
		display: grid;
		grid-template-columns: 1fr;
	}
}

@media (max-width: 430px) {
	.research-hero__facts {
		grid-template-columns: 1fr;
	}

	.research-hero__facts > div {
		padding: 15px 0;
		border-bottom: 1px solid var(--pepx-border);
	}

	.research-notice__panel {
		flex-direction: column;
	}
}