/* Alloway Mockups - base + section styles.
   Motion rule (Material + Impeccable): transform/opacity + standard easing only.
   No bounce/elastic, no animating layout properties. */

/* On body (not :root) so the editor-style transform carries the vars into the
   canvas; front-end cascade identical. */
body {
	--alloway-ease: cubic-bezier(0.2, 0, 0, 1); /* Material standard */
	--alloway-transition: 200ms var(--alloway-ease);
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.001ms !important;
		transition-duration: 0.001ms !important;
	}

	.alloway-reveal {
		opacity: 1 !important;
		transform: none !important;
	}
}

/* ---------- Wordmark ---------- */
.alloway-wordmark {
	font-family: "Roboto Condensed", system-ui, sans-serif;
	font-weight: 700;
	font-size: 1.5rem;
	letter-spacing: 0.06em;
	margin: 0;
}

.alloway-wordmark a {
	color: inherit;
	text-decoration: none;
}

.alloway-footer .alloway-wordmark {
	color: var(--wp--preset--color--on-dark);
}

/* ---------- Header ---------- */
.alloway-header {
	position: sticky;
	top: 0;
	z-index: 100;
	border-bottom: 1px solid var(--wp--preset--color--border);
	transition: box-shadow var(--alloway-transition);
}

.alloway-header.is-stuck {
	box-shadow: 0 2px 14px rgb(19 17 17 / 10%);
}

.alloway-header__inner {
	align-items: center;
	position: relative;
	z-index: 1; /* above the gold wedge */
}

.alloway-nav {
	align-items: center;
	gap: clamp(1rem, 2vw, 2rem);
}

.alloway-nav p {
	margin: 0;
}

.alloway-nav a {
	color: var(--wp--preset--color--contrast);
	text-decoration: none;
	font-weight: 500;
	position: relative;
}

.alloway-nav a::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -4px;
	width: 100%;
	height: 2px;
	background: var(--wp--preset--color--accent);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform var(--alloway-transition);
}

.alloway-nav a:hover::after,
.alloway-nav a:focus-visible::after {
	transform: scaleX(1);
}

/* ---------- Buttons ---------- */
.wp-block-button__link {
	transition:
		background-color var(--alloway-transition),
		transform var(--alloway-transition),
		box-shadow var(--alloway-transition);
}

.wp-block-button__link:hover {
	transform: translateY(-1px);
	box-shadow: 0 6px 16px rgb(19 17 17 / 18%);
}

/* ---------- Scroll-reveal ---------- */
.alloway-reveal {
	opacity: 0;
	transform: translateY(16px);
	transition:
		opacity 500ms var(--alloway-ease),
		transform 500ms var(--alloway-ease);
}

.alloway-reveal.is-visible {
	opacity: 1;
	transform: none;
}

/* ---------- Section rhythm (fluid; varied, not uniform) ---------- */
.alloway-section {
	padding-block: clamp(3.5rem, 7vw, 7rem);
}

.alloway-hero {
	padding-block: clamp(2.5rem, 5vw, 5rem);
}

/* ---------- Eyebrow (AA-safe: near-black text + gold accent mark) ---------- */
.alloway-eyebrow {
	font-family: "Roboto Condensed", system-ui, sans-serif;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	font-weight: 600;
	font-size: 0.8rem;
	color: var(--wp--preset--color--contrast);
	margin: 0 0 var(--wp--preset--spacing--20);
	display: flex;
	align-items: center;
	gap: 0.6rem;
}

.alloway-eyebrow::before {
	content: "";
	width: 1.6rem;
	height: 3px;
	background: var(--wp--preset--color--accent);
	flex: none;
}

/* On dark surfaces the eyebrow inverts. */
.has-dark-background-color .alloway-eyebrow,
.alloway-proof .alloway-eyebrow {
	color: #fff;
}

/* The hero column is centered, but a flex eyebrow ignores text-align, so center it explicitly. */
.vhero .alloway-eyebrow {
	justify-content: center;
}

@media (max-width: 781px) {
	.vhero .alloway-eyebrow {
		justify-content: flex-start;
	}
}

/* ---------- Hero (intentional asymmetry: text + media) ---------- */
.alloway-hero .wp-block-columns {
	gap: clamp(2rem, 5vw, 4rem);
	align-items: center;
}

.alloway-hero h1 {
	margin-bottom: 0.5em;
}

.alloway-hero__lead {
	font-size: var(--wp--preset--font-size--large);
	color: var(--wp--preset--color--muted);
	max-width: 48ch;
}

.alloway-hero__meta {
	color: var(--wp--preset--color--muted);
	font-size: 0.9rem;
	margin-top: var(--wp--preset--spacing--30);
}

.alloway-hero__media {
	aspect-ratio: 4 / 5;
}

/* ---------- Proof bar (gold top accent + dividers + breathing room) ---------- */
.alloway-proof {
	/* Yellow connector line (ticker -> proof); 5px, flush via collapsed block gap. */
	border-top: 5px solid var(--wp--preset--color--primary);
	margin-block-start: 0;
	padding-block: clamp(2.5rem, 5vw, 4rem);
}

.alloway-proof .wp-block-column {
	padding-block: 0.25rem;
}

@media (min-width: 782px) {
	.alloway-proof .wp-block-column + .wp-block-column {
		border-left: 3px solid var(--wp--preset--color--primary);
		padding-left: clamp(1.5rem, 3vw, 2.5rem);
	}
}

@media (max-width: 781px) {
	.alloway-proof .wp-block-column {
		text-align: center;
	}

	.alloway-proof .alloway-stat__label {
		margin-inline: auto;
	}
}

.alloway-stat__num {
	font-family: "Roboto Condensed", system-ui, sans-serif;
	font-weight: 700;
	font-size: clamp(2.75rem, 5vw, 3.75rem);
	line-height: 1;
	color: var(--wp--preset--color--on-dark);
	margin: 0;
}

.alloway-stat__label {
	color: #d4d2cc;
	font-size: 0.95rem;
	margin: 0.5rem 0 0;
	max-width: 22ch;
}

/* ---------- CTA hover micro-interactions ---------- */

/* Diagonal fill wipe (top-left to bottom-right, ~0.5s) + grow; text turns white. */
.alloway-wipe {
	--wipe-fill: var(--wp--preset--color--primary);
	--wipe-text: #131111;
}

.alloway-wipe--white {
	--wipe-fill: #fff;
}

.alloway-wipe .wp-block-button__link {
	position: relative;
	overflow: hidden;
	z-index: 0;
	isolation: isolate;
	vertical-align: top;
	transition:
		transform 0.28s cubic-bezier(0.2, 0, 0.2, 1),
		color 0.2s ease;
}

.alloway-wipe .wp-block-button__link::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: var(--wipe-fill);
	clip-path: polygon(0 0, 0 0, 0 0);
	transition: clip-path 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.alloway-wipe .wp-block-button__link:hover,
.alloway-wipe .wp-block-button__link:focus-visible {
	color: var(--wipe-text) !important;
	transform: scale(1.05);
}

.alloway-wipe .wp-block-button__link:hover::before,
.alloway-wipe .wp-block-button__link:focus-visible::before {
	clip-path: polygon(0 0, 220% 0, 0 220%);
}

/* Quick white fill for the secondary outline button. */
.alloway-fill-white .wp-block-button__link {
	transition:
		background 0.2s ease,
		color 0.2s ease,
		border-color 0.2s ease;
}

.alloway-fill-white .wp-block-button__link:hover,
.alloway-fill-white .wp-block-button__link:focus-visible {
	background: #fff !important;
	color: #131111 !important;
	border-color: #fff !important;
}

/* Quick yellow fill for the dealer portal login button (black text). */
.alloway-fill-yellow .wp-block-button__link {
	transition:
		background 0.2s ease,
		color 0.2s ease,
		border-color 0.2s ease;
}

.alloway-fill-yellow .wp-block-button__link:hover,
.alloway-fill-yellow .wp-block-button__link:focus-visible {
	background: var(--wp--preset--color--primary) !important;
	color: #131111 !important;
	border-color: var(--wp--preset--color--primary) !important;
}

