/* ==========================================================================
   Coffee Crafters — Brand stylesheet
   Luxury artisan light: white backgrounds, espresso text, gold accents.
   Section styling is driven by .cc-* classes applied in the block patterns,
   so editors change text/images freely without touching the design.
   ========================================================================== */

:root {
	--cc-gold: #f7b922;
	--cc-gold-deep: #b5933a;
	--cc-espresso: #1c1509;
	--cc-roast: #5f574a;
	--cc-latte: #c8b99a;
	--cc-cream: #f5ede0;
	--cc-offwhite: #fdfbf6;
	--cc-warm: #faf6ee;
	--cc-white: #ffffff;
	--cc-border: #e4ddd0;
	--cc-border-soft: #eadfc8;
	--cc-charcoal: #404041;
	--cc-charcoal-soft: #5a5a5b;
	--cc-radius: 12px;
	--cc-radius-sm: 8px;
	--cc-font-display: 'Cormorant Garamond', Georgia, serif;
	--cc-font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ---- shared section primitives ---- */
.cc-section { padding: 64px 24px; font-family: var(--cc-font-body); color: var(--cc-espresso); }
.cc-section--warm { background: var(--cc-offwhite); }
.cc-section--cream { background: var(--cc-cream); }
.cc-section--espresso { background: var(--cc-espresso); color: var(--cc-cream); }
.cc-inner { max-width: 1140px; margin: 0 auto; }

.cc-eyebrow {
	font-size: 12px; letter-spacing: 2px; text-transform: uppercase;
	color: var(--cc-gold-deep); margin: 0 0 14px;
}
.cc-headline {
	font-family: var(--cc-font-display); font-weight: 500;
	font-size: clamp(30px, 5vw, 44px); line-height: 1.1;
	color: var(--cc-espresso); margin: 0 0 16px;
}
.cc-section--espresso .cc-headline { color: var(--cc-cream); }
.cc-subhead {
	font-family: var(--cc-font-display); font-weight: 500;
	font-size: clamp(20px, 3vw, 24px); line-height: 1.2;
	color: var(--cc-gold-deep); margin: 0 0 18px;
}
.cc-lead {
	font-size: 17px; line-height: 1.65; color: var(--cc-roast);
	max-width: 560px; margin: 0 auto 24px;
}
.cc-center { text-align: center; }
.cc-center .cc-lead { margin-left: auto; margin-right: auto; }

/* ---- buttons ---- */
.cc-btn {
	display: inline-block; font-family: var(--cc-font-body); font-size: 15px;
	font-weight: 500; padding: 12px 24px; border-radius: var(--cc-radius-sm);
	text-decoration: none; cursor: pointer; transition: filter .15s ease;
}
.cc-btn--gold { background: var(--cc-gold); color: var(--cc-espresso); border: 1px solid var(--cc-gold); }
.cc-btn--ghost { background: transparent; color: var(--cc-espresso); border: 1px solid #d8cdb8; }
.cc-btn:hover { filter: brightness(0.96); }

/* Override WordPress/Kadence default button link colors so our gold/espresso wins. */
.cc-btn .wp-block-button__link,
.cc-btn.wp-block-button .wp-block-button__link {
	background-color: transparent;
	color: inherit;
	text-decoration: none;
	border-radius: var(--cc-radius-sm);
	font-family: var(--cc-font-body);
	font-weight: 500;
	padding: 0;
}

/* ---- cards ---- */
.cc-card {
	background: var(--cc-white); border: 0.5px solid var(--cc-border);
	border-radius: var(--cc-radius); padding: 24px 22px;
}
.cc-card__title { font-size: 16px; font-weight: 500; color: var(--cc-espresso); margin: 0 0 6px; }
.cc-card__text { font-size: 14px; line-height: 1.55; color: var(--cc-roast); margin: 0; }

/* ---- icon chips ---- */
.cc-chip {
	width: 42px; height: 42px; border-radius: var(--cc-radius-sm);
	display: inline-flex; align-items: center; justify-content: center;
	font-size: 21px; margin-bottom: 14px;
}
.cc-chip--gold { background: var(--cc-gold); color: var(--cc-espresso); }
.cc-chip--soft { background: var(--cc-warm); color: var(--cc-gold-deep); }

/* ---- tags / pills ---- */
.cc-tag {
	display: inline-block; font-size: 12px; color: #854f0b; background: #faeeda;
	padding: 4px 10px; border-radius: var(--cc-radius-sm); margin: 0 6px 6px 0;
}
.cc-badge {
	display: inline-block; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase;
	font-weight: 500; color: var(--cc-espresso); background: var(--cc-gold);
	padding: 4px 11px; border-radius: 4px;
}

/* ---- grids ---- */
.cc-grid { display: grid; gap: 16px; }
.cc-grid--2 { grid-template-columns: repeat(2, 1fr); }
.cc-grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 781px) {
	.cc-grid--2, .cc-grid--3 { grid-template-columns: 1fr; }
}

/* ---- callouts ---- */
.cc-callout {
	background: var(--cc-offwhite); border-left: 3px solid var(--cc-gold);
	border-radius: 0; padding: 20px 24px; margin-top: 20px;
}
.cc-callout p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--cc-roast); }
.cc-callout strong { color: var(--cc-espresso); font-weight: 500; }

