/*
 * KATA — Custom Kit page CSS
 * Loaded only on page-custom-kit.php (conditional enqueue in functions.php).
 * Reuses tokens from main.css (--c-gold, --c-dark, --c-cream, --ff-display, --nav-h).
 *
 * Sections:
 *   §01 Hero            (.ck-hero)
 *   §02 Positioning     (.ck-positioning)   cream
 *   §03 Brief           (.ck-brief)          dark · auto-scroll target
 *   §04 Process         (.ck-process)
 *   §05 FAQ             (.ck-faq)           (was §06 — Recent customs removed in v5.21.0)
 *   Sticky mobile CTA   (.ck-sticky)
 */

/* ─── Page shell ────────────────────────────────────────────────────────── */
.kata-page--custom-kit {
	background: var(--c-dark);
	color: var(--c-white);
	padding: 0;
}

.ck-hero,
.ck-positioning,
.ck-brief,
.ck-process,
.ck-faq {
	padding-block: clamp(56px, 8vw, 120px);
	padding-inline: var(--gutter);
}

.ck-hero__inner,
.ck-positioning__inner,
.ck-brief__inner,
.ck-process__inner,
.ck-faq__inner {
	max-width: var(--maxw);
	margin: 0 auto;
}

/* Cream sections — set bg + invert text colors */
.ck-positioning {
	background: var(--c-cream);
	color: var(--c-dark);
}

/* Section content fills in Tasks 2-4. */

/* ─── §01 Hero ───────────────────────────────────────────────────────────── */
.ck-hero {
	position: relative;
	min-height: 88vh;
	display: flex;
	align-items: center;
	overflow: hidden;
	padding-top: calc(var(--nav-h) + clamp(40px, 6vw, 80px));
}
.ck-hero__bg {
	position: absolute; inset: 0;
	background-size: cover; background-position: center;
	z-index: 0;
}
.ck-hero__overlay {
	position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(28,28,28,0.45) 0%, rgba(28,28,28,0.85) 100%);
	z-index: 1;
}
.ck-hero__inner {
	position: relative; z-index: 2;
	max-width: 980px; margin: 0 auto; text-align: center;
}
.ck-hero__title {
	font-family: var(--ff-display);
	font-weight: 400;
	font-size: clamp(3rem, 11vw, 8rem);
	line-height: .95;
	letter-spacing: -.01em;
	margin: .6rem 0 1.4rem;
	color: var(--c-white);
}
.ck-hero__line {
	display: block;
}
.ck-hero__line--accent {
	font-style: italic;
	color: var(--c-gold);
}
.ck-hero__lede {
	font-family: var(--ff-body);
	font-size: clamp(1rem, 1.4vw, 1.2rem);
	line-height: 1.55;
	color: var(--c-cream);
	opacity: .9;
	max-width: 540px;
	margin: 0 auto 2.4rem;
}
.ck-hero__ctas {
	display: inline-flex;
	gap: 1.2rem;
	align-items: center;
	flex-wrap: wrap;
	justify-content: center;
}
.ck-hero__cta-primary {
	/* .btn.btn--primary token defaults from main.css apply */
}
.ck-hero__cta-secondary {
	color: var(--c-cream);
	text-decoration: underline;
	text-underline-offset: 4px;
	font-size: .95rem;
	letter-spacing: .04em;
	transition: color .2s ease;
}
.ck-hero__cta-secondary:hover { color: var(--c-gold); }

@media (max-width: 640px) {
	.ck-hero { min-height: 80vh; }
	.ck-hero__ctas { flex-direction: column; gap: .9rem; align-items: stretch; }
	.ck-hero__cta-primary { width: 100%; text-align: center; }
	/* Reach a 44px+ tap target for the secondary CTA on mobile. */
	.ck-hero__cta-secondary { padding-block: 12px; text-align: center; }
}

