/**
 * Helmet B2B Core - motion + showcase styles.
 *
 * Design rules baked in here:
 *   - No animation is required for content to be readable.
 *   - Every placeholder tile is visually honest: it says what image belongs
 *     there so nobody mistakes it for real photography.
 *
 * @package HelmetB2BCore
 */

/* -------------------------------------------------------------------------
 * Reveal
 * ---------------------------------------------------------------------- */

/* Only pre-hide when the motion layer has confirmed it is alive. */
html.hb-js [data-hb-reveal].hb-reveal-ready {
	opacity: 0;
	transform: translate3d(0, 26px, 0);
	will-change: opacity, transform;
}

[data-hb-reveal].hb-reveal-done,
html.hb-js [data-hb-reveal].hb-reveal-done {
	opacity: 1;
	transform: none;
	will-change: auto;
}

/* If JS never ran, nothing is hidden. */
html:not(.hb-js) [data-hb-reveal] {
	opacity: 1 !important;
	transform: none !important;
}

html.hb-reduce-motion [data-hb-reveal] {
	opacity: 1 !important;
	transform: none !important;
}

@media (prefers-reduced-motion: reduce) {
	[data-hb-reveal] {
		opacity: 1 !important;
		transform: none !important;
	}
	html {
		scroll-behavior: auto !important;
	}
}

/* -------------------------------------------------------------------------
 * Section shell
 * ---------------------------------------------------------------------- */

.hb-section {
	padding-block: clamp(2.5rem, 5vw, 4.5rem);
}

.hb-section--tint {
	background: #f6f7f9;
}

.hb-section__lede {
	max-width: 62ch;
	color: #4a5560;
	line-height: 1.7;
}

.hb-eyebrow {
	display: inline-block;
	margin-bottom: 0.6rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	font-size: 0.72rem;
	font-weight: 600;
	color: #8a939e;
}

/* -------------------------------------------------------------------------
 * Home hero: copy on the left, studio photo on the right from 900px up.
 * ---------------------------------------------------------------------- */

.helmet-hero {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
	align-items: center;
}

/* The constrained layout caps every child at the content width; inside the
 * hero grid the columns own that job instead. */
.helmet-hero > * {
	max-width: none;
}

.helmet-hero__media {
	margin: 0;
}

.helmet-hero__media img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 14px;
	border: 1px solid #e4e7ea;
	background: #fff;
}

@media (max-width: 899px) {
	.helmet-hero__media {
		order: -1;
		max-width: 26rem;
	}
}

@media (min-width: 900px) {
	.helmet-hero {
		grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
		gap: 3rem;
	}
}

/* -------------------------------------------------------------------------
 * Capability strip
 * ---------------------------------------------------------------------- */

.hb-stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 1px;
	margin: 0;
	padding: 0;
	list-style: none;
	background: #e4e7ea;
	border: 1px solid #e4e7ea;
	border-radius: 10px;
	overflow: hidden;
}

.hb-stats__item {
	background: #fff;
	padding: 1.4rem 1.2rem;
	text-align: center;
}

.hb-stats__value {
	display: block;
	font-size: clamp(1.7rem, 3vw, 2.3rem);
	font-weight: 700;
	line-height: 1.1;
	color: #16202a;
}

.hb-stats__label {
	display: block;
	margin-top: 0.35rem;
	font-size: 0.8rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #78828d;
}

.hb-stats__note {
	margin-top: 1rem;
	font-size: 0.8rem;
	color: #78828d;
}

/* -------------------------------------------------------------------------
 * Product showcase carousel
 * ---------------------------------------------------------------------- */

.hb-showcase-block {
	position: relative;
}

.hb-showcase {
	padding-bottom: 2.6rem;
	overflow: hidden;
}

/* Without JS the slides stay reachable by plain horizontal scroll. */
html:not(.hb-js) .hb-showcase {
	overflow-x: auto;
	scroll-snap-type: x mandatory;
}

