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

:root {
	--axiom-gutter: var(--wp--custom--layout--gutter, clamp(1rem, 4vw, 4rem));
	--axiom-content-size: var(--wp--style--global--content-size, 720px);
	--axiom-heading-leading-fluid: clamp(1em, calc(0.945em + 0.33rem), 1.165em);
	--axiom-wide-size: var(--wp--style--global--wide-size, 1280px);
}

html {
	scroll-padding-top: 6rem;
}

body {
	margin: 0;
}

:where(h1, h2, h3, h4, h5, h6) {
	line-height: var(--axiom-heading-leading-fluid);
}

img,
svg,
video {
	display: block;
	max-width: 100%;
}

/* Future Axiom blocks use this width contract inside full-bleed sections. */
.axiom-container {
	margin-inline: auto;
	width: min(calc(100% - var(--axiom-gutter) - var(--axiom-gutter)), var(--axiom-wide-size));
}

.axiom-container--content {
	max-width: var(--axiom-content-size);
}

.axiom-container--fluid {
	max-width: none;
	width: calc(100% - var(--axiom-gutter) - var(--axiom-gutter));
}

a {
	text-underline-offset: 0.2em;
}

a:hover {
	text-decoration: underline;
}

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
	outline: 3px solid var(--wp--preset--color--gold);
	outline-offset: 4px;
}

.axiom-skip-link {
	background: var(--wp--preset--color--gold);
	color: var(--wp--preset--color--deep-charcoal);
	font-size: 0.875rem;
	font-weight: 700;
	left: 1rem;
	padding: 0.75rem 1rem;
	position: fixed;
	top: 1rem;
	transform: translateY(-200%);
	z-index: 10000;
}

.axiom-skip-link:focus {
	transform: translateY(0);
}

.axiom-site-header {
	background: color-mix(in srgb, var(--wp--preset--color--white) 94%, transparent);
	border-bottom: 1px solid color-mix(in srgb, var(--wp--preset--color--charcoal) 12%, transparent);
	padding-block: var(--wp--preset--spacing--40);
	position: sticky;
	top: 0;
	z-index: 100;
}

.admin-bar .axiom-site-header {
	top: 32px;
}

.axiom-site-header .wp-block-site-title a,
.axiom-site-footer .wp-block-site-title a {
	text-decoration: none;
}

.axiom-site-header > .wp-block-group {
	position: relative;
	width: 100%;
}

.axiom-current-page {
	display: none;
}

.axiom-site-header.is-style-axiom-header-split > .wp-block-group {
	flex-direction: row;
	justify-content: space-between;
}

.axiom-site-header.is-style-axiom-header-centered > .wp-block-group {
	align-items: center;
	flex-direction: column;
	justify-content: center;
}

.axiom-site-header.is-style-axiom-header-centered > .wp-block-group > .wp-block-group,
.axiom-site-header.is-style-axiom-header-centered .wp-block-navigation,
.axiom-site-header.is-style-axiom-header-centered .wp-block-navigation__container {
	justify-content: center;
}

.axiom-site-header.is-style-axiom-header-reversed > .wp-block-group {
	flex-direction: row-reverse;
	justify-content: space-between;
}

