/* ==========================================================================
   Brookie's Crafty Creations — main stylesheet (modern print-shop edition)
   Token system: paper white / ink black / process cyan-magenta-yellow accents.
   Signature motif: CMYK registration marks + a precise, hairline grid.
   ========================================================================== */

:root {
	--bcc-paper: #ffffff;
	--bcc-surface: #f4f4f5;
	--bcc-ink: #131417;
	--bcc-line: #e2e2e5;
	--bcc-gray: #6b6f76;

	--bcc-cyan: #00c8ff;
	--bcc-magenta: #ff0072;
	--bcc-magenta-dark: #d1005d;
	--bcc-yellow: #ffd500;

	--bcc-font-display: "Space Grotesk", sans-serif;
	--bcc-font-body: "Inter", sans-serif;
	--bcc-font-mono: "IBM Plex Mono", monospace;

	--bcc-container: 1200px;
	--bcc-radius: 2px;
}

/* --- Reset & base ------------------------------------------------------ */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--bcc-paper);
	color: var(--bcc-ink);
	font-family: var(--bcc-font-body);
	font-size: 1.05rem;
	line-height: 1.6;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: inherit;
}

h1, h2, h3, h4 {
	font-family: var(--bcc-font-display);
	line-height: 1.1;
	margin: 0 0 0.5em;
	font-weight: 600;
	letter-spacing: -0.01em;
}

p {
	margin: 0 0 1em;
}

ul, ol {
	margin: 0;
	padding: 0;
}

.screen-reader-text {
	position: absolute !important;
	clip: rect(1px, 1px, 1px, 1px);
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.bcc-skip-link:focus {
	position: fixed;
	top: 8px;
	left: 8px;
	z-index: 9999;
	width: auto;
	height: auto;
	background: var(--bcc-ink);
	color: var(--bcc-paper);
	padding: 10px 16px;
	border-radius: var(--bcc-radius);
}

:focus-visible {
	outline: 2px solid var(--bcc-magenta);
	outline-offset: 2px;
}

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

.bcc-container {
	max-width: var(--bcc-container);
	margin: 0 auto;
	padding: 0 24px;
}

.bcc-narrow {
	max-width: 760px;
}

.bcc-section {
	padding: 88px 0;
	border-top: 1px solid var(--bcc-line);
}

.bcc-label-eyebrow {
	font-family: var(--bcc-font-mono);
	font-size: 0.72rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--bcc-magenta);
	margin: 0 0 12px;
}

.bcc-page-title {
	font-size: clamp(2rem, 4vw, 2.75rem);
	margin-bottom: 0.4em;
}

.bcc-section-title {
	font-size: clamp(1.5rem, 3vw, 2.1rem);
	margin-bottom: 1em;
}

.bcc-lede {
	font-size: 1.1rem;
	max-width: 55ch;
	color: var(--bcc-gray);
}

.bcc-mono-meta {
	font-family: var(--bcc-font-mono);
	font-size: 0.8rem;
	color: var(--bcc-gray);
	margin: 0 0 6px;
}

/* --- CMYK registration mark (brand signature) --------------------------- */
.bcc-regmark {
	position: relative;
	display: inline-grid;
	grid-template-columns: 6px 6px;
	grid-template-rows: 6px 6px;
	gap: 2px;
	width: 14px;
	height: 14px;
}

.bcc-regmark-dot {
	border-radius: 50%;
}

.bcc-regmark-dot--c { background: var(--bcc-cyan); }
.bcc-regmark-dot--m { background: var(--bcc-magenta); }
.bcc-regmark-dot--y { background: var(--bcc-yellow); }
.bcc-regmark-dot--k { background: var(--bcc-ink); }

.bcc-brand-logo {
	width: 48px;
	height: 48px;
	object-fit: contain;
	display: inline-block;
}

