/* Crashkit oomph 1.0.0. Presentation only. Yellow #F2C200 is accent, never the wordmark. */

body.ck-oomph {
	--ck-oomph-yellow: #f2c200;
	--ck-oomph-ink: #0b0b0c;
}

/* Wordmark and circle K stay black or white. No filter, no motion, no yellow fill. */
body.ck-oomph .wordmark,
body.ck-oomph .wordmark small,
body.ck-oomph .wp-block-site-logo,
body.ck-oomph .wp-block-site-logo img,
body.ck-oomph .custom-logo,
body.ck-oomph .custom-logo-link,
body.ck-oomph .ck-ac-brand {
	animation: none !important;
	filter: none !important;
	transform: none !important;
}

body.ck-oomph:not(.ck-academy-on) header.wp-block-template-part .wp-block-site-title,
body.ck-oomph:not(.ck-academy-on) header.wp-block-template-part .wp-block-site-title a {
	color: #fff !important;
}

body.ck-oomph header.wp-block-template-part {
	position: sticky;
	top: 0;
	z-index: 40;
	background: #0b0b0c;
	box-shadow: inset 0 4px 0 #f2c200;
}

body.admin-bar.ck-oomph header.wp-block-template-part {
	top: 32px;
}

@media (max-width: 782px) {
	body.admin-bar.ck-oomph header.wp-block-template-part {
		top: 46px;
	}
}

body.ck-oomph.home .nav,
body.ck-oomph .stage > .nav {
	position: sticky;
	top: 0;
	z-index: 40;
	box-shadow: inset 0 4px 0 #f2c200;
}

body.admin-bar.ck-oomph.home .nav,
body.admin-bar.ck-oomph .stage > .nav {
	top: 32px;
}

body.ck-oomph.is-scrolled header.wp-block-template-part,
body.ck-oomph.is-scrolled .stage > .nav {
	box-shadow: inset 0 4px 0 #f2c200, 0 10px 28px rgba(0, 0, 0, 0.45);
}

