:root {
	--navy: #0d2137;
	--navy-lt: #162e4d;
	--teal: #0e8fa0;
	--teal-lt: #12b0c5;
	--amber: #d4841a;
	--amber-lt: #e89a30;
	--cream: #fdfaf5;
	--gray-lt: #f2f0eb;
	--gray: #e0ddd7;
	--mid: #8a8580;
	--text: #1e1c18;
	--green: #1a7a4a;
	--green-lt: #e8f5ee;
	--red-lt: #fdf0f0;
	--r: 12px;
	--shadow: 0 0 32px rgba(13, 33, 55, 0.12);
	--trans: all 0.25s ease;
}

/* NAV */
nav {
	background: var(--navy);
}

/* HERO */
.hero {
	background: linear-gradient(
		150deg,
		var(--navy) 0%,
		#0c2840 45%,
		#083040 75%,
		#062830 100%
	);
	overflow: hidden;
}

.hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(14, 143, 160, 0.05) 1px, transparent 1px),
		linear-gradient(90deg, rgba(14, 143, 160, 0.05) 1px, transparent 1px);
	background-size: 55px 55px;
	animation: gridMove 22s linear infinite;
  z-index: -1;
}

@keyframes gridMove {
	0% {
		background-position: 0 0;
	}

	100% {
		background-position: 55px 55px;
	}
}

.hero-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: calc(100vh - 200px);
}

.hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	background: rgba(14, 143, 160, 0.15);
	border: 1px solid rgba(14, 143, 160, 0.35);
	border-radius: 50px;
	padding: 0.38rem clamp(9px, calc(6.694px + 0.721vw), 17px);
	font-size: 0.74rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--teal-lt);
	margin-bottom: 1.6rem;
  max-width: 115px;
}

.badge-dot {
	min-width: 8px;
	min-height: 8px;
	border-radius: 50%;
	background: var(--teal-lt);
	animation: pulse 2s infinite;
}

@keyframes pulse {
	0%,
	100% {
		opacity: 1;
	}

	50% {
		opacity: 0.3;
	}
}

.hero h1 {
	font-size: clamp(25px, calc(16.64px + 2.613vw), 54px);
	line-height: 1.2;
	font-weight: 700;
	margin-bottom: 1.3rem;
	max-width: 1070px;
}

.hero h1 em {
	font-style: italic;
	color: var(--teal-lt);
}

.hero-lead {
	font-size: clamp(14px, calc(12.847px + 0.36vw), 18px);
	opacity: 0.82;
	max-width: 825px;
	margin-bottom: 2.8rem;
	line-height: 1.85;
}

.hero-stats {
	display: flex;
	flex-wrap: wrap;
	gap: 40px;
	margin-bottom: 3rem;
}

.stat-item .stat-num {
	font-size: clamp(25px, calc(22.117px + 0.901vw), 35px);
	font-weight: 700;
	color: var(--teal-lt);
	line-height: 1;
}

.stat-item .stat-label {
	font-size: 14px;
	opacity: 0.6;
	margin-top: 0.25rem;
	max-width: 160px;
	line-height: 1.4;
}

.hero-disclaimer {
	font-size: 14px;
	max-width: 680px;
	opacity: 0.48;
}  

.prose,
.pathway-card,
.bm-block,
.limit-card,
.callout,
.ref-item {
	opacity: 0;
	transform: translateY(20px);
}

.prose.fade-in-up,
.pathway-card.fade-in-up,
.bm-block.fade-in-up,
.limit-card.fade-in-up,
.callout.fade-in-up,
.ref-item.fade-in-up {
	opacity: 1;
	transform: translateY(0);
	transition: 0.6s ease;
}

.table,
.timeline-bar-wrapper {
	opacity: 0;
}
.table.fade-in,
.timeline-bar-wrapper.fade-in {
	opacity: 1;
	transition: 0.6s ease;
}

/* SECTION FRAMEWORK */

.section-label {
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--teal);
	margin-bottom: 0.8rem;
}

.section-title {
	font-size: clamp(25px, calc(21.252px + 1.171vw), 38px);
	font-weight: 700;
	line-height: 1.25;
	margin-bottom: 1.2rem;
	color: var(--navy);
}

.section-lead {
	font-size: clamp(14px, calc(13.423px + 0.18vw), 16px);
	color: #3a3832;
	line-height: 1.85;
	max-width: 780px;
	margin-bottom: 2rem;
}

.alt-bg {
	background: var(--gray-lt);
}

.dark-bg {
	background: var(--navy);
	color: #fff;
}

.dark-bg .section-title {
	color: #fff;
}

