.hex-build-page {
	--build-ink: #102342;
	--build-muted: #526882;
	--build-blue: #1768cf;
	--build-line: #bcd8f4;
	--build-pale: #edf6ff;
	background: #f4f8fd;
	color: var(--build-ink);
}

.hex-build {
	overflow: hidden;
}

.hex-build-shell {
	width: min(1180px, calc(100% - 40px));
	margin-inline: auto;
}

.hex-build-hero {
	padding: clamp(72px, 9vw, 120px) 0 80px;
	background:
		radial-gradient(circle at 82% 30%, rgba(81, 169, 255, 0.18), transparent 28rem),
		linear-gradient(135deg, #fbfdff, #edf5ff);
}

.hex-build-hero__grid,
.hex-build-planner__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
	gap: clamp(40px, 7vw, 90px);
	align-items: center;
}

.hex-build-eyebrow,
.hex-build-step-label {
	margin: 0 0 12px;
	color: var(--build-blue);
	font-size: 0.76rem;
	font-weight: 900;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.hex-build h1 {
	max-width: 760px;
	margin: 0;
	font-size: clamp(3rem, 6.5vw, 5.9rem);
	letter-spacing: -0.065em;
	line-height: 0.94;
}

.hex-build-lead {
	max-width: 670px;
	margin: 28px 0 0;
	color: var(--build-muted);
	font-size: clamp(1.05rem, 1.8vw, 1.3rem);
	line-height: 1.65;
}

.hex-build-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 30px;
}

.hex-build-button {
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
}

.hex-build-button .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 22px;
	border: 1px solid #8fb8e4;
	border-radius: 12px;
	font-weight: 850;
	text-decoration: none;
}

