:root {
	--page-max: 1220px;
	--content-max: 760px;
	--bg: #ffffff;
	--ink: #0f172a;
	--brand-accent: #1F2A44;
	--science-accent: #2F5BFF;
	--home-accent: #1F2A44;
	--space-accent: #6C4DFF;
	--earth-accent: #8B6B3F;
	--health-accent: #D95C5C;
	--physics-accent: #2F6BFF;
	--chemistry-accent: #0F8B8D;
	--biology-accent: #2E9E5B;
	--technology-accent: #D97706;
	--nature-accent: #6B8E23;
	--humans-accent: #B04A7A;
	--muted: #556274;
	--rule: #e8edf3;
	--soft: #f7f9fc;
	--accent: #0f6bd9;
	--shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: "Manrope", sans-serif;
	font-size: 16px;
	line-height: 1.65;
}

a {
	color: inherit;
	text-decoration: none;
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}

.site-shell {
	min-height: 100vh;
}

.site-main,
.site-header,
.site-footer {
	padding-inline: clamp(1rem, 2.7vw, 2rem);
}

.site-header__bar,
.section-rail,
.home-intro,
.hero-grid,
.section-block,
.archive-header,
.article-shell,
.site-footer__grid,
.site-footer__copyright {
	max-width: var(--page-max);
	margin-inline: auto;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 60;
	background: rgba(255, 255, 255, 0.94);
	backdrop-filter: blur(16px);
	border-bottom: 1px solid rgba(232, 237, 243, 0.92);
}

.site-header__bar {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 0.8rem;
	align-items: center;
	min-height: 4rem;
	position: relative;
	z-index: 2;
}

.site-header__slot--brand {
	justify-self: start;
	min-width: 0;
}

.site-header__slot--section {
	position: absolute;
	inset: 0;
	margin: auto;
	width: min(74vw, 34rem);
	display: flex;
	align-items: center;
	justify-content: center;
	pointer-events: none;
	z-index: 1;
}

.site-header__slot--actions {
	justify-self: end;
	display: flex;
	align-items: center;
	gap: 0.7rem;
}

.brand-lockup__logo {
	display: inline-block;
	font-size: clamp(1.08rem, 1.55vw, 1.28rem);
	font-weight: 800;
	letter-spacing: 0.05em;
	line-height: 1;
	white-space: nowrap;
	color: var(--brand-accent);
}

.current-section {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 2rem;
	max-width: 100%;
	text-align: center;
}

.current-section__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	max-width: 100%;
	pointer-events: auto;
}

.current-section__link--static {
	pointer-events: none;
}

.current-section__name {
	display: block;
	font-size: clamp(1.45rem, 3vw, 2.35rem);
	font-weight: 900;
	color: var(--accent);
	letter-spacing: 0.015em;
	line-height: 1.02;
	padding-bottom: 0.04em;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	transition: opacity 0.18s ease;
}

.current-section__link:hover .current-section__name,
.current-section__link:focus-visible .current-section__name {
	opacity: 0.78;
}

.current-section--home .current-section__name {
	color: var(--science-accent);
	letter-spacing: 0.16em;
}

.current-section--context .current-section__name {
	font-size: clamp(1.05rem, 2vw, 1.45rem);
	font-weight: 800;
	letter-spacing: 0.04em;
	color: var(--brand-accent);
}

.current-section--empty {
	visibility: hidden;
}

