/* Axel Rife: deltas from the approved mock on top of the parent's layout. Generated header; edit brands/axelrife.org.css. */


/*
 * Axel Rife: ported from the approved mock (sites/axelrife.org/theme.css) onto the "author" layout.
 * The signup card is the parent's .bcs-card + Fluent skin (driven by the palette in theme.json), so the mock's form rules are not repeated.
 * Selectors are prefixed with .ax because the mock used bare element selectors.
 */

:root {
	--paper: #f5f2e9;
	--ink: #18392e;
	--forest: #24533f;
	--muted: #536258;
	--line: #d4d5c8;
	--copper: #9b4d31;
	--cap: var(--wp--preset--font-family--display);
}

body {
	background: var(--paper);
	color: var(--ink);
	font: 400 16px/1.6 var(--wp--preset--font-family--body);
}

.ax {
	max-width: 1680px;
	margin: 0 auto;
	padding: 0 48px;
}

.ax,
.ax *,
.ax *::before,
.ax *::after {
	box-sizing: border-box;
}

.ax a {
	color: inherit;
	text-underline-offset: 4px;
}

.ax .masthead {
	height: 112px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	border-bottom: 1px solid var(--line);
	gap: 24px;
}

.ax .wordmark {
	font: 400 53px/1 var(--cap);
	letter-spacing: -2px;
	margin: 0;
}

.ax .wordmark a {
	text-decoration: none;
}

.ax .wordmark span {
	color: var(--copper);
}

.ax .domain,
.ax .eyebrow,
.ax .art-header,
.ax .art-footer {
	font-size: 10px;
	letter-spacing: 1.7px;
	line-height: 1.6;
}

.ax .domain {
	margin-left: auto;
	color: var(--muted);
}

.ax .follow {
	margin: 0;
}

.ax .follow a {
	display: flex;
	gap: 32px;
	align-items: center;
	padding: 11px 20px;
	border: 1px solid #a9b3a2;
	text-decoration: none;
	font-size: 12px;
	min-height: 44px;
}

.ax .follow a:hover {
	background: #e6e8dc;
}

/* ---------- Launch spread ---------- */

.ax .launch-spread {
	display: grid;
	grid-template-columns: 1.08fr 1fr;
	gap: 64px;
	padding-top: 40px;
}

.ax .intro {
	padding: 10px 0 0;
	min-width: 0;
}

.ax .eyebrow {
	font-weight: 600;
	margin: 0;
}

.ax .ax-status::before {
	content: "";
	display: inline-block;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--forest);
	margin-right: 9px;
	vertical-align: 1px;
}

.ax h1.ax-headline {
	font: 400 clamp(58px, 6.3vw, 104px) / 0.96 var(--cap);
	letter-spacing: -3px;
	margin: 24px 0;
}

.ax h1 em {
	color: var(--copper);
	font-weight: 400;
}

.ax .deck {
	font-size: 17px;
	line-height: 1.7;
	margin: 24px 0 14px;
}

.ax .intro-note {
	font-size: 13px;
	line-height: 1.8;
	color: var(--muted);
	margin: 0 0 30px;
}

/* ---------- Signup card (mock deltas on the parent's skin) ---------- */

.ax .intro .bcs-card {
	max-width: none;
	border: 0;
	border-top: 2px solid var(--forest);
	padding: 24px;
}

/* The mock puts first name and email side by side; consent, Turnstile and the button span both columns. */
.ax .intro .bcs-card .fluentform fieldset {
	display: grid;
	grid-template-columns: 0.8fr 1.2fr;
	gap: 0 14px;
	min-width: 0;
}

.ax .intro .bcs-card .fluentform fieldset > div:nth-of-type(n + 3) {
	grid-column: 1 / -1;
}

/* ---------- Book composition ---------- */

.ax .collection-art {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	min-height: 760px;
	background: #18392e;
	color: #f5f2e9;
	display: flex;
	flex-direction: column;
	padding: 28px 30px 22px;
}

.ax .art-header,
.ax .art-footer {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	font-size: 8px;
	letter-spacing: 1.4px;
	color: #d9dfcf;
}

.ax .art-header p,
.ax .art-footer p {
	margin: 0;
}

.ax .orbits {
	position: absolute;
	inset: 10% -10% 30%;
	z-index: -1;
	transform: rotate(-25deg);
}

.ax .orbits span {
	position: absolute;
	border: 1px solid #b0bea840;
	border-radius: 50%;
	inset: 3% 8%;
}

.ax .orbits span:nth-child(2) {
	inset: 16% -8%;
}

.ax .orbits span:nth-child(3) {
	inset: -10% 26%;
}

.ax .node {
	position: absolute;
	width: 7px;
	height: 7px;
	background: #c69d73;
	border-radius: 50%;
}

.ax .node.one {
	left: 21%;
	top: 48%;
}

.ax .node.two {
	right: 18%;
	bottom: 13%;
}

.ax .book-composition {
	position: relative;
	height: 342px;
	width: 100%;
	margin: 40px 0 18px;
}

