/* MrDesignz — black, white & gold.
   Mobile-first; breakpoints at 640px, 900px, 1180px. */

:root {
	--ink: #0b0b0c;
	--ink-2: #141416;
	--ink-3: #1f1f22;
	--paper: #f7f4ec;
	--white: #ffffff;
	--gold: #c9a646;
	--gold-soft: #e6cf8a;
	--gold-deep: #7d6118; /* gold for text on light backgrounds (AA) */
	--muted-dark: #a6a39b; /* body text on ink */
	--muted-light: #5c5a55; /* body text on paper/white */
	--line-dark: rgba(255, 255, 255, 0.1);
	--line-light: rgba(11, 11, 12, 0.1);

	--serif: "Fraunces", Georgia, "Times New Roman", serif;
	--sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

	--wrap: 1200px;
	--narrow: 720px;
	--gutter: 20px;
	--radius: 4px;
	--ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
	margin: 0;
	font-family: var(--sans);
	font-size: 17px;
	line-height: 1.65;
	color: var(--ink);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.1; letter-spacing: -0.015em; margin: 0 0 0.5em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
::selection { background: var(--gold); color: var(--ink); }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--gold); color: var(--ink); padding: 10px 16px; font-weight: 700; }
.skip-link:focus { left: 8px; }
.hp { position: absolute; left: -9999px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: calc(var(--narrow) + var(--gutter) * 2); }