/* Match outline-button size to filled buttons (the 2px border + em padding made them taller). */
.variant-foundation .wp-block-button.is-style-outline .wp-block-button__link {
	padding: 12px 26px;
}

@media (prefers-reduced-motion: reduce) {
	.alloway-wipe .wp-block-button__link,
	.alloway-wipe .wp-block-button__link::before {
		transition: none;
	}

	.alloway-wipe .wp-block-button__link:hover,
	.alloway-wipe .wp-block-button__link:focus-visible {
		transform: none;
	}
}

/* ---------- Product grid / cards ---------- */
.alloway-products {
	border-top: 3px solid var(--wp--preset--color--border);
}

.alloway-card {
	background: var(--wp--preset--color--base);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--wp--custom--radius--sm);
	overflow: hidden;
	height: 100%;
	box-shadow: 0 1px 2px rgb(19 17 17 / 4%);
	transition:
		transform var(--alloway-transition),
		box-shadow var(--alloway-transition);
}

.alloway-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 14px 30px rgb(19 17 17 / 12%);
}

.alloway-card__body {
	padding: var(--wp--preset--spacing--40);
}

.alloway-card h3 {
	font-size: var(--wp--preset--font-size--x-large);
	margin: 0 0 0.4rem;
	letter-spacing: 0.01em;
}

.alloway-card p {
	color: var(--wp--preset--color--muted);
	margin: 0 0 var(--wp--preset--spacing--20);
}

.alloway-card__link {
	font-family: "Roboto Condensed", system-ui, sans-serif;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-size: 0.85rem;
	text-decoration: none;
	color: var(--wp--preset--color--contrast);
}

.alloway-card__link:hover {
	color: var(--wp--preset--color--primary-hover);
}

/* ---------- Image placeholder (clearly marked; real photos TBD) ---------- */
.alloway-img-ph {
	aspect-ratio: 4 / 3;
	background: repeating-linear-gradient(
		45deg,
		#f1f0ea,
		#f1f0ea 14px,
		#eae8df 14px,
		#eae8df 28px
	);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #9a958a;
	font-family: "Roboto Condensed", system-ui, sans-serif;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-size: 0.78rem;
	text-align: center;
	padding: 1rem;
	border-radius: var(--wp--custom--radius--sm);
}

.alloway-img-ph p {
	margin: 0;
}

/* ---------- Product grid with real cutouts ---------- */
.alloway-product-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--wp--preset--spacing--40);
}

/* The group is registered as WP "flow" layout, which auto-generates a margin-block-start on
   every child except the first. In a grid that misaligns row 1 (first card sits 16px higher).
   The grid `gap` handles spacing, so force the child block-margins to zero (WP's generated
   layout rule otherwise wins the cascade). */
.alloway-product-grid > * {
	margin-block: 0 !important;
}

@media (max-width: 781px) {
	.alloway-product-grid {
		grid-template-columns: 1fr;
	}
}

.alloway-card__img {
	background: var(--wp--preset--color--surface);
	aspect-ratio: 4 / 3;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.25rem;
	overflow: hidden;
}

.alloway-card__img .wp-block-image,
.alloway-card__img figure {
	margin: 0;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.alloway-card__img img {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
	transition: transform var(--alloway-transition);
}

.alloway-card:hover .alloway-card__img img {
	transform: scale(1.04);
}

/* ---------- Heritage / 1946 story ---------- */

/* No white gap above: beige meets the dark proof bar directly, with a black triangle
   bleeding down from the proof into the beige, above the "Our story" eyebrow. */
.alloway-heritage {
	position: relative;
	overflow: hidden;
	margin-block-start: 0;
}

.alloway-heritage::before {
	content: "";
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	width: clamp(72px, 8vw, 108px);
	height: clamp(58px, 6.4vw, 86px);
	background: var(--wp--preset--color--dark);
	clip-path: polygon(0 0, 100% 0, 50% 100%);
	z-index: 0;
	pointer-events: none;
}

.alloway-heritage__grid {
	position: relative;
	z-index: 1;
}

.alloway-heritage__year {
	position: absolute;
	z-index: 0;
	right: -0.5rem;
	bottom: -0.16em;
	margin: 0;
	font-family: "Roboto Condensed", system-ui, sans-serif;
	font-weight: 700;
	font-size: clamp(8rem, 24vw, 21rem);
	line-height: 0.78;
	letter-spacing: -0.02em;
	color: transparent;
	-webkit-text-stroke: clamp(1px, 0.18vw, 3px) rgb(228 200 6 / 55%);
	pointer-events: none;
	user-select: none;
}

.alloway-heritage__photo {
	aspect-ratio: 4 / 3;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	border: 1px dashed var(--wp--preset--color--border);
	border-radius: var(--wp--custom--radius--sm);
}

.alloway-heritage__copy h2 {
	margin-bottom: var(--wp--preset--spacing--30);
}

/* ---------- Section-boundary device: no white gaps + triangle pointers ---------- */

/* Collapse the white block-gap so each boundary is the adjacent section's color.
   (Partner and footer keep their white spacing, so they are excluded.) */
.alloway-latest,
.alloway-products,
.alloway-testimonials,
.alloway-news,
.alloway-contact,
.alloway-faq {
	margin-block-start: 0;
}

.alloway-testimonials,
.alloway-news {
	position: relative;
}

.alloway-testimonials::before,
.alloway-news::before {
	content: "";
	position: absolute;
	top: 0;
	left: max(1.5rem, calc((100% - 1200px) / 2));
	width: clamp(72px, 8vw, 108px);
	height: clamp(58px, 6.4vw, 86px);
	clip-path: polygon(0 0, 100% 0, 50% 100%);
	z-index: 2;
	pointer-events: none;
}

.alloway-testimonials::before {
	background: #fff;
} /* white equipment above */
.alloway-news::before {
	background: var(--wp--preset--color--dark);
} /* dark testimonials above */

@media (max-width: 781px) {
	.alloway-testimonials::before,
	.alloway-news::before {
		left: 50%;
		transform: translateX(-50%);
	}
}

/* Beige triangle centered, bleeding from the contact section down into the FAQs. */
.alloway-faq {
	position: relative;
}

.alloway-faq::before {
	content: "";
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	width: clamp(72px, 8vw, 108px);
	height: clamp(58px, 6.4vw, 86px);
	background: var(--wp--preset--color--surface);
	clip-path: polygon(0 0, 100% 0, 50% 100%);
	z-index: 2;
	pointer-events: none;
}

/* Reusable "to supply" asset placeholder (heritage photo, testimonial video, etc.) */
.alloway-ph {
	display: flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	border: 1px dashed var(--wp--preset--color--border);
	border-radius: var(--wp--custom--radius--sm);
	min-height: 240px;
}

.alloway-ph__label {
	margin: 0;
	color: var(--wp--preset--color--muted);
	font-family: "Roboto Condensed", system-ui, sans-serif;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-size: 0.8rem;
	text-align: center;
	padding: 1.25rem;
}

/* Underlined in-section text link (not a CTA button) */
.alloway-textlink {
	display: inline-block;
	font-family: "Roboto Condensed", system-ui, sans-serif;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	font-size: 0.92rem;
	color: var(--wp--preset--color--contrast) !important;
	text-decoration: none !important;
	border-bottom: 2px solid var(--wp--preset--color--primary);
	padding-bottom: 3px;
	transition:
		border-color var(--alloway-transition),
		color var(--alloway-transition);
}

.alloway-textlink:hover {
	color: var(--wp--preset--color--primary-hover) !important;
	border-color: var(--wp--preset--color--primary-hover);
}

@media (max-width: 781px) {
	.alloway-heritage__year {
		font-size: clamp(6rem, 32vw, 10rem);
	}

	.alloway-heritage__copy {
		margin-top: var(--wp--preset--spacing--40);
	}
}

/* ---------- Dealer network + locator ---------- */
.alloway-locator__grid {
	align-items: center;
}

.alloway-locator__map {
	aspect-ratio: 4 / 3;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--wp--custom--radius--sm);
	overflow: hidden;
	box-shadow: 0 14px 30px rgb(19 17 17 / 10%);
}

