/**
 * Ausphex by Pencil — theme styles.
 *
 * All component classes use the `ax-` prefix so they never collide with
 * WordPress core UI classes (Pencil loads the Media Library on the frontend).
 */

/* ---------------------------------------------------------------------------
   Tokens and base
   ------------------------------------------------------------------------ */

:root {
	--ax-sans: 'Schibsted Grotesk', system-ui, sans-serif;
	--ax-display: 'Newsreader', Georgia, serif;
	--ax-mono: 'JetBrains Mono', ui-monospace, monospace;
	--ax-gutter: clamp(24px, 4.5vw, 64px);
	--ax-ink: #141516;
	--ax-panel: #1c1d1f;
	--ax-night: #0d0e0f;
	--ax-silver: #a9b0b6;
	--ax-silver-bright: #d3d8dc;
	--ax-steel: #5d676e;
	--ax-charcoal: #1f2425;
	--ax-mist: #f5f6f4;
	--ax-rule: #c9d1ce;
}

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

body {
	margin: 0;
	background: var(--ax-ink);
	-webkit-font-smoothing: antialiased;
}

.ax-site {
	/* Dark-surface defaults; light sections override these. */
	--kicker: var(--ax-silver);
	--body: #aeb1b4;
	--accent: var(--ax-silver);

	font-family: var(--ax-sans);
	color: #e9eaeb;
	background: var(--ax-ink);
	overflow-x: clip;
}

/* Zero-specificity element defaults so component classes always win. */
:where(.ax-site) a {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s, opacity 0.2s;
}

:where(.ax-site) a:where(:hover) {
	color: var(--ax-silver);
}

:where(.ax-site) img {
	max-width: 100%;
}

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

.ax-site .pencil-richtext > * {
	margin: 0;
}

.ax-site .pencil-richtext > * + * {
	margin-top: 0.8em;
}

