/**
 * Premier Plasmotec Journal route.
 *
 * Core owns records, fields, approval and relationships. This module owns the
 * archive/single composition and subordinate motion states only.
 */

body.ppps-module-journal {
	--pp-journal-ink: #07090a;
	--pp-journal-graphite: #111516;
	--pp-journal-steel: #a9b7ba;
	--pp-journal-steel-bright: #dbe3e4;
	--pp-journal-paper: #f1efe8;
	--pp-journal-paper-bright: #fbfaf5;
	--pp-journal-paper-deep: #dad8d0;
	--pp-journal-line-dark: rgba(255, 255, 255, .17);
	--pp-journal-line-light: rgba(7, 9, 10, .2);
	background: var(--pp-journal-ink);
}

body.ppps-module-journal .site-main {
	overflow: clip;
	background: var(--pp-journal-paper);
}

body.ppps-module-journal :where(
	.journal-index__hero-inner,
	.journal-index__hero-copy,
	.journal-index__topics,
	.journal-index__inner,
	.journal-index__grid,
	.journal-card,
	.journal-card__body,
	.journal-single__hero-inner,
	.journal-single__hero-copy,
	.journal-single__main,
	.journal-single__content,
	.journal-related__inner,
	.pp-journal-layout,
	.pp-journal-card,
	.pp-journal-card__body
) {
	box-sizing: border-box;
	min-width: 0;
}

/* Canonical archive and custom Journal taxonomy. */
body.ppps-module-journal .journal-index__hero {
	position: relative;
	display: grid;
	min-height: clamp(35rem, 72svh, 52rem);
	align-content: end;
	color: #fff;
	background:
		radial-gradient(circle at 82% 35%, rgba(169, 183, 186, .15), transparent 29rem),
		linear-gradient(135deg, rgba(255, 255, 255, .035), transparent 48%),
		var(--pp-journal-ink);
	isolation: isolate;
	overflow: clip;
}

body.ppps-module-journal .journal-index__hero::before {
	position: absolute;
	z-index: 0;
	inset: 0;
	content: "";
	pointer-events: none;
	background:
		linear-gradient(rgba(255, 255, 255, .052) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, .052) 1px, transparent 1px);
	background-position:
		0 calc(var(--pp-scene-progress, 0) * 2rem),
		calc(var(--pp-scene-progress, 0) * 2rem) 0;
	background-size: clamp(4.25rem, 7vw, 7.5rem) clamp(4.25rem, 7vw, 7.5rem);
	mask-image: linear-gradient(90deg, #000, transparent 84%);
	opacity: calc(.22 + var(--pp-scene-progress, 0) * .32);
}

body.ppps-module-journal .journal-index__hero::after {
	position: absolute;
	z-index: 0;
	right: clamp(2rem, 5vw, 6rem);
	bottom: clamp(7rem, 12vw, 10rem);
	width: clamp(7rem, 15vw, 17rem);
	aspect-ratio: 1;
	border-right: 1px solid rgba(255, 255, 255, .42);
	border-bottom: 1px solid rgba(255, 255, 255, .42);
	content: "";
	pointer-events: none;
	opacity: calc(.28 + var(--pp-scene-progress, 0) * .5);
	transform: translate3d(
		calc((1 - var(--pp-scene-progress, 0)) * 1.5rem),
		calc((1 - var(--pp-scene-progress, 0)) * 1.5rem),
		0
	);
}

body.ppps-module-journal .journal-index__hero-inner {
	position: relative;
	z-index: 1;
	display: grid;
	width: min(calc(100% - clamp(4rem, 9vw, 10rem)), 128rem);
	margin-inline: auto;
	padding: clamp(10rem, 18vh, 14rem) 0 clamp(4rem, 7vw, 7rem);
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: clamp(1.5rem, 3vw, 4rem);
	align-items: end;
}

body.ppps-module-journal .journal-index__hero-copy {
	grid-column: 1 / span 9;
}