.dark-bg .section-label {
	color: var(--teal-lt);
}

.dark-bg .section-lead {
	color: rgba(255, 255, 255, 0.78);
}

/* INTRO PROSE */
#intro {
	padding: var(--vertical-padding) 0;
}

.prose p {
	margin-bottom: 1.2rem;
	font-size: clamp(14px, calc(13.423px + 0.18vw), 16px);
	line-height: 1.9;
	color: #2e2c28;
}

.prose p:last-child {
	margin-bottom: 0;
}

.prose strong {
	color: var(--navy);
}

/* CALL-OUT BOX */
.callout {
	background: #fff;
	border-left: clamp(3px, calc(2.712px + 0.09vw), 4px) solid var(--teal);
	border-radius: var(--r);
	padding: clamp(15px, calc(11.364px + 1.136vw), 25px);
	box-shadow: var(--shadow);
}

.callout.amber {
	border-left-color: var(--amber);
}

.callout.navy {
	background: var(--navy-lt);
	border: none;
	border-left: 4px solid var(--teal-lt);
}

.callout h4 {
	font-weight: 800;
	font-size: clamp(14px, calc(13.423px + 0.18vw), 16px);
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--teal);
	margin-bottom: 0.5rem;
}

.callout.amber h4 {
	color: var(--amber);
}

.callout.navy h4 {
	color: var(--teal-lt);
}

.callout p {
	font-size: 14px;
	line-height: 1.75;
	color: #3a3832;
}

.callout.navy p {
	color: rgba(255, 255, 255, 0.8);
}

.neural-architecture {
	padding: var(--vertical-padding) 0;
}

/* EVIDENCE CHIP */
.evidence-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 1rem 0;
}

.chip {
	background: var(--gray-lt);
	border-radius: 50px;
	padding: 0.28rem 0.8rem;
	font-size: 0.76rem;
	font-weight: 700;
	color: var(--navy);
}

.chip.pmid {
	background: rgba(14, 143, 160, 0.08);
	border-color: rgba(14, 143, 160, 0.25);
	color: var(--teal);
}

.chip.level {
	background: var(--lnavy);
	color: var(--green);
}

.chip.amber {
	background: rgba(212, 132, 26, 0.1);
	border-color: rgba(212, 132, 26, 0.25);
	color: var(--amber);
}

/* BIOMARKER CARD */
.bm-section {
	padding: var(--vertical-padding) 0;
}

.bm-section:nth-child(even) {
	background: var(--gray-lt);
}

.bm-header {
	display: flex;
	gap: 1.5rem;
	align-items: start;
	margin-bottom: 2rem;
}

.bm-number {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-width: clamp(50px, calc(47.117px + 0.901vw), 60px);
	min-height: clamp(50px, calc(47.117px + 0.901vw), 60px);
	background: var(--navy);
	border-radius: clamp(13px, calc(12.423px + 0.18vw), 15px);
}

.bm-num-label {
	font-size: clamp(9px, calc(8.423px + 0.18vw), 11px);
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--teal-lt);
}

.bm-num-val {
	font-size: clamp(18px, calc(16.27px + 0.541vw), 24px);
	font-weight: 700;
	color: #fff;
	line-height: 1;
}

.bm-title-block h2 {
	font-size: clamp(1.4rem, 2.2vw, 1.9rem);
	font-weight: 700;
	color: var(--navy);
	line-height: 1.2;
	margin-bottom: 0.4rem;
}

.bm-title-block .bm-subtitle {
	font-size: 0.88rem;
	color: var(--mid);
	font-weight: 600;
	margin-bottom: 0.6rem;
}

.bm-normal {
	display: inline-block;
	background: var(--green-lt);
	border-radius: 50px;
	padding: 0.2rem 0.75rem;
	font-size: 0.78rem;
	font-weight: 700;
	color: var(--green);
}

.bm-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2rem;
	margin-top: 2rem;
}

.bm-block {
	background: #fff;
	border-radius: var(--r);
	padding: clamp(15px, calc(12.117px + 0.901vw), 25px);
	box-shadow: 0 0 12px rgba(13, 33, 55, 0.1);
}

.bm-block h4 {
	font-size: clamp(14px, calc(13.423px + 0.18vw), 16px);
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--teal);
	margin-bottom: 0.7rem;
	padding-bottom: 0.5rem;
	border-bottom: 1px solid var(--gray);
}

.bm-block p,
.bm-block li {
	font-size: 14px;
	line-height: 1.75;
	color: #3a3832;
}

.bm-block ul {
	padding-left: 1.2rem;
}

.bm-block li {
	margin-bottom: 0.35rem;
}