/* ---------- Buttons & links ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 0 24px;
	font: 700 15px/1 var(--sans); letter-spacing: 0.01em;
	text-decoration: none; border: 1px solid transparent; border-radius: var(--radius);
	cursor: pointer; transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-soft); }
.btn-ghost { border-color: rgba(255, 255, 255, 0.28); color: var(--white); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-soft); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--ink-3); }
.link-gold, .link-dark { font-weight: 700; text-decoration: none; font-size: 15px; white-space: nowrap; }
.link-gold { color: var(--gold); }
.link-dark { color: var(--gold-deep); }
.link-gold:hover, .link-dark:hover { text-decoration: underline; text-underline-offset: 4px; }

.kicker {
	display: inline-block; margin: 0 0 18px;
	font: 700 12px/1.2 var(--sans); letter-spacing: 0.18em; text-transform: uppercase;
	color: var(--gold); text-decoration: none;
}
.kicker-dark { color: var(--gold-deep); }
.fine { font-size: 13px; color: var(--muted-light); margin-top: 12px; }
.fine-center { text-align: center; margin-top: 32px; }

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(11, 11, 12, 0.94); color: var(--white);
	-webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
	border-bottom: 1px solid transparent; transition: border-color 0.2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line-dark); }
.admin-bar .site-header { top: 46px; }
@media (min-width: 783px) { .admin-bar .site-header { top: 32px; } }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--white); }
.brand-mark {
	display: grid; place-items: center; width: 36px; height: 36px; border-radius: 8px;
	background: var(--gold); color: var(--ink); font: 700 21px/1 var(--serif);
}
.brand-word { font: 600 21px/1 var(--serif); letter-spacing: -0.01em; }
.brand-word em { font-style: italic; color: var(--gold); }
.custom-logo { max-height: 44px; width: auto; }

.nav-toggle {
	display: inline-grid; place-items: center; width: 44px; height: 44px;
	background: none; border: 1px solid var(--line-dark); border-radius: var(--radius); color: var(--white); cursor: pointer;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
	display: block; width: 18px; height: 2px; background: currentColor; position: relative; transition: transform 0.2s var(--ease);
}
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-open .nav-toggle-bars { background: transparent; }
.nav-open .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

.site-nav {
	display: none; position: absolute; left: 0; right: 0; top: 100%;
	background: var(--ink); border-top: 1px solid var(--line-dark); padding: 12px var(--gutter) 24px;
	max-height: calc(100vh - 72px); overflow-y: auto;
}
.nav-open .site-nav { display: block; }
.site-nav .menu { list-style: none; margin: 0; padding: 0; }
.site-nav .menu a { display: block; padding: 12px 0; text-decoration: none; font-weight: 600; font-size: 16px; border-bottom: 1px solid var(--line-dark); color: rgba(255, 255, 255, 0.86); }
.site-nav .menu a:hover, .site-nav .current-menu-item > a { color: var(--gold); }
.site-nav .sub-menu { list-style: none; padding-left: 16px; }
.nav-actions { display: flex; align-items: center; gap: 16px; margin-top: 20px; flex-wrap: wrap; }
.nav-search, .nav-cart { color: rgba(255, 255, 255, 0.86); text-decoration: none; font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }
.nav-search:hover, .nav-cart:hover { color: var(--gold); }
.cart-count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--ink-3); font-size: 11px; color: var(--gold); }

@media (min-width: 1180px) {
	.nav-toggle { display: none; }
	.site-nav { display: flex; align-items: center; gap: 28px; position: static; padding: 0; border: 0; background: none; max-height: none; overflow: visible; }
	.site-nav .menu { display: flex; gap: 22px; }
	.site-nav .menu a { padding: 8px 0; border: 0; font-size: 14px; position: relative; }
	.site-nav .menu > li > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.25s var(--ease); }
	.site-nav .menu > li > a:hover::after, .site-nav .menu > .current-menu-item > a::after { transform: scaleX(1); }
	.nav-actions { margin: 0; }
}

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section-tight { padding: 48px 0; }
.section-paper { background: var(--paper); }
.section-dark { background: var(--ink); color: var(--white); }
.section-dark h2 { color: var(--white); }
.section-gold { background: var(--gold); }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(30px, 5vw, 46px); margin: 0; }
.section-head-split { max-width: none; display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 32px; }
.section-head-split h2 { max-width: 640px; }
.section-title-sm { font-size: 28px; margin-bottom: 28px; }
@media (min-width: 900px) { .section { padding: 112px 0; } .section-tight { padding: 64px 0; } }

/* ---------- Hero ---------- */
.hero { background: var(--ink); color: var(--white); padding: 56px 0 72px; position: relative; overflow: hidden; }
.hero::before {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background: radial-gradient(60% 70% at 85% 30%, rgba(201, 166, 70, 0.14), transparent 70%);
}
.hero-grid { position: relative; display: grid; gap: 56px; align-items: center; }
.hero-title { font-size: clamp(42px, 9vw, 84px); font-weight: 600; line-height: 1.02; letter-spacing: -0.03em; margin-bottom: 24px; color: var(--white); }
.hero-title em { font-style: italic; font-weight: 400; color: var(--gold); }
.hero-text { font-size: 19px; color: var(--muted-dark); max-width: 520px; margin-bottom: 32px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-points { list-style: none; padding: 0; margin: 40px 0 0; display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: 14px; color: var(--muted-dark); }
.hero-points li { display: inline-flex; align-items: center; gap: 10px; }
.hero-points li::before { content: ""; width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg); }
@media (min-width: 900px) {
	.hero { padding: 96px 0 120px; }
	.hero-grid { grid-template-columns: 1.1fr 1fr; gap: 64px; }
}