body.ppps-module-journal .journal-index__hero-copy .eyebrow {
	margin: 0 0 clamp(1.25rem, 2vw, 2rem);
	font-family: var(--ppps-font-mono, monospace);
	font-size: .72rem;
	letter-spacing: .16em;
	text-transform: uppercase;
	opacity: .68;
}

body.ppps-module-journal .journal-index__hero-copy h1 {
	max-width: 10ch;
	margin: 0;
	font-size: clamp(4.5rem, 9vw, 11rem);
	line-height: .82;
	letter-spacing: -.065em;
	text-wrap: balance;
	transform: translate3d(
		0,
		calc((1 - var(--pp-scene-progress, 0)) * 1rem),
		0
	);
}

body.ppps-module-journal .journal-index__description {
	max-width: 48rem;
	margin-top: clamp(2rem, 3vw, 3rem);
	font-size: clamp(1.05rem, 1.35vw, 1.4rem);
	line-height: 1.55;
	opacity: .74;
}

body.ppps-module-journal .journal-index__description > :last-child {
	margin-bottom: 0;
}

body.ppps-module-journal .journal-index__count {
	display: grid;
	margin: 0;
	padding-top: 1rem;
	border-top: 1px solid var(--pp-journal-line-dark);
	grid-column: 10 / -1;
	gap: .35rem;
	font-family: var(--ppps-font-mono, monospace);
	text-transform: uppercase;
}

body.ppps-module-journal .journal-index__count strong {
	font-size: clamp(2.6rem, 4.2vw, 5rem);
	font-weight: 500;
	line-height: .9;
	letter-spacing: -.06em;
}

body.ppps-module-journal .journal-index__count span {
	font-size: .67rem;
	letter-spacing: .14em;
	opacity: .62;
}

body.ppps-module-journal .journal-index__topics {
	position: relative;
	z-index: 2;
	display: flex;
	width: min(calc(100% - clamp(4rem, 9vw, 10rem)), 128rem);
	margin-inline: auto;
	padding: 1.1rem 0;
	border-top: 1px solid var(--pp-journal-line-dark);
	gap: .55rem;
	overflow-x: auto;
	scrollbar-width: thin;
}

body.ppps-module-journal .journal-index__topics a {
	flex: 0 0 auto;
	padding: .65rem .9rem;
	border: 1px solid var(--pp-journal-line-dark);
	color: inherit;
	font-family: var(--ppps-font-mono, monospace);
	font-size: .68rem;
	letter-spacing: .1em;
	text-decoration: none;
	text-transform: uppercase;
	transition:
		border-color 180ms ease,
		background-color 180ms ease,
		color 180ms ease;
}

body.ppps-module-journal .journal-index__topics a:is(:hover, :focus-visible),
body.ppps-module-journal .journal-index__topics a[aria-current="page"] {
	border-color: var(--pp-journal-paper-bright);
	background: var(--pp-journal-paper-bright);
	color: var(--pp-journal-ink);
}

body.ppps-module-journal .journal-index__records {
	position: relative;
	padding: clamp(5rem, 9vw, 10rem) 0 clamp(6rem, 11vw, 12rem);
	background: var(--pp-journal-paper);
	color: var(--pp-journal-ink);
}

body.ppps-module-journal .journal-index__inner {
	width: min(calc(100% - clamp(4rem, 9vw, 10rem)), 128rem);
	margin-inline: auto;
}

body.ppps-module-journal .journal-index__grid {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: clamp(2rem, 4vw, 5rem) clamp(1.5rem, 2.5vw, 3rem);
	counter-reset: pp-journal-card;
}

body.ppps-module-journal .journal-card {
	display: flex;
	min-height: 100%;
	border-top: 1px solid var(--pp-journal-line-light);
	grid-column: span 4;
	flex-direction: column;
	counter-increment: pp-journal-card;
}

body.ppps-module-journal .journal-card:first-child {
	grid-column: span 8;
}

body.ppps-module-journal
	.journal-index__records[data-pp-journal-density="single"]
	.journal-card:first-child {
	grid-column: 1 / -1;
}

body.ppps-module-journal
	.journal-index__records[data-pp-journal-density="sparse"]
	.journal-card:first-child {
	grid-column: span 7;
}