.bm-block.navy-card {
	background: var(--navy);
	border-color: var(--navy);
}

.bm-block.navy-card h4 {
	color: var(--teal-lt);
	border-color: rgba(255, 255, 255, 0.12);
}

.bm-block.navy-card p,
.bm-block.navy-card li {
	color: rgba(255, 255, 255, 0.82);
}

.peak-saccadic-velocity .bm-normal,
.vergence .bm-normal,
.plr .bm-normal,
.contrast-sensitivity .bm-normal,
.inter-saccadic-interval .bm-normal,
.smooth-pursuit-gain .bm-normal {
	background: var(--green);
	color: var(--white);
}

.peak-saccadic-velocity .chip:nth-of-type(2) {
	background: #2162a83d;
}

.vergence .chip:nth-of-type(3),
.plr .chip:nth-of-type(3) {
	background: var(--gray);
}

#vr-platform {
	padding: var(--vertical-padding) 0;
}

/* DATA TABLE */
#vr-platform .table thead tr {
	background: var(--gray-lt);
}

#vr-platform .table thead tr th {
  color: var(--text);
}

.table .normal-val {
	color: var(--green);
	font-weight: 700;
}

.table .alert-val {
	color: #c0392b;
	font-weight: 700;
}

/* PUBMED TIMELINE */
.timeline-bar {
	display: flex;
	align-items: flex-end;
	gap: 3px;
	height: 140px;
	margin: 1.5rem 0;
	padding: 1px 0;
	/* overflow: auto; */
}

.tbar {
	background: var(--teal);
	border-radius: 4px 4px 0 0;
	transition: opacity 0.2s;
	flex: 1;
	min-width: 8px;
}

.tbar:nth-of-type(1),
.tbar:nth-of-type(2),
.tbar:nth-of-type(3),
.tbar:nth-of-type(4) {
	border-radius: 0;
}

.tbar:hover {
	opacity: 0.75;
}

.tbar.highlight {
	background: var(--amber);
}

.tbar.current {
	background: var(--teal-lt);
}

.timeline-labels {
	display: flex;
	justify-content: space-between;
	gap: 5px;
	font-size: 0.72rem;
	color: var(--mid);
	font-weight: 600;
	margin-top: 0.5rem;
}

.timeline-labels span:not(:last-of-type) {
	text-wrap-mode: nowrap;
}

/* NEURAL PATHWAY TABLE */
.pathway-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(268px, 1fr));
	gap: 1rem;
	margin: 1.5rem 0;
}

.pathway-card {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	background: #fff;
	border-radius: 10px;
	padding: clamp(15px, calc(13.559px + 0.45vw), 20px);
	box-shadow: 0 2px 8px rgba(13, 33, 55, 0.05);
}

.pathway-card .pname {
	font-weight: 800;
	font-size: 16px;
	color: var(--navy);
	margin-bottom: 0.3rem;
}

.pathway-card .pfunc {
	font-size: 14px;
	color: #555;
	line-height: 1.6;
}

.pathway-card .pdisease {
	font-size: 13px;
	color: var(--teal);
	font-weight: 700;
	margin-top: 0.4rem;
}

/* CITATION BOX */
.citation {
	background: var(--gray-lt);
	border: 1px solid var(--gray);
	border-radius: 8px;
	padding: 1rem 1.2rem;
	margin: 0.7rem 0;
	font-size: 0.86rem;
	line-height: 1.65;
}

.citation strong {
	color: var(--navy);
}

.citation .pmid-badge {
	display: inline-block;
	background: rgba(14, 143, 160, 0.12);
	border: 1px solid rgba(14, 143, 160, 0.25);
	color: var(--teal);
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	border-radius: 4px;
	padding: 0.1rem 0.45rem;
	margin-left: 0.5rem;
}