.alloway-locator__map iframe {
	width: 100%;
	height: 100%;
	border: 0;
	display: block;
}

.alloway-zip {
	display: flex;
	margin-top: var(--wp--preset--spacing--30);
	max-width: 440px;
	border: 1px solid var(--wp--preset--color--contrast);
	border-radius: var(--wp--custom--radius--sm);
	overflow: hidden;
	background: #fff;
}

.alloway-zip input {
	flex: 1;
	min-width: 0;
	border: 0;
	background: transparent;
	padding: 0.85rem 1rem;
	font-size: 1rem;
	font-family: Roboto, system-ui, sans-serif;
	color: var(--wp--preset--color--contrast);
}

.alloway-zip input:focus {
	outline: 2px solid var(--wp--preset--color--primary);
	outline-offset: -2px;
}

.alloway-zip button {
	border: 0;
	cursor: pointer;
	background: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--contrast);
	font-family: "Roboto Condensed", system-ui, sans-serif;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	padding: 0 1.5rem;
	white-space: nowrap;
	transition: background var(--alloway-transition);
}

.alloway-zip button:hover {
	background: var(--wp--preset--color--secondary);
}

.alloway-locator__note {
	font-size: 0.85rem;
	color: var(--wp--preset--color--muted);
	margin-top: 0.6rem;
}

@media (max-width: 781px) {
	.alloway-zip {
		margin-top: var(--wp--preset--spacing--40);
	}

	.alloway-locator__map {
		margin-top: var(--wp--preset--spacing--50);
	}
}

/* Dealer-network section reused as the yellow closing band: dark "Find dealers" button. */
.alloway-dealercta .alloway-zip {
	border-color: var(--wp--preset--color--dark);
}

.alloway-dealercta .alloway-zip button {
	background: var(--wp--preset--color--dark);
	color: #fff;
	transition:
		background 0.2s ease,
		color 0.2s ease;
}

.alloway-dealercta .alloway-zip button:hover,
.alloway-dealercta .alloway-zip button:focus-visible {
	background: #fff;
	color: #131111;
}

.alloway-dealercta .alloway-locator__note {
	color: #4a3f0c;
}

/* ---------- Latest products (featured pair, Art's-Way style) ---------- */
.alloway-latest__grid {
	gap: var(--wp--preset--spacing--50);
}

.alloway-feature {
	height: 100%;
	background: #fff;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--wp--custom--radius--sm);
	overflow: hidden;
	box-shadow: 0 1px 2px rgb(19 17 17 / 4%);
	transition:
		transform var(--alloway-transition),
		box-shadow var(--alloway-transition);
}

.alloway-feature:hover {
	transform: translateY(-4px);
	box-shadow: 0 14px 30px rgb(19 17 17 / 12%);
}

.alloway-feature__img {
	aspect-ratio: 16 / 10;
	background: var(--wp--preset--color--surface);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.5rem;
	overflow: hidden;
}

.alloway-feature__img .wp-block-image,
.alloway-feature__img figure {
	margin: 0;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.alloway-feature__img img {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
	transition: transform var(--alloway-transition);
}

.alloway-feature:hover .alloway-feature__img img {
	transform: scale(1.04);
}

.alloway-feature__img--ph {
	flex-direction: column;
}

.alloway-feature__body {
	padding: var(--wp--preset--spacing--40);
}

.alloway-feature__tag {
	font-family: "Roboto Condensed", system-ui, sans-serif;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-size: 0.72rem;
	font-weight: 600;
	color: var(--wp--preset--color--muted);
	margin: 0 0 0.3rem;
}

.alloway-feature__body h3 {
	font-size: var(--wp--preset--font-size--xx-large);
	margin: 0 0 0.5rem;
}

.alloway-feature__body p {
	color: var(--wp--preset--color--muted);
	margin: 0 0 var(--wp--preset--spacing--20);
}

/* ---------- Testimonials (the emotional peak) ---------- */
.alloway-testimonials .alloway-eyebrow {
	color: var(--wp--preset--color--on-dark);
}

.alloway-testimonials__grid {
	gap: var(--wp--preset--spacing--50);
	align-items: stretch;
}

.alloway-video {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	border-radius: var(--wp--custom--radius--sm);
	overflow: hidden;
	background: #000;
}

.alloway-video__inner {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	align-items: center;
	justify-content: center;
	background:
		linear-gradient(180deg, rgb(19 17 17 / 15%), rgb(19 17 17 / 60%)), #1d1b1a;
}

.alloway-video__play {
	position: relative;
	width: 72px;
	height: 72px;
	border-radius: 50%;
	background: var(--wp--preset--color--primary);
}

.alloway-video__play::after {
	content: "";
	position: absolute;
	left: 54%;
	top: 50%;
	transform: translate(-50%, -50%);
	border-style: solid;
	border-width: 11px 0 11px 19px;
	border-color: transparent transparent transparent #131111;
}

.alloway-video__label {
	color: rgb(255 255 255 / 82%);
	text-align: center;
	padding: 0 1rem;
	font-family: "Roboto Condensed", system-ui, sans-serif;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-size: 0.78rem;
}

.alloway-quotes {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--40);
}

.alloway-quote::before {
	content: "\201C";
	display: block;
	line-height: 0.7;
	margin-bottom: 0.2rem;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 3rem;
	color: var(--wp--preset--color--primary);
}

.alloway-quote__text {
	font-size: 1.12rem;
	line-height: 1.5;
	margin: 0 0 0.6rem;
	color: #fff;
}

.alloway-quote__by {
	margin: 0;
	color: var(--wp--preset--color--on-dark);
	font-family: "Roboto Condensed", system-ui, sans-serif;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	font-size: 0.82rem;
}

/* Testimonial carousel: white video cards, 3 per page, dot + arrow paging */
.alloway-tcar-wrap {
	position: relative;
}

.alloway-tcar {
	display: flex;
	gap: var(--wp--preset--spacing--40);
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
	-ms-overflow-style: none;
}

.alloway-tcar::-webkit-scrollbar {
	display: none;
}

.alloway-tcard {
	flex: 0 0 calc((100% - 2 * var(--wp--preset--spacing--40)) / 3);
	scroll-snap-align: start;
	display: flex;
	flex-direction: column;
	background: #fff;
	color: var(--wp--preset--color--contrast);
	border-radius: var(--wp--custom--radius--sm);
	overflow: hidden;
}

.alloway-tcard__video {
	position: relative;
	aspect-ratio: 16 / 10;
	display: flex;
	flex-direction: column;
	gap: 0.7rem;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	background:
		linear-gradient(180deg, rgb(19 17 17 / 10%), rgb(19 17 17 / 55%)), #1d1b1a;
}

.alloway-tcard__video .alloway-video__play {
	width: 58px;
	height: 58px;
}

.alloway-tcard__vlabel {
	color: rgb(255 255 255 / 72%);
	font-family: "Roboto Condensed", system-ui, sans-serif;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-size: 0.64rem;
}

.alloway-tcard__body {
	padding: var(--wp--preset--spacing--40);
	flex: 1;
}

.alloway-tcard__quote {
	color: var(--wp--preset--color--contrast);
	font-size: 1.02rem;
	line-height: 1.45;
	margin: 0 0 0.8rem;
}

.alloway-tcard__quote::before {
	content: "\201C";
	color: var(--wp--preset--color--primary);
	font-family: Georgia, "Times New Roman", serif;
	font-weight: 700;
	font-size: 1.6em;
	line-height: 0;
	vertical-align: -0.4em;
	margin-right: 0.06em;
}

.alloway-tcard__name {
	font-family: "Roboto Condensed", system-ui, sans-serif;
	font-weight: 700;
	margin: 0;
}

.alloway-tcard__meta {
	color: var(--wp--preset--color--muted);
	font-size: 0.85rem;
	margin: 0;
}