.cc-heritage {
	background: var(--cc-warm); border-radius: var(--cc-radius-sm);
	padding: 16px 22px; margin-top: 18px; font-size: 14px;
	line-height: 1.5; color: var(--cc-roast);
}
.cc-heritage strong { color: var(--cc-espresso); font-weight: 500; }

/* ---- quote band (espresso) ---- */
.cc-quote {
	background: var(--cc-espresso); border-radius: var(--cc-radius);
	padding: 28px 30px; margin: 20px 0;
}
.cc-quote__text {
	font-family: var(--cc-font-display); font-weight: 500; font-size: 22px;
	line-height: 1.4; color: var(--cc-cream); margin: 0 0 14px;
}
.cc-quote__by { font-size: 13px; color: var(--cc-latte); margin: 0; }
.cc-quote__by::before {
	content: ""; display: inline-block; width: 8px; height: 8px;
	border-radius: 50%; background: var(--cc-gold); margin-right: 10px; vertical-align: middle;
}

/* ---- stat strip ---- */
.cc-stat {
	text-align: center; padding: 18px 12px; background: var(--cc-offwhite);
	border-radius: var(--cc-radius-sm);
}
.cc-stat__num { font-family: var(--cc-font-display); font-weight: 500; font-size: 30px; color: var(--cc-espresso); line-height: 1; }
.cc-stat__label { font-size: 12px; color: var(--cc-roast); letter-spacing: 0.5px; margin-top: 6px; }

/* ---- timeline label (dated story cards) ---- */
.cc-stamp {
	font-size: 12px; letter-spacing: 1px; text-transform: uppercase;
	color: var(--cc-gold-deep); margin-bottom: 14px; display: block;
}

/* ---- image placeholder (until photography lands) ---- */
.cc-imgph {
	background: var(--cc-warm); border: 0.5px solid var(--cc-border-soft);
	border-radius: var(--cc-radius); min-height: 280px;
	display: flex; align-items: center; justify-content: center;
	color: var(--cc-latte); font-size: 13px;
}

/* ---- hero ---- */
.cc-hero { padding: 72px 24px; text-align: center; }
.cc-hero .cc-headline { font-size: clamp(38px, 6vw, 56px); }
.cc-hero__img { margin-top: 32px; }

/* ==========================================================================
   Header + footer — charcoal bookends (#404041, sampled from the logo).
   These rules target Kadence's standard wrapper classes so the bookends
   apply regardless of how Bryce configures the Kadence header/footer
   builder. The white page canvas in between is unaffected.
   ========================================================================== */

/* Header */
#masthead.site-header,
.site-header-wrap,
.site-header-main-section-left,
.site-header-main-section-center,
.site-header-main-section-right,
.site-header-upper-wrap,
.site-header-lower-wrap,
.site-top-header-wrap,
.site-main-header-wrap,
.site-bottom-header-wrap {
	background-color: var(--cc-charcoal) !important;
	color: var(--cc-cream);
}

/* Nav links inside the charcoal header */
#masthead.site-header .header-navigation a,
#masthead.site-header .header-menu-container a,
#masthead.site-header nav a {
	color: var(--cc-cream);
}
#masthead.site-header .header-navigation a:hover,
#masthead.site-header .header-menu-container a:hover,
#masthead.site-header nav a:hover,
#masthead.site-header .current-menu-item > a,
#masthead.site-header .current_page_item > a {
	color: var(--cc-gold);
}

/* Header icons (search, cart, account) — keep them readable on charcoal */
#masthead.site-header .header-account-button,
#masthead.site-header .header-cart-button,
#masthead.site-header .header-search-button,
#masthead.site-header .header-mobile-toggle-open-container button {
	color: var(--cc-cream);
}
#masthead.site-header .header-cart-total-wrap,
#masthead.site-header .header-cart-total {
	color: var(--cc-espresso);
	background-color: var(--cc-gold);
}

/* Footer */
#colophon.site-footer,
.site-footer-wrap,
.site-top-footer-wrap,
.site-middle-footer-wrap,
.site-bottom-footer-wrap,
.footer-widget-area,
.site-info {
	background-color: var(--cc-charcoal) !important;
	color: var(--cc-cream);
}
#colophon.site-footer a,
.site-info a {
	color: var(--cc-latte);
}
#colophon.site-footer a:hover,
.site-info a:hover {
	color: var(--cc-gold);
}
#colophon.site-footer h1,
#colophon.site-footer h2,
#colophon.site-footer h3,
#colophon.site-footer h4,
#colophon.site-footer h5,
#colophon.site-footer .widget-title {
	color: var(--cc-cream);
}

/* Soft divider between header rows / between footer rows */
.site-header-upper-wrap,
.site-top-footer-wrap {
	border-bottom: 1px solid var(--cc-charcoal-soft);
}