.ax-site .pencil-richtext a {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.ax-site .pencil-richtext ul,
.ax-site .pencil-richtext ol {
	padding-left: 1.2em;
}

.ax-skip-link {
	position: absolute;
	left: -9999px;
	top: 16px;
	z-index: 100;
	padding: 10px 16px;
	border-radius: 4px;
	background: var(--ax-silver);
	color: #141516;
	font: 600 15px var(--ax-sans);
}

.ax-skip-link:focus {
	left: 16px;
}

/* ---------------------------------------------------------------------------
   Layout primitives
   ------------------------------------------------------------------------ */

.ax-wrap {
	width: 100%;
	max-width: 1320px;
	margin: 0 auto;
}

.ax-stack {
	display: flex;
	flex-direction: column;
}

.ax-stack--8 { gap: 8px; }
.ax-stack--14 { gap: 14px; }
.ax-stack--20 { gap: 20px; }
.ax-stack--24 { gap: 24px; }
.ax-stack--28 { gap: 28px; }
.ax-stack--32 { gap: 32px; }
.ax-stack--40 { gap: 40px; }
.ax-stack--48 { gap: 48px; }

.ax-mb-64 { margin-bottom: 64px; }

.ax-measure {
	max-width: 880px;
}
.ax-mb-80 { margin-bottom: 80px; }

.ax-sec {
	padding: clamp(88px, 11vw, 150px) var(--ax-gutter);
}

.ax-sec--white,
.ax-sec--mist {
	--kicker: var(--ax-steel);
	--body: #4a5153;
	--accent: #7a858c;
}

.ax-sec--white {
	background: #fff;
	color: var(--ax-charcoal);
}

.ax-sec--mist {
	background: var(--ax-mist);
	color: #232829;
}

.ax-sec--dark {
	background: var(--ax-ink);
	color: #e9eaeb;
}

.ax-sec--panel {
	background: var(--ax-panel);
	color: #e9eaeb;
}

.ax-ruled {
	border-top: 1px solid rgba(255, 255, 255, 0.07);
}

/* Image frames: the frame sets the size; any replacement image is cropped. */
.ax-frame {
	position: relative;
	overflow: hidden;
}

.ax-frame--16x10 { aspect-ratio: 16 / 10; }
.ax-frame--4x3 { aspect-ratio: 4 / 3; }
.ax-frame--4x5 { aspect-ratio: 4 / 5; }
.ax-frame--21x9 { aspect-ratio: 21 / 9; }
.ax-frame--rounded { border-radius: 6px; }

.ax-frame--placeholder {
	border-radius: 4px;
	background: repeating-linear-gradient(135deg, #e4e8e6 0 12px, #eceeed 12px 24px);
}

.ax-fill {
	position: absolute;
	inset: 0;
	overflow: hidden;
}

.ax-frame > img,
.ax-fill > img,
.ax-cover {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* ---------------------------------------------------------------------------
   Typography
   ------------------------------------------------------------------------ */

.ax-kicker {
	font-family: var(--ax-mono);
	font-size: 13px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--kicker);
}

.ax-kicker--article {
	letter-spacing: 0.14em;
}

.ax-num {
	font-family: var(--ax-mono);
	font-size: 12px;
	letter-spacing: 0.14em;
	color: var(--kicker);
}

.ax-num--13 {
	font-size: 13px;
}

.ax-num--wide {
	letter-spacing: 0.16em;
}

.ax-num--gap8 {
	margin-bottom: 8px;
}

.ax-h2 {
	margin: 0;
	font-weight: 600;
	font-size: clamp(40px, 5vw, 64px);
	line-height: 1.02;
	letter-spacing: -0.04em;
	text-wrap: balance;
}

.ax-h2--md { font-size: clamp(36px, 4vw, 48px); }
.ax-h2--sm { font-size: clamp(34px, 4vw, 48px); }
.ax-h2--xs { font-size: clamp(30px, 3vw, 40px); }

.ax-accent { color: var(--accent); }
.ax-accent--muted { color: #7d8185; }
.ax-accent--bright { color: var(--ax-silver-bright); }

.ax-lead {
	max-width: 640px;
	font-size: clamp(17px, 1.35vw, 19px);
	line-height: 1.7;
	color: var(--body);
	text-wrap: pretty;
}

.ax-lead--full {
	max-width: none;
}

.ax-body {
	color: var(--body);
}

.ax-body--18 {
	max-width: 620px;
	font-size: 18px;
	line-height: 1.7;
	text-wrap: pretty;
}

.ax-body--16 {
	font-size: 16px;
	line-height: 1.65;
}

.ax-statement {
	margin: 0;
	font-weight: 500;
	letter-spacing: -0.035em;
	text-wrap: pretty;
}

.ax-statement--home {
	max-width: 1180px;
	font-size: clamp(34px, 4.4vw, 58px);
	line-height: 1.1;
}

.ax-statement--manufacturing {
	max-width: 1160px;
	font-size: clamp(32px, 4vw, 54px);
	line-height: 1.1;
}

.ax-statement--sm {
	font-size: clamp(28px, 2.8vw, 40px);
	line-height: 1.15;
	letter-spacing: -0.03em;
}

.ax-fineprint {
	max-width: 760px;
	margin-top: 32px;
	font-size: 14px;
	line-height: 1.6;
	color: #7d8185;
}

.ax-text-link {
	font-size: 16px;
	font-weight: 500;
	border-bottom: 1px solid currentColor;
	padding-bottom: 3px;
}

/* ---------------------------------------------------------------------------
   Buttons and tags
   ------------------------------------------------------------------------ */

.ax-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 16px 26px;
	border: 1px solid transparent;
	border-radius: 6px;
	font-weight: 600;
	font-size: 16px;
	line-height: 1.2;
	transition: opacity 0.2s;
}

.ax-btn:hover {
	opacity: 0.85;
}

.ax-btn--primary {
	background: var(--ax-silver);
	border-color: var(--ax-silver);
	color: #141516;
}

.ax-btn--outline-dark {
	border-color: var(--ax-charcoal);
	color: var(--ax-charcoal);
}

.ax-btn--outline-light {
	border-color: rgba(233, 234, 235, 0.3);
	color: #e9eaeb;
}

.ax-btn--solid {
	background: var(--ax-charcoal);
	border-color: var(--ax-charcoal);
	color: #fff;
}

.ax-tags {
	--tag-gap: 16px;

	display: flex;
	flex-wrap: wrap;
	row-gap: 10px;
	/* Pull the list left by one gap and clip it, so a separator never shows
	   at the start of a row (including rows created by wrapping). */
	margin-left: calc(-1 * var(--tag-gap));
	overflow: hidden;
	font-family: var(--ax-mono);
	font-size: 12px;
	letter-spacing: 0.06em;
	color: #4a5153;
}

.ax-tag {
	position: relative;
	padding: 0 var(--tag-gap);
	line-height: 1.6;
}

/* Thin vertical separator before each tag. */
.ax-tag::before {
	content: '';
	position: absolute;
	left: -1px;
	top: 50%;
	width: 1px;
	height: 12px;
	background: currentColor;
	opacity: 0.35;
	transform: translateY(-50%);
}

.ax-tags--glass {
	max-width: 520px;
	font-size: 13px;
	color: #e9eaeb;
}

/* ---------------------------------------------------------------------------
   Header and navigation
   ------------------------------------------------------------------------ */

.ax-header {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	z-index: 10;
	display: flex;
	flex-wrap: wrap;
	gap: 20px 40px;
	align-items: center;
	justify-content: space-between;
	padding: 28px var(--ax-gutter);
}

.ax-header__brand {
	display: block;
}

.ax-logo {
	display: block;
	height: 34px;
	aspect-ratio: 2294 / 624;
}

.ax-logo--footer {
	height: 32px;
}

.ax-logo .ax-logo__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: left center;
}

.ax-nav {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 30px;
	font-size: 15px;
	color: #bfc2c4;
}

.ax-nav__link {
	padding-bottom: 5px;
}

.ax-nav__link.is-current {
	color: #fff;
	border-bottom: 1px solid var(--ax-silver);
	padding-bottom: 4px;
}

.ax-nav__link--home {
	display: inline-flex;
	align-items: center;
}

.ax-nav__icon {
	display: block;
}

.ax-nav-toggle {
	display: none;
	align-items: center;
	gap: 12px;
	padding: 10px 14px;
	border: 1px solid rgba(169, 176, 182, 0.6);
	border-radius: 6px;
	background: transparent;
	color: var(--ax-silver-bright);
	font: 400 13px/1 var(--ax-mono);
	letter-spacing: 0.06em;
	text-transform: uppercase;
	cursor: pointer;
}

.ax-nav-toggle__icon {
	position: relative;
	width: 16px;
	height: 10px;
	border-top: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
}

.ax-header.is-open .ax-nav-toggle__icon {
	border-bottom-color: transparent;
}

@media (max-width: 900px) {
	.ax-js .ax-nav-toggle {
		display: inline-flex;
	}

	.ax-js .ax-nav {
		display: none;
		flex-basis: 100%;
		flex-direction: column;
		align-items: flex-start;
		gap: 2px;
		padding: 14px 20px 20px;
		border: 1px solid rgba(255, 255, 255, 0.08);
		border-radius: 8px;
		background: rgba(13, 14, 15, 0.96);
		font-size: 17px;
	}

	.ax-js .ax-header.is-open .ax-nav {
		display: flex;
	}

	.ax-js .ax-nav__link {
		padding: 10px 0;
	}

	.ax-js .ax-nav__link.is-current {
		padding-bottom: 9px;
	}
}

/* ---------------------------------------------------------------------------
   Heroes
   ------------------------------------------------------------------------ */

.ax-hero {
	position: relative;
	overflow: hidden;
	background: var(--ax-ink);
	color: #e9eaeb;
}

.ax-hero--home {
	min-height: max(720px, 100vh);
	display: flex;
	align-items: center;
	justify-content: center;
}

.ax-hero--page {
	min-height: max(640px, 84vh);
	display: flex;
	align-items: flex-end;
}

.ax-hero--contact {
	min-height: max(560px, 70vh);
	display: flex;
	align-items: flex-end;
}

/* The article banner overlaps the white body below; flow-root stops its
   negative margin collapsing through the hero, without clipping it. */
.ax-hero--article {
	display: flow-root;
	overflow: visible;
	z-index: 1;
}

.ax-hero__media {
	position: absolute;
	inset: 0;
	overflow: hidden;
}

.ax-hero__kb {
	position: absolute;
	inset: 0;
}

.ax-hero .ax-hero__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.8;
}