body.ck-oomph .nav-links a,
body.ck-oomph .wp-block-navigation-item__content {
	background-image: linear-gradient(#f2c200, #f2c200);
	background-repeat: no-repeat;
	background-position: 0 100%;
	background-size: 0 2px;
	transition: background-size 0.25s ease, color 0.25s ease;
}

body.ck-oomph .nav-links a:hover,
body.ck-oomph .nav-links a:focus-visible,
body.ck-oomph .wp-block-navigation-item__content:hover,
body.ck-oomph .wp-block-navigation-item__content:focus-visible {
	background-size: 100% 2px;
}

/* Home: the hero photograph is the focal point. */
body.ck-oomph.home .hero,
body.ck-oomph.ck-oomph-home .hero {
	position: relative;
}

body.ck-oomph.home .hero-copy h1,
body.ck-oomph.ck-oomph-home .hero-copy h1 {
	font-size: clamp(2.5rem, 6.4vw, 5rem);
	line-height: 0.92;
	letter-spacing: -0.03em;
	text-wrap: balance;
}

body.ck-oomph.home .hairline,
body.ck-oomph.ck-oomph-home .hairline {
	height: 4px;
	background: linear-gradient(90deg, #f2c200 0 45%, transparent 45%);
	background-size: 220% 100%;
	animation: ck-oomph-scan 3.2s ease-in-out infinite;
}

body.ck-oomph.home .photo-slot,
body.ck-oomph.home .photo-slot-image,
body.ck-oomph.ck-oomph-shop .ck-shop-banner,
body.ck-oomph.ck-oomph-product .woocommerce-product-gallery,
body.ck-oomph.ck-oomph-pelican .ck-page .ck-yellow-photo:first-of-type,
body.ck-oomph.ck-oomph-crashkit-gear .ck-page .ck-yellow-photo:first-of-type {
	overflow: hidden;
	outline: 2px solid #f2c200;
	outline-offset: 0;
}

body.ck-oomph.home .photo-slot img,
body.ck-oomph.home .photo-slot-image img,
body.ck-oomph.ck-oomph-shop .ck-shop-banner img,
body.ck-oomph.ck-oomph-product .woocommerce-product-gallery__image img,
body.ck-oomph.ck-oomph-pelican .ck-page .ck-yellow-photo:first-of-type img,
body.ck-oomph.ck-oomph-crashkit-gear .ck-page .ck-yellow-photo:first-of-type img {
	transform-origin: 50% 45%;
	animation: ck-oomph-ken 24s ease-in-out infinite alternate;
}

body.ck-oomph .ck-card,
body.ck-oomph .wc-block-product,
body.ck-oomph .ck-ac-card,
body.ck-oomph .ck-ac-panel {
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

body.ck-oomph .ck-card:hover,
body.ck-oomph .wc-block-product:hover,
body.ck-oomph .ck-ac-card:hover,
body.ck-oomph .ck-ac-panel:hover {
	transform: translateY(-3px);
	box-shadow: 0 14px 36px rgba(0, 0, 0, 0.28), inset 3px 0 0 #f2c200;
}

body.ck-oomph .btn,
body.ck-oomph .btn-solid,
body.ck-oomph .ck-call,
body.ck-oomph .ck-ac-btn,
body.ck-oomph .wp-element-button,
body.ck-oomph button[type="submit"],
body.ck-oomph .ck-f-submit,
body.ck-oomph .ck-quote-form button {
	transition: filter 0.2s ease, box-shadow 0.2s ease;
}

body.ck-oomph .btn:hover,
body.ck-oomph .btn-solid:hover,
body.ck-oomph .ck-call:hover,
body.ck-oomph .ck-ac-btn:hover,
body.ck-oomph .wp-element-button:hover,
body.ck-oomph button[type="submit"]:hover,
body.ck-oomph .ck-f-submit:hover,
body.ck-oomph .ck-quote-form button:hover,
body.ck-oomph .btn:focus-visible,
body.ck-oomph .ck-ac-btn:focus-visible,
body.ck-oomph .ck-call:focus-visible {
	filter: brightness(1.06);
	box-shadow: 0 0 0 3px rgba(242, 194, 0, 0.45);
}

/* Quote, dealer, kit, and Academy forms are the focal block. No lift on fields. */
body.ck-oomph .ck-quote-form-wrap,
body.ck-oomph .ck-f-wrap,
body.ck-oomph .ck-dl-loginbox,
body.ck-oomph .ck-ac-form-card,
body.ck-oomph .ck-ac-phone-card {
	box-shadow: 0 0 0 2px #f2c200, 0 18px 50px rgba(0, 0, 0, 0.35);
}

body.ck-oomph .ck-quote-form input,
body.ck-oomph .ck-quote-form select,
body.ck-oomph .ck-quote-form textarea,
body.ck-oomph .ck-f input,
body.ck-oomph .ck-f select,
body.ck-oomph .ck-f textarea,
body.ck-oomph .ck-ac-form input,
body.ck-oomph .ck-ac-form select,
body.ck-oomph .ck-ac-form textarea,
body.ck-oomph .ck-dl input {
	transform: none !important;
	animation: none !important;
}

body.ck-oomph.ck-oomph-pelican .ck-page > h1,
body.ck-oomph.ck-oomph-crashkit-gear .ck-page > h1,
body.ck-oomph.ck-oomph-faqs .ck-page > h1,
body.ck-oomph.ck-oomph-privacy-policy .ck-page > h1,
body.ck-oomph.ck-oomph-legal-information .ck-page > h1,
body.ck-oomph.ck-oomph-orders-and-returns .ck-page > h1,
body.ck-oomph.ck-oomph-last-kit-guarantee .ck-page > h1,
body.ck-oomph.ck-oomph-quality-control .ck-page > h1,
body.ck-oomph.single-product h1.wp-block-post-title,
body.ck-oomph.ck-oomph-shop h1 {
	font-size: clamp(2.35rem, 5.5vw, 4.2rem);
	line-height: 0.95;
	text-wrap: balance;
}

body.ck-oomph .ck-page > h1::after,
body.ck-oomph.ck-oomph-shop h1::after {
	content: "";
	display: block;
	width: 4.5rem;
	height: 4px;
	margin-top: 0.45rem;
	background: #f2c200;
}

/* Academy, light and dark: headline plus the phone card. */
body.ck-oomph.ck-academy-on .ck-ac h1 {
	font-size: clamp(2.6rem, 7vw, 4.8rem);
}

body.ck-oomph.ck-academy-on .ck-ac-phone-card {
	animation: ck-oomph-glow 3.6s ease-in-out infinite;
}

body.ck-oomph.ck-academy-on .ck-ac-accent {
	animation: ck-oomph-scan 3.2s ease-in-out infinite;
	background-size: 220% 100%;
}

html.ck-oomph-motion body.ck-oomph .ck-oomph-in {
	opacity: 0;
	transform: translateY(14px);
}

html.ck-oomph-motion body.ck-oomph .ck-oomph-in.is-in {
	opacity: 1;
	transform: none;
	transition: opacity 0.55s ease, transform 0.55s ease;
}

@keyframes ck-oomph-ken {
	from { transform: scale(1); }
	to { transform: scale(1.06); }
}

@keyframes ck-oomph-scan {
	0% { background-position: 100% 0; }
	100% { background-position: 0 0; }
}

@keyframes ck-oomph-glow {
	0%, 100% { box-shadow: 0 0 0 2px #f2c200, 0 12px 32px rgba(0, 0, 0, 0.35); }
	50% { box-shadow: 0 0 0 2px #f2c200, 0 16px 42px rgba(242, 194, 0, 0.28); }
}

@media (prefers-reduced-motion: reduce) {
	body.ck-oomph *,
	body.ck-oomph *::before,
	body.ck-oomph *::after {
		animation: none !important;
		transition: none !important;
	}
}