/* Hero mood board */
.hero-board {
	display: grid; gap: 12px;
	grid-template-columns: repeat(6, 1fr);
	grid-template-rows: 120px 120px 150px;
	grid-template-areas:
		"logo logo sw sw sw sw"
		"logo logo type type post post"
		"card card card card post post";
}
.board-item { position: relative; background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: 6px; padding: 14px; overflow: hidden; }
.board-label { position: absolute; top: 12px; left: 14px; font-size: 10px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255, 255, 255, 0.4); }
.board-logo { grid-area: logo; display: grid; place-items: center; background: var(--gold); border-color: var(--gold); }
.board-logo .board-label { color: rgba(11, 11, 12, 0.55); }
.board-mark { font: italic 400 clamp(90px, 18vw, 150px)/1 var(--serif); color: var(--ink); margin-top: 6px; }
.board-swatches { grid-area: sw; display: flex; align-items: flex-end; gap: 8px; padding-top: 34px; }
.sw { flex: 1; height: 100%; border-radius: 3px; }
.sw-1 { background: var(--ink); border: 1px solid var(--line-dark); }
.sw-2 { background: var(--gold); }
.sw-3 { background: var(--paper); }
.sw-4 { background: var(--gold-deep); }
.board-type { grid-area: type; display: flex; flex-direction: column; justify-content: flex-end; }
.board-aa { font: 600 44px/1 var(--serif); color: var(--white); }
.board-font { font-size: 11px; color: var(--muted-dark); margin-top: 4px; }
.board-post { grid-area: post; display: flex; align-items: flex-end; background: linear-gradient(160deg, var(--ink-3), var(--ink)); }
.board-post-art { font: 600 30px/1 var(--serif); color: var(--white); }
.board-post-art em { display: block; color: var(--gold); font-style: italic; font-weight: 400; }
.board-cardmock { grid-area: card; display: grid; place-items: center; background: var(--paper); border-color: var(--paper); }
.board-cardmock .mk-card { width: 78%; }
@media (min-width: 640px) { .hero-board { grid-template-rows: 150px 150px 190px; gap: 14px; } }

/* ---------- Template mockups (pure CSS) ---------- */
.mk-card { position: relative; display: block; width: 72%; aspect-ratio: 1.75; }
.mk-card-back, .mk-card-front { position: absolute; inset: 0; border-radius: 6px; box-shadow: 0 18px 30px -18px rgba(0, 0, 0, 0.55); }
.mk-card-back { background: var(--gold); transform: rotate(-7deg) translate(-6%, 4%); }
.mk-card-front { background: var(--ink); display: flex; flex-direction: column; justify-content: flex-end; padding: 8% 9%; transform: rotate(3deg); color: var(--white); }
.mk-card-logo { position: absolute; top: 12%; left: 9%; font: italic 600 clamp(14px, 2.4vw, 22px)/1 var(--serif); color: var(--gold); }
.mk-card-name { font: 600 clamp(12px, 1.8vw, 16px)/1.2 var(--serif); }
.mk-card-role { font-size: clamp(8px, 1vw, 10px); color: var(--muted-dark); letter-spacing: 0.06em; }

.mk-social { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; width: 70%; aspect-ratio: 1; }
.mk-tile { display: flex; align-items: flex-end; padding: 10%; border-radius: 3px; font: 600 clamp(12px, 1.6vw, 16px)/1.05 var(--serif); }
.mk-tile em { font-style: italic; font-weight: 400; }
.mk-tile-a { background: var(--ink); color: var(--white); }
.mk-tile-a em { color: var(--gold); }
.mk-tile-b { background: var(--gold); color: var(--ink); font-size: clamp(20px, 3vw, 30px); }
.mk-tile-c { background: var(--white); color: var(--ink); }
.mk-tile-d { background: var(--ink-3); color: var(--gold); }

.mk-flyer { display: flex; flex-direction: column; justify-content: center; width: 52%; aspect-ratio: 0.72; padding: 9%; background: var(--paper); color: var(--ink); border-radius: 3px; box-shadow: 0 20px 34px -20px rgba(0, 0, 0, 0.6); transform: rotate(-3deg); }
.mk-flyer-top { font: italic 400 clamp(14px, 2vw, 20px)/1 var(--serif); color: var(--gold-deep); }
.mk-flyer-big { font: 700 clamp(22px, 3.4vw, 34px)/0.95 var(--serif); letter-spacing: -0.03em; }
.mk-flyer-rule { display: block; height: 2px; width: 40%; background: var(--gold); margin: 10% 0 8%; }
.mk-flyer-date { font-size: clamp(8px, 1vw, 10px); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }

/* ---------- Hubs ---------- */
.hub-grid { display: grid; gap: 1px; background: var(--line-light); border: 1px solid var(--line-light); }
.hub-card {
	position: relative; display: flex; flex-direction: column; gap: 8px;
	padding: 28px 24px 32px; background: var(--paper); text-decoration: none;
	transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.hub-num { font: 700 12px/1 var(--sans); letter-spacing: 0.16em; color: var(--gold-deep); }
.hub-title { font: 600 26px/1.1 var(--serif); margin-top: 18px; }
.hub-blurb { color: var(--muted-light); font-size: 15px; max-width: 320px; }
.hub-arrow { position: absolute; top: 24px; right: 24px; font-size: 20px; color: var(--gold-deep); transition: transform 0.25s var(--ease); }
.hub-card:hover { background: var(--ink); color: var(--white); }
.hub-card:hover .hub-blurb { color: var(--muted-dark); }
.hub-card:hover .hub-num, .hub-card:hover .hub-arrow { color: var(--gold); }
.hub-card:hover .hub-arrow { transform: translateX(4px); }
@media (min-width: 640px) { .hub-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .hub-grid { grid-template-columns: repeat(3, 1fr); } .hub-card { padding: 36px 32px 44px; min-height: 240px; } }

/* ---------- Products ---------- */
.product-grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .product-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.product-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.product-media {
	display: grid; place-items: center; aspect-ratio: 4 / 3; overflow: hidden;
	background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: 6px;
	transition: border-color 0.25s var(--ease);
}
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
a.product-card:hover .product-media { border-color: var(--gold); }
a.product-card:hover .product-media img { transform: scale(1.03); }
.product-media.mock-card { background: var(--paper); }
.product-media.mock-social { background: linear-gradient(150deg, var(--ink-3), var(--ink-2)); }
.product-media.mock-flyer { background: var(--gold); }
.product-body { display: flex; flex-direction: column; gap: 4px; padding-top: 16px; }
.product-title { font: 600 20px/1.2 var(--serif); }
.product-price { font-size: 14px; color: var(--gold); font-weight: 600; }
.section:not(.section-dark) .product-price { color: var(--gold-deep); }
.section:not(.section-dark) .product-media { background: var(--paper); border-color: var(--line-light); }

/* ---------- Post cards ---------- */
.post-grid { display: grid; gap: 40px 28px; }
@media (min-width: 640px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .post-grid { grid-template-columns: repeat(3, 1fr); } }
.post-card { display: flex; flex-direction: column; }
.post-card-media { display: block; aspect-ratio: 10 / 7; overflow: hidden; border-radius: 6px; background: var(--ink); margin-bottom: 18px; }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.post-card:hover .post-card-media img { transform: scale(1.03); }
.post-card-ph {
	display: grid; place-items: center; width: 100%; height: 100%;
	background: radial-gradient(80% 80% at 70% 20%, rgba(201, 166, 70, 0.3), transparent 60%), var(--ink);
}
.post-card-ph span { font: italic 400 26px/1 var(--serif); color: var(--gold); padding: 0 20px; text-align: center; }
.meta { font-size: 13px; font-weight: 600; color: var(--muted-light); margin-bottom: 8px; }
.meta a { color: var(--gold-deep); text-decoration: none; text-transform: uppercase; letter-spacing: 0.1em; font-size: 12px; }
.post-card-title { font-size: 23px; line-height: 1.2; margin-bottom: 10px; }
.post-card-title a { text-decoration: none; background: linear-gradient(var(--gold), var(--gold)) 0 100% / 0 1px no-repeat; transition: background-size 0.3s var(--ease); }
.post-card:hover .post-card-title a { background-size: 100% 1px; }
.post-card-excerpt { font-size: 15px; color: var(--muted-light); margin: 0; }

/* ---------- Lead magnet ---------- */
.magnet { display: grid; gap: 40px; align-items: center; }
.magnet h2 { font-size: clamp(30px, 5vw, 46px); }
.magnet-copy > p { max-width: 520px; color: rgba(11, 11, 12, 0.78); }
.magnet .fine { color: rgba(11, 11, 12, 0.7); }
.magnet-doc {
	justify-self: center; width: min(260px, 70%); aspect-ratio: 0.75; padding: 28px 24px;
	background: var(--white); border-radius: 4px; box-shadow: 0 30px 60px -30px rgba(11, 11, 12, 0.55);
	transform: rotate(-4deg); display: flex; flex-direction: column; gap: 10px;
}
.doc-title { font: 600 24px/1.05 var(--serif); margin-bottom: 10px; }
.doc-line { height: 6px; background: var(--paper); border-radius: 3px; }
.doc-line.short { width: 60%; }
.doc-check { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--gold-deep); }
.doc-check::after { content: ""; flex: 1; height: 6px; background: var(--paper); border-radius: 3px; }
.magnet .news-form input { border-color: rgba(11, 11, 12, 0.2); }
.magnet .btn-gold { background: var(--ink); color: var(--white); }
.magnet .btn-gold:hover { background: var(--ink-3); }
@media (min-width: 900px) { .magnet { grid-template-columns: 0.8fr 1.2fr; gap: 72px; } }