.ax-hero--home .ax-hero__img { opacity: 0.75; }
.ax-hero--news .ax-hero__img { opacity: 0.45; }

/* Overlays never block clicks, so editors can reach the image beneath. */
.ax-hero__shade {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.ax-hero__shade--radial {
	background: radial-gradient(ellipse at 50% 55%, rgba(20, 21, 22, 0.35) 0%, rgba(20, 21, 22, 0.92) 75%);
}

.ax-hero__shade--side {
	background: linear-gradient(90deg, rgba(20, 21, 22, 0.94) 0%, rgba(20, 21, 22, 0.7) 45%, rgba(20, 21, 22, 0.25) 100%);
}

.ax-hero--contact .ax-hero__shade--side {
	background: linear-gradient(90deg, rgba(20, 21, 22, 0.94) 0%, rgba(20, 21, 22, 0.6) 50%, rgba(20, 21, 22, 0.2) 100%);
}

.ax-hero__shade--bottom {
	background: linear-gradient(0deg, rgba(20, 21, 22, 0.9) 0%, rgba(20, 21, 22, 0) 40%);
}

.ax-hero__shade--fade {
	background: linear-gradient(0deg, var(--ax-ink) 0%, rgba(20, 21, 22, 0.6) 100%);
}

.ax-hero__content {
	position: relative;
	width: 100%;
	max-width: 1100px;
	display: flex;
	flex-direction: column;
	gap: 28px;
	padding: 180px var(--ax-gutter) clamp(56px, 8vh, 96px);
}

.ax-hero__content--center {
	width: auto;
	max-width: 1240px;
	align-items: center;
	text-align: center;
	gap: 30px;
	padding: 160px var(--ax-gutter) 140px;
}

.ax-hero--news .ax-hero__content {
	padding: 200px var(--ax-gutter) 96px;
}

.ax-hero__title {
	margin: 0;
	font-weight: 600;
	font-size: clamp(48px, 7.4vw, 108px);
	line-height: 0.96;
	letter-spacing: -0.045em;
	text-wrap: balance;
}

.ax-hero__title--xl {
	font-size: clamp(54px, 8.4vw, 124px);
	line-height: 0.94;
}

.ax-hero__title--news {
	font-size: clamp(48px, 7vw, 100px);
	text-wrap: wrap;
}

.ax-hero--contact .ax-hero__title {
	font-size: clamp(52px, 7.4vw, 108px);
	text-wrap: wrap;
}

.ax-hero__intro {
	max-width: 620px;
	font-size: clamp(18px, 1.5vw, 21px);
	line-height: 1.6;
	color: #bfc2c4;
	text-wrap: pretty;
}

.ax-hero__intro--center {
	max-width: 640px;
	margin: 0 auto;
	line-height: 1.55;
}

.ax-hero__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 14px;
}