/* ─── §02 Positioning row (cream) ────────────────────────────────────────── */
.ck-positioning__head { text-align: center; max-width: 720px; margin: 0 auto clamp(36px, 5vw, 64px); }
.eyebrow--ink { color: var(--c-dark); }
.eyebrow--ink .eyebrow__dash { background: var(--c-dark); }
.ck-positioning__title {
	font-family: var(--ff-display); font-weight: 400;
	font-size: clamp(2rem, 5vw, 3.6rem);
	line-height: 1; margin: .4rem 0 .7rem; color: var(--c-dark);
}
.ck-positioning__sub {
	font-size: 1rem; color: var(--c-dark); opacity: .7;
	margin: 0;
}

.ck-positioning__grid {
	display: grid; grid-template-columns: 1fr 1.15fr 1fr;
	gap: 1rem;
	align-items: stretch;
}

.ck-pos-card {
	position: relative;
	display: flex; flex-direction: column;
	background: rgba(255,255,255,0.55);
	border: 1px solid rgba(28,28,28,0.08);
	border-radius: 14px;
	padding: 1.8rem 1.6rem 1.4rem;
}
.ck-pos-card--custom {
	background: var(--c-white);
	border: 2px solid var(--c-gold);
	box-shadow: 0 10px 30px rgba(28,28,28,0.08);
	transform: translateY(-6px);
}
.ck-pos-card__here-pill {
	position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
	background: var(--c-gold); color: var(--c-dark);
	font-family: var(--ff-display); font-weight: 400;
	font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
	padding: .35rem .8rem; border-radius: var(--radius-pill);
	white-space: nowrap;
}
.ck-pos-card__head { margin-bottom: 1.2rem; }
.ck-pos-card__title {
	font-family: var(--ff-display); font-weight: 400;
	font-size: clamp(1.4rem, 2.4vw, 1.8rem);
	line-height: 1; margin: 0 0 .4rem;
	color: var(--c-dark); text-transform: uppercase; letter-spacing: .02em;
}
.ck-pos-card__price {
	font-family: var(--ff-body); font-weight: 600;
	font-size: 1rem; color: var(--c-dark);
	margin: 0;
}
.ck-pos-card__price-sub {
	display: block;
	font-size: .8rem; font-weight: 400; opacity: .65;
	margin-top: .15rem;
}
.ck-pos-card__bullets {
	list-style: none; padding: 0; margin: 0 0 1.4rem;
	flex-grow: 1;
	display: flex; flex-direction: column; gap: .6rem;
}
.ck-pos-card__bullets li {
	font-size: .92rem; line-height: 1.4; color: var(--c-dark);
	padding-left: 1rem; position: relative;
}
.ck-pos-card__bullets li::before {
	content: "·"; position: absolute; left: 0; top: 0;
	color: var(--c-gold-secondary); font-weight: 700;
}
.ck-pos-card__cta {
	font-family: var(--ff-display); font-weight: 400;
	font-size: .95rem; letter-spacing: .08em;
	color: var(--c-dark); text-decoration: none;
	border-bottom: 1px solid var(--c-dark);
	padding-bottom: 2px;
	align-self: flex-start;
	transition: color .2s ease, border-color .2s ease;
}
.ck-pos-card__cta:hover { color: var(--c-gold-secondary); border-color: var(--c-gold-secondary); }
/* Anchor variant: rely on color shift + thicker border for emphasis. NEVER bump
 * font-weight on var(--ff-display) — Bebas single-weight 400, browsers fake-bold
 * via pixel smear (memory: feedback_bebas_neue_400_only.md). */
.ck-pos-card__cta--anchor {
	color: var(--c-gold-dark);
	border-bottom-width: 2px;
	border-color: var(--c-gold-dark);
}

@media (max-width: 920px) {
	.ck-positioning__grid { grid-template-columns: 1fr; gap: 1.4rem; }
	.ck-pos-card--custom { transform: none; }
	.ck-pos-card__here-pill { top: -10px; }
}

/* ─── §03 Brief ──────────────────────────────────────────────────────────── */
.ck-brief__head { text-align: center; max-width: 720px; margin: 0 auto clamp(40px, 5vw, 64px); }
.ck-brief__title {
	font-family: var(--ff-display); font-weight: 400;
	font-size: clamp(2rem, 5vw, 3.6rem);
	line-height: 1; margin: .4rem 0 0; color: var(--c-white);
}