/* --- Header ------------------------------------------------------------ */
.bcc-header {
	background: var(--bcc-paper);
	border-bottom: 1px solid var(--bcc-line);
	position: sticky;
	top: 0;
	z-index: 50;
}

.bcc-header::before {
	content: "";
	display: block;
	height: 4px;
	background: linear-gradient(
		90deg,
		var(--bcc-cyan) 0 25%,
		var(--bcc-magenta) 25% 50%,
		var(--bcc-yellow) 50% 75%,
		var(--bcc-ink) 75% 100%
	);
}

.bcc-header-inner {
	max-width: var(--bcc-container);
	margin: 0 auto;
	padding: 18px 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	position: relative;
}

.bcc-brand-mark {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: var(--bcc-font-display);
	font-size: 1.3rem;
	font-weight: 600;
	color: var(--bcc-ink);
	text-decoration: none;
}

.bcc-nav-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 40px;
	height: 36px;
	background: transparent;
	border: 1px solid var(--bcc-line);
	border-radius: var(--bcc-radius);
	cursor: pointer;
}

.bcc-nav-toggle span {
	display: block;
	height: 2px;
	width: 18px;
	margin: 0 auto;
	background: var(--bcc-ink);
}

.bcc-primary-nav {
	display: flex;
	align-items: center;
	gap: 32px;
}

.bcc-nav-menu {
	display: flex;
	align-items: center;
	gap: 26px;
	list-style: none;
	font-size: 0.92rem;
}

.bcc-nav-menu a {
	text-decoration: none;
	color: var(--bcc-ink);
	opacity: 0.75;
}

.bcc-nav-menu a:hover {
	opacity: 1;
	color: var(--bcc-magenta);
}

.bcc-nav-cta {
	font-family: var(--bcc-font-mono);
	font-size: 0.78rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-decoration: none;
	background: var(--bcc-magenta);
	color: var(--bcc-paper);
	padding: 9px 18px;
	border-radius: var(--bcc-radius);
	white-space: nowrap;
}

.bcc-nav-cta:hover {
	background: var(--bcc-magenta-dark);
}

@media (max-width: 860px) {
	.bcc-nav-toggle {
		display: flex;
	}
	.bcc-primary-nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: var(--bcc-paper);
		border-bottom: 1px solid var(--bcc-line);
		flex-direction: column;
		align-items: flex-start;
		padding: 16px 24px 24px;
		display: none;
		gap: 18px;
	}
	.bcc-primary-nav.is-open {
		display: flex;
	}
	.bcc-nav-menu {
		flex-direction: column;
		align-items: flex-start;
		gap: 14px;
	}
}

/* --- Buttons ------------------------------------------------------------ */
.bcc-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-family: var(--bcc-font-mono);
	font-size: 0.82rem;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	text-decoration: none;
	padding: 13px 26px;
	border-radius: var(--bcc-radius);
	border: 1px solid transparent;
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.bcc-button--primary {
	background: var(--bcc-magenta);
	color: var(--bcc-paper);
}

.bcc-button--primary:hover {
	background: var(--bcc-magenta-dark);
}

.bcc-button--ghost {
	border-color: var(--bcc-ink);
	color: var(--bcc-ink);
	background: transparent;
}

.bcc-button--ghost:hover {
	background: var(--bcc-ink);
	color: var(--bcc-paper);
}

.bcc-button--outline {
	border-color: var(--bcc-line);
	color: var(--bcc-ink);
	background: transparent;
}

.bcc-button--outline:hover {
	border-color: var(--bcc-ink);
}

.bcc-hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 1.6em;
}

/* --- Hero ---------------------------------------------------------------- */
.bcc-hero {
	background: var(--bcc-paper);
	padding: 96px 0;
}

.bcc-hero-inner {
	display: grid;
	grid-template-columns: 1.2fr 0.8fr;
	gap: 56px;
	align-items: center;
}

.bcc-hero-title {
	font-size: clamp(2.3rem, 5vw, 3.4rem);
	max-width: 15ch;
}