html:not(.hb-js) .hb-showcase .swiper-wrapper {
	display: flex;
	gap: 1.25rem;
}

html:not(.hb-js) .hb-showcase .swiper-slide {
	flex: 0 0 min(340px, 82vw);
	scroll-snap-align: center;
}

.hb-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: #fff;
	border: 1px solid #e4e7ea;
	border-radius: 12px;
	overflow: hidden;
	transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.hb-card:hover,
.hb-card:focus-within {
	border-color: #c9cfd6;
	box-shadow: 0 12px 30px -18px rgba(16, 28, 40, 0.45);
}

.hb-card__media {
	position: relative;
	aspect-ratio: 4 / 3;
	background: #eef1f4;
	overflow: hidden;
}

.hb-card__media img,
.hb-card__media .hb-media-fill {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.hb-card__body {
	padding: 1.15rem 1.25rem 1.35rem;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	flex: 1 1 auto;
}

.hb-card__title {
	margin: 0;
	font-size: 1.05rem;
	line-height: 1.3;
}

.hb-card__title a {
	text-decoration: none;
}

.hb-card__text {
	margin: 0;
	font-size: 0.9rem;
	line-height: 1.6;
	color: #566270;
}

.hb-card__link {
	margin-top: auto;
	font-size: 0.85rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	text-decoration: none;
}

/* Swiper chrome, restyled to match a restrained B2B look. */
.hb-showcase .swiper-pagination-bullet {
	width: 9px;
	height: 9px;
	background: #a9b1ba;
	opacity: 1;
}

.hb-showcase .swiper-pagination-bullet-active {
	background: #16202a;
}

/*
 * Desktop: three equal-height cards per view with real gutters. No spotlight
 * scaling or overlapped slides; pagination sits below the cards so it never
 * covers their content.
 */
@media (min-width: 1024px) {
	.hb-showcase.is-swiper-ready {
		padding-bottom: 3rem;
	}

	.hb-showcase.is-swiper-ready .swiper-slide {
		height: auto;
	}

	.hb-showcase.is-swiper-ready .hb-card {
		height: 100%;
	}

	.hb-showcase.is-swiper-ready .swiper-pagination.swiper-pagination-horizontal {
		bottom: 0.5rem;
	}
}

/* -------------------------------------------------------------------------
 * Gallery (booth / facility imagery)
 * ---------------------------------------------------------------------- */

.hb-gallery {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
	gap: 3rem 1.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.hb-gallery__item {
	display: flex;
	flex-direction: column;
	margin: 0;
}

.hb-gallery__link {
	display: block;
	position: relative;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-radius: 10px;
	border: 1px solid #e4e7ea;
	background: #eef1f4;
}

.hb-gallery__link img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.5s ease;
}

.hb-gallery__link:hover img {
	transform: scale(1.04);
}

.hb-gallery__caption {
	display: block;
	margin-top: 0.6rem;
	font-size: 0.82rem;
	line-height: 1.5;
	color: #64707c;
}

/* Product detail photography: square, uncropped studio views. */
.hb-product-gallery-block {
	margin-top: clamp(2.25rem, 5vw, 3.75rem);
	padding-top: clamp(1.75rem, 4vw, 2.75rem);
	border-top: 1px solid #e4e7ea;
}

.hb-product-gallery {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.9rem;
}

.hb-product-gallery .hb-gallery__link {
	aspect-ratio: 1;
	background: #f7f8fa;
}

.hb-product-gallery .hb-gallery__link img {
	object-fit: contain;
	padding: 0.65rem;
	box-sizing: border-box;
	transition: transform 0.35s ease;
}

@media (min-width: 640px) {
	.hb-product-gallery {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 1rem;
	}
}

@media (min-width: 1000px) {
	.hb-product-gallery {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media (prefers-reduced-motion: reduce) {
	.hb-product-gallery .hb-gallery__link img {
		transition: none;
	}
}

/* PhotoSwipe needs its own stylesheet; appended by the enqueue layer. */

/* -------------------------------------------------------------------------
 * Facility / split layout
 * ---------------------------------------------------------------------- */

.hb-split {
	display: grid;
	grid-template-columns: 1fr;
	gap: clamp(1.5rem, 4vw, 3rem);
	align-items: center;
}

@media (min-width: 900px) {
	.hb-split {
		grid-template-columns: 1.05fr 0.95fr;
	}

	.hb-split--reverse .hb-split__media {
		order: 2;
	}
}

.hb-split__media {
	border-radius: 12px;
	overflow: hidden;
	border: 1px solid #e4e7ea;
	background: #eef1f4;
	aspect-ratio: 4 / 3;
}

.hb-split__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* -------------------------------------------------------------------------
 * Service pills
 * ---------------------------------------------------------------------- */

.hb-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 1rem 0 0;
	padding: 0;
	list-style: none;
}

.hb-pills li {
	padding: 0.35rem 0.8rem;
	border-radius: 999px;
	background: #fff;
	border: 1px solid #dfe3e8;
	font-size: 0.8rem;
	color: #3f4a55;
}

/* -------------------------------------------------------------------------
 * Technical drawings in place of supplied photography
 *
 * Four of the five categories have no photographs yet. They must not borrow
 * climbing-helmet photography and they must not pretend to be real product
 * shots, so they show a technical drawing instead. The drawing is labelled as
 * a diagram, never as a product photograph.
 * ---------------------------------------------------------------------- */

.hb-card__media .hb-card__technical {
	object-fit: contain;
	padding: clamp(0.75rem, 3vw, 1.5rem);
	background: #f6f7f9;
}

.hb-gallery__link.hb-facility-tile {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.5rem;
	box-sizing: border-box;
	border: 1px dashed #c3ccd4;
	background: #f6f8fa;
	color: #7c8792;
	font-size: 0.82rem;
	line-height: 1.5;
	text-align: center;
}

/* -------------------------------------------------------------------------
 * Technical figure + capability note inside product content
 * ---------------------------------------------------------------------- */

.helmet-technical-figure {
	margin: clamp(1.5rem, 4vw, 2.25rem) 0;
	padding: clamp(1rem, 3vw, 1.5rem);
	background: #f6f7f9;
	border: 1px solid #e4e7ea;
	border-radius: 12px;
}

.helmet-technical-figure img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 420px;
	object-fit: contain;
}

.helmet-technical-figure figcaption {
	margin-top: 0.75rem;
	font-size: 0.8rem;
	line-height: 1.55;
	color: #64707c;
}

.helmet-capability-note {
	margin: clamp(1rem, 3vw, 1.5rem) 0 0;
	padding: 0.85rem 1rem;
	border-left: 3px solid #16202a;
	background: #f6f7f9;
	font-size: 0.88rem;
	line-height: 1.6;
	color: #3f4a55;
}

/* -------------------------------------------------------------------------
 * Category comparison matrix
 * ---------------------------------------------------------------------- */

.hb-matrix-wrap {
	margin: clamp(1.25rem, 3vw, 2rem) 0 0;
	overflow-x: auto;
	border: 1px solid #e2e6ea;
	border-radius: 12px;
	background: #fff;
	-webkit-overflow-scrolling: touch;
}

.hb-matrix {
	width: 100%;
	min-width: 720px;
	border-collapse: collapse;
	font-size: 0.86rem;
	line-height: 1.55;
}

.hb-matrix__caption {
	caption-side: top;
	padding: 0.85rem 1rem;
	color: #64707c;
	font-size: 0.78rem;
	line-height: 1.5;
	text-align: left;
	border-bottom: 1px solid #eef1f4;
}

.hb-matrix th,
.hb-matrix td {
	padding: 0.75rem 1rem;
	text-align: left;
	vertical-align: top;
	border-bottom: 1px solid #eef1f4;
}

.hb-matrix thead th {
	background: #f6f7f9;
	color: #16202a;
	font-size: 0.76rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	white-space: nowrap;
}

.hb-matrix tbody th {
	color: #16202a;
	font-weight: 600;
	white-space: nowrap;
}

.hb-matrix td {
	color: #4a5560;
}

.hb-matrix tbody tr:last-child th,
.hb-matrix tbody tr:last-child td {
	border-bottom: 0;
}

.hb-matrix tbody tr:hover th,
.hb-matrix tbody tr:hover td {
	background: #f9fafb;
}

/* -------------------------------------------------------------------------
 * Application scenarios
 * ---------------------------------------------------------------------- */

.hb-scenarios {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 1rem;
	margin-top: 1.6rem;
}

.hb-scenario {
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
	padding: 1.35rem 1.3rem;
	border: 1px solid #e4e7ea;
	border-top: 3px solid #d95c39;
	border-radius: 10px;
	background: #fff;
}

.hb-scenario__label {
	letter-spacing: 0.12em;
	text-transform: uppercase;
	font-size: 0.7rem;
	font-weight: 700;
	color: #8a939e;
}

.hb-scenario__title {
	margin: 0;
	font-size: 1rem;
	line-height: 1.35;
	color: #16202a;
}

.hb-scenario__list {
	margin: 0;
	padding-left: 1.1rem;
	color: #4a5560;
	font-size: 0.86rem;
	line-height: 1.6;
}

.hb-scenario__list li + li {
	margin-top: 0.3rem;
}

.hb-scenario__brief {
	margin: auto 0 0;
	padding-top: 0.7rem;
	border-top: 1px solid #eef1f4;
	color: #64707c;
	font-size: 0.8rem;
	line-height: 1.55;
}

.hb-scenario__note {
	margin-top: 1rem;
	color: #78828d;
	font-size: 0.8rem;
}

/* -------------------------------------------------------------------------
 * Honest scene placeholder slots (banner, scene grid, brand story).
 * Same family as the showroom facility tiles: dashed border, muted caption,
 * names the photograph that will fill it.
 * ---------------------------------------------------------------------- */

.hb-scene-slot, .hb-scene__slot {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	padding: 1.25rem;
	box-sizing: border-box;
	border: 1px dashed #c3ccd4;
	background: repeating-linear-gradient(
		-45deg,
		#f6f8fa,
		#f6f8fa 14px,
		#f1f4f7 14px,
		#f1f4f7 28px
	);
	color: #7c8792;
	font-size: 0.85rem;
	line-height: 1.5;
	text-align: center;
}

/* Link-wrapped slots (scene cards, story) fight Blocksy's dynamic link
 * palette, which reaches higher specificity than a plain class rule. The
 * slot palette is therefore hard-pinned: it must never look like a link. */
.hb-scene__card .hb-scene-slot, .hb-scene__card .hb-scene__slot,
.hb-story__media .hb-scene-slot, .hb-story__media .hb-scene__slot {
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px dashed #c3ccd4 !important;
	background: repeating-linear-gradient(
		-45deg,
		#f6f8fa,
		#f6f8fa 14px,
		#f1f4f7 14px,
		#f1f4f7 28px
	) !important;
	color: #7c8792 !important;
	text-decoration: none !important;
}

/* -------------------------------------------------------------------------
 * Home banner carousel (Giro-style full-width brand slides).
 * ---------------------------------------------------------------------- */

.hb-banner {
	margin: 0 0 3rem;
	/* Full-viewport first screen: cancel the theme container's top spacing so
	   the banner starts right under the header and fills down to the fold.
	   The swiper internals are left untouched; only the media block is sized.
	   The .entry-content selector matches the layout CSS specificity
	   (.is-layout-constrained > :first-child), which would otherwise win. */
}

.entry-content > .hb-banner:first-child {
	/* The floating header is out of flow on the homepage, so only the theme
	   container's top spacing needs cancelling to reach the very top.
	   The parent column is already full-width; the 1290px/90vw caps come from
	   layout max-width rules, so lift them for edge-to-edge full bleed. */
	margin-top: calc(-1 * var(--theme-content-vertical-spacing, 60px));
	max-width: 100% !important;
	width: 100% !important;
}

/* Homepage only: let the navigation float transparently over the banner.
   !important is required: Blocksy positions #header by ID, which beats any
   class-based specificity. */
.home header.ct-header {
	position: absolute !important;
	top: 0;
	left: 0;
	right: 0;
	z-index: 60;
	background: transparent;
	box-shadow: none;
	border-bottom: 0;
}

/* The white paint actually lives on the header's middle row, not on the
   header element itself — clear it too so the banner shows through. */
.home header.ct-header [data-row='middle'],
.home header.ct-header .ct-header-row {
	background-color: transparent !important;
	box-shadow: none !important;
	border-bottom: none !important;
}

.home header.ct-header .site-title,
.home header.ct-header .site-title a {
	color: #ffffff;
}

.home header.ct-header a:not(.ct-button) {
	color: rgba(255, 255, 255, 0.92);
}

.home header.ct-header a:not(.ct-button):hover,
.home header.ct-header a:not(.ct-button):focus-visible {
	color: #ffffff;
}

.home header.ct-header .ct-header-trigger,
.home header.ct-header .ct-header-trigger svg {
	color: #ffffff;
}

/* Keep the quote CTA readable: white pill on the dark photo. */
.home header.ct-header .ct-button {
	box-shadow: 0 8px 24px -12px rgba(10, 20, 30, 0.6);
}

.hb-banner .swiper-slide {
	height: auto;
}

.hb-banner__slide {
	position: relative;
	overflow: hidden;
	/* Full-bleed: square corners, no inset border — the photo meets the
	   viewport edges directly. */
	border-radius: 0;
	border: 0;
	background: #16202a;
}

.hb-banner__media {
	display: flex;
	position: relative;
	/* Full viewport: the header floats transparently above the banner.
	   The pagination strip overlays the media block. svh last. */
	min-height: calc(100vh - 2px);
	min-height: calc(100svh - 2px);
}

/* Photographs uploaded from the admin keep an inline height:100%, which does
   not resolve against a min-height-sized parent. Anchor the image absolutely
   so it always fills the media block regardless of editor markup. */
.hb-banner__media img {
	position: absolute;
	inset: 0;
	z-index: 0;
	width: 100% !important;
	height: 100% !important;
	min-height: 0 !important;
	object-fit: cover;
	display: block;
}

.hb-banner__media .hb-scene-slot, .hb-banner__media .hb-scene__slot {
	flex: 1;
	border: 0 !important;
	background: #202c38 !important;
	color: #9fb0bf !important;
	font-size: 0.95rem;
	letter-spacing: 0.01em;
}

.hb-banner__copy {
	position: absolute;
	left: clamp(1.25rem, 4vw, 3rem);
	bottom: clamp(1.25rem, 4vw, 3rem);
	max-width: min(34rem, 80%);
	padding: 1.25rem 1.5rem;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.9);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	box-shadow: 0 18px 42px -28px rgba(16, 28, 40, 0.55);
}