.search-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	width: 2.5rem;
	height: 2.5rem;
	border: 1px solid var(--rule);
	border-radius: 999px;
	background: #ffffff;
	color: var(--home-accent);
	cursor: pointer;
	box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.search-toggle__icon {
	width: 1.02rem;
	height: 1.02rem;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.search-toggle:hover,
.search-toggle[aria-expanded="true"] {
	background: var(--soft);
}

.nav-toggle {
	position: relative;
	display: none;
	background: #ffffff;
	border: 1px solid var(--rule);
	padding: 0;
	width: 2.5rem;
	height: 2.5rem;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	color: var(--ink);
	cursor: pointer;
	box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.nav-toggle:hover {
	background: var(--soft);
}

.nav-toggle__line {
	position: absolute;
	display: block;
	width: 1.02rem;
	height: 2px;
	border-radius: 999px;
	background: currentColor;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle__line:nth-child(1) {
	transform: translateY(-0.34rem);
}

.nav-toggle__line:nth-child(2) {
	transform: translateY(0);
}

.nav-toggle__line:nth-child(3) {
	transform: translateY(0.34rem);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__line:nth-child(1) {
	transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__line:nth-child(2) {
	opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__line:nth-child(3) {
	transform: rotate(-45deg);
}

.section-rail {
	display: flex;
	align-items: center;
	gap: 1rem 1.35rem;
	padding-block: 0 0.8rem;
	overflow-x: auto;
	scrollbar-width: none;
}

.section-rail::-webkit-scrollbar {
	display: none;
}

.section-rail__link {
	position: relative;
	display: inline-flex;
	align-items: center;
	white-space: nowrap;
	padding-bottom: 0.22rem;
	font-size: 0.88rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	color: var(--accent, var(--ink));
}

.section-rail__link::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 2px;
	background: var(--accent, var(--ink));
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.2s ease;
}

.section-rail__link--home {
	--accent: var(--home-accent);
}

.section-rail__separator {
	color: #9aa7b4;
	font-size: 0.85rem;
	font-weight: 700;
}

.desktop-search {
	max-width: var(--page-max);
	margin: 0 auto;
	padding: 0 0 0.9rem;
}

.desktop-search__form {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 0.7rem;
	padding-top: 0.9rem;
	border-top: 1px solid var(--rule);
}

.desktop-search__input {
	width: 100%;
	min-width: 0;
	padding: 0.82rem 0.95rem;
	border: 1px solid var(--rule);
	border-radius: 999px;
	background: #ffffff;
	color: var(--ink);
	font: inherit;
}

.desktop-search__input::placeholder {
	color: var(--muted);
}

.desktop-search__input:focus {
	outline: none;
	border-color: rgba(15, 23, 42, 0.22);
	box-shadow: 0 0 0 4px rgba(15, 23, 42, 0.06);
}

.desktop-search__button {
	padding: 0.82rem 1rem;
	border: 0;
	border-radius: 999px;
	background: var(--home-accent);
	color: #ffffff;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

.section-rail__link:hover::after,
.section-rail__link.is-active::after {
	transform: scaleX(1);
}

.site-menu {
	position: fixed;
	inset: 0;
	z-index: 50;
	padding: clamp(5rem, 9vh, 5.8rem) clamp(1rem, 2.7vw, 2rem) 1.5rem;
	background: rgba(255, 255, 255, 0.98);
	backdrop-filter: blur(20px);
	overflow-y: auto;
}

.site-menu[hidden] {
	display: none !important;
}

.site-menu__panel {
	width: 100%;
	max-width: var(--page-max);
	min-height: calc(100vh - 7rem);
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 2rem;
}

.menu-search {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 0.7rem;
	align-items: center;
	margin-top: auto;
	padding-top: 1.35rem;
	border-top: 1px solid var(--rule);
}

.menu-search__input {
	width: 100%;
	min-width: 0;
	padding: 0.78rem 0.95rem;
	border: 1px solid var(--rule);
	border-radius: 999px;
	background: #ffffff;
	color: var(--ink);
	font: inherit;
}

.menu-search__input::placeholder {
	color: var(--muted);
}

.menu-search__input:focus {
	outline: none;
	border-color: rgba(15, 23, 42, 0.22);
	box-shadow: 0 0 0 4px rgba(15, 23, 42, 0.06);
}

.menu-search__button {
	padding: 0.78rem 1rem;
	border: 0;
	border-radius: 999px;
	background: var(--ink);
	color: #ffffff;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

.menu-panel__nav {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.4rem 2rem;
	align-content: start;
}

.menu-panel__link {
	display: flex;
	align-items: center;
	gap: 0.7rem;
	padding: 0.9rem 0.1rem 0.9rem 0;
	border-bottom: 1px solid var(--rule);
	font-size: clamp(1rem, 1.8vw, 1.3rem);
	font-weight: 800;
	letter-spacing: 0.01em;
	color: var(--accent, var(--ink));
}

.menu-panel__link:last-child {
	border-bottom: 0;
}

.menu-panel__swatch {
	width: 0.55rem;
	height: 0.55rem;
	border-radius: 999px;
	background: var(--accent, var(--ink));
	flex: 0 0 auto;
}

.menu-panel__link--home {
	--accent: var(--home-accent);
}

.menu-panel__link.is-active {
	opacity: 0.9;
}

.menu-panel__link.is-active span:last-child {
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 0.22em;
}

body.menu-open {
	overflow: hidden;
}

body.home .site-main {
	display: flex;
	flex-direction: column;
}

body.home .section-block--team {
	order: -1;
	padding-top: clamp(1.2rem, 3vw, 2.1rem);
}

.home-intro {
	padding-block: clamp(2rem, 4vw, 3rem) clamp(1.2rem, 2vw, 1.8rem);
}

.home-intro__eyebrow,
.section-block__eyebrow,
.archive-header__eyebrow {
	margin: 0 0 0.55rem;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--muted);
}

.home-intro__title,
.section-block__title,
.archive-header__title,
.article-header__title {
	margin: 0;
	font-size: clamp(2rem, 5vw, 4.3rem);
	line-height: 1.02;
	letter-spacing: -0.04em;
}

.home-intro__text,
.archive-header__description,
.article-header__excerpt {
	margin: 1rem 0 0;
	max-width: 48rem;
	font-size: clamp(1rem, 1.3vw, 1.15rem);
	color: var(--muted);
}

.hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.8fr) minmax(300px, 1fr);
	gap: 2rem;
	padding-bottom: 3rem;
	border-bottom: 1px solid var(--rule);
}

body.home .hero-grid {
	padding-top: clamp(1.5rem, 3vw, 2.4rem);
}

.hero-story--lead .hero-story__media,
.article-media,
.story-card__media,
.hero-story--stack .hero-story__media {
	width: 100%;
	border-radius: 1.25rem;
	object-fit: cover;
}

.hero-story--lead .hero-story__media,
.article-media {
	aspect-ratio: 16 / 10;
}

.hero-story--stack {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.85rem;
	padding-bottom: 1.4rem;
	border-bottom: 1px solid var(--rule);
}

.hero-story--stack:last-child {
	padding-bottom: 0;
	border-bottom: 0;
}

.hero-story-stack {
	display: grid;
	gap: 1.4rem;
	align-content: start;
}

.hero-story__content {
	padding-top: 1rem;
}

.hero-story__title {
	margin: 0.8rem 0 0.75rem;
	font-size: clamp(2rem, 4vw, 3.5rem);
	line-height: 1.03;
	letter-spacing: -0.04em;
}

.hero-story__stack-title {
	margin: 0.65rem 0 0;
	font-size: 1.25rem;
	line-height: 1.12;
	letter-spacing: -0.03em;
}

.hero-story__excerpt,
.story-card__excerpt {
	margin: 0;
	color: var(--muted);
}

.story-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem 1rem;
	margin-top: 1rem;
	font-size: 0.82rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--muted);
}

.story-meta a,
.story-meta time {
	color: inherit;
}

.story-meta a[href*="/editorial-team/"] {
	color: var(--home-accent);
	font-weight: 800;
}

.story-meta span {
	position: relative;
}

.story-meta span + span::before {
	content: "•";
	position: absolute;
	left: -0.65rem;
	color: #bcc8d5;
}

.story-meta a:hover,
.story-meta a:focus-visible {
	opacity: 0.78;
}

.article-header .story-meta a[href*="/editorial-team/"] {
	color: var(--accent, var(--home-accent));
}

.category-chip-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem 0.95rem;
	margin-bottom: 0.85rem;
}

.category-chip {
	display: inline-flex;
	align-items: center;
	font-size: 0.74rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--accent);
}