body.ppps-module-journal
	.journal-index__records[data-pp-journal-density="sparse"]
	.journal-card:nth-child(2) {
	grid-column: span 5;
}

body.ppps-module-journal .journal-card::before {
	display: block;
	padding: .8rem 0;
	content: counter(pp-journal-card, decimal-leading-zero);
	font-family: var(--ppps-font-mono, monospace);
	font-size: .66rem;
	letter-spacing: .14em;
	opacity: .48;
}

body.ppps-module-journal .journal-card__media {
	position: relative;
	width: 100%;
	margin: 0;
	aspect-ratio: 4 / 3;
	background: var(--pp-journal-paper-deep);
	overflow: clip;
}

body.ppps-module-journal .journal-card:first-child .journal-card__media {
	aspect-ratio: 16 / 9;
}

body.ppps-module-journal .journal-card__media a {
	display: block;
	width: 100%;
	height: 100%;
}

body.ppps-module-journal .journal-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: saturate(.78) contrast(1.04);
	transition:
		filter 420ms ease,
		transform 620ms cubic-bezier(.2, .7, .2, 1);
}

body.ppps-module-journal .journal-card:focus-within .journal-card__media img,
body.ppps-module-journal .journal-card:hover .journal-card__media img {
	filter: saturate(.95) contrast(1.02);
	transform: scale(1.025);
}

body.ppps-module-journal .journal-card.is-no-media {
	position: relative;
	min-height: clamp(23rem, 31vw, 34rem);
	padding: clamp(1.5rem, 3vw, 3rem);
	background:
		linear-gradient(rgba(7, 9, 10, .055) 1px, transparent 1px),
		linear-gradient(90deg, rgba(7, 9, 10, .055) 1px, transparent 1px);
	background-size: 3.5rem 3.5rem;
}

body.ppps-module-journal .journal-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding-top: clamp(1.4rem, 2.2vw, 2.2rem);
}

body.ppps-module-journal .journal-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem 1rem;
	margin-bottom: clamp(1.25rem, 2vw, 2rem);
	color: rgba(7, 9, 10, .62);
	font-family: var(--ppps-font-mono, monospace);
	font-size: .66rem;
	letter-spacing: .08em;
	line-height: 1.45;
	text-transform: uppercase;
}

body.ppps-module-journal .journal-card__meta a {
	color: inherit;
	text-decoration-thickness: 1px;
	text-underline-offset: .2em;
}

body.ppps-module-journal .journal-card h2 {
	max-width: 18ch;
	margin: 0;
	font-size: clamp(1.75rem, 2.5vw, 3.25rem);
	line-height: 1.03;
	letter-spacing: -.045em;
	text-wrap: balance;
}

body.ppps-module-journal .journal-card:first-child h2 {
	max-width: 14ch;
	font-size: clamp(2.7rem, 4.7vw, 6rem);
	line-height: .92;
}

body.ppps-module-journal .journal-card h2 a {
	color: inherit;
	text-decoration: none;
}

body.ppps-module-journal .journal-card__standfirst {
	max-width: 48rem;
	margin: 1.25rem 0 0;
	color: rgba(7, 9, 10, .7);
	font-size: clamp(.98rem, 1.08vw, 1.18rem);
	line-height: 1.6;
}

body.ppps-module-journal .journal-card__action {
	display: inline-flex;
	width: max-content;
	margin-top: auto;
	padding-top: 2rem;
	align-items: center;
	gap: .6rem;
	color: inherit;
	font-family: var(--ppps-font-mono, monospace);
	font-size: .69rem;
	font-weight: 700;
	letter-spacing: .1em;
	text-decoration: none;
	text-transform: uppercase;
}

body.ppps-module-journal .journal-card__action span {
	transition: transform 180ms ease;
}

body.ppps-module-journal .journal-card__action:is(:hover, :focus-visible) span {
	transform: translateX(.35rem);
}