.bcc-hero-media {
	display: flex;
	justify-content: center;
}

.bcc-gangsheet-grid {
	display: grid;
	grid-template-columns: repeat(3, 72px);
	grid-template-rows: repeat(2, 72px);
	gap: 6px;
	background: var(--bcc-surface);
	padding: 6px;
	border: 1px solid var(--bcc-line);
}

.bcc-gs {
	display: block;
}

.bcc-gs--c { background: var(--bcc-cyan); }
.bcc-gs--m { background: var(--bcc-magenta); }
.bcc-gs--y { background: var(--bcc-yellow); }
.bcc-gs--k { background: var(--bcc-ink); }
.bcc-gs--m2 { background: var(--bcc-magenta-dark); }
.bcc-gs--c2 { background: var(--bcc-yellow); }

@media (max-width: 900px) {
	.bcc-hero-inner {
		grid-template-columns: 1fr;
	}
	.bcc-hero-media {
		order: -1;
	}
	.bcc-gangsheet-grid {
		grid-template-columns: repeat(3, 56px);
		grid-template-rows: repeat(2, 56px);
	}
}

/* --- Process steps -------------------------------------------------------- */
.bcc-process-list {
	list-style: none;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0;
	margin-top: 32px;
	border-top: 1px solid var(--bcc-line);
	border-left: 1px solid var(--bcc-line);
}

.bcc-process-step {
	padding: 28px 28px 32px;
	border-right: 1px solid var(--bcc-line);
	border-bottom: 1px solid var(--bcc-line);
}

.bcc-process-num {
	display: block;
	font-family: var(--bcc-font-mono);
	font-size: 0.85rem;
	color: var(--bcc-gray);
	margin-bottom: 14px;
}

.bcc-process-step h3 {
	font-family: var(--bcc-font-display);
	font-weight: 600;
	font-size: 1.1rem;
	margin-bottom: 0.5em;
}

.bcc-process-step p {
	font-size: 0.95rem;
	color: var(--bcc-gray);
	margin: 0;
}

@media (max-width: 780px) {
	.bcc-process-list {
		grid-template-columns: 1fr;
	}
}

/* --- Tag / product cards ---------------------------------------------------- */
.bcc-tag-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1px;
	background: var(--bcc-line);
	border: 1px solid var(--bcc-line);
	margin-top: 28px;
}

.bcc-tag-card {
	position: relative;
	list-style: none;
	background: var(--bcc-paper);
}

.bcc-tag-card-link {
	display: block;
	text-decoration: none;
	color: inherit;
}

.bcc-tag-card-media {
	position: relative;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: var(--bcc-surface);
}

.bcc-tag-card-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.bcc-media-placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--bcc-font-mono);
	font-size: 1.1rem;
	letter-spacing: 0.1em;
	color: var(--bcc-gray);
	background: var(--bcc-surface);
}

.bcc-media-placeholder--large {
	aspect-ratio: 16 / 10;
	font-size: 1.4rem;
}

.bcc-tag-card-body {
	padding: 20px 22px 26px;
}

.bcc-tag-card-body--cart {
	padding-top: 0;
}

.bcc-tag-card-body--cart .bcs-add-to-cart {
	width: 100%;
}

.bcc-tag-card-row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
}

.bcc-tag-card-title {
	font-size: 1.1rem;
	margin-bottom: 0.35em;
}

.bcc-price {
	font-family: var(--bcc-font-mono);
	font-size: 0.9rem;
	color: var(--bcc-magenta);
	white-space: nowrap;
}

.bcc-tag-card-excerpt {
	font-size: 0.92rem;
	color: var(--bcc-gray);
}

.bcc-tag-card-excerpt p {
	margin: 0;
}

@media (max-width: 980px) {
	.bcc-tag-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 640px) {
	.bcc-tag-grid {
		grid-template-columns: 1fr;
	}
}