.category-chip::before {
	content: "";
	display: inline-block;
	width: 0.55rem;
	height: 0.55rem;
	margin-right: 0.5rem;
	border-radius: 999px;
	background: var(--accent);
}

.section-block {
	padding-block: 3rem;
}

.section-block__header {
	display: grid;
	gap: 0.35rem;
	margin-bottom: 1.7rem;
}

.story-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 2rem 1.6rem;
}

.story-card {
	display: grid;
	gap: 1rem;
	align-content: start;
}

.story-card__title {
	margin: 0.65rem 0 0.55rem;
	font-size: 1.35rem;
	line-height: 1.12;
	letter-spacing: -0.03em;
}

.story-card__title a,
.hero-story__title a,
.hero-story__stack-title a,
.category-column__stories a,
.article-header__title a {
	transition: opacity 0.18s ease;
}

.story-card__title a:hover,
.hero-story__title a:hover,
.hero-story__stack-title a:hover,
.category-column__stories a:hover,
.article-header__title a:hover {
	opacity: 0.78;
}

.category-columns {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1.5rem;
}

.team-spotlight {
	display: grid;
	grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.2fr);
	gap: 2rem;
	align-items: start;
	padding-top: 0.4rem;
	border-top: 1px solid var(--rule);
}

.team-spotlight__media-link,
.team-card__media-link {
	display: block;
}