body.ppps-module-journal .journal-index__empty {
	max-width: 58rem;
	padding: clamp(3rem, 7vw, 7rem) 0;
	border-top: 2px solid currentColor;
}

body.ppps-module-journal .journal-index__empty h2 {
	margin: 0 0 2rem;
	font-size: clamp(2rem, 4vw, 4.6rem);
	line-height: 1;
	letter-spacing: -.045em;
}

body.ppps-module-journal .journal-index__empty a {
	color: inherit;
	font-family: var(--ppps-font-mono, monospace);
	font-size: .72rem;
	letter-spacing: .1em;
	text-transform: uppercase;
	text-underline-offset: .25em;
}

/* The Gutenberg Journal Feature shares the same honest record states. */
body.ppps-module-journal .pp-block--journal-feature .pp-journal-layout {
	gap: clamp(1.5rem, 3vw, 3rem);
}

body.ppps-module-journal
	.pp-block--journal-feature
	.pp-journal-layout--single {
	grid-template-columns: minmax(0, 1fr);
}

body.ppps-module-journal
	.pp-block--journal-feature
	.pp-journal-card.is-no-media {
	grid-template-columns: minmax(0, 1fr);
	background:
		linear-gradient(rgba(7, 9, 10, .055) 1px, transparent 1px),
		linear-gradient(90deg, rgba(7, 9, 10, .055) 1px, transparent 1px);
	background-size: 3.5rem 3.5rem;
}

body.ppps-module-journal .pp-block--journal-feature .pp-journal-empty {
	border-top: 2px solid currentColor;
}

/* Journal single. */
body.ppps-module-journal .journal-single {
	background: var(--pp-journal-paper);
	color: var(--pp-journal-ink);
}

body.ppps-module-journal .journal-single__hero {
	position: relative;
	min-height: max(48rem, calc(100svh - var(--ppps-header-height, 74px)));
	color: #fff;
	background:
		radial-gradient(circle at 76% 42%, rgba(169, 183, 186, .14), transparent 34rem),
		var(--pp-journal-ink);
	isolation: isolate;
	overflow: clip;
}