.alloway-tcar__controls {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1.5rem;
	margin-top: var(--wp--preset--spacing--50);
}

.alloway-tcar__arrow {
	flex: none;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	border: 2px solid #fff;
	background: transparent;
	color: #fff;
	display: grid;
	place-items: center;
	cursor: pointer;
	transition:
		background var(--alloway-transition),
		color var(--alloway-transition);
}

.alloway-tcar__arrow:hover {
	background: #fff;
	color: #131111;
}

.alloway-tcar__arrow svg {
	width: 22px;
	height: 22px;
}

.alloway-tcar__dots {
	display: flex;
	gap: 0.55rem;
	align-items: center;
}

.alloway-tcar__dot {
	width: 11px;
	height: 11px;
	border-radius: 50%;
	padding: 0;
	cursor: pointer;
	border: 0;
	background: rgb(255 255 255 / 35%);
	transition:
		background var(--alloway-transition),
		transform var(--alloway-transition);
}

.alloway-tcar__dot[aria-current="true"] {
	background: var(--wp--preset--color--primary);
	transform: scale(1.15);
}

@media (max-width: 905px) {
	.alloway-tcard {
		flex-basis: calc((100% - var(--wp--preset--spacing--40)) / 2);
	}
}

@media (max-width: 600px) {
	.alloway-tcard {
		flex-basis: 86%;
	}
}

/* ---------- How it works ---------- */
.alloway-steps {
	gap: var(--wp--preset--spacing--50);
}

.alloway-step {
	border-top: 2px solid var(--wp--preset--color--contrast);
	padding-top: var(--wp--preset--spacing--20);
}

.alloway-step__num {
	font-family: "Roboto Condensed", system-ui, sans-serif;
	font-weight: 700;
	font-size: 2.4rem;
	line-height: 1;
	color: var(--wp--preset--color--primary);
	margin: 0 0 0.5rem;
}

.alloway-step h3 {
	font-size: var(--wp--preset--font-size--x-large);
	margin: 0 0 0.4rem;
}

.alloway-step p {
	color: var(--wp--preset--color--muted);
	margin: 0;
}

/* ---------- Accordions: manuals + FAQ (native details) ---------- */
.alloway-accordion {
	border-top: 1px solid var(--wp--preset--color--border);
}

.alloway-acc {
	border-bottom: 1px solid var(--wp--preset--color--border);
}

.alloway-acc > summary {
	list-style: none;
	cursor: pointer;
	position: relative;
	padding: 1.05rem 2.5rem 1.05rem 0;
	font-family: "Roboto Condensed", system-ui, sans-serif;
	font-weight: 600;
	font-size: 1.12rem;
	color: var(--wp--preset--color--contrast);
}

.alloway-acc > summary::-webkit-details-marker {
	display: none;
}

.alloway-acc > summary::after {
	content: "";
	position: absolute;
	right: 0.3rem;
	top: 50%;
	margin-top: -6px;
	width: 11px;
	height: 11px;
	border-right: 2px solid var(--wp--preset--color--contrast);
	border-bottom: 2px solid var(--wp--preset--color--contrast);
	transform: rotate(45deg);
	transition: transform var(--alloway-transition);
}

.alloway-acc[open] > summary::after {
	transform: rotate(-135deg);
}

.alloway-acc__body {
	padding: 0 0 1.1rem;
}

.alloway-acc__body p {
	color: var(--wp--preset--color--muted);
	margin: 0 0 0.5rem;
}

.alloway-acc__body ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.alloway-acc__body li {
	padding: 0.3rem 0;
}

.alloway-acc__body a {
	color: var(--wp--preset--color--contrast);
}

.alloway-resnote {
	font-size: 0.85rem;
	color: var(--wp--preset--color--muted);
	margin-top: var(--wp--preset--spacing--20);
}

/* ---------- Dealer partner + portal preview ---------- */
.alloway-portal .alloway-eyebrow {
	color: var(--wp--preset--color--on-dark);
}

.alloway-portal__grid {
	align-items: center;
	gap: var(--wp--preset--spacing--60);
}

.alloway-portal__media {
	margin: 0;
}

.alloway-portal__media img {
	display: block;
	width: 100%;
	height: auto;
	-webkit-mask-image: linear-gradient(to right, transparent 0, #000 20%);
	mask-image: linear-gradient(to right, transparent 0, #000 20%);
}

.alloway-login {
	background: #fff;
	color: var(--wp--preset--color--contrast);
	border-radius: var(--wp--custom--radius--md);
	padding: var(--wp--preset--spacing--50);
	box-shadow: 0 18px 40px rgb(0 0 0 / 35%);
	max-width: 380px;
	margin-left: auto;
}

.alloway-login__title {
	font-family: "Roboto Condensed", system-ui, sans-serif;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-size: 0.92rem;
	margin: 0 0 1.1rem;
}

.alloway-login label {
	display: block;
	margin-bottom: 0.9rem;
	color: var(--wp--preset--color--muted);
	font-family: "Roboto Condensed", system-ui, sans-serif;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	font-size: 0.78rem;
}

.alloway-login input {
	display: block;
	width: 100%;
	margin-top: 0.35rem;
	padding: 0.7rem 0.85rem;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--wp--custom--radius--sm);
	font-size: 1rem;
	font-family: Roboto, system-ui, sans-serif;
	color: var(--wp--preset--color--contrast);
	background: #fff;
}

.alloway-login button {
	width: 100%;
	margin-top: 0.5rem;
	border: 0;
	cursor: pointer;
	padding: 0.8rem;
	background: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--contrast);
	font-family: "Roboto Condensed", system-ui, sans-serif;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.alloway-login__note {
	font-size: 0.8rem;
	color: var(--wp--preset--color--muted);
	margin: 1rem 0 0;
}

@media (max-width: 781px) {
	.alloway-login {
		margin: var(--wp--preset--spacing--40) auto 0;
	}
}

/* ---------- Partner logo ticker (two rows, opposite directions) ---------- */
.alloway-ticker-sec {
	text-align: center;

	/* Yellow connector line (hero -> ticker); block gap collapsed so it sits flush. */
	margin-block-start: 0;
	border-top: 5px solid var(--wp--preset--color--primary);
}

.alloway-ticker__title {
	margin: 0 0 var(--wp--preset--spacing--40);
}

.alloway-ticker {
	display: flex;
	flex-direction: column;
	gap: clamp(0.75rem, 1.6vw, 1.25rem);
}

.alloway-ticker__track {
	overflow: hidden;
	-webkit-mask-image: linear-gradient(
		90deg,
		transparent,
		#000 7%,
		#000 93%,
		transparent
	);
	mask-image: linear-gradient(
		90deg,
		transparent,
		#000 7%,
		#000 93%,
		transparent
	);
}

.alloway-ticker__row {
	display: flex;
	width: max-content;
	gap: clamp(1rem, 2.5vw, 2.25rem);
	will-change: transform;
	animation: alloway-ticker-l 40s linear infinite;
}

.alloway-ticker__row--rev {
	animation: alloway-ticker-r 32s linear infinite;
}

.alloway-ticker__track:hover .alloway-ticker__row {
	animation-play-state: paused;
}

@keyframes alloway-ticker-l {
	from {
		transform: translateX(0);
	}

	to {
		transform: translateX(-50%);
	}
}

@keyframes alloway-ticker-r {
	from {
		transform: translateX(-50%);
	}

	to {
		transform: translateX(0);
	}
}

.alloway-ticker__logo {
	flex: none;
	width: clamp(104px, 13vw, 168px);
	height: clamp(50px, 7vw, 76px);
	display: grid;
	place-items: center;
	background: var(--wp--preset--color--surface);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--wp--custom--radius--sm);
	color: var(--wp--preset--color--muted);
	font-family: "Roboto Condensed", system-ui, sans-serif;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	font-size: 0.68rem;
}

@media (prefers-reduced-motion: reduce) {
	.alloway-ticker__row {
		animation: none;
	}
}