.team-spotlight__media,
.team-card__media,
.article-media--profile {
	width: 100%;
	object-fit: cover;
}

.team-spotlight__media,
.article-media--profile {
	aspect-ratio: 4 / 5;
	border-radius: 1.25rem;
}

.team-spotlight__content {
	padding-top: 0.3rem;
}

.team-spotlight__eyebrow,
.team-card__eyebrow {
	margin: 0 0 0.45rem;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--muted);
}

.team-spotlight__title,
.team-card__title {
	margin: 0;
	font-size: clamp(1.75rem, 3vw, 2.65rem);
	line-height: 1.04;
	letter-spacing: -0.04em;
}

.team-card__title {
	font-size: 1.55rem;
}

.team-spotlight__text,
.team-card__text {
	margin: 0.95rem 0 0;
	max-width: 42rem;
	color: var(--muted);
}

.team-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 2rem;
}

.team-grid--home {
	margin-top: 1.8rem;
}

.team-card {
	display: grid;
	grid-template-columns: minmax(180px, 0.8fr) minmax(0, 1fr);
	gap: 1.5rem;
	align-items: start;
	padding-top: 1.4rem;
	border-top: 1px solid var(--rule);
}

.team-card__media {
	aspect-ratio: 4 / 5;
	border-radius: 1rem;
}

.team-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.7rem 1rem;
	margin-top: 1.2rem;
}

.team-links a {
	font-size: 0.82rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--accent);
}

.category-column {
	padding-top: 0.9rem;
	border-top: 3px solid var(--accent);
}

.category-column h3 {
	margin: 0 0 1rem;
	font-size: 1.35rem;
	line-height: 1.12;
	color: var(--accent);
}

.category-column__stories {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 0.9rem;
}

.category-column__stories li {
	padding-top: 0.9rem;
	border-top: 1px solid var(--rule);
}

.archive-header {
	padding-block: 2rem 1.5rem;
	border-bottom: 1px solid var(--rule);
}

.archive-header__title {
	color: var(--accent);
}

.article-shell {
	padding-block: 2.5rem 1rem;
}

.article-header {
	max-width: var(--content-max);
	margin-inline: auto;
}

.article-media-wrap {
	max-width: 980px;
	margin: 2rem auto 0;
}

.article-media-wrap figure {
	margin: 0;
}

.article-media-wrap--profile {
	max-width: 540px;
}

.article-media-wrap .wp-element-caption,
.article-content .wp-element-caption {
	margin-top: 0.72rem;
	font-size: 0.78rem;
	line-height: 1.45;
	color: #64748b;
}

.article-media-wrap .wp-element-caption {
	text-align: right;
}

.article-content {
	max-width: var(--content-max);
	margin: 2rem auto 0;
	font-size: 1.08rem;
	color: #1e293b;
}

.article-content p {
	margin: 0 0 1.35rem;
}

.article-content h2,
.article-content h3 {
	margin: 2rem 0 0.8rem;
	line-height: 1.1;
	letter-spacing: -0.03em;
}

.article-content a {
	color: #0f6bd9;
	text-decoration: underline;
	text-decoration-color: rgba(15, 107, 217, 0.35);
	text-underline-offset: 0.2em;
}