.hex-build-button--primary .wp-block-button__link {
	border-color: #1768cf;
	background: linear-gradient(180deg, #2d7fe3, #1559b3);
	box-shadow: 0 10px 24px rgba(23, 104, 207, 0.24);
	color: #fff;
}

.hex-build-button--secondary .wp-block-button__link {
	background: rgba(255, 255, 255, 0.8);
	color: #153b6a;
}

.hex-build-reassurance {
	margin: 22px 0 0;
	color: var(--build-muted);
	font-size: 0.9rem;
}

.hex-build-hero__card {
	position: relative;
	display: grid;
	gap: 10px;
	padding: 42px;
	overflow: hidden;
	border: 1px solid var(--build-line);
	border-radius: 26px;
	background: rgba(255, 255, 255, 0.82);
	box-shadow: 0 28px 70px rgba(31, 74, 119, 0.16);
}

.hex-build-hero__card::after {
	content: "";
	position: absolute;
	right: -55px;
	bottom: -65px;
	width: 190px;
	height: 190px;
	border: 28px solid rgba(42, 126, 220, 0.08);
	transform: rotate(45deg);
}

.hex-build-hero__number {
	color: #a8c9ed;
	font-size: 4rem;
	font-weight: 950;
	line-height: 1;
}

.hex-build-hero__card p,
.hex-build-hero__card span:last-child {
	margin: 0;
	color: var(--build-muted);
}

.hex-build-hero__card strong {
	max-width: 360px;
	font-size: 1.55rem;
	line-height: 1.2;
}

.hex-build-prep,
.hex-build-guide {
	padding: 80px 0;
}

.hex-build-section-heading {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 40px;
	margin-bottom: 34px;
}

.hex-build-section-heading h2,
.hex-build-planner h2 {
	max-width: 720px;
	margin: 0;
	font-size: clamp(2rem, 4vw, 3.4rem);
	letter-spacing: -0.045em;
	line-height: 1.05;
}

.hex-build-section-heading > p {
	max-width: 360px;
	margin: 0;
	color: var(--build-muted);
	line-height: 1.55;
}

.hex-build-tools {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.hex-build-tools li {
	display: grid;
	grid-template-columns: 46px 1fr;
	grid-template-rows: auto auto;
	gap: 2px 12px;
	padding: 22px;
	border: 1px solid #d4e3f2;
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 10px 30px rgba(35, 72, 109, 0.07);
}

.hex-build-tools li > span {
	grid-row: span 2;
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border-radius: 13px;
	background: var(--build-pale);
	color: var(--build-blue);
	font-size: 1.35rem;
	font-weight: 900;
}

.hex-build-tools small {
	color: var(--build-muted);
	line-height: 1.4;
}

.hex-build-planner {
	padding: 90px 0;
	background: #102342;
	color: #fff;
}

.hex-build-planner p {
	color: #bfd0e6;
	line-height: 1.7;
}

.hex-build-planner ol {
	display: grid;
	gap: 12px;
	margin: 26px 0 30px;
	padding: 0;
	list-style: none;
}

.hex-build-planner ol li {
	display: flex;
	align-items: center;
	gap: 12px;
}

.hex-build-planner ol span {
	display: grid;
	place-items: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: #2a7ee0;
	font-weight: 900;
}

.hex-build-planner .hex-shot {
	margin: 0;
	border-color: #406384;
	box-shadow: 0 28px 60px rgba(0, 0, 0, 0.28);
}

.hex-build .hex-shot {
	display: block;
	width: 100%;
	margin: 0;
	overflow: hidden;
	border: 1px solid #cbd8e5;
	border-radius: 18px;
	background: #eaf0f6;
	box-shadow: 0 18px 44px rgba(30, 69, 108, 0.13);
}

.hex-build .hex-shot--wide {
	aspect-ratio: 4 / 3;
}

.hex-build .hex-shot--portrait {
	aspect-ratio: 4 / 5;
}

.hex-build .hex-shot--square {
	aspect-ratio: 1;
}

.hex-build .hex-shot__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hex-build .hex-shot__placeholder {
	position: relative;
	display: flex;
	height: 100%;
	min-height: 15rem;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.6rem;
	padding: clamp(1.4rem, 4vw, 2.5rem);
	overflow: hidden;
	background:
		linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(224, 234, 244, 0.72)),
		repeating-linear-gradient(135deg, transparent 0 16px, rgba(23, 105, 210, 0.035) 16px 17px),
		#edf3f8;
	text-align: center;
}

.hex-build .hex-shot__placeholder::before,
.hex-build .hex-shot__placeholder::after {
	content: "";
	position: absolute;
	width: 12rem;
	aspect-ratio: 1;
	border: 1px solid rgba(23, 105, 210, 0.09);
	clip-path: polygon(25% 6%, 75% 6%, 100% 50%, 75% 94%, 25% 94%, 0 50%);
}

.hex-build .hex-shot__placeholder::before {
	left: -4rem;
	top: -4rem;
}

.hex-build .hex-shot__placeholder::after {
	right: -4rem;
	bottom: -4rem;
}

.hex-build .hex-shot__id {
	position: absolute;
	left: 1rem;
	top: 1rem;
	z-index: 1;
	padding: 0.35rem 0.5rem;
	border: 1px solid rgba(23, 105, 210, 0.22);
	border-radius: 0.4rem;
	background: rgba(255, 255, 255, 0.78);
	color: var(--build-blue);
	font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
	font-size: 0.68rem;
	font-weight: 850;
	letter-spacing: 0.08em;
}

.hex-build .hex-shot__icon {
	position: relative;
	z-index: 1;
	width: 4rem;
	color: rgba(23, 105, 210, 0.3);
}

.hex-build .hex-shot__icon svg {
	display: block;
	width: 100%;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 2;
}

.hex-build .hex-shot__placeholder strong,
.hex-build .hex-shot__description,
.hex-build .hex-shot__placeholder small {
	position: relative;
	z-index: 1;
}

.hex-build .hex-shot__placeholder strong {
	max-width: 28rem;
	color: var(--build-ink);
	font-size: 1.05rem;
}

.hex-build .hex-shot__description {
	max-width: 30rem;
	color: var(--build-muted);
	font-size: 0.8rem;
	line-height: 1.45;
}

.hex-build .hex-shot__placeholder small {
	color: #6e8297;
	font-size: 0.68rem;
}

.hex-build-tabs {
	overflow: hidden;
	border: 1px solid var(--build-line);
	border-radius: 24px;
	background: #fff;
	box-shadow: 0 24px 70px rgba(29, 70, 112, 0.12);
}

.hex-build-tablist {
	display: grid;
	grid-template-columns: 1fr 1fr;
	padding: 8px;
	border-bottom: 1px solid #d6e4f1;
	background: #eaf3fc;
}

.hex-build-tablist button {
	min-height: 54px;
	border: 0;
	border-radius: 14px;
	background: transparent;
	color: #526882;
	font-size: 0.95rem;
	font-weight: 900;
}

.hex-build-tablist button[aria-selected="true"] {
	background: #fff;
	box-shadow: 0 5px 18px rgba(31, 74, 119, 0.12);
	color: var(--build-blue);
}

.hex-build-tabpanel {
	padding: clamp(24px, 4vw, 52px);
}

.hex-build-tabpanel[hidden] {
	display: none;
}

.hex-build-intro-grid,
.hex-build-reference-grid,
.hex-build-install-step,
.hex-build-finish {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(28px, 5vw, 64px);
	align-items: center;
}

.hex-build-intro-grid {
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
	gap: clamp(28px, 3.5vw, 46px);
}

.hex-build-tabpanel h3 {
	margin: 0 0 14px;
	font-size: clamp(1.45rem, 2.5vw, 2.2rem);
	letter-spacing: -0.035em;
}

.hex-build-tabpanel p {
	color: var(--build-muted);
	line-height: 1.65;
}

.hex-build-callout {
	display: grid;
	gap: 5px;
	margin-top: 24px;
	padding: 16px;
	border-left: 4px solid var(--build-blue);
	background: var(--build-pale);
}

.hex-build-callout span {
	color: var(--build-muted);
	font-size: 0.86rem;
	line-height: 1.5;
}

.hex-build-piece-list {
	display: grid;
	gap: 10px;
	margin: 24px 0;
	padding: 0;
	list-style: none;
}

.hex-build-piece-list li {
	display: flex;
	align-items: center;
	gap: 12px;
}

.hex-build-piece-list li > span {
	display: grid;
	flex: 0 0 auto;
	place-items: center;
	width: 30px;
	height: 30px;
	border-radius: 9px;
	background: var(--build-pale);
	color: var(--build-blue);
	font-weight: 900;
}

.hex-build-piece-list li > div {
	display: grid;
	gap: 1px;
}

.hex-build-piece-list small,
.hex-build-mount-note {
	color: var(--build-muted);
	line-height: 1.4;
}

.hex-build-mount-note {
	padding: 12px 14px;
	border-radius: 10px;
	background: #f3f6f9;
	font-size: 0.84rem;
}

.hex-build-assembly-media {
	margin: 0;
	overflow: hidden;
	border: 1px solid #c9dced;
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 18px 44px rgba(30, 69, 108, 0.13);
}

.hex-build-assembly-media video,
.hex-build-assembly-media img {
	display: block;
	width: 100%;
	aspect-ratio: 1425 / 962;
	background: #f8fafc;
	object-fit: contain;
}

.hex-build-assembly-media figcaption {
	padding: 12px 16px;
	color: var(--build-muted);
	font-size: 0.76rem;
	text-align: center;
}

.hex-build-reference-grid {
	margin-top: 48px;
	padding-top: 48px;
	border-top: 1px solid #dbe7f1;
}

.hex-build-reference-grid article {
	min-width: 0;
}

.hex-build-dimensions-image {
	display: block;
	width: 100%;
	height: auto;
	margin-top: 20px;
	border: 1px solid #d0deea;
	border-radius: 16px;
	background: #fff;
}

.hex-build-tabpanel .hex-shot {
	margin: 0;
}

.hex-build-methods {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin-bottom: 52px;
}

.hex-build-methods article {
	padding: 26px;
	border: 1px solid #c9def2;
	border-radius: 16px;
	background: #f4f9ff;
}

.hex-build-methods article > span,
.hex-build-install-step__copy > span {
	color: #8bb9e9;
	font-size: 2rem;
	font-weight: 950;
}

.hex-build-methods p {
	margin: 8px 0;
}

.hex-build-install-steps {
	display: grid;
	gap: 24px;
}

.hex-build-install-step {
	padding: 24px;
	border: 1px solid #d8e5f0;
	border-radius: 20px;
	background: #fbfdff;
}

.hex-build-install-step--reverse > :first-child {
	order: 2;
}

.hex-build-shot-pair {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.hex-build-finish {
	margin-top: 52px;
	padding: 34px;
	border-radius: 20px;
	background: #102342;
	color: #fff;
}

.hex-build-finish p {
	color: #bed0e4;
}

.hex-build-safety {
	padding: 0 0 84px;
}

.hex-build-safety .hex-build-shell {
	display: grid;
	grid-template-columns: 220px 1fr;
	gap: 28px;
	padding: 24px 28px;
	border: 1px solid #e4c989;
	border-radius: 16px;
	background: #fff9ea;
}

.hex-build-safety strong {
	color: #78500c;
}

.hex-build-safety p {
	margin: 0;
	color: #725c32;
	line-height: 1.55;
}

@media (max-width: 900px) {
	.hex-build-hero__grid,
	.hex-build-planner__grid,
	.hex-build-intro-grid,
	.hex-build-reference-grid,
	.hex-build-install-step,
	.hex-build-finish {
		grid-template-columns: 1fr;
	}

	.hex-build-tools {
		grid-template-columns: 1fr 1fr;
	}

	.hex-build-install-step--reverse > :first-child {
		order: 0;
	}
}

@media (max-width: 620px) {
	.hex-build-shell {
		width: min(100% - 24px, 1180px);
	}

	.hex-build-hero {
		padding-top: 48px;
	}

	.hex-build h1 {
		font-size: clamp(2.65rem, 15vw, 4rem);
	}

	.hex-build-tools,
	.hex-build-methods,
	.hex-build-shot-pair,
	.hex-build-safety .hex-build-shell {
		grid-template-columns: 1fr;
	}

	.hex-build-section-heading {
		display: grid;
		gap: 14px;
	}

	.hex-build-tabpanel {
		padding: 18px;
	}

	.hex-build-tablist button {
		padding: 8px;
		font-size: 0.78rem;
	}
}