/* Dealer-network closing band on yellow: white eyebrow label, black dash. */
.alloway-dealercta .alloway-eyebrow {
	color: #fff;
}

.alloway-dealercta .alloway-eyebrow::before {
	background: var(--wp--preset--color--dark);
}

/* ---------- News / press cards ---------- */
.alloway-news__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--wp--preset--spacing--40);
	margin-bottom: var(--wp--preset--spacing--40);
}

.alloway-newscard {
	display: flex;
	flex-direction: column;
	text-decoration: none;
	color: var(--wp--preset--color--contrast);
	background: #fff;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--wp--custom--radius--sm);
	overflow: hidden;
	transition:
		transform var(--alloway-transition),
		box-shadow var(--alloway-transition);
}

.alloway-newscard:hover {
	transform: translateY(-4px);
	box-shadow: 0 14px 30px rgb(19 17 17 / 12%);
}

.alloway-newscard__thumb {
	aspect-ratio: 16 / 9;
	background: var(--wp--preset--color--surface);
	display: flex;
	align-items: center;
	justify-content: center;
	border-bottom: 1px solid var(--wp--preset--color--border);
}

.alloway-newscard__body {
	padding: var(--wp--preset--spacing--40);
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
}

.alloway-newscard__meta {
	font-family: "Roboto Condensed", system-ui, sans-serif;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	font-size: 0.72rem;
	color: var(--wp--preset--color--muted);
}

.alloway-newscard__cat {
	color: var(--wp--preset--color--contrast);
	font-weight: 700;
}

.alloway-newscard__title {
	font-family: "Roboto Condensed", system-ui, sans-serif;
	font-weight: 700;
	font-size: 1.25rem;
	line-height: 1.2;
	color: var(--wp--preset--color--contrast);
}

.alloway-newscard__excerpt {
	color: var(--wp--preset--color--muted);
	font-size: 0.95rem;
}

.alloway-newscard__more {
	margin-top: 0.2rem;
	align-self: flex-start;
	padding-bottom: 2px;
	font-family: "Roboto Condensed", system-ui, sans-serif;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	font-size: 0.82rem;
	color: var(--wp--preset--color--contrast);
	border-bottom: 2px solid var(--wp--preset--color--primary);
}

@media (max-width: 781px) {
	.alloway-news__grid {
		grid-template-columns: 1fr;
	}
}

.alloway-news .wp-block-buttons {
	display: flex;
	justify-content: center;
}

.alloway-btn-ghost .wp-block-button__link {
	background: transparent !important;
	color: var(--wp--preset--color--contrast) !important;
	border: 2px solid var(--wp--preset--color--contrast);
	transition:
		background var(--alloway-transition),
		color var(--alloway-transition),
		transform var(--alloway-transition);
}

.alloway-btn-ghost .wp-block-button__link:hover,
.alloway-btn-ghost .wp-block-button__link:focus {
	background: var(--wp--preset--color--contrast) !important;
	color: #fff !important;
}

/* ---------- Contact form ---------- */
.alloway-contact__grid {
	gap: var(--wp--preset--spacing--60);
	align-items: start;
}

.alloway-contact__details {
	list-style: none;
	margin: var(--wp--preset--spacing--60) 0 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--30);
}

.alloway-contact__details li {
	display: flex;
	align-items: flex-start;
	gap: 0.9rem;
	padding: 0;
	color: var(--wp--preset--color--contrast);
}

.alloway-contact__ico {
	flex: none;
	width: 26px;
	height: 26px;
	margin-top: 0.15rem;
	color: var(--wp--preset--color--primary-hover);
}

.alloway-contact__ico svg {
	width: 100%;
	height: 100%;
	display: block;
}

.alloway-contact__txt {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	line-height: 1.45;
}

.alloway-contact__details a {
	color: var(--wp--preset--color--contrast);
}

.alloway-contact__details .lbl {
	font-family: "Roboto Condensed", system-ui, sans-serif;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	font-size: 0.72rem;
	color: var(--wp--preset--color--muted);
}

.alloway-form {
	background: #fff;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--wp--custom--radius--md);
	padding: var(--wp--preset--spacing--50);
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--30);
}

.alloway-form__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--wp--preset--spacing--30);
}

.alloway-field {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}

.alloway-field > span {
	font-family: "Roboto Condensed", system-ui, sans-serif;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	font-size: 0.74rem;
	color: var(--wp--preset--color--muted);
}

.alloway-field input,
.alloway-field select,
.alloway-field textarea {
	width: 100%;
	box-sizing: border-box;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--wp--custom--radius--sm);
	padding: 0.7rem 0.85rem;
	font-size: 1rem;
	font-family: Roboto, system-ui, sans-serif;
	color: var(--wp--preset--color--contrast);
	background: #fff;
}

.alloway-field input:focus,
.alloway-field select:focus,
.alloway-field textarea:focus {
	outline: 2px solid var(--wp--preset--color--primary);
	outline-offset: -1px;
	border-color: var(--wp--preset--color--primary);
}

.alloway-field textarea {
	resize: vertical;
	min-height: 120px;
}

.alloway-form__submit {
	align-self: flex-start;
	border: 0;
	cursor: pointer;
	background: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--contrast);
	font-family: "Roboto Condensed", system-ui, sans-serif;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	padding: 0.85rem 1.8rem;
	border-radius: var(--wp--custom--radius--button);
	transition:
		background var(--alloway-transition),
		transform var(--alloway-transition);
}

.alloway-form__submit:hover {
	background: var(--wp--preset--color--secondary);
	transform: translateY(-1px);
}

@media (max-width: 600px) {
	.alloway-form__row {
		grid-template-columns: 1fr;
	}
}

/* ---------- Live preview page (stacked iframes of the real mockups) ---------- */
.alloway-preview {
	font-family: "Roboto Condensed", system-ui, sans-serif;
}

.alloway-preview__bar {
	position: sticky;
	top: 0;
	z-index: 10;
	background: var(--wp--preset--color--dark);
	color: #fff;
	padding: 0.8rem 1.25rem;
	font-size: 0.85rem;
	letter-spacing: 0.03em;
}

.alloway-preview__bar a {
	color: var(--wp--preset--color--on-dark);
}

.alloway-preview__label {
	background: var(--wp--preset--color--contrast);
	color: #fff;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	font-weight: 600;
	font-size: 0.82rem;
	padding: 0.6rem 1rem;
	margin: 0;
}

.alloway-preview__frame {
	width: 100%;
	border: 0;
	display: block;
	min-height: 80vh;
}

/* ---------- CTA band (the Peak-End closing moment) ---------- */
.alloway-ctaband h2 {
	color: var(--wp--preset--color--contrast);
}

.alloway-ctaband p {
	color: var(--wp--preset--color--contrast);
	opacity: 0.82;
}

/* ---------- Footer ---------- */
.alloway-footer a {
	color: var(--wp--preset--color--on-dark);
}

/* ================= BOLD EXPERIMENTS (hero-lab spike) ================= */

/* Video hero base (core/cover) */
.vhero .wp-block-cover__inner-container {
	width: 100%;
	max-width: 1200px;
	margin-inline: auto;
}

.vhero .alloway-vhero__col {
	max-width: 60%;
}

@media (max-width: 781px) {
	.vhero .alloway-vhero__col {
		max-width: 100%;
	}
}

.vhero h1 {
	margin: 0 0 0.5em;
	font-size: clamp(2.5rem, 6vw, 4.5rem);
}

.vhero .alloway-hero__lead {
	max-width: 46ch;
	font-size: var(--wp--preset--font-size--large);
}

.vhero .alloway-hero__meta {
	font-size: 0.9rem;
	margin-top: var(--wp--preset--spacing--30);
}

/* Hero eyebrow: drop the gold dash on the hero eyebrows only (kept on section eyebrows). */
.vhero .alloway-eyebrow::before {
	display: none;
}

/* Foundation hero top tab: solid gold upside-down trapezoid, flush to the hero top. */
.alloway-herowrap {
	position: relative;
}