/* Context panel */
.ck-context {
	max-width: 720px; margin: 0 auto clamp(28px, 4vw, 48px);
	background: var(--c-dark-2);
	border: 1px solid rgba(254,197,62,0.25);
	border-radius: 12px;
	padding: 1.2rem 1.4rem;
}
.ck-context__head {
	display: flex; align-items: center; gap: .6rem;
	color: var(--c-gold);
	font-family: var(--ff-display); font-weight: 400;
	letter-spacing: .08em; font-size: .9rem;
	margin-bottom: .8rem; text-transform: uppercase;
}
.ck-context__list { display: grid; grid-template-columns: 110px 1fr; gap: .35rem .9rem; margin: 0; }
.ck-context__list dt { font-family: var(--ff-display); font-weight: 400; letter-spacing: .06em; font-size: .8rem; color: var(--c-cream); opacity: .7; text-transform: uppercase; }
.ck-context__list dd { margin: 0; color: var(--c-white); font-size: .95rem; }
.ck-context__list dd a { color: var(--c-gold); text-decoration: none; border-bottom: 1px solid rgba(254,197,62,0.4); }
.ck-context__hint { margin: .9rem 0 0; font-size: .85rem; color: var(--c-cream); opacity: .65; }
.ck-context.is-pulse { animation: kata-pulse-gold 2s ease-out 1; }

/* Pulse keyframe (used by Task 5 JS) */
@keyframes kata-pulse-gold {
	0%, 100% { box-shadow: 0 0 0 0 rgba(254, 197, 62, 0); }
	50%      { box-shadow: 0 0 0 6px rgba(254, 197, 62, 0.35); }
}

/* Modify group — optional change-area chips, sits directly above the form.
   Kit-selection sub-step + numbered sub-steps removed 2026-05-29 (Bruno): the
   brief is now a single direct inquiry. */
.ck-brief__modify { margin-bottom: clamp(28px, 4vw, 44px); }
.ck-brief__modify-label {
	font-family: var(--ff-display); font-weight: 400;
	font-size: clamp(1.15rem, 2vw, 1.5rem);
	margin: 0 0 1rem; color: var(--c-white);
	text-transform: uppercase; letter-spacing: .02em;
}
.ck-brief__modify-label span {
	font-family: var(--ff-body); text-transform: none; letter-spacing: 0;
	font-size: .85rem; color: var(--c-cream); opacity: .6;
}