.ax-hero__bar {
	position: absolute;
	left: var(--ax-gutter);
	right: var(--ax-gutter);
	bottom: 32px;
	display: flex;
	justify-content: space-between;
	gap: 16px;
	font-family: var(--ax-mono);
	font-size: 12px;
	letter-spacing: 0.12em;
	color: #7d8185;
}

@media (max-width: 720px) {
	.ax-hero__bar {
		justify-content: center;
	}

	.ax-hero__bar > span:not([data-pulse]) {
		display: none;
	}
}

/* ---------------------------------------------------------------------------
   Section headers
   ------------------------------------------------------------------------ */

.ax-sec-head {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-end;
	gap: 32px;
	margin-bottom: 64px;
}

.ax-sec-head--baseline {
	align-items: baseline;
	gap: 20px;
	margin-bottom: 48px;
}

.ax-sec-head--40 {
	margin-bottom: 40px;
}

.ax-sec-intro {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
	gap: 32px 64px;
	align-items: end;
}

.ax-sec-intro--64 { margin-bottom: 64px; }
.ax-sec-intro--72 { margin-bottom: 72px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.ax-sec-intro--80 { margin-bottom: 80px; }

/* ---------------------------------------------------------------------------
   Home
   ------------------------------------------------------------------------ */

.ax-intro-foot {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
	gap: 32px 64px;
	align-items: end;
	padding-top: 40px;
	border-top: 1px solid var(--ax-charcoal);
}

.ax-cap-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
	gap: 24px;
}

.ax-cap-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 6px;
	background: var(--ax-panel);
	transition: border-color 0.2s;
}

.ax-cap-card:hover {
	border-color: rgba(169, 176, 182, 0.6);
}

/* Polished-silver panel: layered metallic gradient, fine brushed grain,
   a top edge highlight and a light sweep on hover. */
.ax-cap-card__body {
	--kicker: #4b545a;

	position: relative;
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 12px;
	padding: 30px 28px 32px;
	overflow: hidden;
	background:
		repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.06) 0 1px, rgba(0, 0, 0, 0.025) 1px 3px),
		linear-gradient(160deg, #9ba2a8 0%, #dfe3e6 18%, #f7f8f9 32%, #c3c9ce 48%, #e9ecee 64%, #b2b9be 82%, #8f969c 100%);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85), inset 0 -1px 0 rgba(0, 0, 0, 0.18);
}

.ax-cap-card__body::after {
	content: '';
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.55) 48%, transparent 66%);
	transform: translateX(-120%);
	transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.ax-cap-card:hover .ax-cap-card__body::after {
	transform: translateX(120%);
}

.ax-cap-card__body > * {
	position: relative;
}

.ax-cap-card__title {
	font-size: 24px;
	font-weight: 600;
	letter-spacing: -0.02em;
	color: #141516;
}

.ax-cap-card__text {
	font-size: 16px;
	line-height: 1.6;
	color: #2f363b;
}

@media (prefers-reduced-motion: reduce) {
	.ax-cap-card__body::after {
		display: none;
	}
}

/* Image + copy split sections. */
.ax-split {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 520px), 1fr));
}

.ax-split__media {
	position: relative;
	overflow: hidden;
	min-height: clamp(380px, 48vw, 720px);
}

.ax-split__copy {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 32px;
	padding: clamp(64px, 8vw, 120px) var(--ax-gutter);
}

/* Full-bleed image banner (Partnerships). */
.ax-banner {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: 640px;
	overflow: hidden;
	color: #e9eaeb;
}

.ax-banner__shade {
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: linear-gradient(0deg, rgba(20, 21, 22, 0.92) 0%, rgba(20, 21, 22, 0.35) 70%, rgba(20, 21, 22, 0.15) 100%);
}

.ax-banner__inner {
	position: relative;
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-end;
	gap: 40px;
	padding: 120px var(--ax-gutter) clamp(56px, 7vw, 88px);
}

.ax-banner__copy {
	max-width: 720px;
}

.ax-banner__aside {
	align-items: flex-start;
}

/* ---------------------------------------------------------------------------
   News cards
   ------------------------------------------------------------------------ */

.ax-post-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
	gap: 40px 32px;
}

.ax-post-grid--roomy {
	gap: 56px 32px;
}

.ax-post {
	color: var(--ax-charcoal);
	transition: opacity 0.2s;
}

.ax-post--card {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.ax-post--card:hover {
	opacity: 0.8;
}

.ax-post--card .ax-post__media {
	position: relative;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-radius: 4px;
	background: #dfe3e1;
}

.ax-post--card .ax-post__body {
	display: contents;
}

.ax-post__meta {
	font-family: var(--ax-mono);
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ax-steel);
}