.hero-tab {
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	z-index: 4;
	background: var(--wp--preset--color--base);
	color: var(--wp--preset--color--contrast);
	clip-path: polygon(0 0, 100% 0, 88% 100%, 12% 100%);
	padding: 0.7rem clamp(2.75rem, 7vw, 5rem) 1.05rem;
	margin: 0;
	font-family: "Roboto Condensed", system-ui, sans-serif;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-size: clamp(0.84rem, 1.54vw, 1.09rem);
	white-space: nowrap;
	box-shadow: 0 6px 16px rgb(19 17 17 / 14%);
}

.hero-tab p {
	margin: 0;
}

/* Highlighter behind the year: black brush-stroke image (1.5x larger via ::before), gold text on top. */
.hl-1946 {
	position: relative;
	z-index: 0;
	margin-left: 0.5em;
	font-size: 1.2em;
	color: #fbd64a;
	padding: 0 0.22em;
	white-space: nowrap;
}

.hl-1946::before {
	content: "";
	position: absolute;
	z-index: -1;
	inset: -85% -28%;
	background: url("../img/black-highlight.png") center / 100% 100% no-repeat;
}

/* Option A: gold scrim gradient (set in markup) + near-black text on gold (AA) */
.vhero-a .alloway-vhero__col {
	max-width: 880px;
	margin-inline: auto;
	text-align: center;
}

.vhero-a .alloway-vhero__col .alloway-hero__lead {
	margin-inline: auto;
}

.vhero-a .wp-block-buttons {
	justify-content: center;
}

@media (max-width: 781px) {
	.vhero-a .alloway-vhero__col {
		max-width: 100%;
		text-align: left;
	}

	.vhero-a .alloway-vhero__col .alloway-hero__lead {
		margin-inline: 0;
	}

	.vhero-a .wp-block-buttons {
		justify-content: flex-start;
	}
}

.vhero-a h1,
.vhero-a .alloway-eyebrow {
	color: var(--wp--preset--color--contrast);
}

.vhero-a .alloway-hero__lead,
.vhero-a .alloway-hero__meta {
	color: #2f2906;
}

.vhero-a .alloway-hero__meta {
	color: #131111;
	font-weight: 600;
}

.vhero-a .alloway-eyebrow::before {
	background: var(--wp--preset--color--dark);
}

/* dark primary button so it doesn't vanish on gold; outline stays near-black */
.vhero-a .wp-block-button:not(.is-style-outline) .wp-block-button__link {
	background: var(--wp--preset--color--dark);
	color: var(--wp--preset--color--on-dark);
}

/* Option B: GOLDEN HOUR grade (epic 11 item 1, Jack 2026-09-13). The
   original full gold duotone read GREEN to red-green colorblind
   viewers (Dean; ~8% of male visitors) and no warm recolor can fix a
   single-hue duotone on that confusion axis, so the video keeps real
   color, warmed, under a warm-dark scrim; the gold moves to the seal,
   eyebrow and CTA. The block's overlayColor attribute stays untouched
   (content unedited) — this CSS reinterprets it, so the SWAP-BACK is
   restoring the duotone values:
     video filter: grayscale(1) contrast(1.1) brightness(0.9);
     background: (preset gold), mix-blend-mode: multiply, opacity 1. */
.vhero-b video.wp-block-cover__video-background {
	filter: sepia(0.28) saturate(1.25) contrast(1.1) brightness(0.9);
}

.vhero-b .wp-block-cover__background {
	/* !important both: core's preset class and inline dim also carry it. */
	background-color: #241d0f !important;
	mix-blend-mode: normal;
	opacity: 0.5 !important;
}

/* Tighter, lighter pool so the gold stays vivid (not muddy); the crisp text-shadow carries legibility. */
.vhero-b::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background: radial-gradient(
		ellipse 56% 64% at 50% 50%,
		rgb(19 17 17 / 40%) 0%,
		rgb(19 17 17 / 15%) 56%,
		rgb(19 17 17 / 0%) 82%
	);
}

.vhero-b .wp-block-cover__inner-container {
	position: relative;
	z-index: 2;
}

/* Centered on desktop, left-aligned on mobile (per Jack). */
.vhero-b .alloway-vhero__col {
	max-width: 880px;
	margin-inline: auto;
	text-align: center;
}

.vhero-b .alloway-vhero__col .alloway-hero__lead {
	margin-inline: auto;
}

.vhero-b .wp-block-buttons {
	justify-content: center;
}

@media (max-width: 781px) {
	.vhero-b .alloway-vhero__col {
		max-width: 100%;
		text-align: left;
	}

	.vhero-b .alloway-vhero__col .alloway-hero__lead {
		margin-inline: 0;
	}

	.vhero-b .wp-block-buttons {
		justify-content: flex-start;
	}
}

.vhero-b h1 {
	color: #fff;
	text-shadow:
		0 1px 1px rgb(0 0 0 / 55%),
		0 2px 16px rgb(0 0 0 / 42%);
}

.vhero-b .alloway-hero__lead,
.vhero-b .alloway-hero__meta {
	color: #fff;
	text-shadow: 0 1px 8px rgb(0 0 0 / 50%);
}

.vhero-b .alloway-eyebrow {
	color: var(--wp--preset--color--on-dark);
}

.vhero-b .alloway-eyebrow::before {
	background: var(--wp--preset--color--on-dark);
}

.vhero-b .is-style-outline .wp-block-button__link {
	color: #fff;
	border-color: rgb(255 255 255 / 70%);
}

/* Hero-lab comparison labels */
.herolab-label {
	background: var(--wp--preset--color--contrast);
	color: #fff;
	font-family: "Roboto Condensed", system-ui, sans-serif;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	font-weight: 600;
	font-size: 0.82rem;
	padding: 0.7rem 1rem;
	text-align: center;
	margin: 0;
}

/* 1946 heritage devices (hero-lab spike) */
.hero-year-big {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -54%);
	z-index: 1;
	margin: 0;
	font-family: "Roboto Condensed", system-ui, sans-serif;
	font-weight: 700;
	font-size: clamp(9rem, 30vw, 24rem);
	line-height: 0.8;
	color: transparent;
	-webkit-text-stroke: 2.5px rgb(255 255 255 / 42%);
	pointer-events: none;
	white-space: nowrap;
}

.vhero-year .alloway-vhero__col {
	position: relative;
	z-index: 2;
}

/* Heritage seal sits in normal flow, centered ABOVE the headline as a crest, with breathing
   room below it. The headline is a wide centered block, so a top-right seal at the headline's
   vertical band always crowds it; placing the seal above is collision-proof at every width and
   keeps "1946 / 80 years" loud and proud (Dean). */
.hero-seal {
	position: relative;
	margin: 0 auto clamp(2rem, 4.5vw, 3rem);
	z-index: 3;
	width: clamp(140px, 16vw, 188px);
	height: clamp(140px, 16vw, 188px);
	border-radius: 50%;
	border: 2px solid var(--wp--preset--color--on-dark);
	background: rgb(19 17 17 / 40%);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	line-height: 1;
}

.hero-seal::before {
	content: "";
	position: absolute;
	inset: 6px;
	border-radius: 50%;
	border: 1px solid rgb(255 229 0 / 45%);
}

.hero-seal p {
	margin: 0;
	color: var(--wp--preset--color--on-dark);
	font-family: "Roboto Condensed", system-ui, sans-serif;
	text-transform: uppercase;
}

.hero-seal__yrs {
	font-weight: 700;
	font-size: clamp(2rem, 3.6vw, 3rem);
	line-height: 0.95;
}

.hero-seal__years {
	font-weight: 700;
	font-size: clamp(1.05rem, 1.9vw, 1.5rem);
	line-height: 1;
	letter-spacing: 0.05em;
}

.hero-seal__est {
	font-size: 0.62rem;
	letter-spacing: 0.16em;
	margin-top: 0.35rem !important;
}

/* SVG emblem variant of the seal (hand-built). Keeps .hero-seal positioning, drops the CSS circle. */