/* ---------- Forms ---------- */
.news-form { display: flex; flex-direction: column; gap: 10px; max-width: 520px; }
.news-form input {
	flex: 1; min-height: 52px; padding: 0 16px; font: 500 16px var(--sans);
	border: 1px solid var(--line-light); border-radius: var(--radius); background: var(--white); color: var(--ink);
}
@media (min-width: 640px) { .news-form { flex-direction: row; } }
.news-form.is-compact input { min-height: 46px; background: var(--ink-2); border-color: var(--line-dark); color: var(--white); }
.news-form.is-compact .btn { min-height: 46px; }
.form-notice { padding: 12px 16px; border-radius: var(--radius); font-size: 14px; font-weight: 600; margin: 12px 0; }
.form-notice.is-ok { background: rgba(201, 166, 70, 0.16); color: var(--ink); border-left: 3px solid var(--gold); }
.site-footer .form-notice.is-ok { color: var(--white); }
.form-notice.is-err { background: #fde8e8; color: #8a1c1c; border-left: 3px solid #c0392b; }

.form-layout { display: grid; gap: 40px; }
@media (min-width: 900px) { .form-layout { grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: start; } }
.card-form { display: grid; gap: 18px; padding: 28px; background: var(--paper); border-radius: 6px; scroll-margin-top: 100px; }
.card-form label { display: grid; gap: 6px; font-size: 14px; font-weight: 700; }
.card-form input, .card-form select, .card-form textarea {
	width: 100%; min-height: 48px; padding: 10px 14px; font: 500 16px var(--sans);
	border: 1px solid var(--line-light); border-radius: var(--radius); background: var(--white); color: var(--ink);
}
.card-form textarea { resize: vertical; }
.card-form input:focus, .card-form select:focus, .card-form textarea:focus, .news-form input:focus { outline: 2px solid var(--gold); outline-offset: 0; border-color: var(--gold); }
.form-row { display: grid; gap: 18px; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } .card-form { padding: 40px; } }
.contact-links { list-style: none; padding: 0; margin: 24px 0 0; }
.contact-links a { color: var(--gold-deep); font-weight: 700; text-decoration: none; }
.contact-links li { margin-bottom: 10px; }

.search-form { display: flex; gap: 8px; max-width: 560px; }
.search-form input { flex: 1; min-width: 0; min-height: 48px; padding: 0 16px; font: 500 16px var(--sans); border: 1px solid var(--line-light); border-radius: var(--radius); }
.hero-search { margin-top: 28px; }

