/* ModernCrochetNook brand layer — bento-grid, black/white/electric-indigo, all-sans */

:root {
	--mcn-ink: #0b0b0f;
	--mcn-accent: #4f3ff0;
	--mcn-accent-dark: #3a2ed1;
	--mcn-bg: #fafafa;
	--mcn-surface: #ffffff;
	--mcn-text-secondary: #5a5a63;
	--mcn-border: #e2e2e6;
	--mcn-font-heading: "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--mcn-font-body: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
	background: var(--mcn-bg);
	color: var(--mcn-ink);
	font-family: var(--mcn-font-body);
	font-size: 17px;
	font-weight: 400;
	line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--mcn-font-heading);
	font-weight: 700;
	text-transform: none;
	letter-spacing: -0.01em;
	color: var(--mcn-ink);
}

a {
	color: var(--mcn-accent);
}

a:hover, a:focus {
	opacity: 1;
	color: var(--mcn-accent-dark);
}

.entry-title a {
	color: var(--mcn-ink);
}

/* Minimal glass header, logo left / nav right */
.site-header {
	background: rgba(250, 250, 250, 0.75);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border-bottom: 1px solid var(--mcn-border);
	position: sticky;
	top: 0;
	z-index: 100;
}

.site-header .wrap {
	max-width: 1320px;
	margin: 0 auto;
	padding: 18px 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.site-title,
.site-title a {
	font-family: var(--mcn-font-heading);
	font-weight: 700;
	font-size: 22px;
	letter-spacing: -0.02em;
	color: var(--mcn-ink);
}

.site-description {
	display: none;
}

.nav-primary {
	border: none;
}

.nav-primary .wrap {
	max-width: 1320px;
	margin: 0 auto;
	padding: 0 24px 16px;
	display: block;
}

.nav-primary ul.genesis-nav-menu {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 4px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.nav-primary .menu-item {
	list-style: none;
}

.nav-primary .genesis-nav-menu a {
	display: inline-block;
	padding: 8px 16px;
	border-radius: 999px;
	color: var(--mcn-text-secondary);
	font-family: var(--mcn-font-body);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-primary .genesis-nav-menu a:hover,
.nav-primary .genesis-nav-menu a[aria-current="page"] {
	background: var(--mcn-ink);
	color: #fff;
	opacity: 1;
}

/* Pill buttons — fully rounded, black default, indigo on hover */
.wp-block-button__link {
	border-radius: 999px !important;
	background: var(--mcn-ink) !important;
	color: #fff !important;
	padding: 13px 26px !important;
	font-family: var(--mcn-font-body);
	font-weight: 700;
	font-size: 14px;
	border: none !important;
	transition: background-color 0.2s ease, transform 0.15s ease;
}

.wp-block-button__link:hover {
	background: var(--mcn-accent) !important;
	transform: translateY(-2px);
}

.wp-block-button.is-style-outline .wp-block-button__link {
	background: transparent !important;
	color: var(--mcn-ink) !important;
	border: 1.5px solid var(--mcn-ink) !important;
}

.wp-block-button.is-style-outline .wp-block-button__link:hover {
	background: var(--mcn-ink) !important;
	color: #fff !important;
}

/* Bento grid system */
.mcn-bento {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-auto-rows: 200px;
	grid-auto-flow: dense;
	gap: 20px;
	max-width: 1320px;
	margin: 0 auto;
	padding: 32px 24px;
}

.mcn-cell {
	border-radius: 28px;
	padding: 30px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	overflow: hidden;
	position: relative;
	text-decoration: none !important;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.mcn-cell:hover {
	transform: translateY(-5px);
}

.mcn-cell--dark {
	background: var(--mcn-ink);
	color: #fff;
}

.mcn-cell--dark h2, .mcn-cell--dark h3, .mcn-cell--dark p { color: #fff; }

.mcn-cell--accent {
	background: var(--mcn-accent);
	color: #fff;
}

.mcn-cell--accent h2, .mcn-cell--accent h3, .mcn-cell--accent p { color: #fff; }

.mcn-cell--outline {
	background: var(--mcn-surface);
	border: 1.5px solid var(--mcn-ink);
	color: var(--mcn-ink);
}

.mcn-cell--photo {
	background-size: cover;
	background-position: center;
	color: #fff;
	filter: none;
}

.mcn-cell--photo::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(11, 11, 15, 0) 40%, rgba(11, 11, 15, 0.75) 100%);
	z-index: 0;
}

.mcn-cell--photo > * {
	position: relative;
	z-index: 1;
}

.mcn-cell--photo h2, .mcn-cell--photo h3, .mcn-cell--photo p { color: #fff; }

.mcn-eyebrow {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	opacity: 0.7;
}

.mcn-cell h2 {
	font-size: 24px;
	margin: 8px 0 0;
}

.mcn-cell .mcn-big {
	font-family: var(--mcn-font-heading);
	font-size: 40px;
	font-weight: 700;
	line-height: 1;
	margin: 0;
}

.mcn-cell p {
	margin: 8px 0 0;
	font-size: 15px;
}

.mcn-cell .mcn-arrow {
	align-self: flex-end;
	font-size: 22px;
	transition: transform 0.2s ease;
}

.mcn-cell:hover .mcn-arrow {
	transform: translateX(4px);
}

/* span / row helpers */
.mcn-c1 { grid-column: span 1; }
.mcn-c2 { grid-column: span 2; }
.mcn-c3 { grid-column: span 3; }
.mcn-c4 { grid-column: span 4; }
.mcn-r2 { grid-row: span 2; }

/* Hero cell */
.mcn-hero {
	justify-content: flex-end;
}

.mcn-hero-title {
	font-size: clamp(30px, 3.4vw, 44px);
	line-height: 1.08;
	color: #fff;
	margin: 10px 0 20px;
	max-width: 480px;
}

.mcn-hero-search {
	display: flex;
	max-width: 420px;
	background: rgba(255, 255, 255, 0.95);
	border-radius: 999px;
	overflow: hidden;
	padding: 4px;
}

.mcn-hero-search-field {
	flex: 1;
	border: none;
	background: transparent;
	padding: 12px 16px;
	font-family: var(--mcn-font-body);
	font-size: 14px;
	color: var(--mcn-ink);
}

.mcn-hero-search-field:focus {
	outline: none;
}

.mcn-hero-search-submit {
	border: none;
	border-radius: 999px;
	background: var(--mcn-ink);
	color: #fff;
	padding: 12px 22px;
	font-family: var(--mcn-font-body);
	font-weight: 700;
	font-size: 13px;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.mcn-hero-search-submit:hover {
	background: var(--mcn-accent);
}

/* New This Week — natural-flow section between bento blocks */
.mcn-section-label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--mcn-ink);
	color: #fff;
	border-radius: 999px;
	padding: 8px 18px;
	font-size: 13px;
	font-weight: 700;
	margin-bottom: 20px;
}

.mcn-section-label .mcn-dot-live {
	width: 7px;
	height: 7px;
	border-radius: 999px;
	background: var(--mcn-accent);
}

.mcn-section {
	max-width: 1320px;
	margin: 0 auto;
	padding: 8px 24px 32px;
}

.mcn-section h2 {
	font-size: 28px;
	margin: 0 0 24px;
}

/* Minimal single-row footer */
.site-footer {
	background: var(--mcn-ink);
	color: #f2f2f4;
}

.site-footer a {
	color: #f2f2f4;
	opacity: 0.85;
	text-decoration: none;
	transition: opacity 0.2s ease;
}

.site-footer a:hover {
	opacity: 1;
	color: var(--mcn-accent);
}

.site-footer .wrap {
	max-width: 1320px;
	margin: 0 auto;
	padding: 32px 24px;
}

.mcn-footer-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 16px;
}

.mcn-footer-brand {
	font-family: var(--mcn-font-heading);
	font-weight: 700;
	font-size: 19px;
	margin: 0;
	white-space: nowrap;
}

.mcn-dot {
	color: var(--mcn-accent);
}

.mcn-footer-links {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 20px;
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 13px;
}

.mcn-footer-bottom {
	margin-top: 20px;
	padding-top: 16px;
	border-top: 1px solid rgba(242, 242, 244, 0.12);
	font-size: 12px;
	opacity: 0.6;
}

.mcn-footer-bottom p { margin: 0; }

/* Cards, images: subtle motion */
.entry-image img, .entry img, .wp-block-image img {
	transition: transform 0.35s ease;
	border-radius: 20px;
}

a:hover .entry-image img, a:hover.entry-image img {
	transform: scale(1.03);
}

/* FAQ — bordered cards instead of underline list */
.mcn-faq-item {
	border: 1.5px solid var(--mcn-ink);
	border-radius: 20px;
	padding: 22px 26px;
	margin-bottom: 14px;
}

.mcn-faq-item summary {
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: space-between;
	list-style: none;
	font-family: var(--mcn-font-heading);
	font-size: 17px;
	font-weight: 700;
	color: var(--mcn-ink);
}

.mcn-faq-item summary::-webkit-details-marker {
	display: none;
}

.mcn-faq-item summary::after {
	content: "+";
	flex: 0 0 auto;
	margin-left: 16px;
	font-family: var(--mcn-font-body);
	font-size: 22px;
	color: var(--mcn-accent);
	transition: transform 0.2s ease;
}

.mcn-faq-item[open] summary::after {
	transform: rotate(45deg);
}

.mcn-faq-item p {
	margin: 14px 0 0;
	color: var(--mcn-text-secondary);
}

/* Category photography (used on interior pages) */
.mcn-category-photo { margin: 0 0 20px; }

.mcn-category-photo img {
	width: 100%;
	height: 340px;
	object-fit: cover;
	border-radius: 24px;
}

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

@media (max-width: 900px) {
	.mcn-bento {
		grid-template-columns: repeat(2, 1fr);
		grid-auto-rows: 180px;
	}

	.mcn-c1, .mcn-c2, .mcn-c3, .mcn-c4 {
		grid-column: span 2;
	}

	.mcn-r2 {
		grid-row: span 2;
	}
}

@media (max-width: 560px) {
	.mcn-bento {
		grid-template-columns: 1fr;
		grid-auto-rows: minmax(160px, auto);
	}

	.mcn-c1, .mcn-c2, .mcn-c3, .mcn-c4 {
		grid-column: span 1;
	}

	.mcn-r2 {
		grid-row: span 1;
	}

	.mcn-cell {
		padding: 24px;
	}

	.site-title, .site-title a {
		font-size: 19px;
	}
}