body.ppps-module-journal .journal-single__hero::before {
	position: absolute;
	z-index: 0;
	inset: 0;
	content: "";
	pointer-events: none;
	background:
		linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
	background-size: clamp(4.25rem, 7vw, 7.5rem) clamp(4.25rem, 7vw, 7.5rem);
	mask-image: linear-gradient(90deg, #000, transparent 86%);
	opacity: calc(.18 + var(--pp-scene-progress, 0) * .3);
}

body.ppps-module-journal .journal-single__hero-inner {
	position: relative;
	z-index: 1;
	display: grid;
	width: min(calc(100% - clamp(4rem, 9vw, 10rem)), 128rem);
	min-height: max(48rem, calc(100svh - var(--ppps-header-height, 74px)));
	margin-inline: auto;
	padding: clamp(9rem, 16vh, 13rem) 0 clamp(4rem, 8vh, 7rem);
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: clamp(1.5rem, 3vw, 4rem);
	align-items: end;
}

body.ppps-module-journal .journal-single__hero-copy {
	position: relative;
	z-index: 3;
	grid-column: 1 / span 7;
}

body.ppps-module-journal .journal-single__hero.is-no-media .journal-single__hero-copy {
	grid-column: 1 / span 10;
}

body.ppps-module-journal .journal-single__hero-copy .eyebrow {
	margin: 0 0 clamp(1.4rem, 2.5vw, 2.5rem);
	font-family: var(--ppps-font-mono, monospace);
	font-size: .72rem;
	letter-spacing: .15em;
	text-transform: uppercase;
	opacity: .7;
}

body.ppps-module-journal .journal-single__hero-copy .eyebrow a {
	color: inherit;
	text-underline-offset: .25em;
}

body.ppps-module-journal .journal-single__hero-copy h1 {
	max-width: 12ch;
	margin: 0;
	font-size: clamp(3.7rem, 7vw, 8.7rem);
	line-height: .88;
	letter-spacing: -.065em;
	text-wrap: balance;
}

body.ppps-module-journal .journal-single__standfirst {
	max-width: 48rem;
	margin: clamp(1.8rem, 3vw, 3rem) 0 0;
	font-size: clamp(1.12rem, 1.42vw, 1.48rem);
	line-height: 1.55;
	opacity: .76;
}

body.ppps-module-journal .journal-single__hero-meta {
	display: flex;
	flex-wrap: wrap;
	gap: .55rem 1.25rem;
	margin-top: clamp(2rem, 3vw, 3rem);
	font-family: var(--ppps-font-mono, monospace);
	font-size: .67rem;
	letter-spacing: .1em;
	text-transform: uppercase;
	opacity: .62;
}

body.ppps-module-journal .journal-single__byline {
	display: grid;
	margin: 1.5rem 0 0;
	gap: .25rem;
	font-size: .9rem;
}

body.ppps-module-journal .journal-single__byline small {
	font-family: var(--ppps-font-mono, monospace);
	font-size: .66rem;
	letter-spacing: .08em;
	text-transform: uppercase;
	opacity: .58;
}

body.ppps-module-journal .journal-single__media {
	position: absolute;
	z-index: 1;
	top: clamp(2rem, 4vw, 4rem);
	right: clamp(2rem, 4vw, 4rem);
	bottom: clamp(2rem, 4vw, 4rem);
	left: 48%;
	margin: 0;
	background: var(--pp-journal-graphite);
	clip-path: inset(
		calc((1 - var(--pp-scene-progress, 0)) * 3%)
		calc((1 - var(--pp-scene-progress, 0)) * 3%)
		0
		calc((1 - var(--pp-scene-progress, 0)) * 3%)
	);
	overflow: clip;
}

body.ppps-module-journal .journal-single__media::after {
	position: absolute;
	inset: 0;
	content: "";
	pointer-events: none;
	background: linear-gradient(90deg, rgba(7, 9, 10, .72), transparent 54%);
}

body.ppps-module-journal .journal-single__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: saturate(.72) contrast(1.06) brightness(.78);
	transform: scale(calc(1.045 - var(--pp-scene-progress, 0) * .025));
}

body.ppps-module-journal .journal-single__main {
	display: grid;
	width: min(calc(100% - clamp(4rem, 9vw, 10rem)), 112rem);
	margin-inline: auto;
	padding: clamp(5rem, 10vw, 10rem) 0;
	grid-template-columns: minmax(12rem, 3fr) minmax(0, 8fr);
	gap: clamp(3rem, 8vw, 10rem);
	align-items: start;
	background: var(--pp-journal-paper);
}

body.ppps-module-journal .journal-single__rail {
	position: sticky;
	top: calc(var(--ppps-header-height, 74px) + 2rem);
	display: grid;
	gap: clamp(2.5rem, 5vw, 5rem);
	padding-top: 1rem;
	border-top: 1px solid var(--pp-journal-line-light);
}

body.ppps-module-journal .journal-single__back {
	display: inline-flex;
	width: max-content;
	align-items: center;
	gap: .6rem;
	color: inherit;
	font-family: var(--ppps-font-mono, monospace);
	font-size: .68rem;
	font-weight: 700;
	letter-spacing: .1em;
	text-decoration: none;
	text-transform: uppercase;
}

body.ppps-module-journal .journal-single__rail p {
	margin: 0 0 1rem;
	font-family: var(--ppps-font-mono, monospace);
	font-size: .66rem;
	letter-spacing: .12em;
	text-transform: uppercase;
	opacity: .54;
}

body.ppps-module-journal .journal-single__rail ul {
	display: grid;
	margin: 0;
	padding: 0;
	gap: .65rem;
	list-style: none;
}

body.ppps-module-journal .journal-single__rail a {
	color: inherit;
	text-underline-offset: .22em;
}

body.ppps-module-journal .journal-single__content {
	max-width: 68rem;
}

body.ppps-module-journal .journal-single__summary {
	margin-bottom: clamp(3rem, 6vw, 6rem);
	padding: clamp(2rem, 4vw, 4rem);
	border-top: 2px solid currentColor;
	background: var(--pp-journal-paper-bright);
}