/* ---------- Tools ---------- */
.tool-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .tool-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1180px) { .tool-grid { grid-template-columns: repeat(4, 1fr); } }
.tool-card {
	display: flex; flex-direction: column; gap: 8px; padding: 28px 24px;
	background: var(--white); border: 1px solid var(--line-light); border-radius: 6px; text-decoration: none;
	transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.tool-card:hover { border-color: var(--gold); transform: translateY(-3px); }
.tool-initial { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: var(--gold); font: 600 20px/1 var(--serif); margin-bottom: 12px; }
.tool-name { font: 600 20px/1.2 var(--serif); }
.tool-desc { font-size: 14px; color: var(--muted-light); flex: 1; }
.tool-go { font-size: 13px; font-weight: 700; color: var(--gold-deep); margin-top: 8px; }

/* ---------- Split CTAs ---------- */
.split-ctas { display: grid; gap: 20px; }
@media (min-width: 900px) { .split-ctas { grid-template-columns: 1fr 1fr; } }
.split-cta { padding: 40px 28px; border-radius: 6px; }
.split-cta h2 { font-size: clamp(28px, 4vw, 38px); }
.split-cta p { margin-bottom: 28px; max-width: 460px; }
.split-cta-dark { background: var(--ink); color: var(--white); }
.split-cta-dark p { color: var(--muted-dark); }
.split-cta-light { background: var(--paper); }
.split-cta-light p { color: var(--muted-light); }
@media (min-width: 640px) { .split-cta { padding: 56px 48px; } }

/* ---------- Page hero & content ---------- */
.page-hero { background: var(--ink); color: var(--white); padding: 64px 0 56px; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -10%; top: -40%; width: 50%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(201, 166, 70, 0.16), transparent); pointer-events: none; }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(38px, 7vw, 68px); max-width: 900px; color: var(--white); margin-bottom: 16px; }
.page-lede { font-size: 19px; color: var(--muted-dark); max-width: 640px; margin: 0; }
.page-hero .search-form input { background: var(--ink-2); border-color: var(--line-dark); color: var(--white); }
@media (min-width: 900px) { .page-hero { padding: 104px 0 88px; } }

.prose { font-size: 18px; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(28px, 4vw, 36px); margin-top: 1.8em; }
.prose h3 { font-size: 24px; margin-top: 1.6em; }
.prose a { color: var(--gold-deep); text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 0.4em; }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--gold); font: italic 400 24px/1.4 var(--serif); }
.prose img, .prose figure { border-radius: 6px; }
.prose figure { margin: 2em 0; }
.prose figcaption { font-size: 14px; color: var(--muted-light); margin-top: 8px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; display: block; overflow-x: auto; }
.prose th, .prose td { padding: 12px 14px; border-bottom: 1px solid var(--line-light); text-align: left; }
.prose th { background: var(--paper); font-weight: 700; }
.prose .wp-block-button__link { background: var(--gold); color: var(--ink); border-radius: var(--radius); font-weight: 700; text-decoration: none; }
.prose > :first-child { margin-top: 0; }

.disclosure { font-size: 14px; padding: 14px 18px; background: var(--paper); border-left: 3px solid var(--gold); border-radius: 0 var(--radius) var(--radius) 0; color: var(--muted-light); }
.disclosure a { color: var(--gold-deep); }

/* ---------- Article ---------- */
.article-hero { background: var(--ink); color: var(--white); padding: 64px 0 56px; }
.article-hero h1 { font-size: clamp(36px, 6vw, 58px); color: var(--white); }
.article-hero .meta { color: var(--muted-dark); margin: 0; }
.article-cover { margin: 0 auto; margin-top: -1px; padding-top: 40px; }
.article-cover img { width: 100%; border-radius: 6px; max-height: 620px; object-fit: cover; }
.article .prose { padding-top: 48px; padding-bottom: 24px; }
.article-cta { margin-top: 48px; margin-bottom: 24px; padding-top: 40px; padding-bottom: 40px; background: var(--paper); border-top: 3px solid var(--gold); }
.article-cta h2 { font-size: 30px; }
.article-cta > p { color: var(--muted-light); }
@media (min-width: 900px) { .article-hero { padding: 104px 0 72px; } .article-cta { padding: 48px; } }

/* ---------- Packages & steps ---------- */
.package-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .package-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1180px) { .package-grid { grid-template-columns: repeat(4, 1fr); } }
.package { padding: 28px 24px; background: var(--white); border-radius: 6px; border-top: 3px solid var(--gold); }
.package h2 { font-size: 22px; margin: 16px 0 8px; }
.package p { font-size: 15px; color: var(--muted-light); margin: 0; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 48px 0 0; display: grid; gap: 16px; }
.steps li { counter-increment: s; display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; padding: 18px 0; border-top: 1px solid var(--line-light); color: var(--muted-light); }
.steps li::before { content: counter(s, decimal-leading-zero); font: italic 400 26px/1 var(--serif); color: var(--gold-deep); margin-right: 10px; }
.steps strong { color: var(--ink); }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 28px; } }