.ax-post__title {
	font-size: clamp(21px, 1.8vw, 24px);
	font-weight: 500;
	line-height: 1.25;
	letter-spacing: -0.02em;
	color: var(--ax-charcoal);
}

.ax-post__excerpt {
	font-size: 16px;
	line-height: 1.6;
	color: #4a5153;
}

.ax-post__more {
	font-size: 15px;
	font-weight: 600;
	color: var(--ax-charcoal);
}

.ax-post--featured {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr));
	margin-bottom: 72px;
	overflow: hidden;
	border-radius: 6px;
	background: #fff;
}

.ax-post--featured:hover {
	opacity: 0.92;
}

.ax-post--featured .ax-post__media {
	position: relative;
	min-height: 380px;
	overflow: hidden;
	background: #dfe3e1;
}

.ax-post--featured .ax-post__body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 20px;
	padding: clamp(32px, 4vw, 64px);
}

.ax-post--featured .ax-post__meta {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 12px;
	font-weight: 400;
}

.ax-post__badge {
	padding: 5px 9px;
	border-radius: 3px;
	background: var(--ax-silver);
	color: #141516;
}

.ax-post--featured .ax-post__title {
	font-size: clamp(28px, 3vw, 42px);
	font-weight: 600;
	line-height: 1.08;
	letter-spacing: -0.035em;
}

.ax-post--featured .ax-post__excerpt {
	font-size: 18px;
}

.ax-post--featured .ax-post__more {
	font-size: 16px;
}

.ax-list-head {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
	margin-bottom: 40px;
	padding-bottom: 20px;
	border-bottom: 1px solid var(--ax-rule);
}

.ax-list-head__title {
	margin: 0;
	font-size: 28px;
	font-weight: 600;
	letter-spacing: -0.03em;
}

.ax-list-head__note {
	font-family: var(--ax-mono);
	font-size: 12px;
	letter-spacing: 0.12em;
	color: #6a7375;
}

.ax-pagination ul {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 64px 0 0;
	padding: 0;
	list-style: none;
}

.ax-pagination a,
.ax-pagination span {
	display: inline-block;
	padding: 10px 14px;
	border: 1px solid var(--ax-rule);
	border-radius: 4px;
	font-size: 15px;
}

.ax-pagination [aria-current] {
	background: var(--ax-charcoal);
	border-color: var(--ax-charcoal);
	color: #fff;
}

.ax-empty {
	margin: 0;
	font-size: 18px;
	color: #4a5153;
}

/* ---------------------------------------------------------------------------
   About
   ------------------------------------------------------------------------ */

.ax-duo {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
	gap: 64px;
}

.ax-duo__item {
	display: flex;
	flex-direction: column;
	gap: 24px;
	padding-top: 32px;
	border-top: 2px solid var(--ax-charcoal);
}

.ax-duo__item--accent {
	border-top-color: var(--ax-silver);
}

.ax-pillars {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	padding-top: 28px;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.ax-pillars__title {
	font-size: 19px;
	font-weight: 600;
}

/* Team cards (profiles come from the Team post type). */
.ax-team-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
}

.ax-team-card {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: clamp(24px, 2.2vw, 32px);
	border-top: 2px solid var(--ax-silver);
	border-radius: 0 0 6px 6px;
	background: #fff;
}

.ax-team-card__role {
	font-family: var(--ax-mono);
	font-size: 12px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ax-steel);
}

.ax-team-card__name {
	margin: 0;
	font-size: clamp(24px, 1.9vw, 28px);
	line-height: 1.1;
	color: var(--ax-charcoal);
}

.ax-team-card__bio {
	margin-top: 6px;
	font-size: 16px;
	line-height: 1.65;
	color: #4a5153;
}

.ax-team-card__bio > * {
	margin: 0;
}

.ax-team-card__bio > * + * {
	margin-top: 0.8em;
}

