/* Homepage-only components. */
.spike-home-main { padding: 0; }
.utility-bar--home { position: absolute; top: 0; right: 0; left: 0; border-bottom: 1px solid rgba(255, 255, 255, .5); background: transparent; color: var(--spike-white); }
.site-header--home .site-logo__image { width: 195px; }

.spike-home-hero { position: relative; min-height: 0; height: 100vh; height: 100dvh; overflow: hidden; background: var(--spike-black); color: var(--spike-white); }
.spike-home-hero__slides { position: absolute; inset: 0; display: flex; width: 100%; height: 100%; transform: translate3d(calc(var(--spike-home-hero-index, 0) * -100%), 0, 0); transition: transform .4s ease-out; will-change: transform; }
.spike-home-hero__slide { position: relative; flex: 0 0 100%; width: 100%; height: 100%; }
.spike-home-hero__media, .spike-home-hero__media picture, .spike-home-picture, .spike-home-hero__overlay { position: absolute; inset: 0; width: 100%; height: 100%; }
.spike-home-hero__media { background: #222; }
.spike-home-picture { object-fit: cover; object-position: center; }
.spike-home-hero__overlay { background: rgba(0, 0, 0, var(--spike-hero-overlay, 0)); }
.spike-home-hero__content { position: relative; z-index: 2; display: flex; width: 100%; max-width: none; height: 100%; align-items: center; margin: 0; padding-inline: calc(10vw + 15px); }
.spike-home-hero__copy { max-width: 50%; padding-top: 0; transform: translateY(22px); }
.spike-home-hero__copy h2 { margin: 0 0 24.5px; color: var(--spike-white); font-size: 70px; font-weight: 900; letter-spacing: -.03em; line-height: 1; }
.spike-home-hero__copy p { max-width: 460px; margin: 0 0 32px; color: var(--spike-white); font-size: 15px; line-height: 24px; }
.spike-button, .spike-button:visited { display: inline-flex; min-width: 145px; min-height: 51px; align-items: center; justify-content: center; padding: 0 14px; border-radius: 98px; background: var(--spike-red); color: var(--spike-white); font-family: var(--spike-font-body); font-size: 14px; font-weight: 400; text-decoration: none; text-transform: none; }
.spike-button:hover, .spike-button:focus-visible { background: var(--spike-white); color: var(--spike-black); }
.spike-home-hero__controls { position: absolute; z-index: 3; top: 50%; right: 0; left: 0; display: flex; justify-content: space-between; transform: translateY(-50%); pointer-events: none; }
.spike-home-hero__control { display: inline-grid; width: 60px; height: 60px; padding: 0; place-items: center; border: 0; border-radius: 0; background: var(--spike-black); color: var(--spike-white); line-height: 1; pointer-events: auto; }
.spike-home-hero__control svg { display: block; width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-linecap: square; stroke-linejoin: miter; stroke-width: 2; }
.spike-home-hero__control:hover, .spike-home-hero__control:focus-visible { background: var(--spike-red); }
.spike-home-hero__dots { position: absolute; z-index: 3; bottom: 30px; left: 50%; display: flex; gap: 12px; transform: translateX(-50%); }
.spike-home-hero__dot { width: 14px; height: 14px; padding: 0; border: 2px solid var(--spike-white); border-radius: 50%; background: transparent; }
.spike-home-hero__dot.is-active { background: var(--spike-white); }

.spike-home-section { padding-block: clamp(4rem, 8vw, 7rem); }
.spike-home-section__header { display: flex; align-items: baseline; justify-content: space-between; gap: 2rem; margin-bottom: 2.25rem; border-bottom: 1px solid var(--spike-border); }
.spike-home-section__header h2 { margin: 0 0 1rem; font-size: clamp(2rem, 3.4vw, 2.55rem); }
.spike-text-link, .spike-text-link:visited { display: inline-flex; gap: .55rem; align-items: center; color: var(--spike-red); font-family: var(--spike-font-body); font-size: 14px; font-weight: 400; letter-spacing: .1em; text-decoration: none; text-transform: uppercase; }
.spike-text-link:hover, .spike-text-link:focus-visible { color: var(--spike-red); text-decoration: none; }
.spike-text-link:hover, .spike-text-link:focus-visible { color: var(--spike-black); }
.spike-home-featured { padding: 80px 5vw; }
.spike-home-featured { min-height: 851px; box-sizing: border-box; }
.spike-home-featured .container { width: 100%; max-width: none; margin: 0; padding-inline: 15px; }
.spike-home-featured .spike-home-section__header h2 { font-size: 38px; line-height: 41.8px; }
.spike-home-featured .spike-home-section__header { margin-bottom: 36px; }
.spike-product-carousel { position: relative; }
.spike-product-carousel__controls { position: absolute; z-index: 2; top: 0; right: calc(-5vw - 15px); bottom: 0; left: calc(-5vw - 15px); pointer-events: none; }
.spike-product-carousel__control { position: absolute; top: 50%; display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; padding: 0; border: 1px solid transparent; background: transparent; color: var(--spike-black); transform: translateY(-50%); pointer-events: auto; }
.spike-product-carousel__control--prev { left: 0; }
.spike-product-carousel__control--next { right: 0; }
.spike-product-carousel__control svg { display: block; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-linecap: square; stroke-linejoin: miter; stroke-width: 1.6; }
.spike-product-carousel__control:hover, .spike-product-carousel__control:focus-visible { border-color: transparent; background: transparent; color: var(--spike-red); }
.spike-product-rail { display: flex; gap: 40px; overflow-x: auto; scrollbar-width: none; scroll-behavior: smooth; scroll-snap-type: x proximity; }
.spike-product-rail::-webkit-scrollbar { display: none; }
.spike-product-rail:focus-visible { outline: 2px solid var(--spike-red); outline-offset: .35rem; }
.spike-product-card { min-width: 0; }
.spike-product-card { flex: 0 0 calc((100% - 120px) / 4); scroll-snap-align: start; }
.spike-product-card__image { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: #f5f5f5; }
.spike-product-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.spike-product-card__image:hover img { transform: scale(1.03); }
.spike-product-card__badge { position: absolute; top: .55rem; left: .55rem; padding: .25rem .45rem; background: var(--spike-red); color: var(--spike-white); font-size: .63rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
.spike-product-card h3 { margin: .8rem 0 .3rem; font-family: "Poppins", sans-serif; font-size: 16px; font-weight: 600; line-height: 1.333333; }
.spike-product-card h3 a, .spike-product-card h3 a:visited { color: var(--spike-black) !important; text-decoration: none !important; }
.spike-product-card h3 a:hover, .spike-product-card h3 a:focus-visible { color: var(--spike-red) !important; text-decoration: none !important; }
.spike-product-card__price { font-family: var(--spike-font-body); font-size: 14px; line-height: 1.5; }
.spike-product-card__price del { color: var(--spike-grey) !important; text-decoration: line-through; }
.spike-product-card__price ins { background: transparent !important; color: var(--spike-black) !important; text-decoration: none; }

.spike-home-promotion { position: relative; min-height: 483px; height: 483px; overflow: hidden; background: var(--spike-black); }
.spike-home-promotion__link, .spike-home-promotion__image, .spike-home-promotion__shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.spike-home-promotion__image { object-fit: cover; object-position: center; }
.spike-home-promotion__shade { background: rgba(0, 0, 0, .28); }
.spike-home-promotion__marquee { position: absolute; top: 50%; left: 0; width: 100%; overflow: hidden; transform: translateY(-50%); }
.spike-home-promotion__track { display: flex; width: max-content; animation: spike-home-promotion-marquee 34s linear infinite; will-change: transform; }
.spike-home-promotion__group { display: flex; flex: 0 0 auto; align-items: center; gap: clamp(2.5rem, 4vw, 5rem); padding-inline: 1vw; }
.spike-home-promotion__item { position: relative; display: block; flex: 0 0 auto; color: transparent; font-family: "Poppins", sans-serif; font-size: 10vmin; font-style: normal; font-weight: 600; letter-spacing: normal; line-height: 1em; text-transform: uppercase; white-space: nowrap; -webkit-font-smoothing: antialiased; }
.spike-home-promotion__outline { color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .72); text-stroke: 1px rgba(255, 255, 255, .72); }
.spike-home-promotion__fill { position: absolute; inset: 0; color: transparent; }
@keyframes spike-home-promotion-marquee {
	from { transform: translate3d(0, 0, 0); }
	to { transform: translate3d(-50%, 0, 0); }
}

.spike-home-about { padding: 100px 0 0; }
.spike-home-about__grid { display: grid; min-height: 770px; align-items: center; column-gap: 8.333333%; grid-template-columns: 5fr 6fr; }
.spike-home-about__media { padding-inline: 15px; overflow: hidden; }
.spike-home-about__image { width: 100%; aspect-ratio: 491 / 720; object-fit: cover; }
.spike-home-about__copy { padding-inline: 15px; }
.spike-home-about__copy h2 { margin: 0 0 46px; font-size: 46px; line-height: 50.6px; }
.spike-home-about__copy p { margin-bottom: 2em; color: #4a4a4a; font-size: var(--spike-body-size); line-height: 1.6; }

.spike-home-faq { padding: 80px 0; }
.spike-home-faq__grid { display: grid; min-height: 411px; column-gap: 8.333333%; grid-template-columns: 5fr 6fr; }
.spike-home-faq__intro { padding-inline: 15px; align-self: center; }
.spike-home-faq__intro h2 { margin: 0 0 .5em; font-size: 40px; font-weight: 600; letter-spacing: normal; line-height: 1.2; }
.spike-home-faq__intro p { max-width: none; margin-bottom: 1.25em; color: #4a4a4a; font-size: 16px; line-height: 1.5; }
.spike-home-faq__item { border-bottom: 1px solid var(--spike-border); }
.spike-home-faq__item:first-child { border-top: 1px solid var(--spike-border); }
.spike-home-faq__items { padding: 30px 15px 0; }
.spike-home-faq__item { margin-bottom: 10px; }
.spike-home-faq__item summary { display: flex; min-height: 0; align-items: center; justify-content: space-between; gap: 1rem; padding: .93em 30px .93em 0; cursor: pointer; list-style: none; font-family: var(--spike-font-body); font-size: 17px; font-weight: 400; line-height: 1.5; }
.spike-home-faq__item summary::-webkit-details-marker { display: none; }
.spike-home-faq__item summary span { position: relative; display: inline-block; flex: 0 0 auto; width: 16px; height: 16px; color: #ff407f; font-size: 0; line-height: 1; }
.spike-home-faq__item summary span::before, .spike-home-faq__item summary span::after { position: absolute; top: 50%; left: 0; width: 100%; height: 1px; background: currentColor; content: ''; transition: opacity .35s ease, transform .35s ease; }
.spike-home-faq__item summary span::after { transform: translateY(-50%) rotate(90deg); }
.spike-home-faq__item summary span::before { transform: translateY(-50%); }
.spike-home-faq__item[open] summary span::after { opacity: 0; transform: translateY(-50%) rotate(0); }
.spike-home-faq__answer { max-height: 0; overflow: hidden; opacity: 0; transition: max-height .45s cubic-bezier(.23, 1, .32, 1), opacity .25s ease; }
.spike-home-faq__item[open] .spike-home-faq__answer { opacity: 1; }
.spike-home-faq__item.is-closing .spike-home-faq__answer { opacity: 0; }
.spike-home-faq__answer p { max-width: none; margin: 0 0 1.5em; padding: 1em 0; color: #4a4a4a; font-size: 16px; line-height: 1.5; }

.spike-home-social { padding: 0; background: var(--spike-white); }
.spike-home-social > .container { width: 100%; max-width: none; margin: 0; padding: 0; }
.spike-home-social__header { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
.spike-home-social__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 12px 0; }
.spike-home-social__item { aspect-ratio: .7528; margin: 0; overflow: hidden; background: #eee; }
.spike-home-social__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.spike-home-social__item:hover img { transform: scale(1.03); }
.spike-home-social__actions { display: flex; height: 40px; align-items: flex-start; justify-content: center; gap: 6px; }
.spike-home-social__actions button, .spike-home-social__actions a { display: inline-flex; min-height: 34px; align-items: center; padding: 7px 14px; border: 0; background: var(--spike-black); color: var(--spike-white); font-family: var(--spike-font-body); font-size: 13px; line-height: 19.5px; text-decoration: none; }
.spike-home-social__actions a { background: var(--spike-red); }
.spike-home-social__actions button:disabled { cursor: default; opacity: .85; }

.spike-front-page .site-footer { min-height: 445px; padding: 80px 0 20px; }

@media (max-width: 900px) {
	.spike-home-hero { min-height: 0; height: 100vh; height: 100dvh; }
	.spike-home-hero__copy { max-width: 460px; }
	.spike-product-rail { gap: 20px; }
	.spike-product-card { flex-basis: calc((100% - 20px) / 2); }
	.spike-home-featured { min-height: 0; }
	.spike-home-about__grid, .spike-home-faq__grid { gap: 3rem; grid-template-columns: 1fr; }
	.spike-home-featured { padding-inline: 0; }
	.spike-home-featured .container { padding-inline: var(--spike-gutter); }
	.spike-home-about { padding-top: 80px; }
	.spike-home-about__grid, .spike-home-faq__grid { min-height: 0; }
	.spike-home-about__media, .spike-home-about__copy, .spike-home-faq__intro, .spike-home-faq__items { padding-inline: 0; }
	.spike-home-faq { padding-block: 60px; }
	.spike-home-social__grid { grid-template-columns: repeat(2, 1fr); }
	.spike-home-about__media { max-width: 420px; }
}

@media (max-width: 600px) {
	.site-header--home .site-logo__image { width: 106px; }
	body.home .utility-bar--home { display: none; }
	body.home .site-header--home { position: relative; top: 0; min-height: 64px; border-bottom: 1px solid var(--spike-border); background: var(--spike-white); color: var(--spike-black); }
	body.home .site-header--home.is-scrolled { position: fixed; top: 0; min-height: 64px; }
	body.home .site-header--home .site-header__inner { min-height: 64px; padding-inline: 10px; }
	body.home .site-header--home.is-scrolled .site-header__inner { min-height: 64px; }
	body.home .site-header--home .site-logo__image { width: 106px; filter: invert(1); }
	body.home .site-header--home .menu-toggle { width: 28px; height: 28px; margin-right: 0; }
	body.home .site-header--home .menu-toggle__icon span { width: 18px; background: currentColor; }
	body.home .site-header--home .site-header__actions { gap: 4px; }
	body.home .site-header--home .header-action,
	body.home .site-header--home .spike-cart-link { width: 28px; height: 28px; border: 0; }
	body.home .site-header--home .header-action:first-child { display: inline-flex; }
	body.home .site-header--home .header-action:nth-child(2) { display: none; }
	.spike-home-hero { min-height: 420px; height: clamp(420px, calc(100svh - 64px), 620px); }
	.spike-home-hero__content { align-items: flex-end; padding: 0 16px 42px; }
	.spike-home-hero__copy { max-width: 88%; transform: none; }
	.spike-home-hero__copy h2 { margin-bottom: 12px; font-size: clamp(2rem, 11vw, 3.2rem); }
	.spike-home-hero__copy p { max-width: 300px; margin-bottom: 18px; font-size: 12px; line-height: 18px; }
	.spike-home-hero .spike-button { min-width: 100px; min-height: 34px; font-size: 10px; }
	.spike-home-hero__control { width: 36px; height: 36px; }
	.spike-home-hero__control svg { width: 18px; height: 18px; }
	.spike-home-hero__dots { bottom: 16px; gap: 8px; }
	.spike-home-hero__dot { width: 8px; height: 8px; border-width: 2px; }
	.spike-home-section__header { align-items: flex-start; flex-direction: column; gap: .4rem; }
	.spike-home-section__header h2 { margin-bottom: .25rem; }
	.spike-product-carousel__controls { right: 0; left: 0; }
	.spike-home-featured { padding: 34px 0 40px; }
	.spike-home-featured .container { padding-inline: 6px; }
	.spike-home-featured .spike-home-section__header { margin: 0 6px 20px; }
	.spike-home-featured .spike-home-section__header h2 { font-size: 24px; line-height: 29px; }
	.spike-home-featured .spike-text-link { font-size: 9px; }
	.spike-product-rail { gap: 8px; padding-right: 12px; }
	.spike-product-card { flex-basis: calc((100% - 8px) / 2); }
	.spike-product-card h3 { margin-top: .5rem; font-size: 11px; line-height: 1.25; }
	.spike-product-card__price { font-size: 9px; line-height: 1.35; }
	.spike-product-card__badge { top: .4rem; left: .4rem; padding: .2rem .3rem; font-size: 7px; }
	.spike-home-promotion { min-height: 130px; height: 130px; }
	.spike-home-promotion__item { font-size: 15vw; }
	.spike-home-about { padding: 42px 0 0; }
	.spike-home-about__grid { gap: 26px; }
	.spike-home-about__copy { order: 1; padding-inline: 16px; }
	.spike-home-about__media { order: 2; max-width: none; padding-inline: 6px; }
	.spike-home-about__copy h2 { margin-bottom: 16px; font-size: 26px; line-height: 1.1; }
	.spike-home-about__copy p { margin-bottom: 1em; font-size: 12px; line-height: 1.55; }
	.spike-home-about__image { border-radius: 6px; }
	.spike-home-faq { padding: 46px 16px; }
	.spike-home-faq__grid { gap: 22px; }
	.spike-home-faq__intro, .spike-home-faq__items { padding-inline: 0; }
	.spike-home-faq__intro h2 { margin-bottom: 14px; font-size: 26px; line-height: 1.1; }
	.spike-home-faq__intro p, .spike-home-faq__item p { font-size: 12px; line-height: 1.5; }
	.spike-home-faq__item summary { min-height: 42px; font-size: 12px; line-height: 1.35; }
	.spike-home-faq__items { padding-top: 0; }
	.spike-home-social { display: none; }
	.spike-front-page .site-footer { min-height: 0; padding: 46px 16px 16px; }
}

/* The WordPress admin bar is fixed above the site and otherwise makes the
 * full-viewport hero extend below the visible browser area while logged in. */
body.admin-bar .spike-home-hero { height: calc(100vh - 32px); height: calc(100dvh - 32px); }

@media (max-width: 782px) {
	body.admin-bar .spike-home-hero { height: clamp(420px, calc(100svh - 110px), 620px); }
}

@media (prefers-reduced-motion: reduce) {
	.spike-home-hero__slides, .spike-product-card__image img, .spike-home-social__item img { transition: none; }
	.spike-home-faq__item summary span::before, .spike-home-faq__item summary span::after, .spike-home-faq__answer { transition: none; }
	.spike-home-promotion__track { animation: none; }
}