/* ---------- Empty & pagination ---------- */
.empty { max-width: 560px; margin: 0 auto; text-align: center; padding: 24px 0; }
.empty h2 { font-size: 32px; }
.empty p { color: var(--muted-light); }
.empty .news-form, .empty .search-form { margin: 24px auto 0; }
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 56px; flex-wrap: wrap; }
.pagination .page-numbers { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border: 1px solid var(--line-light); border-radius: var(--radius); text-decoration: none; font-weight: 700; font-size: 14px; }
.pagination .current { background: var(--ink); color: var(--gold); border-color: var(--ink); }
.pagination a.page-numbers:hover { border-color: var(--gold); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--white); padding: 72px 0 32px; }
.footer-grid { display: grid; gap: 40px; }
.footer-brand p { color: var(--muted-dark); font-size: 15px; max-width: 280px; margin-top: 16px; }
.footer-col h2 { font: 700 12px/1 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li + li { margin-top: 10px; }
.footer-col a { color: rgba(255, 255, 255, 0.78); text-decoration: none; font-size: 15px; }
.footer-col a:hover { color: var(--gold); }
.footer-news p { color: var(--muted-dark); font-size: 15px; }
.footer-news .news-form { flex-direction: row; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: 13px; color: var(--muted-dark); }
.footer-base p { margin: 0; }
.footer-base a { color: var(--muted-dark); }
.footer-base a:hover { color: var(--gold); }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1180px) { .footer-grid { grid-template-columns: 1.2fr 0.8fr 0.8fr 1.4fr; gap: 56px; } }

/* ---------- Widgets & comments ---------- */
.widget { margin-bottom: 32px; }
.widget-title { font-size: 20px; }
.comment-list { list-style: none; padding: 0; }
.comment-body { padding: 20px 0; border-bottom: 1px solid var(--line-light); }
.comment-respond input[type="text"], .comment-respond input[type="email"], .comment-respond input[type="url"], .comment-respond textarea { width: 100%; padding: 12px; border: 1px solid var(--line-light); border-radius: var(--radius); font: 16px var(--sans); }
.comment-respond .submit { background: var(--gold); border: 0; padding: 14px 24px; font-weight: 700; border-radius: var(--radius); cursor: pointer; }

/* ---------- WooCommerce ---------- */
.shop-wrap .woocommerce-products-header { display: none; }
.woocommerce ul.products { display: grid; gap: 32px 24px; margin: 0; padding: 0; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
@media (min-width: 640px) { .woocommerce ul.products { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .woocommerce ul.products { grid-template-columns: repeat(3, 1fr); } }
.woocommerce ul.products li.product { width: auto !important; margin: 0 !important; float: none !important; }
.woocommerce ul.products li.product a img { border-radius: 6px; margin-bottom: 14px; background: var(--paper); }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font: 600 20px/1.2 var(--serif) !important; padding: 0 !important; }
.woocommerce ul.products li.product .price { color: var(--gold-deep) !important; font-weight: 700; }
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit, .woocommerce a.button.alt, .woocommerce button.button.alt {
	background: var(--ink) !important; color: var(--white) !important; border-radius: var(--radius) !important;
	font: 700 14px/1 var(--sans) !important; padding: 14px 20px !important;
}
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover { background: var(--gold) !important; color: var(--ink) !important; }
.woocommerce div.product .product_title { font-size: clamp(32px, 5vw, 48px); }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--gold-deep) !important; font: 600 26px var(--serif) !important; }
.woocommerce span.onsale { background: var(--gold) !important; color: var(--ink) !important; border-radius: 3px !important; min-height: 0 !important; line-height: 1 !important; padding: 8px 10px !important; }
.woocommerce-message, .woocommerce-info { border-top-color: var(--gold) !important; }
.woocommerce-message::before, .woocommerce-info::before { color: var(--gold-deep) !important; }
.woocommerce .woocommerce-breadcrumb { font-size: 13px; color: var(--muted-light); margin-bottom: 24px; }
.woocommerce .woocommerce-breadcrumb a { color: var(--gold-deep); }