@media (max-width: 1100px) {
	.ax-team-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.ax-team-grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* ---------------------------------------------------------------------------
   Technology: drug delivery
   ------------------------------------------------------------------------ */

.ax-steps3 {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
	border-top: 1px solid var(--ax-charcoal);
}

.ax-steps3__item {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 36px 32px 8px 0;
}

.ax-steps3__title {
	margin: 0;
	font-size: clamp(26px, 2.4vw, 32px);
	font-weight: 600;
	letter-spacing: -0.03em;
}

.ax-steps3__text {
	max-width: 340px;
	font-size: 17px;
	line-height: 1.6;
	color: #4a5153;
}

/* ---------------------------------------------------------------------------
   Manufacturing
   ------------------------------------------------------------------------ */

/* Four-step timeline (Manufacturing process, Research pathway). */
.ax-tl-light {
	--tl-track: rgba(31, 36, 37, 0.16);
	--tl-node: #fff;
}

.ax-tl-dark {
	--tl-track: rgba(236, 237, 238, 0.16);
	--tl-node: var(--ax-panel);
}

.ax-timeline {
	position: relative;
}

.ax-timeline__track,
.ax-timeline__progress,
.ax-timeline__rail {
	position: absolute;
	left: 9px;
	right: 9px;
	top: 9px;
	height: 1px;
}

.ax-timeline__track {
	background: var(--tl-track);
}

.ax-timeline__progress {
	background: var(--ax-silver);
	transform-origin: left;
}

.ax-timeline__rail {
	height: 0;
}

.ax-timeline__pulse {
	position: absolute;
	top: -7px;
	left: 0;
	width: 14px;
	height: 14px;
	margin-left: -7px;
	border-radius: 50%;
	background: var(--ax-silver-bright);
	box-shadow: 0 0 22px 6px rgba(169, 176, 182, 0.6);
}

.ax-timeline__steps {
	position: relative;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ax-timeline__step {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding-right: 12px;
}

.ax-timeline__node {
	width: 19px;
	height: 19px;
	margin-bottom: 18px;
	border: 2px solid var(--ax-silver);
	border-radius: 50%;
	background: var(--tl-node);
}

.ax-timeline__title {
	margin: 0;
	font-size: clamp(19px, 1.6vw, 23px);
	font-weight: 600;
	letter-spacing: -0.02em;
}

.ax-timeline__text {
	font-size: 16px;
	line-height: 1.55;
	color: var(--body);
}

@media (max-width: 760px) {
	.ax-timeline__track {
		right: auto;
		bottom: 9px;
		width: 1px;
		height: auto;
	}

	.ax-timeline__progress,
	.ax-timeline__rail {
		display: none;
	}

	.ax-timeline__steps {
		grid-template-columns: minmax(0, 1fr);
		gap: 36px;
	}

	.ax-timeline__step {
		padding: 0 0 0 44px;
	}

	.ax-timeline__node {
		position: absolute;
		left: 0;
		top: 0;
		margin: 0;
	}
}

/* ---------------------------------------------------------------------------
   Technology: evidence
   ------------------------------------------------------------------------ */

.ax-evidence {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
	gap: 40px 80px;
}

.ax-evidence__list {
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 0;
	list-style: none;
	border-bottom: 1px solid var(--ax-rule);
}

.ax-evidence__item {
	display: grid;
	grid-template-columns: 56px minmax(0, 1fr);
	gap: 16px;
	padding: 28px 0;
	border-top: 1px solid var(--ax-rule);
}

.ax-evidence__item .ax-num {
	padding-top: 5px;
	letter-spacing: 0.12em;
}

.ax-evidence__title {
	margin: 0 0 6px;
	font-size: clamp(20px, 1.8vw, 24px);
	font-weight: 600;
	letter-spacing: -0.02em;
}

.ax-evidence__text {
	font-size: 16px;
	line-height: 1.6;
	color: #4a5153;
}

/* ---------------------------------------------------------------------------
   Article
   ------------------------------------------------------------------------ */

.ax-article-head {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 28px;
	max-width: 1000px;
	margin: 0 auto;
	padding: 180px var(--ax-gutter) 64px;
}

.ax-back-link {
	font-family: var(--ax-mono);
	font-size: 13px;
	letter-spacing: 0.12em;
	color: var(--ax-silver-bright);
}

.ax-article-head__title {
	margin: 0;
	font-weight: 600;
	font-size: clamp(40px, 5.4vw, 76px);
	line-height: 1;
	letter-spacing: -0.045em;
	text-wrap: balance;
}

.ax-article-head__standfirst {
	font-size: clamp(19px, 1.6vw, 22px);
	line-height: 1.6;
	color: #bfc2c4;
}

.ax-article-banner {
	position: relative;
	z-index: 2;
	max-width: 1240px;
	margin: 0 auto -120px;
	padding: 0 var(--ax-gutter);
}

.ax-article {
	padding: 200px var(--ax-gutter) 120px;
	background: #fff;
	color: var(--ax-charcoal);
}

.ax-article--no-banner {
	padding-top: 96px;
}

.ax-article__inner {
	display: flex;
	flex-direction: column;
	gap: 28px;
	max-width: 720px;
	margin: 0 auto;
}

.ax-article__body {
	font-size: 19px;
	line-height: 1.75;
	color: #3a4143;
}

.ax-article__body > * {
	margin: 0;
}

.ax-article__body > * + * {
	margin-top: 28px;
}

.ax-article__body > p:first-child {
	font-size: 22px;
	line-height: 1.6;
	font-weight: 500;
	color: var(--ax-charcoal);
}

.ax-article__body h2,
.ax-article__body h3 {
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: -0.03em;
	color: var(--ax-charcoal);
}

.ax-article__body h2 {
	font-size: 30px;
}

.ax-article__body h3 {
	font-size: 24px;
}

.ax-article__body > h2,
.ax-article__body > h3 {
	margin-top: 52px;
}

.ax-article__body > :first-child {
	margin-top: 0;
}

.ax-article__body blockquote {
	margin: 44px 0;
	padding: 8px 0 8px 28px;
	border-left: 2px solid var(--ax-silver);
	font-size: 26px;
	font-weight: 500;
	line-height: 1.35;
	letter-spacing: -0.02em;
	color: var(--ax-charcoal);
}

.ax-article__body blockquote p {
	margin: 0;
}

.ax-article__body blockquote cite {
	display: block;
	margin-top: 12px;
	font-size: 15px;
	font-style: normal;
	letter-spacing: 0;
	color: #4a5153;
}

.ax-article__body a {
	color: var(--ax-steel);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.ax-article__body ul,
.ax-article__body ol {
	padding-left: 1.3em;
}

.ax-article__body figure img {
	display: block;
	height: auto;
	border-radius: 4px;
}

.ax-article__foot {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 16px;
	margin-top: 32px;
	padding-top: 28px;
	border-top: 1px solid #dfe3e1;
	font-size: 15px;
	color: #4a5153;
}

.ax-article__all {
	font-weight: 600;
	color: var(--ax-charcoal);
}

.ax-hero--404 .ax-article-head {
	padding-bottom: 120px;
}

/* ---------------------------------------------------------------------------
   Contact
   ------------------------------------------------------------------------ */

.ax-sec--enquiry {
	padding: clamp(72px, 9vw, 130px) var(--ax-gutter);
}

.ax-contact {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
	gap: 64px;
	align-items: start;
}

.ax-contact__details {
	display: flex;
	flex-direction: column;
	gap: 40px;
	max-width: 440px;
}

.ax-contact__address {
	font-size: 26px;
	font-weight: 600;
	line-height: 1.25;
	letter-spacing: -0.025em;
}

.ax-contact__list {
	display: flex;
	flex-direction: column;
	margin: 0;
	border-top: 1px solid var(--ax-rule);
}

.ax-contact__row {
	display: grid;
	grid-template-columns: 90px minmax(0, 1fr);
	gap: 16px;
	padding: 20px 0;
	border-bottom: 1px solid var(--ax-rule);
	font-size: 17px;
}

.ax-contact__row dt {
	padding-top: 4px;
	font-family: var(--ax-mono);
	font-size: 12px;
	letter-spacing: 0.14em;
	color: #6a7375;
}

.ax-contact__row dd {
	margin: 0;
	overflow-wrap: anywhere;
}

.ax-enquiry {
	padding: clamp(28px, 4vw, 56px);
	border-radius: 6px;
	background: #fff;
	color: var(--ax-charcoal);
}

.ax-enquiry__form {
	display: flex;
	flex-direction: column;
	gap: 28px;
}

.ax-enquiry__hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.ax-enquiry__title {
	margin: 0;
	font-size: clamp(28px, 3vw, 36px);
	font-weight: 600;
	letter-spacing: -0.035em;
}

.ax-enquiry__note {
	font-size: 15px;
	color: #6a7375;
}

.ax-req {
	color: var(--ax-steel);
}

.ax-enquiry__types {
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

.ax-enquiry__types legend {
	margin-bottom: 12px;
	padding: 0;
}

.ax-field__label {
	font-size: 14px;
	font-weight: 600;
	color: var(--ax-charcoal);
}

.ax-field__optional {
	font-weight: 400;
	color: #6a7375;
}

.ax-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.ax-pill {
	position: relative;
	cursor: pointer;
}

.ax-pill input {
	position: absolute;
	inset: 0;
	margin: 0;
	opacity: 0;
	cursor: pointer;
}

.ax-pill__label {
	display: inline-block;
	padding: 11px 16px;
	border: 1px solid var(--ax-rule);
	border-radius: 999px;
	background: #fff;
	color: var(--ax-charcoal);
	font-size: 15px;
	transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.ax-pill:hover .ax-pill__label {
	border-color: var(--ax-charcoal);
}

.ax-pill input:checked + .ax-pill__label {
	background: var(--ax-charcoal);
	border-color: var(--ax-charcoal);
	color: #fff;
}

.ax-pill input:focus-visible + .ax-pill__label {
	outline: 2px solid var(--ax-silver);
	outline-offset: 2px;
}

.ax-enquiry__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
	gap: 20px;
}

.ax-field {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.ax-input {
	width: 100%;
	padding: 15px 16px;
	border: 1px solid var(--ax-rule);
	border-radius: 4px;
	outline: none;
	background: #fff;
	color: var(--ax-charcoal);
	font: inherit;
	font-size: 16px;
	transition: border-color 0.2s, box-shadow 0.2s;
}

.ax-input:focus {
	border-color: var(--ax-silver);
	box-shadow: 0 0 0 3px rgba(169, 176, 182, 0.2);
}

.ax-input.is-invalid {
	border-color: #a8322a;
}

.ax-input--textarea {
	resize: vertical;
}

.ax-enquiry__errors {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.ax-enquiry__error {
	margin: 0;
	padding: 12px 16px;
	border-radius: 4px;
	background: #fbeceb;
	color: #a8322a;
	font-size: 15px;
}

.ax-enquiry__foot {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
}

.ax-enquiry__privacy {
	max-width: 360px;
	font-size: 13px;
	line-height: 1.5;
	color: #6a7375;
}

.ax-submit {
	padding: 16px 28px;
	border: none;
	border-radius: 6px;
	background: var(--ax-charcoal);
	color: #fff;
	font: inherit;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.2s, opacity 0.2s;
}

.ax-submit:hover {
	background: var(--ax-steel);
}

.ax-submit[disabled] {
	opacity: 0.6;
	cursor: progress;
}

.ax-enquiry__sent {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 20px;
	min-height: 420px;
	padding: 40px 0;
	outline: none;
}

.ax-enquiry__tick {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--ax-silver);
	color: #141516;
	font-size: 26px;
	font-weight: 600;
}

.ax-enquiry__sent-title {
	margin: 0;
	font-size: clamp(28px, 3vw, 38px);
	font-weight: 600;
	line-height: 1.1;
	letter-spacing: -0.035em;
}

.ax-link-button {
	align-self: flex-start;
	padding: 0;
	border: none;
	border-bottom: 1px solid currentColor;
	background: none;
	color: var(--ax-steel);
	font: inherit;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
}

/* While editing in Pencil, every form state is shown so it can be edited. */
.ax-is-editing .ax-enquiry__sent {
	min-height: 0;
	margin-bottom: 40px;
	padding: 0 0 40px;
	border-bottom: 1px dashed var(--ax-rule);
}

/* ---------------------------------------------------------------------------
   Footer
   ------------------------------------------------------------------------ */

.ax-footer {
	--kicker: var(--ax-silver);
	--accent: var(--ax-silver);

	display: flex;
	flex-direction: column;
	gap: 80px;
	padding: clamp(72px, 9vw, 110px) var(--ax-gutter) 40px;
	background: var(--ax-night);
	color: #e9eaeb;
}

.ax-footer--compact {
	gap: 0;
	padding-top: 64px;
}

.ax-footer__cta {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-end;
	gap: 32px 48px;
}

.ax-footer__cta-copy {
	display: flex;
	flex-direction: column;
	gap: 20px;
	max-width: 820px;
}

.ax-footer__title {
	margin: 0;
	font-weight: 600;
	font-size: clamp(40px, 5vw, 64px);
	line-height: 1;
	letter-spacing: -0.045em;
	text-wrap: balance;
}

.ax-footer__text {
	max-width: 620px;
	font-size: 18px;
	line-height: 1.6;
	color: #aeb1b4;
	text-wrap: pretty;
}

.ax-footer__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 40px;
	padding-top: 40px;
	border-top: 1px solid rgba(255, 255, 255, 0.14);
	font-size: 15px;
	line-height: 1.75;
	color: #929599;
}

.ax-footer__label {
	margin-bottom: 10px;
	font-family: var(--ax-mono);
	font-size: 12px;
	letter-spacing: 0.14em;
	color: var(--ax-silver);
}

.ax-footer__links {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.ax-footer__legal {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 12px 32px;
	margin-top: 56px;
	padding-top: 24px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	font-size: 13px;
	line-height: 1.6;
	color: #7d8185;
}

.ax-footer__disclaimer {
	max-width: 620px;
}

.ax-footer__policies {
	display: flex;
	gap: 24px;
}

/* ---------------------------------------------------------------------------
   Small screens
   ------------------------------------------------------------------------ */

@media (max-width: 560px) {
	.ax-pillars {
		gap: 12px;
	}

	.ax-pillars__title {
		font-size: 16px;
	}

	

	.ax-article {
		padding-top: 160px;
	}

	.ax-article--no-banner {
		padding-top: 64px;
	}

	.ax-article-banner {
		margin-bottom: -80px;
	}
}

/* ---------------------------------------------------------------------------
   Reduced motion
   ------------------------------------------------------------------------ */

@media (prefers-reduced-motion: reduce) {
	.ax-timeline__pulse {
		display: none;
	}
}

/* ---------------------------------------------------------------------------
   Heading typeface
   Newsreader (slender serif) for headings; body, buttons and labels keep
   Schibsted Grotesk and JetBrains Mono. Kept last so it overrides the
   component rules above.
   ------------------------------------------------------------------------ */

/* Large display headings: light weight. */
.ax-hero__title,
.ax-h2,
.ax-statement,
.ax-footer__title,
.ax-article-head__title {
	font-family: var(--ax-display);
	font-weight: 300;
	letter-spacing: -0.02em;
}

.ax-hero__title,
.ax-hero__title--xl {
	line-height: 1;
}

.ax-h2,
.ax-footer__title {
	line-height: 1.05;
}

/* Smaller headings: regular weight so thin strokes stay crisp. */
.ax-cap-card__title,
.ax-post__title,
.ax-list-head__title,
.ax-team-card__name,
.ax-steps3__title,
.ax-timeline__title,
.ax-evidence__title,
.ax-pillars__title,
.ax-enquiry__title,
.ax-enquiry__sent-title,
.ax-contact__address,
.ax-article__body h2,
.ax-article__body h3 {
	font-family: var(--ax-display);
	font-weight: 400;
	letter-spacing: -0.01em;
}