.bcc-pagination {
	margin-top: 40px;
	font-family: var(--bcc-font-mono);
	display: flex;
	gap: 20px;
}

.bcc-pagination a,
.bcc-pagination span {
	text-decoration: none;
	color: var(--bcc-magenta);
}

.bcc-empty-state {
	background: var(--bcc-surface);
	border: 1px dashed var(--bcc-line);
	border-radius: var(--bcc-radius);
	padding: 32px;
	margin-top: 24px;
}

.bcc-center-cta {
	text-align: center;
	margin-top: 40px;
}

/* --- Shop archive -------------------------------------------------------- */
.bcc-shop-hero {
	background: var(--bcc-paper);
	padding: 64px 0 48px;
}

.bcc-chip-row {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 8px;
}

.bcc-chip {
	font-family: var(--bcc-font-mono);
	font-size: 0.78rem;
	text-decoration: none;
	color: var(--bcc-ink);
	border: 1px solid var(--bcc-line);
	border-radius: 999px;
	padding: 7px 16px;
}

.bcc-chip--active,
.bcc-chip:hover {
	background: var(--bcc-ink);
	color: var(--bcc-paper);
	border-color: var(--bcc-ink);
}

/* --- Single product -------------------------------------------------------- */
.bcc-product-single {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 56px;
	align-items: start;
}

.bcc-product-price {
	font-family: var(--bcc-font-mono);
	font-size: 1.3rem;
	color: var(--bcc-magenta);
}

.bcc-product-options {
	margin-bottom: 1.4em;
}

.bcc-product-content {
	margin-bottom: 1.6em;
}

.bcc-buy-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-bottom: 12px;
}

.bcc-buy-note {
	margin-bottom: 1.4em;
}

.bcc-product-notes {
	list-style: none;
	margin-top: 28px;
	padding-top: 20px;
	border-top: 1px solid var(--bcc-line);
}

.bcc-product-notes li {
	font-size: 0.92rem;
	color: var(--bcc-gray);
	margin-bottom: 6px;
}

@media (max-width: 860px) {
	.bcc-product-single {
		grid-template-columns: 1fr;
	}
}

/* --- Gang sheet callout ---------------------------------------------------- */
.bcc-gangsheet-cta {
	background: var(--bcc-surface);
}

.bcc-gangsheet-inner {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 40px;
	align-items: center;
}

.bcc-size-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
	align-items: flex-start;
}

.bcc-size-chip {
	font-family: var(--bcc-font-mono);
	font-size: 0.85rem;
	background: var(--bcc-paper);
	border: 1px solid var(--bcc-line);
	padding: 8px 16px;
	border-radius: var(--bcc-radius);
}

@media (max-width: 860px) {
	.bcc-gangsheet-inner {
		grid-template-columns: 1fr;
	}
}

/* --- Testimonials -------------------------------------------- */
.bcc-note-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1px;
	background: var(--bcc-line);
	border: 1px solid var(--bcc-line);
	margin-top: 30px;
}

.bcc-note {
	margin: 0;
	background: var(--bcc-paper);
	padding: 28px 26px;
	font-size: 0.98rem;
	border-top: 2px solid transparent;
}

.bcc-note--c { border-top-color: var(--bcc-cyan); }
.bcc-note--m { border-top-color: var(--bcc-magenta); }
.bcc-note--y { border-top-color: var(--bcc-yellow); }

.bcc-note cite {
	display: block;
	margin-top: 14px;
	font-family: var(--bcc-font-mono);
	font-size: 0.76rem;
	font-style: normal;
	color: var(--bcc-gray);
}

@media (max-width: 980px) {
	.bcc-note-grid {
		grid-template-columns: 1fr;
	}
}

/* --- Content tables (pricing, etc.) ---------------------------------------- */
.bcc-post-content .wp-block-table {
	margin: 0 0 2em;
	overflow-x: auto;
}

.bcc-post-content table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.95rem;
}