.hero-seal--svg {
	border: none;
	background: rgb(19 17 17 / 32%);
	border-radius: 50%;
}

.hero-seal--svg::before {
	display: none;
}

.hero-seal--svg svg,
.hero-seal--svg img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: contain;
}

/* Treaded + asymmetric Bold footer (Art's-Way spirit) */
.alloway-footer-bold {
	--tread: 26px;

	position: relative;
	-webkit-mask:
		repeating-linear-gradient(118deg, #000 0 13px, transparent 13px 24px) top /
			100% var(--tread) no-repeat,
		linear-gradient(#000 0 0) bottom / 100% calc(100% - var(--tread) + 2px)
			no-repeat;
	mask:
		repeating-linear-gradient(118deg, #000 0 13px, transparent 13px 24px) top /
			100% var(--tread) no-repeat,
		linear-gradient(#000 0 0) bottom / 100% calc(100% - var(--tread) + 2px)
			no-repeat;
	padding-top: calc(var(--tread) + clamp(2.5rem, 5vw, 4rem)) !important;
}

.alloway-footer-bold__grid {
	align-items: center;
}

.alloway-footer-bold .alloway-wordmark {
	font-size: clamp(2rem, 5vw, 3.25rem);
	color: var(--wp--preset--color--on-dark);
	margin: 0 0 0.5rem;
}

.alloway-footer-bold__panel {
	background: var(--wp--preset--color--primary);
	padding: clamp(1.75rem, 3vw, 2.75rem);
	padding-left: clamp(2.5rem, 5vw, 3.5rem);
	clip-path: polygon(9% 0, 100% 0, 100% 100%, 0 100%);
}

.alloway-footer-bold__panel .alloway-eyebrow {
	color: var(--wp--preset--color--contrast);
	margin-bottom: 0.5rem;
}

.alloway-footer-bold__panel .alloway-eyebrow::before {
	background: var(--wp--preset--color--dark);
}

.alloway-footer-bold__panel p {
	margin: 0.15rem 0;
}

.alloway-footer-bold__panel a {
	color: var(--wp--preset--color--contrast);
	text-decoration: none;
	font-weight: 600;
}

.alloway-footer-bold__panel a:hover {
	text-decoration: underline;
}

@media (max-width: 781px) {
	.alloway-footer-bold__panel {
		clip-path: none;
	}
}

/* The template-part <header> wrapper is a short containing block, which kept the sticky white
   nav from travelling. display:contents removes the wrapper's box so the sticky nav pins for the
   whole page, while the black top bar (a normal-flow sibling) scrolls away above it. */
header.wp-block-template-part {
	display: contents;
}

/* ---------- Header logo + gold wedge ---------- */
.alloway-header__logo {
	display: block;
	margin: 0;
	line-height: 0;
}

.alloway-header__logo a {
	display: inline-block;
}

.alloway-header__logo img {
	height: 84px;
	width: auto;
	display: block;
}

/* Desktop default: show the all-dark logo (on the gold wedge); hide the light one. */
.alloway-header__logo--light {
	display: none;
}

/* Gold geometric wedge behind the logo, top-left, full-bleed to the page edge (desktop only).
   Right edge is a diagonal so it reads as a half-trapezoid pointing toward the SERVING-GROWERS
   tab below. Width + slant are tunable; the existing .hero-tab trapezoid is left untouched. */
@media (min-width: 782px) {
	.alloway-header::before {
		content: "";
		position: absolute;
		top: 0;
		left: 0;
		height: 100%;
		width: clamp(360px, 38vw, 620px);
		background: var(--wp--preset--color--primary);
		clip-path: polygon(0 0, 100% 0, calc(100% - 72px) 100%, 0 100%);
		z-index: 0;
	}
}

/* ---------- Header utility top bar (desktop) ---------- */

/* Thin dark bar above the white nav; scrolls away while the white nav stays sticky. */
.alloway-topbar__inner {
	gap: clamp(1rem, 2vw, 1.75rem);
	align-items: center;
}

.alloway-topbar p {
	margin: 0;
}

.alloway-topbar a {
	color: #fff;
	text-decoration: none;
	font-size: 0.82rem;
	font-weight: 500;
	letter-spacing: 0.02em;
	transition: color var(--alloway-transition);
}

.alloway-topbar a:hover,
.alloway-topbar a:focus-visible {
	color: var(--wp--preset--color--primary);
}

/* Utility links live in the top bar on desktop, so hide their main-nav duplicates there. */
.alloway-nav__util {
	display: none;
}

/* ---------- Mobile nav: animated hamburger + full-screen overlay ---------- */

/* The toggle button is injected by motion.js (progressive enhancement). */
.alloway-navtoggle {
	display: none; /* shown only under the mobile breakpoint */
	position: relative;
	z-index: 1201; /* above the overlay so it doubles as the close (X) */
	width: 44px;
	height: 44px;
	padding: 0;
	margin: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
}

.alloway-navtoggle:focus-visible {
	outline: 2px solid var(--wp--preset--color--contrast);
	outline-offset: 2px;
}

.alloway-navtoggle__bar {
	display: block;
	width: 26px;
	height: 2px;
	border-radius: 2px;
	background: #fff;
	transform-origin: center;
	transition:
		transform 240ms var(--alloway-ease),
		opacity 160ms var(--alloway-ease);
}

/* Morph the three bars into an X when open. */
.alloway-header.is-open .alloway-navtoggle__bar:nth-child(1) {
	transform: translateY(8px) rotate(45deg);
}

.alloway-header.is-open .alloway-navtoggle__bar:nth-child(2) {
	opacity: 0;
	transform: scaleX(0.3);
}

.alloway-header.is-open .alloway-navtoggle__bar:nth-child(3) {
	transform: translateY(-8px) rotate(-45deg);
}

/* Scroll-lock the page while the overlay is open. */
html.is-nav-open,
html.is-nav-open body {
	overflow: hidden;
}

@media (max-width: 781px) {
	/* Utility links move from the top bar into the hamburger overlay on mobile. */
	.alloway-topbar {
		display: none;
	}

	.alloway-nav__util {
		display: block;
	}

	/* Center the logo over the trapezoid tab; pin the toggle to the right edge. */
	.alloway-header__inner {
		justify-content: center;
	}

	.alloway-navtoggle {
		display: flex;
		position: absolute;
		right: var(--wp--preset--spacing--40);
		top: 50%;
		transform: translateY(-50%);

		/* Black box sitting over the right gold corner. */
		width: 46px;
		height: 46px;
		background: var(--wp--preset--color--dark);
		border-radius: var(--wp--custom--radius--sm);
		box-shadow: 0 2px 8px rgb(19 17 17 / 12%);
	}

	/* When open, pin the toggle to the viewport. The scroll-lock (overflow:hidden) unsticks the
	   header, which would otherwise carry the absolutely-positioned X off-screen when scrolled. */
	.alloway-header.is-open .alloway-navtoggle {
		position: fixed;
		top: 16px;
		transform: none;
	}

	/* Two clean gold corner wedges flanking the centered logo (mobile-exclusive).
	   Mirrored half-trapezoids; diagonal inner edge faces the centre. Width/slant tunable. */
	.alloway-header::before,
	.alloway-header::after {
		content: "";
		position: absolute;
		top: 0;
		height: 100%;
		width: clamp(64px, 20vw, 120px);
		background: var(--wp--preset--color--primary);
		z-index: 0;
	}

	.alloway-header::before {
		left: 0;
		clip-path: polygon(0 0, 100% 0, calc(100% - 36px) 100%, 0 100%);
	}

	.alloway-header::after {
		right: 0;
		clip-path: polygon(36px 0, 100% 0, 100% 100%, 0 100%);
	}

	/* On the white mobile header, swap to the dark + gold-mark logo, slightly smaller. */
	.alloway-header__logo--gold {
		display: none;
	}

	.alloway-header__logo--light {
		display: block;
	}

	.alloway-header__logo img {
		height: 56px;
	}

	/* Pin the logo to the viewport when open (centered, matching the X), so it stays visible
	   even when the page is scrolled and the sticky header has unstuck. */
	.alloway-header.is-open .alloway-header__logo {
		position: fixed;
		top: 11px;
		left: 50%;
		transform: translateX(-50%);
		z-index: 1201;
	}

	/* Nav becomes a full-screen overlay. */
	.alloway-nav {
		position: fixed;
		inset: 0;
		z-index: 1200;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: clamp(1.25rem, 5vh, 2.25rem);
		padding: var(--wp--preset--spacing--70) var(--wp--preset--spacing--40);
		background: var(--wp--preset--color--base);
		opacity: 0;
		visibility: hidden;
		pointer-events: none;
		transition:
			opacity 240ms var(--alloway-ease),
			visibility 0s linear 240ms;
	}

	.alloway-header.is-open .alloway-nav {
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
		transition:
			opacity 240ms var(--alloway-ease),
			visibility 0s;
	}

	/* Larger, heading-weight links in the overlay. */
	.alloway-nav p {
		margin: 0;
	}

	.alloway-nav p a {
		font-family: "Roboto Condensed", system-ui, sans-serif;
		font-weight: 700;
		font-size: clamp(1.6rem, 7vw, 2.25rem);
		letter-spacing: 0.02em;
	}

	.alloway-nav a::after {
		transform-origin: center;
		height: 3px;
		bottom: -6px;
	}

	/* Full-width CTA. */
	.alloway-nav .wp-block-buttons {
		width: 100%;
		max-width: 320px;
		margin-top: 0.5rem;
	}

	.alloway-nav .wp-block-button {
		width: 100%;
	}

	.alloway-nav .wp-block-button__link {
		display: block;
		text-align: center;
		padding-top: 16px;
		padding-bottom: 16px;
	}

	/* Staggered entrance: each item rises + fades in. */
	.alloway-nav > * {
		opacity: 0;
		transform: translateY(14px);
		transition:
			opacity 360ms var(--alloway-ease),
			transform 360ms var(--alloway-ease);
	}

	.alloway-header.is-open .alloway-nav > * {
		opacity: 1;
		transform: translateY(0);
	}

	.alloway-header.is-open .alloway-nav > *:nth-child(1) {
		transition-delay: 80ms;
	}

	.alloway-header.is-open .alloway-nav > *:nth-child(2) {
		transition-delay: 130ms;
	}

	.alloway-header.is-open .alloway-nav > *:nth-child(3) {
		transition-delay: 180ms;
	}

	.alloway-header.is-open .alloway-nav > *:nth-child(4) {
		transition-delay: 230ms;
	}

	.alloway-header.is-open .alloway-nav > *:nth-child(5) {
		transition-delay: 280ms;
	}

	.alloway-header.is-open .alloway-nav > *:nth-child(6) {
		transition-delay: 330ms;
	}

	.alloway-header.is-open .alloway-nav > *:nth-child(7) {
		transition-delay: 380ms;
	}
}

/* Anchor-jump clearance under the sticky header + smooth scroll (motion-safe). */
html {
	scroll-padding-top: 112px;
}

@media (prefers-reduced-motion: no-preference) {
	html {
		scroll-behavior: smooth;
	}
}

/* Reduced motion: drop the morph/stagger delays (global block already zeroes durations). */
@media (prefers-reduced-motion: reduce) {
	.alloway-navtoggle__bar,
	.alloway-nav,
	.alloway-nav > * {
		transition-delay: 0ms !important;
	}
}

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

/* Column grid: brand | Equipment | Company | Support | Newsletter. */
.alloway-footer__grid {
	display: grid;
	grid-template-columns: 1.7fr 1fr 1fr 1fr 1.7fr;
	gap: var(--wp--preset--spacing--50);
	align-items: start;
}

@media (max-width: 905px) {
	.alloway-footer__grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 600px) {
	.alloway-footer__grid {
		grid-template-columns: 1fr;
	}
}

.alloway-footer__logo {
	margin: 0 0 1rem;
	line-height: 0;
}

.alloway-footer__logo img {
	height: 60px;
	width: auto;
	display: block;
}

.alloway-footer__tagline {
	font-weight: 600;
	margin: 0 0 0.75rem;
	max-width: 26ch;
}

.alloway-footer__addr,
.alloway-footer__phone {
	color: rgb(255 255 255 / 70%);
	font-size: 0.92rem;
	margin: 0.2rem 0;
}

.alloway-footer__phone a {
	color: inherit;
	text-decoration: none;
	transition: color var(--alloway-transition);
}

.alloway-footer__phone a:hover {
	color: var(--wp--preset--color--primary);
}

.alloway-footer__col h3,
.alloway-footer__news h3 {
	font-family: "Roboto Condensed", system-ui, sans-serif;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	font-size: 0.82rem;
	color: var(--wp--preset--color--primary);
	margin: 0 0 1.1rem;
}

.alloway-footer__col ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
}

.alloway-footer__col a {
	color: rgb(255 255 255 / 82%);
	text-decoration: none;
	font-size: 0.95rem;
	transition: color var(--alloway-transition);
}

.alloway-footer__col a:hover,
.alloway-footer__col a:focus-visible {
	color: #fff;
}

/* Social icons. */
.alloway-footer__social {
	display: flex;
	gap: 0.6rem;
	margin-top: 1.3rem;
}

.alloway-footer__social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	border: 1px solid rgb(255 255 255 / 25%);
	color: #fff;
	transition:
		background var(--alloway-transition),
		color var(--alloway-transition),
		border-color var(--alloway-transition);
}

.alloway-footer__social a:hover,
.alloway-footer__social a:focus-visible {
	background: var(--wp--preset--color--primary);
	color: #131111;
	border-color: var(--wp--preset--color--primary);
}

.alloway-footer__social svg {
	width: 18px;
	height: 18px;
	fill: currentcolor;
}

/* Newsletter. */
.alloway-footer__news p {
	color: rgb(255 255 255 / 70%);
	font-size: 0.92rem;
	margin: 0 0 1rem;
	max-width: 32ch;
}

.alloway-footer__field {
	display: flex;
	gap: 0.5rem;
	margin-bottom: 0.85rem;
	flex-wrap: wrap;
}

.alloway-footer__field input[type="email"] {
	flex: 1 1 160px;
	min-width: 0;
	padding: 12px 14px;
	border: 1px solid rgb(255 255 255 / 25%);
	background: rgb(255 255 255 / 6%);
	color: #fff;
	border-radius: var(--wp--custom--radius--sm);
	font-size: 0.95rem;
}

.alloway-footer__field input[type="email"]::placeholder {
	color: rgb(255 255 255 / 50%);
}

.alloway-footer__field input[type="email"]:focus-visible {
	outline: 2px solid var(--wp--preset--color--primary);
	outline-offset: 1px;
}

.alloway-footer__subscribe {
	padding: 12px 20px;
	border: 0;
	cursor: pointer;
	background: var(--wp--preset--color--primary);
	color: #131111;
	font-family: "Roboto Condensed", system-ui, sans-serif;
	font-weight: 700;
	border-radius: var(--wp--custom--radius--sm);
	transition: background var(--alloway-transition);
}

.alloway-footer__subscribe:hover {
	background: var(--wp--preset--color--secondary);
}

.alloway-footer__news label {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.9rem;
	color: rgb(255 255 255 / 80%);
	margin: 0.4rem 0;
	cursor: pointer;
}

.alloway-footer__news label input {
	accent-color: var(--wp--preset--color--primary);
	width: 16px;
	height: 16px;
}

/* Legal bar. */
.alloway-footer__legal {
	align-items: center;
	gap: 1rem;
	padding-top: var(--wp--preset--spacing--40);
	border-top: 1px solid rgb(255 255 255 / 12%);
	font-size: 0.85rem;
	color: rgb(255 255 255 / 60%);
}

.alloway-footer__legal p {
	margin: 0;
}

.alloway-footer__legal a {
	color: inherit;
	text-decoration: none;
	transition: color var(--alloway-transition);
}

.alloway-footer__legal a:hover {
	color: #fff;
}