/* ---------- Grid overflow guards ---------- */
.hero-grid, .magnet, .form-layout, .split-ctas, .footer-grid, .post-grid, .product-grid, .hub-grid, .tool-grid, .package-grid { grid-template-columns: minmax(0, 1fr); }
.hero-grid > *, .magnet > *, .form-layout > *, .split-ctas > *, .footer-grid > * { min-width: 0; }
@media (min-width: 640px) {
	.post-grid, .product-grid, .hub-grid, .tool-grid, .package-grid, .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.form-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
	.hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
	.magnet { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
	.form-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
	.split-ctas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.post-grid, .product-grid, .hub-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1180px) {
	.tool-grid, .package-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.footer-grid { grid-template-columns: 1.2fr 0.8fr 0.8fr 1.4fr; }
}
.board-mark { font-size: clamp(72px, 14vw, 150px); }
.hero-board { grid-template-columns: repeat(6, minmax(0, 1fr)); }

/* Desktop nav: keep labels on one line. */
.site-nav .menu a, .nav-actions a { white-space: nowrap; }
@media (min-width: 1180px) and (max-width: 1359px) {
	.site-nav { gap: 20px; }
	.site-nav .menu { gap: 16px; }
	.site-nav .menu a { font-size: 13.5px; }
	.nav-search { display: none; }
}

/* ---------- Article components (used by starter content) ---------- */
.prose .mdz-callout { padding: 18px 22px; background: var(--paper); border-left: 3px solid var(--gold); border-radius: 0 6px 6px 0; font-size: 16px; }
.prose .mdz-callout p { margin: 0; }
.prose .mdz-verdict { padding: 28px; background: var(--ink); color: rgba(255, 255, 255, 0.86); border-radius: 6px; font-size: 16px; }
.prose .mdz-verdict p { margin: 0; padding: 10px 0; border-bottom: 1px solid var(--line-dark); }
.prose .mdz-verdict p:last-child { border-bottom: 0; }
.prose .mdz-verdict strong { color: var(--gold); }
.prose .mdz-verdict a { color: var(--gold-soft); }
.prose ul.mdz-checklist { list-style: none; padding: 0; }
.prose ul.mdz-checklist li { position: relative; padding: 8px 0 8px 36px; border-bottom: 1px solid var(--line-light); margin: 0; }
.prose ul.mdz-checklist li::before { content: ""; position: absolute; left: 0; top: 11px; width: 20px; height: 20px; border: 2px solid var(--gold-deep); border-radius: 4px; }
.prose .mdz-swatches { display: flex; gap: 10px; flex-wrap: wrap; }
.prose .mdz-sw { display: flex; flex-direction: column; gap: 6px; flex: 1 1 90px; max-width: 180px; }
.prose .mdz-chip { display: block; height: 72px; border-radius: 6px; border: 1px solid var(--line-light); }
.prose .mdz-sw code { font: 600 13px/1 ui-monospace, "SFMono-Regular", Consolas, monospace; color: var(--muted-light); }
@media print {
	.site-header, .site-footer, .article-cta, .article-hero, .nav-toggle, .section:not(.article .prose) { display: none !important; }
	.prose ul.mdz-checklist li { break-inside: avoid; }
}

/* Header: keep actions on one line once the cart icon is present. */
@media (min-width: 1180px) {
	.site-nav { flex-wrap: nowrap; }
	.nav-actions { flex-wrap: nowrap; gap: 14px; }
	.site-nav .menu { flex-wrap: nowrap; }
}
@media (min-width: 1180px) and (max-width: 1599px) {
	.site-nav { gap: 18px; }
	.site-nav .menu { gap: 14px; }
	.site-nav .menu a { font-size: 13.5px; }
}