.ax .book {
	position: absolute;
	width: 37%;
	margin: 0;
	top: 36px;
	filter: drop-shadow(14px 18px 13px #06150c88);
	transform-origin: bottom center;
}

.ax .book img {
	width: 100%;
	height: auto;
	aspect-ratio: 2 / 3;
	object-fit: fill;
	display: block;
	border-left: 4px solid #ffffff50;
	box-shadow: 3px 2px 0 #c8c4b5;
}

.ax .book-one {
	left: 3%;
	transform: rotate(-13deg);
	z-index: 1;
}

.ax .book-two {
	left: 31%;
	top: 4px;
	transform: rotate(2deg);
	z-index: 3;
}

.ax .book-three {
	right: 0;
	transform: rotate(14deg);
	z-index: 2;
}

.ax .art-caption {
	margin-top: auto;
	position: relative;
	z-index: 4;
}

.ax .art-caption .eyebrow {
	font-size: 8px;
	color: #c4cfbd;
	letter-spacing: 1.1px;
}

.ax .art-caption h2 {
	font: 400 clamp(38px, 3.4vw, 58px) / 1.02 var(--cap);
	letter-spacing: -1px;
	margin: 16px 0;
}

.ax .art-caption h2 em {
	color: #d3b48c;
	font-weight: 400;
}

.ax .art-caption > p:last-child {
	font-size: 12px;
	line-height: 1.8;
	color: #d5decf;
	margin: 0 0 27px;
}

.ax .art-footer {
	border-top: 1px solid #bac6ac55;
	padding-top: 16px;
	margin-top: 10px;
}

/* ---------- Promises ---------- */

.ax .promises {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 32px;
	border-top: 1px solid var(--line);
	margin-top: 40px;
	padding: 28px 0;
}

.ax .ax-promise {
	display: flex;
	gap: 15px;
	min-width: 0;
}

.ax .index {
	font-size: 10px;
	color: var(--copper);
	padding-top: 7px;
	margin: 0;
}

.ax .promises h2 {
	font: 400 24px / 1.2 var(--cap);
	margin: 0 0 7px;
	letter-spacing: -0.3px;
}

.ax .promises p {
	font-size: 11px;
	line-height: 1.7;
	color: var(--muted);
	margin: 0;
}

/* ---------- Footer ---------- */

.ax .footer {
	border-top: 1px solid var(--line);
	padding: 21px 0 28px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 24px;
	font-size: 9px;
	line-height: 1.7;
	color: var(--muted);
}

.ax .footer p {
	margin: 0;
}

.ax .footer a {
	min-height: 44px;
	display: flex;
	align-items: center;
}

/* ---------- Responsive ---------- */

@media (min-width: 1500px) {
	.ax .launch-spread {
		gap: 88px;
	}

	.ax .collection-art {
		min-height: 840px;
	}

	.ax .book-composition {
		height: 385px;
	}
}

@media (max-width: 1100px) {
	.ax {
		padding: 0 30px;
	}

	.ax .launch-spread {
		gap: 30px;
	}

	.ax .collection-art {
		padding: 24px 22px;
	}

	.ax .book-composition {
		height: 280px;
		margin-top: 55px;
	}

	.ax .art-caption h2 {
		font-size: 44px;
	}

	.ax .deck {
		font-size: 16px;
	}

	.ax .intro .bcs-card {
		padding: 20px;
	}

	.ax .intro .bcs-card .fluentform fieldset {
		grid-template-columns: 1fr;
	}

	.ax h1.ax-headline {
		font-size: 73px;
		letter-spacing: -2px;
	}
}

@media (max-width: 700px) {
	.ax {
		padding: 0 20px;
	}

	.ax .masthead {
		height: 87px;
		gap: 12px;
	}

	.ax .wordmark {
		font-size: 40px;
	}

	.ax .domain {
		display: none;
	}

	.ax .follow a {
		font-size: 10px;
		padding: 9px 12px;
		gap: 20px;
	}

	.ax .launch-spread {
		grid-template-columns: 1fr;
		gap: 28px;
		padding-top: 24px;
	}

	.ax .intro {
		padding: 0;
	}

	.ax .intro > .eyebrow {
		font-size: 8px;
		letter-spacing: 1.3px;
	}

	.ax h1.ax-headline {
		font-size: clamp(52px, 13.4vw, 82px);
		line-height: 0.98;
		margin: 19px 0;
		letter-spacing: -1.5px;
	}

	.ax h1 br:nth-of-type(2) {
		display: none;
	}

	.ax .deck {
		font-size: 14px;
		margin: 19px 0 10px;
	}

	.ax .intro-note {
		font-size: 11px;
		margin-bottom: 21px;
	}

	.ax .collection-art {
		min-height: 660px;
		padding: 23px;
	}

	.ax .book-composition {
		height: 300px;
		max-width: 450px;
		margin: 36px auto 12px;
	}

	.ax .book {
		top: 20px;
	}

	.ax .book-two {
		top: 0;
	}

	.ax .art-caption h2 {
		font-size: 46px;
	}

	.ax .promises {
		grid-template-columns: 1fr;
		gap: 22px;
		margin-top: 27px;
		padding: 25px 0;
	}

	.ax .ax-promise + .ax-promise {
		border-top: 1px solid var(--line);
		padding-top: 20px;
	}

	.ax .promises h2 {
		font-size: 26px;
	}

	.ax .promises p {
		font-size: 12px;
	}

	.ax .footer {
		align-items: flex-start;
		flex-wrap: wrap;
		gap: 14px;
	}

	.ax .footer p:nth-child(2) {
		flex-basis: 100%;
		order: 3;
	}
}

@media (prefers-reduced-motion: reduce) {
	* {
		scroll-behavior: auto !important;
		transition: none !important;
	}
}