body.ppps-module-journal .journal-single__summary .eyebrow {
	margin: 0 0 1.25rem;
	font-family: var(--ppps-font-mono, monospace);
	font-size: .67rem;
	letter-spacing: .13em;
	text-transform: uppercase;
	opacity: .58;
}

body.ppps-module-journal .journal-single__summary h2 {
	margin: 0 0 1.5rem;
	font-size: clamp(2rem, 3.6vw, 4rem);
	line-height: 1;
	letter-spacing: -.045em;
}

body.ppps-module-journal .journal-single__summary p {
	max-width: 54rem;
	font-size: clamp(1.02rem, 1.15vw, 1.22rem);
	line-height: 1.65;
}

body.ppps-module-journal .journal-single__figures {
	display: grid;
	margin-bottom: clamp(3rem, 6vw, 6rem);
	border-top: 1px solid var(--pp-journal-line-light);
	border-left: 1px solid var(--pp-journal-line-light);
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.ppps-module-journal .journal-single__figures > div {
	display: grid;
	min-height: 10rem;
	padding: clamp(1.5rem, 3vw, 3rem);
	border-right: 1px solid var(--pp-journal-line-light);
	border-bottom: 1px solid var(--pp-journal-line-light);
	align-content: space-between;
	gap: 1.5rem;
}

body.ppps-module-journal .journal-single__figures strong {
	font-size: clamp(2rem, 3.8vw, 4.6rem);
	font-weight: 500;
	line-height: .92;
	letter-spacing: -.055em;
}

body.ppps-module-journal .journal-single__figures span {
	font-family: var(--ppps-font-mono, monospace);
	font-size: .66rem;
	letter-spacing: .1em;
	line-height: 1.45;
	text-transform: uppercase;
	opacity: .58;
}

body.ppps-module-journal .journal-single__body {
	width: 100%;
	max-width: none;
	padding: 0;
}

body.ppps-module-journal .journal-single__body :where(p, li) {
	font-size: clamp(1.04rem, 1.12vw, 1.2rem);
	line-height: 1.75;
}

body.ppps-module-journal .journal-single__body :where(h2, h3, h4) {
	max-width: 18ch;
	line-height: 1.05;
	letter-spacing: -.035em;
	text-wrap: balance;
}

body.ppps-module-journal .journal-related {
	padding: clamp(5rem, 9vw, 10rem) 0;
	color: #fff;
	background: var(--pp-journal-graphite);
}

body.ppps-module-journal .journal-related__inner {
	display: grid;
	width: min(calc(100% - clamp(4rem, 9vw, 10rem)), 128rem);
	margin-inline: auto;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: clamp(2rem, 4vw, 5rem) clamp(1.5rem, 3vw, 4rem);
}

body.ppps-module-journal .journal-related__heading {
	grid-column: span 5;
}

body.ppps-module-journal .journal-related__heading .eyebrow,
body.ppps-module-journal .journal-related__group h3 {
	margin: 0 0 1.5rem;
	font-family: var(--ppps-font-mono, monospace);
	font-size: .67rem;
	font-weight: 500;
	letter-spacing: .12em;
	text-transform: uppercase;
	opacity: .58;
}

body.ppps-module-journal .journal-related__heading h2 {
	max-width: 9ch;
	margin: 0;
	font-size: clamp(2.8rem, 5vw, 6.5rem);
	line-height: .92;
	letter-spacing: -.055em;
}

body.ppps-module-journal .journal-related__group {
	grid-column: span 7;
}

body.ppps-module-journal .journal-related__group + .journal-related__group {
	grid-column: 6 / -1;
}

body.ppps-module-journal .journal-related__group ul {
	margin: 0;
	padding: 0;
	border-top: 1px solid var(--pp-journal-line-dark);
	list-style: none;
}

body.ppps-module-journal .journal-related__group li {
	border-bottom: 1px solid var(--pp-journal-line-dark);
}

body.ppps-module-journal .journal-related__group a {
	display: flex;
	padding: 1.25rem 0;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	color: inherit;
	font-size: clamp(1.05rem, 1.4vw, 1.45rem);
	text-decoration: none;
}

body.ppps-module-journal .journal-navigation {
	display: grid;
	width: 100%;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	color: var(--pp-journal-ink);
	background: var(--pp-journal-paper-bright);
}

body.ppps-module-journal .journal-navigation > div {
	min-height: 14rem;
	border-top: 1px solid var(--pp-journal-line-light);
}

body.ppps-module-journal .journal-navigation > div + div {
	border-left: 1px solid var(--pp-journal-line-light);
	text-align: right;
}

body.ppps-module-journal .journal-navigation a {
	display: grid;
	width: 100%;
	height: 100%;
	padding: clamp(2rem, 5vw, 5rem);
	align-content: space-between;
	gap: 2rem;
	color: inherit;
	text-decoration: none;
}

body.ppps-module-journal .journal-navigation small {
	font-family: var(--ppps-font-mono, monospace);
	font-size: .66rem;
	letter-spacing: .12em;
	text-transform: uppercase;
	opacity: .56;
}

body.ppps-module-journal .journal-navigation a > span {
	font-size: clamp(1.25rem, 2vw, 2.3rem);
	line-height: 1.15;
	letter-spacing: -.03em;
}

/* Progressive enhancement: the complete static design is the default. */
body.ppps-module-journal[data-pp-journal-enhanced="ready"]
	[data-pp-journal-state="waiting"] {
	opacity: 0;
	transform: translate3d(0, clamp(1rem, 2vw, 2rem), 0);
}

body.ppps-module-journal[data-pp-journal-enhanced="ready"]
	[data-pp-journal-state="visible"] {
	opacity: 1;
	transform: translate3d(0, 0, 0);
	transition:
		opacity 520ms cubic-bezier(.2, .7, .2, 1),
		transform 680ms cubic-bezier(.2, .7, .2, 1);
	transition-delay: calc(var(--pp-journal-index, 0) * 55ms);
}

body.ppps-module-journal[data-pp-journal-enhanced="ready"]
	.journal-single__media[data-pp-journal-state="waiting"] {
	clip-path: inset(0 100% 0 0);
}

body.ppps-module-journal[data-pp-journal-enhanced="ready"]
	.journal-single__media[data-pp-journal-state="visible"] {
	clip-path: inset(0);
	transition:
		clip-path 820ms cubic-bezier(.2, .7, .2, 1),
		opacity 520ms ease,
		transform 680ms cubic-bezier(.2, .7, .2, 1);
}

body.ppps-module-journal:is(
	.ppps-runtime-disabled,
	.ppps-readiness-failed,
	.ppps-motion-reduced,
	.ppps-motion-off,
	.ppps-capability-lite
) [data-pp-journal-state] {
	clip-path: none;
	opacity: 1;
	transform: none;
	transition: none;
}

@media (max-width: 980px) {
	body.ppps-module-journal .journal-index__hero-inner,
	body.ppps-module-journal .journal-single__hero-inner {
		width: calc(100% - 2.5rem);
		grid-template-columns: 1fr;
	}

	body.ppps-module-journal .journal-index__hero-copy,
	body.ppps-module-journal .journal-index__count,
	body.ppps-module-journal .journal-single__hero-copy,
	body.ppps-module-journal .journal-single__hero.is-no-media .journal-single__hero-copy {
		grid-column: auto;
	}

	body.ppps-module-journal .journal-index__hero-copy h1 {
		font-size: clamp(4rem, 16vw, 8rem);
	}

	body.ppps-module-journal .journal-index__count {
		max-width: 14rem;
	}

	body.ppps-module-journal .journal-index__topics,
	body.ppps-module-journal .journal-index__inner,
	body.ppps-module-journal .journal-related__inner {
		width: calc(100% - 2.5rem);
	}

	body.ppps-module-journal .journal-index__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	body.ppps-module-journal .journal-card,
	body.ppps-module-journal .journal-card:first-child,
	body.ppps-module-journal
		.journal-index__records[data-pp-journal-density="single"]
		.journal-card:first-child,
	body.ppps-module-journal
		.journal-index__records[data-pp-journal-density="sparse"]
		.journal-card:first-child,
	body.ppps-module-journal
		.journal-index__records[data-pp-journal-density="sparse"]
		.journal-card:nth-child(2) {
		grid-column: auto;
	}

	body.ppps-module-journal .journal-card:first-child h2 {
		font-size: clamp(2.2rem, 6vw, 4rem);
	}

	body.ppps-module-journal .journal-single__hero {
		min-height: 46rem;
	}

	body.ppps-module-journal .journal-single__hero-inner {
		min-height: 46rem;
		padding-bottom: 3rem;
		align-content: end;
	}

	body.ppps-module-journal .journal-single__hero.has-media .journal-single__hero-copy {
		padding-top: 20rem;
	}

	body.ppps-module-journal .journal-single__media {
		top: 2rem;
		right: 1.25rem;
		bottom: auto;
		left: 32%;
		height: 22rem;
	}

	body.ppps-module-journal .journal-single__main {
		width: calc(100% - 2.5rem);
		grid-template-columns: 1fr;
		gap: 4rem;
	}

	body.ppps-module-journal .journal-single__rail {
		position: static;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	body.ppps-module-journal .journal-related__inner {
		grid-template-columns: 1fr;
	}

	body.ppps-module-journal .journal-related__heading,
	body.ppps-module-journal .journal-related__group,
	body.ppps-module-journal .journal-related__group + .journal-related__group {
		grid-column: auto;
	}
}

@media (max-width: 640px) {
	body.ppps-module-journal .journal-index__hero {
		min-height: 36rem;
	}

	body.ppps-module-journal .journal-index__hero-inner {
		padding-top: 8rem;
	}

	body.ppps-module-journal .journal-index__hero-copy h1 {
		font-size: clamp(3.25rem, 17vw, 5.75rem);
	}

	body.ppps-module-journal .journal-single__hero-copy h1 {
		font-size: clamp(2.5rem, 14.5vw, 5.75rem);
	}

	body.ppps-module-journal .journal-index__grid,
	body.ppps-module-journal .journal-single__figures,
	body.ppps-module-journal .journal-navigation {
		grid-template-columns: 1fr;
	}

	body.ppps-module-journal .journal-card.is-no-media {
		min-height: 20rem;
	}

	body.ppps-module-journal .journal-single__hero.has-media .journal-single__hero-copy {
		padding-top: 16rem;
	}

	body.ppps-module-journal .journal-single__media {
		left: 18%;
		height: 18rem;
	}

	body.ppps-module-journal .journal-single__rail {
		grid-template-columns: 1fr;
	}

	body.ppps-module-journal .journal-navigation > div + div {
		border-left: 0;
		text-align: left;
	}
}

@media (prefers-reduced-motion: reduce) {
	body.ppps-module-journal [data-pp-journal-state],
	body.ppps-module-journal .journal-card__media img,
	body.ppps-module-journal .journal-card__action span {
		clip-path: none;
		opacity: 1;
		transform: none;
		transition: none;
	}
}

@media (forced-colors: active) {
	body.ppps-module-journal .journal-index__hero,
	body.ppps-module-journal .journal-single__hero,
	body.ppps-module-journal .journal-related {
		border: 1px solid CanvasText;
		background: Canvas;
		color: CanvasText;
	}
}

@media print {
	body.ppps-module-journal .journal-index__hero,
	body.ppps-module-journal .journal-single__hero,
	body.ppps-module-journal .journal-related {
		min-height: 0;
		background: #fff;
		color: #000;
	}

	body.ppps-module-journal .journal-index__topics,
	body.ppps-module-journal .journal-single__media,
	body.ppps-module-journal .journal-navigation {
		display: none;
	}

	body.ppps-module-journal .journal-single__main {
		display: block;
		width: 100%;
	}

	body.ppps-module-journal .journal-single__rail {
		position: static;
		margin-bottom: 2rem;
	}
}