.hb-banner__eyebrow {
	margin: 0 0 0.35rem;
	color: #7c8792;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.hb-banner__title {
	margin: 0 0 0.9rem;
	color: #16202a;
	font-size: clamp(1.4rem, 3vw, 2.1rem);
	font-weight: 700;
	line-height: 1.15;
}

.hb-banner__cta {
	display: inline-block;
	padding: 0.55rem 1.2rem;
	border: 1px solid #16202a;
	border-radius: 999px;
	color: #16202a;
	font-size: 0.9rem;
	font-weight: 600;
	text-decoration: none;
	transition: background 0.25s ease, color 0.25s ease;
}

.hb-banner__cta:hover,
.hb-banner__cta:focus-visible {
	background: #16202a;
	color: #ffffff;
}

.hb-banner__pagination {
	position: static;
	margin-top: 0.9rem;
	text-align: center;
}

.hb-banner__pagination .swiper-pagination-bullet {
	width: 26px;
	height: 3px;
	border-radius: 2px;
	background: #c3ccd4;
	opacity: 1;
	transition: background 0.25s ease;
}

.hb-banner__pagination .swiper-pagination-bullet-active {
	background: #16202a;
}

@media (max-width: 640px) {
	.hb-banner__copy {
		position: static;
		max-width: none;
		margin: -2.5rem 1rem 1rem;
	}

	.hb-banner__media {
		/* Copy card is in normal flow on mobile, so reserve room for it
		   (approx. 154px after its negative top margin) to fill the fold.
		   The header floats above the banner, so no header subtraction. */
		min-height: calc(100vh - 154px);
		min-height: calc(100svh - 154px);
	}
}