.bcc-post-content th,
.bcc-post-content td {
	border: 1px solid var(--bcc-line);
	padding: 12px 16px;
	text-align: left;
}

.bcc-post-content thead th {
	background: var(--bcc-ink);
	color: var(--bcc-paper);
	font-family: var(--bcc-font-mono);
	font-size: 0.78rem;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	font-weight: 400;
}

.bcc-post-content tbody tr:nth-child(even) {
	background: var(--bcc-surface);
}

.bcc-post-content tbody td:first-child {
	font-family: var(--bcc-font-mono);
	color: var(--bcc-gray);
}

.bcc-post-content ul {
	list-style: none;
	margin: 0 0 2em;
	padding: 0;
}

.bcc-post-content ul li {
	position: relative;
	padding-left: 20px;
	margin-bottom: 8px;
	color: var(--bcc-gray);
	font-size: 0.95rem;
}

.bcc-post-content ul li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 8px;
	width: 6px;
	height: 6px;
	background: var(--bcc-magenta);
	border-radius: 50%;
}

.bcc-post-content .wp-block-buttons {
	margin: 1.6em 0;
}

.bcc-post-content .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	font-family: var(--bcc-font-mono);
	font-size: 0.82rem;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	text-decoration: none;
	padding: 13px 26px;
	border-radius: var(--bcc-radius);
	background: var(--bcc-magenta);
	color: var(--bcc-paper);
	transition: background 0.15s ease;
}

.bcc-post-content .wp-block-button__link:hover {
	background: var(--bcc-magenta-dark);
	color: var(--bcc-paper);
}

/* --- Blog post / page ------------------------------------------------------ */
.bcc-post-media {
	margin: 24px 0;
	overflow: hidden;
}

.bcc-post-content {
	font-size: 1.05rem;
}

.bcc-post-content h2 {
	font-size: 1.5rem;
	margin-top: 1.4em;
}

.bcc-post-tags {
	margin-top: 32px;
	padding-top: 16px;
	border-top: 1px solid var(--bcc-line);
	font-size: 0.9rem;
}

.bcc-comments {
	margin-top: 48px;
}

/* --- 404 ------------------------------------------------------------------- */
.bcc-404-card {
	background: var(--bcc-surface);
	padding: 56px 40px;
	text-align: center;
	border: 1px solid var(--bcc-line);
}

/* --- Footer ------------------------------------------------------------------ */
.bcc-footer {
	background: var(--bcc-ink);
	color: var(--bcc-paper);
}

.bcc-footer-inner {
	max-width: var(--bcc-container);
	margin: 0 auto;
	padding: 48px 24px 32px;
	display: grid;
	grid-template-columns: 1.3fr 1fr 1fr;
	gap: 40px;
}

.bcc-footer .bcc-label-eyebrow {
	color: var(--bcc-yellow);
}

.bcc-footer-title {
	color: var(--bcc-paper);
	font-size: 1.3rem;
}

.bcc-care-list {
	list-style: none;
	margin-top: 14px;
}

.bcc-care-list li {
	font-size: 0.9rem;
	color: rgba(255, 255, 255, 0.7);
	padding-left: 0;
	margin-bottom: 8px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	padding-bottom: 8px;
}

.bcc-footer-menu {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 14px;
}

.bcc-footer-menu a {
	text-decoration: none;
	color: rgba(255, 255, 255, 0.8);
	font-size: 0.95rem;
}

.bcc-footer-menu a:hover {
	color: var(--bcc-yellow);
}

.bcc-footer-widget-title {
	font-size: 1rem;
	color: var(--bcc-paper);
}

.bcc-footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding: 18px 24px;
	text-align: center;
	font-family: var(--bcc-font-mono);
	font-size: 0.76rem;
	color: rgba(255, 255, 255, 0.55);
}

@media (max-width: 780px) {
	.bcc-footer-inner {
		grid-template-columns: 1fr;
	}
}