/* EVIDENCE LEVEL BANNER */
.ev-level {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.3rem 0.9rem;
	border-radius: 50px;
	font-size: 0.76rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.ev-1 {
	background: var(--green-lt);
	color: var(--green);
	border: 1px solid rgba(26, 122, 74, 0.2);
}

.ev-2 {
	background: rgba(14, 143, 160, 0.1);
	color: var(--teal);
	border: 1px solid rgba(14, 143, 160, 0.25);
}

.ev-3 {
	background: rgba(212, 132, 26, 0.1);
	color: var(--amber);
	border: 1px solid rgba(212, 132, 26, 0.25);
}

/* VR ADVANTAGE BOX */
.vr-box {
	grid-column: 1 / -1;
	background: linear-gradient(135deg, var(--navy) 0%, #0a3a50 100%);
	border-radius: var(--r);
	padding: clamp(15px, calc(12.117px + 0.901vw), 25px);
	margin-top: 2rem;
	color: #fff;
	width: 100%;
}

.vr-box h4 {
	color: var(--teal-lt);
	font-size: clamp(14px, calc(13.423px + 0.18vw), 16px);
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	margin-bottom: 0.7rem;
}

.vr-box p {
	color: rgba(255, 255, 255, 0.82);
	font-size: 14px;
	line-height: 1.8;
}

.vr-metric-wrapper {
	margin-top:0.8rem;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
}

.vr-box .vr-metric {
	background: rgba(14, 143, 160, 0.2);
	border-radius: 6px;
	padding: 0.15rem 0.6rem;
	font-size: 0.82rem;
	font-weight: 700;
	color: var(--teal-lt);
}

/* LIMITATION SECTION */
.limit-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.5rem;
	margin-top: 2rem;
}

.limit-card {
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: var(--r);
	padding: clamp(15px, calc(12.117px + 0.901vw), 25px);
}

.limit-card h4 {
	color: var(--amber-lt);
	font-size: clamp(14px, calc(13.423px + 0.18vw), 16px);
	font-weight: 800;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	margin-bottom: 0.6rem;
}

.limit-card p {
	color: rgba(255, 255, 255, 0.75);
	font-size: 14px;
	line-height: 1.75;
}

/* REFERENCES */
.ref-list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(336px, 1fr));
	gap: 20px;
}

.ref-item {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 15px;
	font-size: clamp(14px, calc(13.423px + 0.18vw), 16px);
	line-height: 1.65;
	padding: clamp(15px, calc(12.117px + 0.901vw), 25px);
	background: var(--white);
	border-radius: var(--r);
	box-shadow: var(--shadow);
}

.ref-subitem {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}

.ref-subitem p {
	font-size: clamp(12px, calc(11.423px + 0.18vw), 14px);
}

#pubmed {
	padding: var(--vertical-padding) 0;
}

.timeline-bar-wrapper {
	background:#fff;
	border-radius:var(--r);
	padding:clamp(15px, calc(10.676px + 1.351vw), 30px);
	box-shadow:var(--shadow);
}

.timeline-bar-wrapper>div {
	overflow: auto;
}

.timeline-bar-title {
	font-weight:800;
	font-size: 14px;
	color:var(--navy);
	margin-bottom:1.2rem;
}

.timeline-bar-bottom-title {
	font-size: 12px;
	color:var(--mid);
	margin-top:1rem;
}

.callout-wrapper {
	margin-top:2rem;
	display:grid;
	grid-template-columns:repeat(auto-fill,minmax(339px,1fr));
	gap:1rem;
}

.limitations {
	padding: var(--vertical-padding) 0;
}

.citable-papers {
	padding: var(--vertical-padding) 0;
}

#references {
	padding: var(--vertical-padding) 0;
}

.contact {
	background: #0d1f33;
	padding: var(--vertical-padding) 0;
}

.contact-inner {
	display: grid;
	grid-template-columns: auto 520px;
	gap: clamp(40px, calc(28.468px + 3.604vw), 80px);
}

.contact .sh {
	color: var(--white);
}

.contact .sintro {
	color: rgba(255, 255, 255, 0.6);
}

.contact-form select option {
	background: var(--navy);
	color: var(--white);
}

.cf-submit {
	background: var(--green);
	color: var(--white);
	font-weight: 800;
	font-size: clamp(14px, calc(13.423px + 0.18vw), 16px);
	padding: clamp(10px, calc(8.559px + 0.45vw), 15px);
	border-radius: 100px;
	border: none;
	cursor: pointer;
	width: 100%;
	box-shadow: 0 6px 24px rgba(26, 122, 80, 0.4);
	transition: 0.2s ease;
}

.cf-submit:hover {
	transform: translateY(-1px);
}

@media (max-width: 768px) {
	.bm-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 725px) {
	.contact-inner {
    grid-template-columns: 1fr;
	}
}

@media (max-width: 680px) {
	.hero-stats {
		gap: 1.5rem;
	}

	.limit-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 495px) {
	.bm-header {
		flex-direction: column;
		gap: 10px;
	}
	.bm-header-content {
		display: flex;
		align-items: center;
		gap: 15px;
	}
	.bm-title-block .bm-subtitle {
		margin-bottom: 0;
	}

	.bm-normal {
    padding: 5px 24px;
	}
}

@media (max-width: 380px) {
	.callout-wrapper {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	}
}

@media (max-width: 365px) {
	.ref-list {
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
	}

	.bm-header-content {
		align-items: flex-start;
		flex-direction: column;
	}
}