/* -------------------------------------------------------------------------
 * Scene quick-category grid.
 * ---------------------------------------------------------------------- */

.hb-scene {
	margin: 0 0 3rem;
}

.hb-scene__head {
	margin-bottom: 1.5rem;
}

.hb-scene__title {
	margin: 0 0 0.4rem;
	color: #16202a;
	font-size: clamp(1.35rem, 2.6vw, 1.8rem);
	font-weight: 700;
}

.hb-scene__lede {
	margin: 0;
	color: #64707c;
	font-size: 0.95rem;
	line-height: 1.6;
}

.hb-scene__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
}

.hb-scene__card {
	display: flex;
	flex-direction: column;
	border-radius: 12px;
	overflow: hidden;
	border: 1px solid #e4e7ea;
	background: #ffffff;
	text-decoration: none;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hb-scene__card:hover,
.hb-scene__card:focus-visible {
	transform: translateY(-4px);
	box-shadow: 0 20px 40px -26px rgba(16, 28, 40, 0.5);
}

.hb-scene__slot {
	aspect-ratio: 4 / 3;
	height: auto;
}

.hb-scene__name {
	padding: 0.85rem 1rem 0.25rem;
	color: #16202a;
	font-size: 1rem;
	font-weight: 650;
}

.hb-scene__more {
	padding: 0 1rem 0.9rem;
	color: #7c8792;
	font-size: 0.8rem;
}

.hb-scene__arrow {
	display: inline-block;
	margin-left: 0.2rem;
	transition: transform 0.3s ease;
}

.hb-scene__card:hover .hb-scene__arrow,
.hb-scene__card:focus-visible .hb-scene__arrow {
	transform: translateX(3px);
}

@media (min-width: 700px) {
	.hb-scene__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (min-width: 1080px) {
	.hb-scene__grid {
		grid-template-columns: repeat(5, minmax(0, 1fr));
	}
}

/* -------------------------------------------------------------------------
 * Brand story: media left, copy right.
 * ---------------------------------------------------------------------- */

.hb-story {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
	margin: 0 0 3rem;
}

.hb-story__media {
	min-height: 300px;
	border-radius: 14px;
	overflow: hidden;
}

.hb-story__media .hb-scene-slot {
	height: 100%;
}

.hb-story__copy .hb-story__eyebrow {
	margin: 0 0 0.4rem;
	color: #7c8792;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.hb-story__copy .hb-story__title {
	margin: 0 0 0.8rem;
	color: #16202a;
	font-size: clamp(1.35rem, 2.6vw, 1.8rem);
	font-weight: 700;
	line-height: 1.2;
}

.hb-story__copy p:not(.hb-story__eyebrow) {
	margin: 0 0 0.8rem;
	color: #45505b;
	font-size: 0.95rem;
	line-height: 1.65;
}

.hb-story__link {
	display: inline-block;
	margin-top: 0.2rem;
	color: #16202a;
	font-weight: 600;
	text-decoration: none;
	border-bottom: 1px solid #c3ccd4;
	transition: border-color 0.25s ease;
}

.hb-story__link:hover,
.hb-story__link:focus-visible {
	border-color: #16202a;
}

@media (min-width: 900px) {
	.hb-story {
		grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
		gap: 3rem;
	}

	.hb-story__media {
		min-height: 420px;
	}
}

/* -------------------------------------------------------------------------
 * Footer link columns (home site-map section).
 * ---------------------------------------------------------------------- */

.hb-footer-links {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.75rem;
	margin: 3rem 0 0;
	padding: 2rem 1.5rem;
	border-top: 1px solid #e4e7ea;
}

.hb-footer-links__col ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.hb-footer-links__col li {
	margin: 0 0 0.45rem;
}

.hb-footer-links__col a {
	color: #45505b;
	font-size: 0.9rem;
	text-decoration: none;
}

.hb-footer-links__col a:hover,
.hb-footer-links__col a:focus-visible {
	color: #16202a;
	text-decoration: underline;
}

.hb-footer-links__title {
	margin: 0 0 0.7rem;
	color: #16202a;
	font-size: 0.78rem;
	font-weight: 650;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.hb-footer-links__text {
	margin: 0 0 0.7rem;
	color: #64707c;
	font-size: 0.88rem;
	line-height: 1.6;
}

@media (min-width: 760px) {
	.hb-footer-links {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

/* ----------------------------------------------------------------------
 * Design patents photo row (hb-patents)
 * GSAP ScrollTrigger staggers the cards in (initPatents in
 * helmet-showcase.js); cards get a pointer-follow 3D tilt on hover.
 * ---------------------------------------------------------------------- */

.hb-patents {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.5rem;
	margin: 0 0 3rem;
	perspective: 1200px;
}

.hb-patent {
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	transform-style: preserve-3d;
	transition: box-shadow 0.35s ease;
}

.hb-patent__media {
	position: relative;
	aspect-ratio: 4 / 5;
	border-radius: 12px;
	overflow: hidden;
	background: #f2f4f6;
	border: 1px solid #e4e7ea;
	transition: box-shadow 0.35s ease, border-color 0.35s ease;
}

.hb-patent:hover .hb-patent__media {
	box-shadow: 0 22px 44px -18px rgba(22, 32, 42, 0.35);
	border-color: #c3ccd4;
}

/* The slot span fills the card and carries the customizer photo. */
.hb-patent__media .hb-scene-slot {
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 1rem;
	width: 100%;
	height: 100%;
	border-radius: 0;
	border: 0;
}

.hb-patent__caption {
	font-size: 0.92rem;
	font-weight: 600;
	color: #16202a;
	letter-spacing: 0.01em;
}

/* Soft accent bar that scales in under the caption on hover. */
.hb-patent__caption::after {
	content: "";
	display: block;
	width: 2.25rem;
	height: 3px;
	margin-top: 0.45rem;
	border-radius: 2px;
	background: #2872fa;
	transform: scaleX(0.35);
	transform-origin: left center;
	opacity: 0.55;
	transition: transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1), opacity 0.4s ease;
}

.hb-patent:hover .hb-patent__caption::after {
	transform: scaleX(1);
	opacity: 1;
}

@media (max-width: 640px) {
	.hb-patents {
		grid-template-columns: 1fr;
		max-width: 26rem;
	}

	.hb-patent__media {
		aspect-ratio: 4 / 3;
	}
}

/* Tilt is applied inline by JS; relax it for reduced motion. */
html.hb-reduce-motion .hb-patent {
	transform: none !important;
	transition: none !important;
}

@media (prefers-reduced-motion: reduce) {
	.hb-patent {
		transform: none !important;
		transition: none !important;
	}
}