.fallback-media {
	display: grid;
	align-content: space-between;
	padding: 1.2rem;
	border-radius: 1.25rem;
	min-height: 14rem;
	background:
		radial-gradient(circle at top right, rgba(255, 255, 255, 0.38), transparent 34%),
		linear-gradient(150deg, var(--accent), color-mix(in srgb, var(--accent) 72%, #0f172a));
	color: #ffffff;
}

.fallback-media__eyebrow {
	font-size: 0.76rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	opacity: 0.92;
}

.fallback-media__mark {
	font-size: clamp(1.9rem, 4vw, 3.6rem);
	font-weight: 800;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	line-height: 0.9;
}

.empty-state {
	max-width: 50rem;
	padding: 4rem 0;
}

.empty-state h2 {
	margin: 0 0 0.75rem;
	font-size: 2rem;
	line-height: 1.05;
}

.empty-state p {
	margin: 0;
	color: var(--muted);
}

.site-footer {
	margin-top: 3rem;
	padding-block: 2rem 2.6rem;
	border-top: 1px solid var(--rule);
}

.site-footer__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.5rem 3rem;
}

.site-footer__brand {
	margin: 0;
	font-size: 1.5rem;
	font-weight: 800;
	letter-spacing: 0.18em;
	color: var(--brand-accent);
}

.site-footer__text,
.site-footer__heading,
.site-footer__copyright {
	margin: 0;
	color: var(--muted);
}

.site-footer__heading {
	font-size: 0.76rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.14em;
}

.site-footer__links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.7rem 1rem;
	margin-top: 0.9rem;
}

.site-footer__subgroup {
	margin-top: 1.35rem;
}

.site-footer__links--secondary {
	margin-top: 0.75rem;
}

.site-footer__links a {
	font-weight: 700;
	color: var(--accent);
}

.site-footer__copyright {
	max-width: var(--page-max);
	padding-top: 1.4rem;
	font-size: 0.9rem;
}

@media (max-width: 1040px) {
	.hero-grid,
	.story-grid,
	.team-grid,
	.category-columns,
	.site-footer__grid {
		grid-template-columns: 1fr 1fr;
	}

	.hero-grid {
		grid-template-columns: 1fr;
	}

	.team-spotlight,
	.team-card {
		grid-template-columns: 1fr;
	}

	.section-rail {
		gap: 0.85rem 1rem;
		padding-bottom: 0.7rem;
	}

	.section-rail__link {
		font-size: 0.82rem;
	}

	.site-header__slot--section {
		width: min(64vw, 22rem);
	}
}

@media (max-width: 720px) {
	.story-grid,
	.team-grid,
	.category-columns,
	.site-footer__grid {
		grid-template-columns: 1fr;
	}

	.site-header__bar {
		min-height: 3.55rem;
		gap: 0.65rem;
	}

	.brand-lockup__logo {
		font-size: clamp(0.94rem, 4.4vw, 1.05rem);
		letter-spacing: 0.04em;
	}

	.site-header__slot--section {
		width: min(62vw, 13rem);
	}

	.current-section__name {
		font-size: clamp(1.35rem, 5.8vw, 1.75rem);
	}

	.current-section--home .current-section__name {
		font-size: 1rem;
		letter-spacing: 0.12em;
	}

	.current-section--context .current-section__name {
		font-size: clamp(0.82rem, 3.6vw, 1rem);
	}

	.search-toggle,
	.desktop-search {
		display: none !important;
	}

	.nav-toggle {
		display: inline-flex;
	}

	.section-rail {
		display: none;
	}

	.site-menu {
		padding: 4.4rem 1rem 1.2rem;
	}

	.site-menu__panel {
		min-height: calc(100vh - 5.6rem);
		gap: 1.5rem;
	}

	.menu-panel__nav {
		grid-template-columns: 1fr;
	}

	.menu-search {
		grid-template-columns: 1fr;
	}

	.menu-search__button {
		width: 100%;
	}

	.hero-story__title,
	.section-block__title,
	.archive-header__title,
	.article-header__title {
		font-size: clamp(1.8rem, 10vw, 2.8rem);
	}

	.team-spotlight__title,
	.team-card__title {
		font-size: clamp(1.55rem, 8vw, 2.15rem);
	}
}