.axiom-site-header.is-style-axiom-header-floating {
	--axiom-nav-surface: color-mix(in srgb, var(--wp--preset--color--gold, #ca9d5e) 84%, transparent);

	-webkit-backdrop-filter: blur(18px) saturate(140%);
	backdrop-filter: blur(18px) saturate(140%);
	background: var(--axiom-nav-surface);
	border: 0;
	border-radius: 0.25rem;
	bottom: clamp(1rem, 3vh, 2rem);
	box-shadow: none;
	color: var(--wp--preset--color--white);
	inset-inline: 0;
	margin-inline: auto;
	padding: 0.65rem 0.8rem;
	position: fixed;
	top: auto;
	width: min(calc(100% - var(--axiom-gutter) - var(--axiom-gutter)), clamp(20rem, 30vw, 34rem));
}

.admin-bar .axiom-site-header.is-style-axiom-header-floating {
	top: auto;
}

.axiom-site-header.is-style-axiom-header-floating > .wp-block-group {
	align-items: center;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	min-height: 2.25rem;
}

.axiom-site-header.is-style-axiom-header-floating .wp-block-site-logo img {
	filter: brightness(0) invert(1);
	max-height: 1.75rem;
	max-width: 5rem;
	object-fit: contain;
	width: auto;
}

.axiom-site-header.is-style-axiom-header-floating .wp-block-site-title {
	display: none;
}

.axiom-site-header.is-style-axiom-header-floating .axiom-current-page {
	display: block;
	font-family: inherit;
	font-size: 0.6875rem !important;
	font-weight: 700;
	left: 50%;
	letter-spacing: 0.12em;
	line-height: 1;
	margin: 0;
	max-width: 45%;
	overflow: hidden;
	position: absolute;
	text-align: center;
	text-overflow: ellipsis;
	text-transform: none;
	transform: translateX(-50%);
	white-space: nowrap;
}

.axiom-site-header.is-style-axiom-header-floating .axiom-current-page a {
	color: inherit;
	text-decoration: none;
}

.axiom-site-header.is-style-axiom-header-floating .wp-block-navigation {
	color: var(--wp--preset--color--white);
	margin-left: auto;
}

.axiom-site-header.is-style-axiom-header-floating .wp-block-navigation__responsive-container:not(.is-menu-open) {
	display: none;
}

.axiom-site-header.is-style-axiom-header-floating .wp-block-navigation__responsive-container-open {
	align-items: center;
	color: currentColor;
	display: flex;
	height: 2rem;
	justify-content: center;
	padding: 0;
	width: 2rem;
}

.axiom-site-header.is-style-axiom-header-floating .wp-block-navigation__responsive-container-open svg {
	display: none;
}

.axiom-site-header.is-style-axiom-header-floating .wp-block-navigation__responsive-container-open::before {
	background:
		linear-gradient(currentColor, currentColor) top center / 100% 1px no-repeat,
		linear-gradient(currentColor, currentColor) bottom center / 100% 1px no-repeat;
	content: "";
	display: block;
	height: 0.55rem;
	width: 1.25rem;
}

.axiom-site-header.is-style-axiom-header-floating .wp-block-navigation__responsive-container.is-menu-open {
	color: var(--wp--preset--color--white);
	padding: var(--axiom-gutter);
}

.axiom-eyebrow {
	font-weight: 700;
	letter-spacing: 0.14em;
	line-height: 1.3;
}

.axiom-hero {
	isolation: isolate;
}

.axiom-partners h2.wp-block-heading {
	font-size: clamp(1.56rem, 3.84vw, 4.2rem) !important;
	font-weight: 400;
	letter-spacing: -0.045em;
	line-height: var(--axiom-heading-leading-fluid);
	margin-inline: auto;
	max-width: 12ch;
	text-wrap: balance;
}

@media (max-width: 900px) {
	.axiom-partners h2.wp-block-heading {
		max-width: 42ch;
	}
}

@media (min-width: 901px) {
	.axiom-partners h2.wp-block-heading {
		max-width: 24ch;
	}
}

@media (min-width: 1440px) {
	.axiom-partners h2.wp-block-heading {
		max-width: 26.04ch;
	}
}

.axiom-hero-mark {
	background:
		linear-gradient(135deg, transparent 48%, color-mix(in srgb, var(--wp--preset--color--gold) 55%, transparent) 49%, transparent 51%),
		linear-gradient(45deg, transparent 48%, color-mix(in srgb, var(--wp--preset--color--gold) 22%, transparent) 49%, transparent 51%);
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--gold) 55%, transparent);
	position: relative;
}

.axiom-hero-mark::before,
.axiom-hero-mark::after {
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--gold) 28%, transparent);
	content: "";
	inset: 12%;
	pointer-events: none;
	position: absolute;
	transform: rotate(12deg);
}

.axiom-hero-mark::after {
	inset: 24%;
	transform: rotate(-18deg);
}

.axiom-hero-mark > * {
	position: relative;
	z-index: 1;
}

.axiom-material-panel {
	background-image:
		linear-gradient(90deg, color-mix(in srgb, var(--wp--preset--color--charcoal) 8%, transparent) 1px, transparent 1px),
		linear-gradient(color-mix(in srgb, var(--wp--preset--color--charcoal) 8%, transparent) 1px, transparent 1px);
	background-size: 32px 32px;
}

.axiom-feature-card {
	border-bottom: 2px solid var(--wp--preset--color--gold);
	height: 100%;
}

.axiom-partner-card a {
	font-weight: 700;
	text-decoration: underline;
}

.axiom-partner-card .axiom-partner-card__icon {
	margin: 0 0 clamp(1.5rem, 3vw, 2.5rem) !important;
	width: clamp(4.2rem, 5.6vw, 5.6rem);
}

.axiom-partner-card .axiom-partner-card__icon img {
	height: auto;
	width: 100%;
}

.wp-element-button {
	transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

@media (hover: hover) and (pointer: fine) {
	.wp-element-button:hover {
		background: var(--wp--preset--color--dark-gold);
		color: var(--wp--preset--color--white);
		text-decoration: none;
		transform: translateY(-2px);
	}
}

@media (max-width: 782px) {
	.admin-bar .axiom-site-header {
		top: 46px;
	}

	.admin-bar .axiom-site-header.is-style-axiom-header-floating {
		top: auto;
	}

	.axiom-hero-mark {
		min-height: 280px !important;
	}

	.axiom-contact .wp-block-buttons {
		justify-content: flex-start;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}