/* Modify chips */
.ck-chips {
	display: flex; flex-wrap: wrap; gap: .7rem;
}
.ck-chip {
	display: inline-flex; align-items: center;
	cursor: pointer;
	transition: transform .15s ease;
}
.ck-chip__input {
	position: absolute; opacity: 0; pointer-events: none;
}
.ck-chip__label {
	display: inline-block;
	padding: .65rem 1.1rem;
	border: 1px solid rgba(255,255,255,0.18);
	border-radius: var(--radius-pill);
	font-family: var(--ff-body); font-size: .9rem; font-weight: 500;
	color: var(--c-cream);
	letter-spacing: .02em;
	background: transparent;
	transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.ck-chip:hover .ck-chip__label { border-color: var(--c-gold); color: var(--c-white); }
.ck-chip:has(.ck-chip__input:checked) .ck-chip__label,
.ck-chip.is-active .ck-chip__label {
	background: var(--c-gold);
	color: var(--c-dark);
	border-color: var(--c-gold);
	font-weight: 600;
}
.ck-chip:focus-within .ck-chip__label { outline: 2px solid var(--c-gold); outline-offset: 3px; }

/* Step 3 — form wrapper + Fluent Forms theming (v5.21.x Orne).
 * Aligned with the contact-page form treatment (.util-split__form-wrap):
 * dark-2 panel, soft border, generous padding. PLUS — input/select/textarea/
 * label/button overrides so Fluent Forms doesn't leak its default look. */
.ck-brief__form,
.ck-brief__form-fallback {
	max-width: 760px;
	margin: 0 auto;
	background: var(--c-dark-2);
	border: 1px solid rgba(255,255,255,0.06);
	border-radius: 16px;
	padding: clamp(20px, 3vw, 36px);
}
.ck-brief__form-fallback {
	border-radius: 12px;
	padding: 1.4rem;
}

/* Fluent Forms input controls — match Kata dark form aesthetic. */
.ck-brief__form input[type="text"],
.ck-brief__form input[type="email"],
.ck-brief__form input[type="tel"],
.ck-brief__form input[type="url"],
.ck-brief__form input[type="number"],
.ck-brief__form input[type="date"],
.ck-brief__form select,
.ck-brief__form textarea,
.ck-brief__form .ff-el-form-control {
	background: rgba(255,255,255,0.05) !important;
	border: 1px solid rgba(255,255,255,0.12) !important;
	color: var(--c-white) !important;
	border-radius: 8px !important;
	font-family: var(--ff-body) !important;
	font-size: 0.95rem !important;
	padding: 0.85rem 1rem !important;
	transition: border-color 0.2s ease, background 0.2s ease;
	box-shadow: none !important;
	width: 100%;
}
.ck-brief__form textarea {
	min-height: 130px;
	resize: vertical;
}
.ck-brief__form input:focus,
.ck-brief__form select:focus,
.ck-brief__form textarea:focus,
.ck-brief__form .ff-el-form-control:focus {
	outline: none !important;
	border-color: var(--c-gold) !important;
	background: rgba(255,255,255,0.08) !important;
}
.ck-brief__form input::placeholder,
.ck-brief__form textarea::placeholder {
	color: rgba(255,255,255,0.4);
}

/* Labels + group titles */
.ck-brief__form label,
.ck-brief__form .ff-el-input--label label,
.ck-brief__form .ff_form_label {
	color: var(--c-cream) !important;
	font-family: var(--ff-body) !important;
	font-size: 0.85rem !important;
	font-weight: 500 !important;
	letter-spacing: 0.04em !important;
	margin-bottom: 0.4rem !important;
	display: block;
}
.ck-brief__form .ff-el-input--label .text-danger,
.ck-brief__form .ff-el-is-required > label::after {
	color: var(--c-gold) !important;
}

/* Help text + error messages */
.ck-brief__form .ff-el-help-message,
.ck-brief__form .ff-message-success,
.ck-brief__form .help-block {
	color: rgba(255,255,255,0.65) !important;
	font-size: 0.85rem;
	margin-top: 0.4rem;
}
.ck-brief__form .text-danger,
.ck-brief__form .error {
	color: #ff8080 !important;
	font-size: 0.85rem;
}

/* Checkbox / radio in dark theme */
.ck-brief__form input[type="checkbox"],
.ck-brief__form input[type="radio"] {
	accent-color: var(--c-gold);
}

/* Submit button — Kata pill (gold fill, dark text) */
.ck-brief__form button[type="submit"],
.ck-brief__form .ff-btn-submit,
.ck-brief__form .ff-btn.ff-btn-submit {
	background: var(--c-gold) !important;
	color: var(--c-dark) !important;
	border: none !important;
	border-radius: 100px !important;
	padding: 0.95rem 2.5rem !important;
	font-family: var(--ff-display) !important;
	font-size: 1rem !important;
	font-weight: 400 !important;
	letter-spacing: 0.08em !important;
	text-transform: uppercase !important;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.2s ease, color 0.2s ease !important;
	box-shadow: none !important;
}
.ck-brief__form button[type="submit"]:hover,
.ck-brief__form .ff-btn-submit:hover,
.ck-brief__form .ff-btn.ff-btn-submit:hover {
	background: var(--c-white) !important;
	color: var(--c-dark) !important;
	transform: translateY(-2px);
}

/* File upload control */
.ck-brief__form .ff_uploader_holder,
.ck-brief__form .ff-el-input--content > .ff_upload_btn {
	background: rgba(255,255,255,0.05) !important;
	border: 1px dashed rgba(255,255,255,0.18) !important;
	border-radius: 8px;
	color: var(--c-cream) !important;
}
.ck-brief__form-fallback p { margin: 0 0 .6rem; color: var(--c-cream); }
.ck-brief__form-fallback p:last-child { margin-bottom: 0; }
.ck-brief__form-fallback a { color: var(--c-gold); }

/* ─── §04 Process (cream — v5.21.0 Orne) ────────────────────────────────────
 * Flipped from dark to cream so the page rhythm post-§05-removal lands
 * cleanly: dark · cream · dark · cream · dark
 * (01 hero · 02 positioning · 03 brief · 04 process · 05 faq). */
.ck-process {
	background: var(--c-cream);
	color: var(--c-dark);
}
.ck-process__head { text-align: center; max-width: 720px; margin: 0 auto clamp(40px, 5vw, 64px); }
.ck-process__title {
	font-family: var(--ff-display); font-weight: 400;
	font-size: clamp(2rem, 5vw, 3.6rem);
	line-height: 1; margin: .4rem 0 0; color: var(--c-dark);
}

/* v5.21.x Orne: cards mirror Guides §04 (.guides-process__step) — white
 * card on cream bg, 3px gold top border, shadow, lift-on-hover.
 * `__time` weight bumped to 600 per Bruno. */
.ck-process__timeline {
	list-style: none; padding: 0; margin: 0;
	display: grid; grid-template-columns: 1fr;
	gap: clamp(1.6rem, 2.4vw, 2rem);
}
@media (min-width: 720px) {
	.ck-process__timeline { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1080px) {
	.ck-process__timeline { grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
}
.ck-process__step {
	position: relative;
	background: var(--c-white);
	border-radius: 4px;
	padding: clamp(1.6rem, 2.4vw, 2.2rem) clamp(1.4rem, 2vw, 1.8rem);
	display: flex; flex-direction: column; gap: 0.8rem;
	border-top: 3px solid var(--c-gold-secondary, #fbb715);
	box-shadow: 0 1px 0 rgba(28,28,28,0.04), 0 12px 32px -16px rgba(28,28,28,0.08);
	transition: transform 250ms ease, box-shadow 250ms ease;
}
.ck-process__step:hover {
	transform: translateY(-3px);
	box-shadow: 0 1px 0 rgba(28,28,28,0.04), 0 18px 40px -16px rgba(28,28,28,0.16);
}
.ck-process__num {
	font-family: var(--ff-display); font-weight: 400;
	font-size: clamp(2.4rem, 4vw, 3.2rem);
	line-height: 1; letter-spacing: 0.02em;
	color: var(--c-gold-secondary, var(--c-gold));
}
.ck-process__step-title {
	font-family: var(--ff-display); font-weight: 400;
	font-size: clamp(1.25rem, 2vw, 1.55rem);
	line-height: 1.05; letter-spacing: 0.03em;
	text-transform: uppercase;
	margin: 0;
	color: var(--c-dark);
}
.ck-process__time {
	font-size: .8rem; letter-spacing: .08em; text-transform: uppercase;
	font-weight: 600;
	color: var(--c-gold-secondary, var(--c-gold)); margin: 0;
}
.ck-process__body {
	font-size: 0.98rem; line-height: 1.6;
	color: var(--c-dark); opacity: .78;
	margin: 0;
}

@media (max-width: 640px) {
	.ck-pricing-strip { grid-template-columns: 1fr; gap: .6rem; }
}

/* ─── §05 Recent customs (cream) ────────────────────────────────────────── */
.ck-recent__head { text-align: center; max-width: 720px; margin: 0 auto clamp(36px, 5vw, 56px); }
.ck-recent__title {
	font-family: var(--ff-display); font-weight: 400;
	font-size: clamp(2rem, 5vw, 3.6rem);
	line-height: 1; margin: .4rem 0 0; color: var(--c-dark);
}

.ck-recent__grid {
	display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem;
}
.ck-recent-card {
	background: var(--c-white);
	border-radius: 12px; overflow: hidden;
	display: flex; flex-direction: column;
}
.ck-recent-card__media {
	aspect-ratio: 4 / 3;
	background: rgba(28,28,28,0.06);
	overflow: hidden;
}
.ck-recent-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ck-recent-card__placeholder {
	width: 100%; height: 100%;
	display: flex; align-items: center; justify-content: center;
	font-family: var(--ff-display); font-weight: 400; letter-spacing: .12em; font-size: .9rem;
	color: rgba(28,28,28,0.4);
}
.ck-recent-card__body { padding: 1rem 1.2rem 1.2rem; }
.ck-recent-card__kit {
	font-family: var(--ff-display); font-weight: 400;
	font-size: 1.2rem; letter-spacing: .04em;
	color: var(--c-gold-secondary); margin: 0 0 .35rem;
	text-transform: uppercase;
}
.ck-recent-card__changes {
	font-size: .92rem; line-height: 1.45; color: var(--c-dark); margin: 0 0 .35rem;
}
.ck-recent-card__vehicle {
	font-size: .82rem; color: var(--c-dark); opacity: .6; margin: 0;
}

@media (max-width: 920px) { .ck-recent__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .ck-recent__grid { grid-template-columns: 1fr; } }

/* ─── §06 FAQ ───────────────────────────────────────────────────────────── */
.ck-faq__head { text-align: center; max-width: 720px; margin: 0 auto clamp(36px, 5vw, 56px); }
.ck-faq__title {
	font-family: var(--ff-display); font-weight: 400;
	font-size: clamp(2rem, 5vw, 3.6rem);
	line-height: 1; margin: .4rem 0 0; color: var(--c-white);
}

.ck-faq__list { max-width: 820px; margin: 0 auto; }
.ck-faq__item {
	border-top: 1px solid rgba(255,255,255,0.08);
	padding: 1.1rem 0;
}
.ck-faq__item:last-child { border-bottom: 1px solid rgba(255,255,255,0.08); }
.ck-faq__q {
	cursor: pointer;
	display: flex; align-items: center; justify-content: space-between; gap: 1rem;
	font-family: var(--ff-body); font-size: 1.05rem; font-weight: 500;
	color: var(--c-white);
	list-style: none;
	padding-right: 1rem;
}
/* Suppress default disclosure markers across browsers (WebKit + Chromium ≥100 + Firefox). */
.ck-faq__q::-webkit-details-marker { display: none; }
.ck-faq__q::marker { display: none; }
.ck-faq__q::after {
	content: "+"; flex-shrink: 0;
	font-family: var(--ff-display); font-weight: 400; font-size: 1.6rem; line-height: 1;
	color: var(--c-gold); transition: transform .2s ease;
}
.ck-faq__item[open] .ck-faq__q::after { content: "−"; }
.ck-faq__a { padding: .8rem 1rem 0 0; }
.ck-faq__a p { font-size: .98rem; line-height: 1.65; color: var(--c-cream); margin: 0; }

/* ─── Sticky mobile CTA ──────────────────────────────────────────────────── */
.ck-sticky {
	position: fixed; left: 12px; right: 12px; bottom: 12px;
	z-index: 90;
	display: none; /* shown on mobile only via media query below */
}
.ck-sticky__btn {
	display: flex; align-items: center; justify-content: center; gap: .5rem;
	width: 100%;
	background: var(--c-gold); color: var(--c-dark);
	font-family: var(--ff-display); font-weight: 400; font-size: 1rem; letter-spacing: .08em;
	text-decoration: none; text-transform: uppercase;
	padding: .95rem 1.2rem;
	border-radius: var(--radius-pill);
	box-shadow: 0 8px 24px rgba(28,28,28,0.4);
	transition: transform .15s ease;
}
.ck-sticky__btn:hover { transform: translateY(-2px); }
.ck-sticky.is-sent .ck-sticky__btn {
	background: rgba(254,197,62,0.5);
	pointer-events: none;
}

@media (max-width: 767px) {
	.ck-sticky { display: block; }
	/* Add bottom padding so sticky doesn't cover footer content */
	.kata-page--custom-kit { padding-bottom: 80px; }
	/* The full-width Send-Brief sticky bar sits at bottom:12px and the global
	   WhatsApp FAB (bottom-right) was landing on top of it. custom-kit.css is
	   enqueued ONLY on this page, so lift the FAB above the bar here without
	   affecting any other page. (Bruno 06/2026) */
	.kata-wa-fab { bottom: calc(74px + env(safe-area-inset-bottom, 0px)); }
}

/* ─── §03 Builds gallery (CAMBIOS-27-5) ──────────────────────────────────── */
.ckg {
	background: var(--c-dark);
	color: var(--c-white);
	padding: clamp(4rem, 8vw, 7rem) 0;
}
.ckg__inner {
	max-width: var(--maxw);
	margin: 0 auto;
	padding: 0 var(--gutter);
}
.ckg__head { max-width: 760px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.ckg__title {
	font-family: var(--ff-display);
	font-weight: 400;
	font-size: clamp(2.2rem, 5vw, 3.6rem);
	line-height: 1.02;
	margin: .6rem 0 .8rem;
}
.ckg__lede {
	font-family: var(--ff-body);
	color: rgba(255,255,255,0.7);
	font-size: 1.05rem;
	line-height: 1.5;
	max-width: 56ch;
}

/* Filter tabs */
.ckg__filters {
	display: flex;
	flex-wrap: wrap;
	gap: .6rem;
	margin-bottom: clamp(1.6rem, 3vw, 2.4rem);
}
.ckg-tab {
	font-family: var(--ff-body);
	font-size: .82rem;
	font-weight: 600;
	letter-spacing: .02em;
	color: rgba(255,255,255,0.75);
	background: rgba(255,255,255,0.06);
	border: 1px solid rgba(255,255,255,0.14);
	border-radius: var(--radius-pill);
	padding: .55rem 1.1rem;
	cursor: pointer;
	transition: background .2s ease-out, color .2s ease-out, border-color .2s ease-out;
}
.ckg-tab:hover { background: rgba(255,255,255,0.12); color: var(--c-white); }
.ckg-tab.is-active {
	background: var(--c-gold);
	border-color: var(--c-gold);
	color: var(--c-dark);
}

/* Grid + cards */
.ckg__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: clamp(.9rem, 1.6vw, 1.4rem);
}
.ckg-card {
	position: relative;
	display: block;
	padding: 0;
	border: none;
	background: var(--c-dark-2);
	border-radius: 14px;
	overflow: hidden;
	cursor: pointer;
	text-align: left;
	aspect-ratio: 4 / 5;
	box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}
.ckg-card.is-hidden { display: none; }
.ckg-card__media { position: absolute; inset: 0; }
.ckg-card__media img {
	width: 100%; height: 100%;
	object-fit: cover; object-position: center;
	display: block;
	transition: transform .4s ease-out;
}
.ckg-card:hover .ckg-card__media img { transform: scale(1.05); }
.ckg-card::after {
	content: "";
	position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(20,20,20,0) 38%, rgba(20,20,20,0.82) 100%);
	pointer-events: none;
}
.ckg-card__badge {
	position: absolute; top: .7rem; left: .7rem;
	z-index: 2;
	font-family: var(--ff-body);
	font-size: .68rem; font-weight: 700;
	letter-spacing: .04em; text-transform: uppercase;
	color: var(--c-dark);
	background: var(--c-gold);
	border-radius: var(--radius-pill);
	padding: .28rem .65rem;
}
.ckg-card__count {
	position: absolute; top: .7rem; right: .7rem;
	z-index: 2;
	display: inline-flex; align-items: center; gap: .3rem;
	font-family: var(--ff-body);
	font-size: .72rem; font-weight: 600;
	color: var(--c-white);
	background: rgba(20,20,20,0.55);
	backdrop-filter: blur(4px);
	border-radius: var(--radius-pill);
	padding: .26rem .55rem;
}
.ckg-card__body {
	position: absolute; left: 0; right: 0; bottom: 0;
	z-index: 2;
	padding: 1rem 1.05rem 1.1rem;
	display: flex; flex-direction: column; gap: .2rem;
}
.ckg-card__vehicle {
	font-family: var(--ff-display);
	font-weight: 400;
	font-size: 1.45rem;
	line-height: 1;
	color: var(--c-white);
}
.ckg-card__note {
	font-family: var(--ff-body);
	font-size: .82rem;
	line-height: 1.35;
	color: rgba(255,255,255,0.82);
}

/* Lightbox */
.ckg-lb {
	position: fixed; inset: 0;
	z-index: 1000;
	display: flex; align-items: center; justify-content: center;
	background: rgba(18,18,18,0.95);
	padding: clamp(1rem, 4vw, 3rem);
}
/* UA [hidden] (0,0,1,0) ties .ckg-lb display:flex → author wins and leaks.
   Explicit [hidden] rule (0,0,2,0) restores hiding. */
.ckg-lb[hidden] { display: none; }
body.ckg-lb-open { overflow: hidden; }
.ckg-lb__stage {
	margin: 0;
	display: flex; flex-direction: column; align-items: center; gap: .9rem;
	max-width: 100%;
}
.ckg-lb__img {
	max-width: min(92vw, 1400px);
	max-height: 82vh;
	object-fit: contain;
	border-radius: 8px;
	box-shadow: 0 20px 60px rgba(0,0,0,0.5);
	animation: ckgFade .25s ease-out;
}
@keyframes ckgFade { from { opacity: 0; } to { opacity: 1; } }
.ckg-lb__cap {
	font-family: var(--ff-body);
	font-size: .9rem;
	color: rgba(255,255,255,0.8);
	text-align: center;
	max-width: 70ch;
}
.ckg-lb__close, .ckg-lb__nav {
	position: absolute;
	z-index: 2;
	display: flex; align-items: center; justify-content: center;
	color: var(--c-white);
	background: rgba(255,255,255,0.1);
	border: 1px solid rgba(255,255,255,0.18);
	cursor: pointer;
	transition: background .2s ease-out;
}
.ckg-lb__close:hover, .ckg-lb__nav:hover { background: rgba(255,255,255,0.22); }
.ckg-lb__close {
	top: 1.1rem; right: 1.1rem;
	width: 44px; height: 44px;
	border-radius: 50%;
	font-size: 1.6rem; line-height: 1;
}
.ckg-lb__nav {
	top: 50%; transform: translateY(-50%);
	width: 48px; height: 48px;
	border-radius: 50%;
	font-size: 2rem; line-height: 1;
}
.ckg-lb__nav--prev { left: clamp(.6rem, 2vw, 2rem); }
.ckg-lb__nav--next { right: clamp(.6rem, 2vw, 2rem); }
.ckg-lb__counter {
	position: absolute; bottom: 1.1rem; left: 50%; transform: translateX(-50%);
	font-family: var(--ff-body); font-size: .8rem;
	color: rgba(255,255,255,0.7);
}
@media (prefers-reduced-motion: reduce) {
	.ckg-card__media img, .ckg-lb__img { transition: none; animation: none; }
}
@media (max-width: 600px) {
	/* Builds gallery — single column on phones (Orne 2026-06-01). The old
	   2-col minmax(150px) layout crushed each build into a ~150px portrait
	   card with the overlaid Bebas title + note fighting for space and the
	   note effectively unreadable. One full-width landscape card per row
	   gives the image room to breathe and the caption a legible size. */
	.ckg__grid { grid-template-columns: 1fr; gap: .85rem; }
	.ckg-card { aspect-ratio: 16 / 10; }
	.ckg-card__body { padding: 1rem 1.15rem 1.2rem; gap: .25rem; }
	.ckg-card__vehicle { font-size: 1.65rem; }
	.ckg-card__note { font-size: .86rem; line-height: 1.4; }
	.ckg-lb__nav { width: 40px; height: 40px; font-size: 1.6rem; }
}

/* Narrow phones — keep the single column but trim the image height a touch
   so a build card + its caption still fit comfortably above the fold. */
@media (max-width: 380px) {
	.ckg-card { aspect-ratio: 3 / 2; }
	.ckg-card__vehicle { font-size: 1.45rem; }
}
