/* =========================================================================
   NIKKI D. EPPERSON THEME — theme.css
   Colors are emitted as CSS variables by PHP (Section 6/22.9); do not
   hardcode any color that has a Customizer control.
   ========================================================================= */

:root {
	--noir: #0a0a0a;
	--noir-soft: #171717;
	--primary: #b81e1e;
	--primary-foreground: #fbfaf8;
	--brass: #d7aa42;
	--brass-light: #edcb6e;
	--gold-foil-dark: #a67d38;
	--gold-foil-highlight: #f6de9d;
	--gold-foil-shine: #fbe6ae;
	--gold-button-dark: #8a6427;
	--gold-button-light: #e6c069;
	--gold-foil-gradient: linear-gradient(100deg, var(--gold-foil-dark) 0%, var(--gold-foil-highlight) 26%, var(--brass) 48%, var(--gold-foil-shine) 70%, var(--gold-foil-dark) 100%);
	--gold-button-gradient: linear-gradient(135deg, var(--gold-button-dark) 0%, var(--gold-button-light) 45%, var(--gold-foil-dark) 100%);
	--cream: #f7f6f2;
	--bone: #1a1a1a;
	--border: #2e2e2e;
	--card: #141414;
	--muted-foreground: #d2cdc6;

	--font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
	--font-body: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

	--btn-radius: 0px;
	--btn-height: 3.25rem;
	--btn-padding: 0 2rem;
	--btn-font-size: 0.75rem;
	--btn-font-size-compact: 0.6875rem;
	--btn-font-weight: 600;
	--btn-letter-spacing: 0.22em;
	--btn-text-transform: uppercase;
	--card-radius: 0px;
	--section-padding: 2rem;
	--header-height: 96px;
	--checkout-gap: 2rem;
	--logo-height: 60px;

	--color-primary: var(--primary);
	--color-button-text: var(--primary-foreground);
	--color-border: var(--border);
	--color-surface: var(--bone);
}

/* -------------------------------------------------------------------------
 * RESET / BASE
 * ---------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
	margin: 0;
	background: var(--noir);
	color: var(--cream);
	font-family: var(--font-body);
	font-weight: 400;
	letter-spacing: 0.005em;
	font-size: 19px;
	line-height: 1.8;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: clip;
}
#top,
.site-main,
main {
	max-width: 100%;
	overflow-x: clip;
}
@media (min-width: 768px) {
	body { font-size: 20px; line-height: 1.85; }
}
p { max-width: 72ch; }
p, li { text-wrap: pretty; }
a { color: inherit; text-decoration: none; cursor: pointer; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
input[type="submit"], input[type="button"], select, summary, label[for] { cursor: pointer; }
.btn, .btn-gold, .btn-gold-outline, .btn-primary, .btn-outline,
.theme-nav-link, .cart-toggle, .mobile-menu-toggle,
.book-row__notes-toggle, .faq-item__question, .journal-card__link,
.contact-link, .notfound-link, .stories-empty__cta, .cta-band__btn { cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	font-weight: 500;
	letter-spacing: 0.005em;
	line-height: 1.15;
	text-wrap: balance;
	margin: 0;
}

.font-display { font-family: var(--font-display); }
.font-body { font-family: var(--font-body); }
.font-light, .font-extralight, .font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.leading-snug { line-height: 1.375; }
.leading-relaxed { line-height: 1.625; }

::selection { background: color-mix(in srgb, var(--primary) 55%, transparent); color: var(--cream); }

/* Body copy — Lovable uses font-body + font-light (remapped to weight 400). */
.about-lead,
.about-body,
.about-body p,
.journal-section__body,
.journal-card__excerpt,
.journal-single__excerpt,
.journal-single__content,
.journal-single__content p,
.featured-books__body,
.books-section__body,
.book-row__blurb,
.shop-header__body,
.ministry-section__body,
.ministry-pillar__body,
.community-lead,
.community-card__body,
.stories-section__body,
.faq-section__body,
.faq-item__answer p,
.contact-info__body,
.salvation-section__body,
.theme-product-description,
.theme-product-card__tagline,
.newsletter-note,
.newsletter-success,
.footer-newsletter-body,
.site-footer__tagline,
.checkout-page-header__intro {
	font-family: var(--font-body);
	font-weight: 400;
}

.sr-only {
	position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Global cover-image rule (Section 15) — excludes every cover-image class used below */
img:not(.cover-img):not(.hero-bg-img):not(.product-card-img):not(.hero-portrait__img):not(.featured-book-card__image):not(.site-logo-img):not(.theme-product-gallery__image):not(.theme-product-thumb__image):not(.related-product-link__image):not(.about-image__img):not(.ministry-gallery__img) {
	max-width: 100%;
	height: auto;
}
.cover-img, .hero-bg-img, .product-card-img {
	position: absolute; inset: 0;
	width: 100%; height: 100%;
	object-fit: cover;
}
.theme-product-card__image-wrapper, .about-image, .cta-band__media, .faq-image {
	position: relative;
	overflow: hidden;
}

.container-wide { width: 100%; max-width: min(1400px, 100%); margin: 0 auto; padding: 0 1.5rem; min-width: 0; }
@media (min-width: 1024px) { .container-wide { padding: 0 2.5rem; } }
.section-padding { padding-top: 5rem; padding-bottom: 5rem; }
@media (min-width: 768px) { .section-padding { padding-top: 7rem; padding-bottom: 7rem; } }
.scroll-mt-24 { scroll-margin-top: 6rem; }

/* Prevent horizontal overflow from grids, long headings, and reveal offsets */
.hero-title,
.hero-title-line,
.section-heading,
.book-row__title,
.theme-product-card__title,
.journal-card__title,
.hero-paragraph { overflow-wrap: anywhere; word-break: break-word; }
.about-grid > *,
.featured-books-grid > *,
.ministry-grid > *,
.ministry-gallery__grid > *,
.theme-product-grid > *,
.community-grid > *,
.faq-grid > *,
.contact-grid > *,
.site-footer__grid > *,
.book-row__inner > *,
.shop-header > *,
.newsletter-form,
.contact-form { min-width: 0; max-width: 100%; }

.surface-noir, .bg-background { background: var(--noir); color: var(--cream); }
.bg-card { background: var(--card); }

.eyebrow {
	font-family: var(--font-body);
	font-size: 0.75rem;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	font-weight: 500;
	display: inline-block;
}
.text-primary { color: var(--primary); }
.text-accent { color: var(--brass); }
.text-brass-light { color: var(--brass-light); }
.text-muted-foreground { color: var(--muted-foreground); }
.block { display: block; }

.brass-rule { display: block; height: 1px; width: 3rem; background: var(--brass); }

.gold-foil, .gold-foil-em {
	background-image: var(--gold-foil-gradient);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	font-style: italic;
	font-family: var(--font-display);
}

.gold-divider {
	display: block;
	height: 1px;
	width: 100%;
	background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--brass) 15%, transparent), color-mix(in srgb, var(--brass) 75%, transparent), color-mix(in srgb, var(--brass) 15%, transparent), transparent);
}

.btn-gold, .btn-gold-outline, .btn, .theme-nav-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
}

.btn-gold {
	background-image: var(--gold-button-gradient);
	color: var(--noir);
	border: 1px solid color-mix(in srgb, var(--brass-light) 75%, transparent);
	padding: 1rem 2rem;
	font-family: var(--font-body);
	font-size: var(--btn-font-size);
	letter-spacing: 0.22em;
	text-transform: uppercase;
	font-weight: 600;
	transition: filter 0.35s cubic-bezier(0.4,0,0.2,1), box-shadow 0.35s cubic-bezier(0.4,0,0.2,1), transform 0.3s ease;
}
.btn-gold:hover { filter: brightness(1.08); box-shadow: 0 14px 40px -18px color-mix(in srgb, var(--brass) 70%, transparent); transform: translateY(-2px); }

.btn-gold-outline {
	border: 1px solid color-mix(in srgb, var(--brass) 55%, transparent);
	color: var(--brass-light);
	padding: 1rem 2rem;
	font-family: var(--font-body);
	font-size: var(--btn-font-size);
	letter-spacing: 0.22em;
	text-transform: uppercase;
	font-weight: 500;
	transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
	background: transparent;
}
.btn-gold-outline:hover { border-color: var(--brass-light); background: color-mix(in srgb, var(--brass) 10%, transparent); }

.btn {
	padding: 0 2rem;
	height: 3.25rem;
	font-family: var(--font-body);
	font-size: 0.875rem;
	font-weight: 500;
	border-radius: 0;
	transition: all 0.3s ease;
	border: 1px solid transparent;
	text-transform: none;
}
.btn-primary { background: var(--primary); color: var(--primary-foreground); }
.btn-primary:hover { background: color-mix(in srgb, var(--primary) 90%, black); transform: translateY(-2px); }
.btn-outline { border-color: var(--border); background: transparent; color: var(--cream); }
.btn-outline:hover { background: color-mix(in srgb, var(--cream) 8%, transparent); border-color: color-mix(in srgb, var(--cream) 40%, transparent); }

.link-underline { position: relative; display: inline-block; }
.link-underline::after {
	content: '';
	position: absolute; left: 0; bottom: -0.25rem; width: 100%; height: 1px;
	transform: scaleX(0); transform-origin: left;
	transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
	background: linear-gradient(90deg, color-mix(in srgb, var(--brass) 20%, transparent), var(--brass-light), color-mix(in srgb, var(--brass) 20%, transparent));
}
.link-underline:hover::after, .link-underline.is-active::after { transform: scaleX(1); }

/* -------------------------------------------------------------------------
 * ANIMATIONS (Section 2.1)
 * ---------------------------------------------------------------------- */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes scaleIn { from { opacity: 0; transform: scale(0.96); } to { opacity: 1; transform: scale(1); } }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

.reveal-item {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1), transform 0.8s cubic-bezier(0.16,1,0.3,1);
	will-change: opacity, transform;
}
.reveal-item.is-visible { opacity: 1; transform: translateY(0); }
.reveal-left { transform: translateX(-40px); }
.reveal-left.is-visible { transform: translateX(0); }
.reveal-right { transform: translateX(40px); }
.reveal-right.is-visible { transform: translateX(0); }
@media (max-width: 767px) {
	.reveal-left { transform: translateX(-16px); }
	.reveal-right { transform: translateX(16px); }
}

/* Customizer preview fallback (Section 2.1 item 5) — never hide content in the editor */
body.is-customizer .reveal-item {
	opacity: 1 !important;
	transform: none !important;
}

@media (prefers-reduced-motion: reduce) {
	.reveal-item, .hero-title-line, .hero-portrait, .hero-copy { transition: none !important; animation: none !important; opacity: 1 !important; transform: none !important; }
	.mobile-menu.is-open { animation: none !important; }
}

/* -------------------------------------------------------------------------
 * HEADER
 * ---------------------------------------------------------------------- */
.site-header {
	position: fixed; top: 0; left: 0; right: 0; z-index: 50;
	background: transparent;
	overflow: visible;
	transition: background-color 0.5s ease, box-shadow 0.5s ease, border-color 0.5s ease, top 0.2s ease;
}
body.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) {
	body.admin-bar .site-header { top: 46px; }
}
.site-header.is-solid,
.site-header.is-menu-open {
	background: color-mix(in srgb, var(--noir) 95%, transparent);
	backdrop-filter: blur(24px) saturate(1.5);
	border-bottom: 1px solid var(--noir-soft);
	box-shadow: 0 1px 0 0 color-mix(in srgb, var(--brass) 25%, transparent);
}
.site-header.is-solid .site-header__gradient,
.site-header.is-menu-open .site-header__gradient { opacity: 0; }
.site-header__gradient {
	position: absolute; inset-inline: 0; top: 0; height: 8rem;
	background: linear-gradient(to bottom, color-mix(in srgb, var(--noir) 85%, transparent), color-mix(in srgb, var(--noir) 45%, transparent), transparent);
	pointer-events: none;
	opacity: 1;
	transition: opacity 0.5s ease;
}
.site-header__inner { position: relative; z-index: 1; }
.site-nav { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; height: 5rem; min-width: 0; }
@media (min-width: 1024px) { .site-nav { height: 6rem; } }

.site-logo { display: inline-flex; align-items: center; min-width: 0; flex-shrink: 1; }
.site-logo-img { height: var(--logo-height); width: auto !important; max-width: min(200px, 52vw); object-fit: contain; border-radius: 12px; background: #fff; padding: 0.5rem 0.75rem; transition: transform 0.3s ease; }
.site-logo:hover .site-logo-img { transform: scale(1.03); }
.site-logo-text { font-family: var(--font-display); font-size: 1.5rem; color: var(--cream); }

.site-nav__links { display: none; align-items: center; gap: 1.5rem; margin-left: auto; margin-right: 1.5rem; }
@media (min-width: 1280px) { .site-nav__links { display: flex; } }
.theme-nav-list { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.theme-nav-link {
	font-family: var(--font-body);
	font-size: 0.8125rem;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	font-weight: 400;
	color: var(--cream);
	white-space: nowrap;
	transition: color 0.3s ease;
}
.site-header:not(.is-solid):not(.is-menu-open) .site-nav__links .theme-nav-link { text-shadow: 0 1px 12px color-mix(in srgb, var(--noir) 70%, transparent); }
.theme-nav-link:hover { color: var(--brass-light); }

.site-nav__actions { display: flex; align-items: center; gap: 0.25rem; flex-shrink: 0; }
.cart-toggle, .mobile-menu-toggle {
	position: relative; background: transparent; border: none; padding: 0.5rem;
	color: var(--cream); transition: color 0.3s ease;
}
.cart-toggle:hover, .mobile-menu-toggle:hover { color: var(--brass-light); }
.theme-cart-count {
	position: absolute; top: -0.125rem; right: -0.125rem;
	min-width: 1.25rem; height: 1.25rem; padding: 0 0.25rem;
	display: flex; align-items: center; justify-content: center;
	font-size: 0.625rem; font-weight: 500; border-radius: 999px;
	background: var(--primary); color: var(--primary-foreground);
}
.theme-cart-count:empty { display: none; }

.mobile-menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
@media (min-width: 1280px) { .mobile-menu-toggle { display: none; } }

.mobile-menu {
	display: none;
	background: var(--noir);
	padding: 1rem 0;
	border-top: 1px solid transparent;
	border-image: linear-gradient(90deg, transparent, color-mix(in srgb, var(--brass) 60%, transparent), transparent) 1;
}
@media (min-width: 1280px) { .mobile-menu { display: none !important; } }
.mobile-menu.is-open {
	display: block;
	animation: fadeIn 0.7s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
.theme-nav-list--mobile,
.mobile-menu .menu,
.mobile-menu .theme-nav-list {
	flex-direction: column;
	align-items: stretch;
	gap: 0.25rem;
	list-style: none;
	margin: 0;
	padding: 0;
}
.theme-nav-list--mobile > li,
.mobile-menu .menu > li,
.mobile-menu .theme-nav-list > li { margin: 0; padding: 0; min-width: 0; }
.theme-nav-list--mobile .theme-nav-link,
.theme-nav-list--mobile a,
.mobile-menu .menu a,
.mobile-menu .theme-nav-list a {
	display: block;
	width: 100%;
	text-align: left;
	padding: 0.75rem 0.5rem;
	font-family: var(--font-body);
	font-size: 0.875rem;
	font-weight: 400;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	white-space: normal;
	overflow-wrap: anywhere;
	color: color-mix(in srgb, var(--cream) 80%, transparent);
	text-shadow: none;
	transition: color 0.3s ease, background-color 0.3s ease;
}
.theme-nav-list--mobile .theme-nav-link:hover,
.theme-nav-list--mobile a:hover,
.mobile-menu .menu a:hover,
.mobile-menu .theme-nav-list a:hover {
	background: var(--noir-soft);
	color: var(--brass-light);
}

body.theme-no-hero .site-main:not(.single-product-main):not(.journal-single):not(.journal-archive),
body.theme-no-hero .shop-archive-main,
body.theme-no-hero .notfound-main {
	padding-top: var(--header-height);
}
body.admin-bar.theme-no-hero .site-main:not(.single-product-main):not(.journal-single):not(.journal-archive),
body.admin-bar.theme-no-hero .shop-archive-main,
body.admin-bar.theme-no-hero .notfound-main {
	padding-top: calc(var(--header-height) + 32px);
}
@media screen and (max-width: 782px) {
	body.admin-bar.theme-no-hero .site-main:not(.single-product-main):not(.journal-single):not(.journal-archive),
	body.admin-bar.theme-no-hero .shop-archive-main,
	body.admin-bar.theme-no-hero .notfound-main {
		padding-top: calc(var(--header-height) + 46px);
	}
}
body.admin-bar .hero-content { padding-top: calc(7rem + 32px); }
@media (min-width: 1024px) {
	body.admin-bar .hero-content { padding-top: calc(8rem + 32px); }
}
@media screen and (max-width: 782px) {
	body.admin-bar .hero-content { padding-top: calc(7rem + 46px); }
}

/* -------------------------------------------------------------------------
 * HERO
 * ---------------------------------------------------------------------- */
.hero-section { position: relative; width: 100%; overflow: hidden; min-height: 100svh; background: var(--noir); }
@media (min-width: 1024px) { .hero-section { height: 100vh; min-height: 760px; } }
.hero-media { position: absolute; inset: 0; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; }
.hero-overlay--1 { background: color-mix(in srgb, var(--noir) 40%, transparent); }
.hero-overlay--2 { background: linear-gradient(to right, color-mix(in srgb, var(--noir) 90%, transparent), color-mix(in srgb, var(--noir) 55%, transparent), color-mix(in srgb, var(--noir) 40%, transparent)); }
.hero-overlay--3 { background: linear-gradient(to top, color-mix(in srgb, var(--noir) 95%, transparent), color-mix(in srgb, var(--noir) 30%, transparent), transparent); }
.hero-content { position: relative; z-index: 10; min-height: 100svh; display: flex; align-items: flex-end; padding-top: 7rem; }
@media (min-width: 1024px) { .hero-content { height: 100%; padding-top: 8rem; } }
.hero-content__inner { width: 100%; padding-bottom: 3.5rem; }
@media (min-width: 768px) { .hero-content__inner { padding-bottom: 5rem; } }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: end; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: repeat(12, 1fr); gap: 2.5rem; } }
.hero-copy { grid-column: 1 / -1; order: 2; }
@media (min-width: 1024px) { .hero-copy { grid-column: span 7; order: 1; } }
.hero-eyebrow { margin-bottom: 1.25rem; }
.hero-title {
	font-family: var(--font-display); color: var(--cream);
	font-size: 2.5rem; line-height: 1.05; letter-spacing: 0.005em; font-weight: 500;
}
@media (min-width: 640px) { .hero-title { font-size: 3.25rem; } }
@media (min-width: 768px) { .hero-title { font-size: 4.25rem; } }
@media (min-width: 1024px) { .hero-title { font-size: 4.5rem; } }
.hero-title-line { display: block; }
.hero-title-em { display: block; color: var(--brass-light); font-style: italic; font-family: var(--font-display); }
@media (min-width: 768px) { .hero-title-em { display: inline-block; margin-left: 0.75rem; } }
.hero-divider { max-width: 32rem; margin-top: 2rem; }
.hero-paragraph { margin-top: 1.5rem; max-width: 42rem; color: color-mix(in srgb, var(--cream) 90%, transparent); font-weight: 400; font-size: 1.125rem; line-height: 1.625; }
@media (min-width: 768px) { .hero-paragraph { font-size: 1.25rem; } }
.hero-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-top: 2.25rem; }
@media (min-width: 1024px) { .hero-actions { display: flex; flex-wrap: wrap; } }
.hero-btn { grid-column: span 1; text-align: center; }
.hero-btn--outline-cream { padding: 1rem 2rem; font-family: var(--font-body); font-size: var(--btn-font-size); letter-spacing: 0.22em; text-transform: uppercase; font-weight: 500; border: 1px solid color-mix(in srgb, var(--cream) 35%, transparent); color: var(--cream); transition: all 0.3s ease; grid-column: 1 / -1; }
@media (min-width: 640px) { .hero-btn--outline-cream { grid-column: auto; } }
.hero-btn--outline-cream:hover { background: color-mix(in srgb, var(--cream) 10%, transparent); border-color: color-mix(in srgb, var(--cream) 70%, transparent); }

.hero-portrait { grid-column: 1 / -1; order: 1; position: relative; display: flex; justify-content: center; }
@media (min-width: 1024px) { .hero-portrait { grid-column: span 5; order: 2; justify-content: flex-end; } }
.hero-portrait__glow {
	position: absolute; inset: 0; pointer-events: none;
	background: radial-gradient(48% 42% at 55% 42%, color-mix(in srgb, var(--brass) 32%, transparent), transparent 68%),
		radial-gradient(40% 38% at 45% 68%, color-mix(in srgb, var(--primary) 28%, transparent), transparent 70%);
}
.hero-portrait__img {
	position: relative; z-index: 1;
	width: auto; height: 46vh; max-height: 720px;
	object-fit: contain; object-position: bottom;
	filter: drop-shadow(0 28px 60px rgba(0,0,0,0.65));
}
@media (min-width: 640px) { .hero-portrait__img { height: 52vh; } }
@media (min-width: 1024px) { .hero-portrait__img { height: 74vh; } }

/* -------------------------------------------------------------------------
 * SECTION HEADINGS (Section 2.2 — per-section scales)
 * ---------------------------------------------------------------------- */
.section-heading { font-family: var(--font-display); font-weight: 500; line-height: 1.1; margin-bottom: 0; }
.about-section__heading, .featured-books-section__heading, .books-section__heading,
.ministry-section__heading, .shop-heading, .community-section__heading,
.stories-section__heading, .journal-section__heading, .faq-section__heading {
	font-size: 2.25rem; margin-top: 0.75rem;
}
@media (min-width: 768px) { .about-section__heading, .featured-books-section__heading, .books-section__heading, .ministry-section__heading, .shop-heading, .community-section__heading, .stories-section__heading, .journal-section__heading, .faq-section__heading { font-size: 3rem; } }
@media (min-width: 1024px) { .about-section__heading, .featured-books-section__heading, .books-section__heading, .ministry-section__heading, .shop-heading, .community-section__heading, .stories-section__heading, .journal-section__heading, .faq-section__heading { font-size: 3.75rem; } }
.contact-section__heading, .cta-band__title, .salvation-section__heading {
	font-size: 2.25rem;
}
@media (min-width: 768px) { .contact-section__heading, .cta-band__title, .salvation-section__heading { font-size: 3rem; } }
@media (min-width: 1024px) { .contact-section__heading, .cta-band__title, .salvation-section__heading { font-size: 3.75rem; } }
.heading-em {
	font-style: italic;
	font-family: var(--font-display);
}
.heading-em--accent { color: var(--brass); }
.heading-em--light { color: var(--brass-light); }
.section-heading .gold-foil-em {
	font-style: italic;
	font-family: var(--font-display);
}

/* -------------------------------------------------------------------------
 * ABOUT
 * ---------------------------------------------------------------------- */
.about-section { background: var(--noir); }
.about-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: start; }
@media (min-width: 1024px) {
	.about-grid {
		grid-template-columns: repeat(12, 1fr);
		gap: 5rem;
		align-items: stretch;
	}
}
.about-image {
	grid-column: 1 / -1;
	order: 2;
	background: var(--noir);
	overflow: hidden;
	width: 100%;
	aspect-ratio: 1 / 1;
}
@media (min-width: 1024px) {
	.about-image {
		grid-column: span 6;
		order: 1;
		aspect-ratio: auto;
		height: 100%;
		min-height: 100%;
	}
}
.about-image__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
}
.about-copy { grid-column: 1 / -1; order: 1; }
@media (min-width: 1024px) { .about-copy { grid-column: span 6; order: 2; padding-top: 2rem; } }
.about-copy .brass-rule { margin-top: 2rem; margin-bottom: 2rem; }
.about-lead { font-size: 1.25rem; line-height: 1.625; margin: 0 0 1.5rem; color: color-mix(in srgb, var(--cream) 90%, transparent); }
@media (min-width: 768px) { .about-lead { font-size: 1.5rem; } }
.about-body { display: flex; flex-direction: column; gap: 1.25rem; color: var(--muted-foreground); font-size: 1.125rem; line-height: 1.625; }
.about-body p { margin: 0; }
@media (min-width: 768px) { .about-body { font-size: 1.25rem; } }
@media (min-width: 1024px) { .about-body { font-size: 1.375rem; } }
.about-body__emphasis { color: var(--cream); font-style: italic; font-weight: 400; }
.about-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2.5rem; }
.about-actions .btn { font-size: var(--btn-font-size); letter-spacing: 0.22em; text-transform: uppercase; font-weight: 500; }

/* -------------------------------------------------------------------------
 * FEATURED BOOKS
 * ---------------------------------------------------------------------- */
.featured-books-section { background: var(--noir); }
.featured-books__intro { max-width: 48rem; margin: 0 auto; text-align: center; }
.featured-books__divider { max-width: 20rem; margin: 2rem auto; }
.featured-books__body { color: var(--muted-foreground); font-weight: 400; line-height: 1.625; }
.featured-books-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; margin-top: 3.5rem; }
@media (min-width: 640px) { .featured-books-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 1024px) { .featured-books-grid { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 2.5rem; } }
.featured-book-card { display: flex; flex-direction: column; height: 100%; background: var(--card); border: 1px solid var(--border); transition: all 0.5s cubic-bezier(0.4,0,0.2,1); }
.featured-book-card:hover { border-color: color-mix(in srgb, var(--brass) 50%, transparent); box-shadow: 0 0 0 1px color-mix(in srgb, var(--brass) 28%, transparent), 0 24px 70px -34px color-mix(in srgb, var(--brass) 55%, transparent); }
.featured-book-card__image-wrap { position: relative; background: var(--noir); overflow: hidden; }
.featured-book-card__image { width: 100%; height: 400px; object-fit: contain; padding: 1.5rem; transition: transform 0.7s ease; }
.featured-book-card:hover .featured-book-card__image { transform: scale(1.04); }
.featured-book-card__body { display: flex; flex-direction: column; flex: 1; padding: 1.75rem; }
.featured-book-card__title { font-family: var(--font-display); font-size: 1.5rem; color: var(--cream); line-height: 1.375; }
@media (min-width: 768px) { .featured-book-card__title { font-size: 1.65rem; } }
.featured-book-card__tagline { margin-top: 0.75rem; font-size: 0.875rem; font-weight: 500; color: var(--brass); }
.featured-book-card__divider { margin: 1.25rem 0; }
.featured-book-card__blurb { color: var(--muted-foreground); font-weight: 400; font-size: 1rem; line-height: 1.625; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.featured-book-card__price { margin-top: 1.25rem; font-size: 1.125rem; font-weight: 500; color: var(--cream); }
.featured-book-card__actions { display: flex; flex-direction: column; gap: 0.75rem; margin-top: auto; padding-top: 1.5rem; }
.featured-book-card__btn { width: 100%; }

/* -------------------------------------------------------------------------
 * BOOKS LIST
 * ---------------------------------------------------------------------- */
.books-section { background: var(--noir); }
.books-section__intro { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: end; margin-bottom: 3rem; }
@media (min-width: 768px) { .books-section__intro { grid-template-columns: repeat(12, 1fr); } }
.books-section__intro > div:first-child { grid-column: 1 / -1; }
@media (min-width: 768px) { .books-section__intro > div:first-child { grid-column: span 7; } }
.books-section__body { grid-column: 1 / -1; color: var(--muted-foreground); font-weight: 400; line-height: 1.625; }
@media (min-width: 768px) { .books-section__body { grid-column: span 5; } }
.books-list { background: var(--border); border: 1px solid var(--border); display: flex; flex-direction: column; gap: 1px; }
.book-row { position: relative; background: var(--card); padding: 1.5rem; overflow: hidden; }
@media (min-width: 768px) { .book-row { padding: 2.5rem 3rem; } }
.book-row__hover-bg {
	position: absolute; inset: 0; z-index: 0; opacity: 0;
	background-image: var(--book-row-bg); background-size: cover; background-position: center;
	transition: opacity 0.7s ease; pointer-events: none;
}
.book-row__hover-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to right, color-mix(in srgb, var(--noir) 95%, transparent), color-mix(in srgb, var(--noir) 85%, transparent), color-mix(in srgb, var(--noir) 75%, transparent)); }
.book-row:hover .book-row__hover-bg { opacity: 1; }
.book-row__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr; gap: 1.5rem; align-items: start; }
@media (min-width: 768px) { .book-row__inner { grid-template-columns: repeat(12, 1fr); gap: 2.5rem; } }
.book-row__main { grid-column: 1 / -1; min-width: 0; }
@media (min-width: 768px) { .book-row__main { grid-column: span 8; } }
.book-row__number { color: color-mix(in srgb, var(--primary) 80%, transparent); margin-bottom: 0.75rem; }
.book-row__title { font-family: var(--font-display); font-size: 1.875rem; font-style: italic; color: var(--cream); line-height: 1.1; font-weight: 500; }
@media (min-width: 768px) { .book-row__title { font-size: 2.25rem; } }
@media (min-width: 1024px) { .book-row__title { font-size: 3rem; } }
.book-row__tagline { margin-top: 0.75rem; font-size: 0.875rem; font-weight: 500; letter-spacing: 0.02em; color: var(--brass); }
.book-row__blurb { margin-top: 1.25rem; max-width: 42rem; color: var(--muted-foreground); font-weight: 400; line-height: 1.625; transition: color 0.3s ease; }
.book-row:hover .book-row__blurb { color: color-mix(in srgb, var(--cream) 80%, transparent); }
.book-row__actions { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 768px) { .book-row__actions { grid-column: span 4; padding-top: 0.5rem; } }
.book-row__btn {
	display: inline-flex; align-items: center; justify-content: space-between; gap: 0.75rem;
	width: 100%; max-width: 100%; min-width: 0;
	padding: 0.875rem 1.25rem; font-family: var(--font-body); font-size: var(--btn-font-size-compact); letter-spacing: 0.22em; text-transform: uppercase; font-weight: 500;
	transition: all 0.3s ease;
}
.book-row__btn--primary { background: var(--primary); color: var(--primary-foreground); }
.book-row__btn--primary:hover { background: var(--brass); color: var(--noir); }
.book-row__btn--outline { border: 1px solid color-mix(in srgb, var(--primary) 60%, transparent); color: var(--cream); }
.book-row__btn--outline:hover { background: color-mix(in srgb, var(--primary) 10%, transparent); border-color: var(--primary); }
.book-row__notes { margin-top: 0.25rem; }
.book-row__notes-toggle { display: inline-flex; align-items: center; gap: 0.5rem; background: transparent; border: none; padding: 0; font-family: var(--font-body); font-size: var(--btn-font-size-compact); letter-spacing: 0.22em; text-transform: uppercase; font-weight: 500; color: var(--brass); transition: color 0.3s ease; cursor: pointer; }
.book-row__notes-toggle:hover { color: var(--primary); }
.book-row__notes-chevron { display: inline-flex; transition: transform 0.3s ease; }
.book-row__notes-toggle[aria-expanded="true"] .book-row__notes-chevron { transform: rotate(180deg); }
.book-row__notes-list[hidden] { display: none !important; }
.book-row__notes-list:not([hidden]) {
	margin-top: 0.75rem;
	border-left: 2px solid color-mix(in srgb, var(--primary) 50%, transparent);
	padding-left: 1rem;
	display: flex;
	flex-direction: column;
	gap: 0.375rem;
}
.book-row__notes-list li { font-size: 0.75rem; color: color-mix(in srgb, var(--cream) 80%, transparent); font-weight: 400; line-height: 1.625; }

/* -------------------------------------------------------------------------
 * MINISTRY
 * ---------------------------------------------------------------------- */
.ministry-section { background: var(--noir); }
.ministry-section__intro { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: end; margin-bottom: 3.5rem; }
@media (min-width: 768px) { .ministry-section__intro { grid-template-columns: repeat(12, 1fr); } }
.ministry-section__intro > div:first-child { grid-column: 1 / -1; }
@media (min-width: 768px) { .ministry-section__intro > div:first-child { grid-column: span 7; } }
.ministry-section__body { grid-column: 1 / -1; color: color-mix(in srgb, var(--cream) 70%, transparent); font-weight: 400; line-height: 1.625; font-size: 1.125rem; }
@media (min-width: 768px) { .ministry-section__body { grid-column: span 5; } }
.ministry-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--noir-soft); border: 1px solid var(--noir-soft); }
@media (min-width: 1024px) { .ministry-grid { grid-template-columns: repeat(4, 1fr); } }
.ministry-pillar { position: relative; background: var(--noir); padding: 1.75rem; display: flex; flex-direction: column; transition: all 0.5s ease; overflow: hidden; }
@media (min-width: 768px) { .ministry-pillar { padding: 2.5rem; } }
.ministry-pillar:hover { background: var(--noir-soft); transform: translateY(-4px); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--brass) 40%, transparent); }
.ministry-pillar__accent { position: absolute; inset-inline: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--brass) 60%, transparent), transparent); transform: scaleX(0); transition: transform 0.7s ease; }
.ministry-pillar:hover .ministry-pillar__accent { transform: scaleX(1); }
.ministry-pillar__icon { color: var(--brass-light); margin-bottom: 2rem; display: inline-flex; transition: all 0.5s ease; }
.ministry-pillar:hover .ministry-pillar__icon { transform: translateY(-4px) scale(1.1); }
.ministry-pillar__title { font-family: var(--font-display); font-size: 1.25rem; color: var(--cream); margin-bottom: 0.75rem; line-height: 1.375; font-weight: 500; transition: color 0.3s ease; }
@media (min-width: 768px) { .ministry-pillar__title { font-size: 1.5rem; } }
.ministry-pillar:hover .ministry-pillar__title { color: var(--brass-light); }
.ministry-pillar__body { font-size: 1rem; color: color-mix(in srgb, var(--cream) 70%, transparent); font-weight: 400; line-height: 1.625; transition: color 0.3s ease; }
@media (min-width: 768px) { .ministry-pillar__body { font-size: 1.125rem; } }
.ministry-pillar:hover .ministry-pillar__body { color: color-mix(in srgb, var(--cream) 85%, transparent); }
.ministry-pillar__cta {
	margin-top: 1.25rem;
	align-self: flex-start;
	padding: 0.75rem 1.25rem;
	font-size: 0.65rem;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	font-weight: 600;
}
.ministry-gallery { margin-top: 3.5rem; }
.ministry-gallery__intro { margin-bottom: 1.75rem; }
.ministry-gallery__heading { font-family: var(--font-display); font-size: 1.5rem; color: var(--cream); font-weight: 500; line-height: 1.375; }
@media (min-width: 768px) { .ministry-gallery__heading { font-size: 1.875rem; } }
.ministry-gallery__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; background: transparent; border: 0; }
@media (min-width: 768px) { .ministry-gallery__grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; } }
@media (min-width: 1024px) { .ministry-gallery__grid { grid-template-columns: repeat(4, 1fr); } }
.ministry-gallery__item { position: relative; margin: 0; background: transparent; overflow: hidden; aspect-ratio: 16 / 9; transition: all 0.5s ease; }
.ministry-gallery__item:hover { background: transparent; transform: translateY(-4px); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--brass) 40%, transparent); }
.ministry-gallery__img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform 0.7s ease; }
.ministry-gallery__item:hover .ministry-gallery__img { transform: scale(1.04); }

/* -------------------------------------------------------------------------
 * SHOP + PRODUCT CARD (shared, Section 31.9/31.13)
 * ---------------------------------------------------------------------- */
.shop-section { background: var(--noir); }
.shop-header { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: end; margin-bottom: 3rem; }
@media (min-width: 768px) { .shop-header { grid-template-columns: repeat(12, 1fr); gap: 3rem; margin-bottom: 4rem; } }
.shop-header__copy { grid-column: 1 / -1; }
@media (min-width: 768px) { .shop-header__copy { grid-column: span 7; } }
.shop-header__body { grid-column: 1 / -1; color: var(--muted-foreground); font-weight: 400; line-height: 1.625; }
@media (min-width: 768px) { .shop-header__body { grid-column: span 5; } }

.theme-product-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.25rem;
	align-items: stretch;
}
@media (min-width: 640px) { .theme-product-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 1024px) { .theme-product-grid { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 2rem; } }

.theme-product-card-wrap { display: flex; height: 100%; }
.theme-product-card {
	position: relative;
	display: flex; flex-direction: column; height: 100%; width: 100%;
	background: var(--card); border: 1px solid var(--border); overflow: hidden;
	transition: all 0.5s cubic-bezier(0.4,0,0.2,1);
}
.theme-product-card:hover { border-color: color-mix(in srgb, var(--brass) 60%, transparent); box-shadow: 0 24px 60px -24px color-mix(in srgb, var(--noir) 55%, transparent), 0 0 0 1px color-mix(in srgb, var(--brass) 15%, transparent); }
.theme-product-card > .theme-card-link { position: absolute; inset: 0; z-index: 2; }
.theme-product-card *:not(.theme-card-link) { pointer-events: none; }
.theme-product-card__image-wrapper { position: relative; aspect-ratio: 4/5; background: var(--noir); overflow: hidden; }
.theme-product-card__badge { position: absolute; top: 1rem; left: 1rem; z-index: 1; padding: 0.3rem 0.6rem; font-size: 0.625rem; letter-spacing: 0.22em; text-transform: uppercase; background: color-mix(in srgb, var(--cream) 95%, transparent); color: var(--noir); font-weight: 500; }
.theme-product-card__image-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s cubic-bezier(0.25,0.4,0.25,1); }
.theme-product-card:hover .theme-product-card__image-wrapper img { transform: scale(1.06); }
.theme-product-card__body { flex: 1; display: flex; flex-direction: column; padding: 1.25rem; }
@media (min-width: 768px) { .theme-product-card__body { padding: 1.5rem; } }
.theme-product-card__title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 0.75rem; min-width: 0; }
.theme-product-card__title { font-family: var(--font-display); font-size: 1.125rem; color: var(--cream); line-height: 1.375; min-width: 0; overflow: hidden; }
@media (min-width: 768px) { .theme-product-card__title { font-size: 1.25rem; } }
.theme-product-card:hover .theme-product-card__title { color: var(--primary); }
.theme-product-card__price { font-size: 0.875rem; font-weight: 500; color: var(--cream); white-space: nowrap; margin-top: 0.125rem; }
.theme-product-card__tagline { font-size: 0.75rem; color: var(--muted-foreground); font-weight: 400; line-height: 1.625; margin-bottom: 1rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.theme-product-card__footer { margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: flex-end; }
.theme-product-card__view { display: inline-flex; align-items: center; gap: 0.25rem; font-family: var(--font-body); font-size: var(--btn-font-size-compact); letter-spacing: 0.18em; text-transform: uppercase; color: var(--brass); font-weight: 500; transition: color 0.3s ease; }
.theme-product-card:hover .theme-product-card__view { color: var(--primary); }
.theme-product-card__arrow { display: inline-block; transition: transform 0.3s ease; }
.theme-product-card:hover .theme-product-card__arrow { transform: translateX(4px); }

/* -------------------------------------------------------------------------
 * CTA BAND
 * ---------------------------------------------------------------------- */
.cta-band { position: relative; width: 100%; overflow: hidden; background: var(--noir); height: 80vh; min-height: 560px; }
@media (min-width: 768px) { .cta-band { height: 85vh; } }
.cta-band__media { position: absolute; inset: 0; }
.cta-band__img { opacity: 0.6; }
.cta-band__overlay { position: absolute; inset: 0; background: linear-gradient(to top, var(--noir), color-mix(in srgb, var(--noir) 50%, transparent), color-mix(in srgb, var(--noir) 40%, transparent)); }
.cta-band__content { position: absolute; bottom: 0; left: 0; right: 0; padding-top: 3rem; padding-bottom: 5rem; }
@media (min-width: 768px) { .cta-band__content { padding-top: 4rem; padding-bottom: 7rem; } }
.cta-band__grid { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: end; }
@media (min-width: 768px) { .cta-band__grid { grid-template-columns: repeat(12, 1fr); } }
.cta-band__copy { grid-column: 1 / -1; }
@media (min-width: 768px) { .cta-band__copy { grid-column: span 8; } }
.cta-band__title { color: var(--cream); max-width: 48rem; }
.cta-band__title em { display: block; }
.cta-band__title .heading-em--light { color: var(--brass-light); }
@media (min-width: 768px) { .cta-band__title em { display: inline; } }
.cta-band__actions {
	grid-column: 1 / -1;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}
@media (min-width: 640px) {
	.cta-band__actions {
		flex-direction: row;
	}
}
@media (min-width: 768px) {
	.cta-band__actions {
		grid-column: span 4;
		flex-direction: column;
		align-items: flex-end;
	}
}
.cta-band__btn {
	width: 100%;
	height: 3.5rem;
	padding: 0 2.25rem;
	border-radius: 0.375rem;
	font-size: 0.875rem;
	font-weight: 500;
	text-transform: none;
	letter-spacing: normal;
	text-decoration: none;
	box-sizing: border-box;
}
@media (min-width: 768px) {
	.cta-band__btn { width: 14rem; }
}
.cta-band__btn--outline {
	background: transparent;
	border: 1px solid color-mix(in srgb, var(--cream) 40%, transparent);
	color: var(--cream);
}
.cta-band__btn--outline:hover {
	background: color-mix(in srgb, var(--cream) 10%, transparent);
	border-color: color-mix(in srgb, var(--cream) 70%, transparent);
	color: var(--cream);
	transform: translateY(-2px);
}

/* -------------------------------------------------------------------------
 * COMMUNITY
 * ---------------------------------------------------------------------- */
.community-section { position: relative; overflow: hidden; background: var(--noir); }
.community-section__bg {
	position: absolute; inset: 0; pointer-events: none;
	background: radial-gradient(70% 60% at 15% 0%, color-mix(in srgb, var(--primary) 22%, transparent), transparent 65%),
		radial-gradient(50% 50% at 95% 100%, color-mix(in srgb, var(--brass) 14%, transparent), transparent 70%);
}
.community-section__content { position: relative; z-index: 1; }
.community-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 1024px) { .community-grid { grid-template-columns: repeat(12, 1fr); gap: 4rem; } }
.community-copy { grid-column: 1 / -1; }
@media (min-width: 1024px) { .community-copy { grid-column: span 7; } }
.community-section__divider { margin: 2rem 0; }
.community-lead { font-size: 1.125rem; color: color-mix(in srgb, var(--cream) 80%, transparent); font-weight: 400; line-height: 1.625; max-width: 42rem; }
@media (min-width: 768px) { .community-lead { font-size: 1.25rem; } }
@media (min-width: 1024px) { .community-lead { font-size: 1.5rem; } }
.community-pillars { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-top: 2.5rem; }
@media (min-width: 640px) { .community-pillars { grid-template-columns: repeat(2, 1fr); } }
.community-pillar { display: flex; align-items: center; gap: 0.75rem; border: 1px solid color-mix(in srgb, var(--brass) 25%, transparent); padding: 0.875rem 1rem; }
.community-pillar__icon { color: var(--brass-light); flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; width: 1.25rem; height: 1.25rem; }
.community-pillar__icon svg { display: block; width: 1.25rem; height: 1.25rem; }
.community-pillar span:last-child { font-size: 0.875rem; color: color-mix(in srgb, var(--cream) 85%, transparent); font-weight: 400; }
@media (min-width: 768px) { .community-pillar span:last-child { font-size: 1rem; } }
.community-card-wrap { grid-column: 1 / -1; }
@media (min-width: 1024px) { .community-card-wrap { grid-column: span 5; } }
.community-card { background: var(--noir-soft); border: 1px solid color-mix(in srgb, var(--brass) 30%, transparent); box-shadow: 0 0 0 1px color-mix(in srgb, var(--brass) 28%, transparent), 0 24px 70px -34px color-mix(in srgb, var(--brass) 55%, transparent); padding: 1.75rem; }
@media (min-width: 768px) { .community-card { padding: 2.25rem; } }
.community-card__badge { display: inline-block; padding: 0.25rem 0.75rem; font-family: var(--font-body); font-size: var(--btn-font-size-compact); letter-spacing: 0.22em; text-transform: uppercase; font-weight: 500; border: 1px solid color-mix(in srgb, var(--brass) 50%, transparent); color: var(--brass-light); }
.community-card__title { margin-top: 1.5rem; font-family: var(--font-display); font-size: 1.5rem; color: var(--cream); line-height: 1.375; font-weight: 500; }
@media (min-width: 768px) { .community-card__title { font-size: 1.875rem; } }
.community-card__body { margin-top: 1rem; color: color-mix(in srgb, var(--cream) 75%, transparent); font-weight: 400; line-height: 1.625; }
.community-card__divider { margin: 1.75rem 0; }

/* Newsletter form (shared: community + footer) */
.newsletter-form__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.newsletter-form--compact .newsletter-form__fields { grid-template-columns: 1fr; }
@media (min-width: 640px) { .newsletter-form--compact .newsletter-form__fields { grid-template-columns: 2fr 1fr; } }
.newsletter-input, .newsletter-input-wrap input {
	width: 100%; background: transparent; border: 1px solid var(--border); outline: none;
	padding: 0.875rem 1rem; font-family: var(--font-body); font-size: 1rem; font-weight: 400; color: var(--cream);
	transition: border-color 0.3s ease;
}
.newsletter-input::placeholder, .newsletter-input-wrap input::placeholder { color: var(--muted-foreground); }
.newsletter-input:focus, .newsletter-input-wrap input:focus { border-color: var(--brass); }
.newsletter-input-wrap { position: relative; }
.newsletter-input-icon { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--brass); pointer-events: none; }
.newsletter-input-wrap input { padding-left: 2.75rem; }
.newsletter-submit { margin-top: 0.75rem; width: 100%; }
@media (min-width: 640px) { .newsletter-form--compact .newsletter-submit { width: auto; } }
.newsletter-note { margin-top: 0.75rem; font-size: 0.75rem; color: var(--muted-foreground); font-weight: 400; }
.newsletter-success { display: flex; align-items: flex-start; gap: 0.75rem; border: 1px solid color-mix(in srgb, var(--brass) 40%, transparent); background: color-mix(in srgb, var(--brass) 5%, transparent); padding: 1.25rem; color: var(--cream); font-size: 0.875rem; line-height: 1.625; }
@media (min-width: 768px) { .newsletter-success { font-size: 1rem; } }

/* -------------------------------------------------------------------------
 * STORIES
 * ---------------------------------------------------------------------- */
.stories-section { background: var(--noir); }
.stories-section__intro { max-width: 48rem; }
.stories-section__divider { margin: 2rem 0; max-width: 20rem; }
.stories-section__body { color: var(--muted-foreground); font-weight: 400; line-height: 1.625; }
.stories-empty {
	margin-top: 3.5rem;
	border: 1px solid color-mix(in srgb, var(--brass) 30%, transparent);
	background: var(--card);
	box-shadow: 0 0 0 1px color-mix(in srgb, var(--brass) 28%, transparent), 0 24px 70px -34px color-mix(in srgb, var(--brass) 55%, transparent);
	padding: 3.5rem 1.75rem;
	text-align: center;
}
@media (min-width: 768px) { .stories-empty { padding: 5rem 1.75rem; } }
.stories-empty__icon {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	color: var(--brass);
}
.stories-empty__icon svg {
	display: block;
	width: 2rem;
	height: 2rem;
}
.stories-empty__badge { margin-top: 1.5rem; }
.stories-empty__title { margin-top: 1rem; font-family: var(--font-display); font-size: 1.5rem; color: var(--cream); font-weight: 500; line-height: 1.375; }
@media (min-width: 768px) { .stories-empty__title { font-size: 1.875rem; } }
.stories-empty__body { margin: 1rem auto 0; max-width: 36rem; color: var(--muted-foreground); font-weight: 400; line-height: 1.625; }
.stories-empty__cta { margin-top: 2rem; padding: 0.875rem 2rem; }
.stories-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
	margin-top: 3.5rem;
}
@media (min-width: 768px) {
	.stories-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
}
@media (min-width: 1024px) {
	.stories-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.story-card {
	display: flex;
	flex-direction: column;
	margin: 0;
	border: 1px solid var(--border);
	background: var(--card);
	padding: 1.75rem;
	transition: border-color 0.5s ease;
}
.story-card:hover { border-color: color-mix(in srgb, var(--brass) 50%, transparent); }
.story-card__quote-icon {
	display: block;
	color: var(--brass);
}
.story-card__quote-icon svg {
	display: block;
	width: 1.5rem;
	height: 1.5rem;
}
.story-card__quote {
	margin: 1.25rem 0 0;
	font-size: 1.125rem;
	color: color-mix(in srgb, var(--cream) 90%, transparent);
	font-weight: 300;
	line-height: 1.625;
}
.story-card__quote p { margin: 0; }
.story-card__caption {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-top: auto;
	padding-top: 1.25rem;
	border-top: 1px solid var(--border);
}
.story-card__photo {
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 9999px;
	object-fit: cover;
	box-shadow: 0 0 0 1px color-mix(in srgb, var(--brass) 40%, transparent);
}
.story-card__byline { display: flex; flex-direction: column; gap: 0.25rem; }
.story-card__name {
	font-size: 1rem;
	font-weight: 500;
	color: var(--cream);
}
.story-card__link {
	font-size: 0.75rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--brass);
	text-decoration: none;
}
.story-card__link:hover { text-decoration: underline; }

/* -------------------------------------------------------------------------
 * JOURNAL
 * ---------------------------------------------------------------------- */
.journal-section, .journal-archive, .journal-single { background: var(--noir); }
.journal-section__intro { display: grid; grid-template-columns: 1fr; gap: 1.5rem; align-items: end; margin-bottom: 3rem; }
@media (min-width: 768px) { .journal-section__intro { grid-template-columns: repeat(12, 1fr); } }
.journal-section__intro > div:first-child { grid-column: 1 / -1; }
@media (min-width: 768px) { .journal-section__intro > div:first-child { grid-column: span 7; } }
.journal-section__rule { margin-top: 2rem; }
.journal-section__body { grid-column: 1 / -1; color: var(--muted-foreground); font-weight: 400; font-size: 1.125rem; line-height: 1.625; }
@media (min-width: 768px) { .journal-section__body { grid-column: span 5; } }
.journal-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; margin-top: 3rem; }
@media (min-width: 768px) { .journal-grid { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 2rem; } }
.journal-grid--related { margin-top: 2rem; }
@media (min-width: 768px) { .journal-grid--related { grid-template-columns: repeat(2, minmax(0,1fr)); } }
.journal-card { display: flex; flex-direction: column; border: 1px solid var(--border); background: var(--card); transition: border-color 0.3s ease; }
.journal-card:hover { border-color: color-mix(in srgb, var(--brass) 60%, transparent); }
.journal-card__body { padding: 1.75rem; display: flex; flex-direction: column; height: 100%; }
.journal-card__meta { display: flex; align-items: center; gap: 0.75rem; font-family: var(--font-body); font-size: 0.75rem; letter-spacing: 0.22em; text-transform: uppercase; }
.journal-card__date { color: color-mix(in srgb, var(--muted-foreground) 70%, transparent); }
.journal-card__title { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.375; font-weight: 500; margin-top: 1rem; color: var(--cream); }
@media (min-width: 768px) { .journal-card__title { font-size: 1.75rem; } }
.journal-card__title a { color: inherit; }
.journal-card__excerpt { margin-top: 1rem; color: var(--muted-foreground); font-weight: 400; font-size: 1rem; line-height: 1.625; }
@media (min-width: 768px) { .journal-card__excerpt { font-size: 1.125rem; } }
.journal-card__link { margin-top: auto; padding-top: 1.75rem; display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-body); font-size: var(--btn-font-size); letter-spacing: 0.22em; text-transform: uppercase; font-weight: 500; color: var(--cream); transition: color 0.3s ease; }
.journal-card:hover .journal-card__link { color: var(--brass); }
.journal-section__cta { margin-top: 3rem; }
.journal-section__empty { color: var(--muted-foreground); margin-top: 2rem; }

.journal-archive__hero-inner { padding-top: 9rem; padding-bottom: 4rem; text-align: center; }
@media (min-width: 768px) { .journal-archive__hero-inner { padding-top: 11rem; padding-bottom: 5rem; } }
body.admin-bar .journal-archive__hero-inner { padding-top: calc(9rem + 32px); }
body.admin-bar .journal-single__header-inner { padding-top: calc(9rem + 32px); }
@media (min-width: 768px) {
	body.admin-bar .journal-archive__hero-inner { padding-top: calc(11rem + 32px); }
	body.admin-bar .journal-single__header-inner { padding-top: calc(11rem + 32px); }
}
@media screen and (max-width: 782px) {
	body.admin-bar .journal-archive__hero-inner,
	body.admin-bar .journal-single__header-inner { padding-top: calc(9rem + 46px); }
}
.journal-archive__title { font-family: var(--font-display); color: var(--cream); font-size: 2.25rem; font-weight: 500; line-height: 1.1; margin-top: 1rem; }
.journal-archive__title .heading-em--accent,
.journal-archive__title em { color: var(--brass-light); font-style: italic; font-family: var(--font-display); }
@media (min-width: 768px) { .journal-archive__title { font-size: 3rem; } }
@media (min-width: 1024px) { .journal-archive__title { font-size: 3.75rem; } }
.journal-archive__divider { margin: 2rem auto 0; max-width: 20rem; }
.journal-archive__body { padding-top: 3.5rem; padding-bottom: 5rem; }
@media (min-width: 768px) { .journal-archive__body { padding-top: 5rem; padding-bottom: 5rem; } }
.journal-filters { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.journal-filter { padding: 0.625rem 1.25rem; font-size: 0.75rem; letter-spacing: 0.22em; text-transform: uppercase; border: 1px solid var(--border); color: var(--muted-foreground); background: transparent; font-family: var(--font-body); cursor: pointer; transition: all 0.3s ease; text-decoration: none; }
.journal-filter:hover, .journal-filter.is-active { border-color: color-mix(in srgb, var(--brass) 60%, transparent); color: var(--brass); }
.journal-archive__empty { margin-top: 3rem; color: var(--muted-foreground); }
.journal-archive__empty--filtered { margin-top: 0; }
.journal-archive .navigation.pagination,
.journal-archive__pagination { margin-top: 3rem; }
.journal-archive .nav-links,
.journal-archive__pagination { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }

/* Giving page */
.giving-page__hero-inner { padding-top: 9rem; padding-bottom: 4rem; text-align: center; }
@media (min-width: 768px) { .giving-page__hero-inner { padding-top: 11rem; padding-bottom: 5rem; } }
body.admin-bar .giving-page__hero-inner { padding-top: calc(9rem + 32px); }
@media (min-width: 783px) {
	body.admin-bar .giving-page__hero-inner { padding-top: calc(11rem + 32px); }
}
.giving-page__title { font-family: var(--font-display); color: var(--cream); font-size: 2.25rem; font-weight: 500; line-height: 1.1; margin-top: 1rem; }
.giving-page__title em { color: var(--brass-light); font-style: italic; font-family: var(--font-display); }
@media (min-width: 768px) { .giving-page__title { font-size: 3rem; } }
@media (min-width: 1024px) { .giving-page__title { font-size: 3.75rem; } }
.giving-page__divider { margin: 2rem auto 0; max-width: 20rem; display: block; }
.giving-page__body { padding-top: 3.5rem; padding-bottom: 5rem; max-width: 48rem; margin-left: auto; margin-right: auto; text-align: center; }
@media (min-width: 768px) { .giving-page__body { padding-top: 5rem; padding-bottom: 5rem; } }
.giving-page__intro { color: var(--muted-foreground); font-family: var(--font-body); font-weight: 300; font-size: 1rem; line-height: 1.75; }
@media (min-width: 768px) { .giving-page__intro { font-size: 1.125rem; } }
.giving-page__cta { display: inline-block; margin-top: 2.5rem; padding: 1rem 2.5rem; font-size: 0.75rem; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 600; text-decoration: none; }
.giving-page__footnote { margin-top: 2rem; font-size: 0.875rem; color: color-mix(in srgb, var(--muted-foreground) 80%, transparent); font-family: var(--font-body); font-weight: 300; }
.journal-archive .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 2.5rem; padding: 0.625rem 1rem; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; border: 1px solid var(--border); color: var(--muted-foreground); text-decoration: none; transition: all 0.3s ease; }
.journal-archive .page-numbers:hover,
.journal-archive .page-numbers.current { border-color: color-mix(in srgb, var(--brass) 60%, transparent); color: var(--brass); }

.journal-single__header-inner { padding-top: 9rem; padding-bottom: 3.5rem; text-align: left; }
@media (min-width: 768px) { .journal-single__header-inner { padding-top: 11rem; padding-bottom: 4.5rem; } }
.journal-single__back { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.75rem; letter-spacing: 0.22em; text-transform: uppercase; color: color-mix(in srgb, var(--cream) 70%, transparent); transition: color 0.3s ease; }
.journal-single__back:hover { color: var(--brass-light); }
.journal-single__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; font-size: 0.75rem; letter-spacing: 0.22em; text-transform: uppercase; margin-top: 2rem; color: color-mix(in srgb, var(--cream) 60%, transparent); }
.journal-single__title { font-family: var(--font-display); color: var(--cream); font-size: 2.25rem; font-weight: 500; margin-top: 1rem; max-width: 56rem; line-height: 1.1; }
@media (min-width: 768px) { .journal-single__title { font-size: 3rem; } }
@media (min-width: 1024px) { .journal-single__title { font-size: 3.75rem; } }
.journal-single__divider { margin-top: 2rem; max-width: 20rem; width: 100%; }
.journal-single__body { padding-top: 3.5rem; padding-bottom: 5rem; }
@media (min-width: 768px) { .journal-single__body { padding-top: 5rem; padding-bottom: 5rem; } }
.journal-single__inner { max-width: 48rem; }
.journal-single__excerpt { font-size: 1.25rem; line-height: 1.625; color: color-mix(in srgb, var(--cream) 90%, transparent); margin: 0; max-width: none; }
@media (min-width: 768px) { .journal-single__excerpt { font-size: 1.5rem; } }
.journal-single__content { margin-top: 2.5rem; color: var(--muted-foreground); font-size: 1.125rem; line-height: 1.625; }
@media (min-width: 768px) { .journal-single__content { font-size: 1.25rem; } }
.journal-single__content > *:last-child { margin-bottom: 0; }
.journal-single__content p { margin: 0 0 1.75rem; max-width: none; }
.journal-single__content h2 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; color: var(--cream); line-height: 1.375; padding-top: 1rem; margin: 0 0 1rem; }
@media (min-width: 768px) { .journal-single__content h2 { font-size: 1.875rem; } }
.journal-single__content blockquote { border-left: 2px solid var(--brass); background: var(--card); padding: 1.5rem 1.75rem; margin: 0 0 1.75rem; }
@media (min-width: 768px) { .journal-single__content blockquote { padding: 1.75rem 2rem; } }
.journal-single__content blockquote p { font-family: var(--font-display); font-style: italic; font-size: 1.25rem; line-height: 1.625; color: var(--cream); margin: 0; }
@media (min-width: 768px) { .journal-single__content blockquote p { font-size: 1.5rem; } }
.journal-single__content blockquote cite { display: block; margin-top: 1rem; font-style: normal; font-family: var(--font-body); font-size: 0.75rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--brass); }
.journal-single__related { margin-top: 4rem; padding-top: 3rem; border-top: 1px solid var(--border); }
.journal-single__related h2 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; color: var(--cream); line-height: 1.375; }
@media (min-width: 768px) { .journal-single__related h2 { font-size: 1.875rem; } }
.journal-single__related .journal-grid { margin-top: 2rem; }

/* -------------------------------------------------------------------------
 * FAQ
 * ---------------------------------------------------------------------- */
.faq-section { background: var(--noir); }
.faq-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: start; }
@media (min-width: 1024px) { .faq-grid { grid-template-columns: repeat(12, 1fr); gap: 5rem; } }
.faq-image { grid-column: 1 / -1; aspect-ratio: 4/5; }
@media (min-width: 1024px) { .faq-image { grid-column: span 5; position: sticky; top: 7rem; } }
.faq-image__caption { position: absolute; inset-inline: 0; bottom: 0; padding: 1.75rem; background: linear-gradient(to top, color-mix(in srgb, var(--noir) 90%, transparent), transparent); z-index: 1; }
.faq-image__quote { margin-top: 0.5rem; font-family: var(--font-display); color: var(--cream); font-size: 1.5rem; line-height: 1.375; font-weight: 500; max-width: 22rem; }
.faq-copy { grid-column: 1 / -1; }
@media (min-width: 1024px) { .faq-copy { grid-column: span 7; } }
.faq-section__body { margin-top: 1.25rem; color: var(--muted-foreground); font-weight: 400; line-height: 1.625; max-width: 32rem; }
.faq-list { margin-top: 2.5rem; border-top: 1px solid var(--border); }
@media (min-width: 768px) { .faq-list { margin-top: 3rem; } }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item__question { width: 100%; display: flex; align-items: center; gap: 1.25rem; padding: 1.5rem 0; background: transparent; border: none; text-align: left; }
@media (min-width: 768px) { .faq-item__question { gap: 1.75rem; padding: 1.75rem 0; } }
.faq-item__number { font-family: var(--font-display); font-size: 1.125rem; flex-shrink: 0; color: var(--muted-foreground); font-weight: 500; transition: color 0.3s ease; }
.faq-item__question[aria-expanded="true"] .faq-item__number { color: var(--primary); }
.faq-item__text { flex: 1; font-family: var(--font-display); font-size: 1.125rem; font-weight: 500; line-height: 1.375; color: color-mix(in srgb, var(--cream) 85%, transparent); transition: color 0.3s ease; }
@media (min-width: 768px) { .faq-item__text { font-size: 1.25rem; } }
.faq-item__question[aria-expanded="true"] .faq-item__text { color: var(--cream); }
.faq-item__plus { flex-shrink: 0; color: var(--muted-foreground); transition: transform 0.3s ease, color 0.3s ease; }
.faq-item__question[aria-expanded="true"] .faq-item__plus { transform: rotate(45deg); color: var(--primary); }
.faq-item__answer { overflow: hidden; }
.faq-item__answer p { padding: 0 1.5rem 1.5rem 2.5rem; color: var(--muted-foreground); font-weight: 400; line-height: 1.625; max-width: 42rem; font-size: 0.875rem; }
@media (min-width: 768px) { .faq-item__answer p { padding-left: 3rem; font-size: 1rem; } }

/* -------------------------------------------------------------------------
 * CONTACT
 * ---------------------------------------------------------------------- */
.contact-section { background: var(--noir); }
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: stretch; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: repeat(12, 1fr); gap: 4rem; } }
.contact-info { grid-column: 1 / -1; display: flex; flex-direction: column; }
@media (min-width: 1024px) { .contact-info { grid-column: span 5; } }
.contact-info__body { margin-top: 1.25rem; color: color-mix(in srgb, var(--cream) 70%, transparent); font-weight: 400; line-height: 1.625; max-width: 28rem; }
.contact-links { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1.25rem; flex: 1; }
.contact-link { display: flex; align-items: center; gap: 1rem; }
.contact-link__icon { width: 2.75rem; height: 2.75rem; border: 1px solid var(--noir-soft); display: flex; align-items: center; justify-content: center; color: var(--brass-light); transition: border-color 0.3s ease; flex-shrink: 0; }
.contact-link:hover .contact-link__icon { border-color: var(--brass-light); }
.contact-link span:last-child { font-size: 0.875rem; font-weight: 400; color: color-mix(in srgb, var(--cream) 85%, transparent); transition: color 0.3s ease; overflow-wrap: break-word; }
.contact-link:hover span:last-child { color: var(--cream); }
.contact-form-wrap { grid-column: 1 / -1; display: flex; flex-direction: column; height: 100%; }
@media (min-width: 1024px) { .contact-form-wrap { grid-column: span 7; } }
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; flex: 1; }
.contact-form__row { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 768px) { .contact-form__row { grid-template-columns: 1fr 1fr; } }
.contact-form__field { display: flex; flex-direction: column; }
.contact-form__field--grow { flex: 1; }
.contact-form__field label { margin-bottom: 0.75rem; }
.contact-form__input {
	width: 100%; background: transparent; border: 1px solid color-mix(in srgb, var(--cream) 25%, transparent);
	color: var(--cream); font-family: var(--font-body); font-size: 0.875rem; font-weight: 400; padding: 0.875rem 1rem;
	transition: border-color 0.3s ease; outline: none;
}
.contact-form__input::placeholder { color: color-mix(in srgb, var(--cream) 30%, transparent); }
.contact-form__input:focus { border-color: var(--brass-light); }
.contact-form__textarea { resize: none; flex: 1; min-height: 8rem; }
.contact-form__submit { width: 100%; }
.contact-form__success { border: 1px solid color-mix(in srgb, var(--cream) 25%, transparent); padding: 2.5rem; text-align: center; flex: 1; display: flex; flex-direction: column; justify-content: center; }
.contact-form__success-icon { width: 3.5rem; height: 3.5rem; background: var(--primary); color: var(--primary-foreground); display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem; }
.contact-form__success h3 { font-family: var(--font-display); font-size: 1.875rem; font-weight: 500; color: var(--cream); margin-bottom: 0.75rem; line-height: 1.1; }
@media (min-width: 768px) { .contact-form__success h3 { font-size: 2.25rem; } }
.contact-form__success p { color: color-mix(in srgb, var(--cream) 70%, transparent); font-weight: 400; line-height: 1.625; max-width: 28rem; margin: 0 auto; }

.contact-marquee {
	--contact-marquee-duration: 10s;
	border-top: 1px solid color-mix(in srgb, var(--cream) 15%, transparent);
	border-bottom: 1px solid color-mix(in srgb, var(--cream) 15%, transparent);
	background: var(--noir);
	overflow: hidden;
	padding: 1.25rem 0;
}
@media (min-width: 768px) {
	.contact-marquee {
		--contact-marquee-duration: 40s;
		padding: 1.5rem 0;
	}
}
.contact-marquee__track {
	display: flex;
	width: max-content;
	white-space: nowrap;
	will-change: transform;
	animation: marquee var(--contact-marquee-duration) linear infinite;
}
.contact-marquee__set { display: flex; align-items: center; gap: 1.5rem; padding: 0 1rem; font-family: var(--font-body); font-size: 0.875rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 400; color: color-mix(in srgb, var(--cream) 75%, transparent); }
@media (min-width: 768px) { .contact-marquee__set { gap: 2.5rem; padding: 0 1.5rem; font-size: 1rem; } }
.contact-marquee__dot { color: var(--brass); }

/* -------------------------------------------------------------------------
 * SALVATION
 * ---------------------------------------------------------------------- */
.salvation-section { background: var(--noir); }
.salvation-section__heading-wrap { max-width: 48rem; margin: 0 auto; text-align: center; }
.salvation-section__heading { color: var(--cream); }
.salvation-section__heading .heading-em--light,
.salvation-section__heading em { color: var(--brass-light); font-style: italic; }
.salvation-section__divider { margin: 2rem auto 0; max-width: 20rem; }
.salvation-section__body { max-width: 48rem; margin: 2.5rem auto 0; display: flex; flex-direction: column; gap: 1.5rem; color: color-mix(in srgb, var(--cream) 85%, transparent); font-weight: 400; font-size: 1.125rem; line-height: 1.625; }
@media (min-width: 768px) { .salvation-section__body { font-size: 1.25rem; } }
.salvation-section__prayer { border-left: 2px solid var(--brass-light); background: color-mix(in srgb, var(--cream) 6%, transparent); padding: 1.75rem 1.5rem; margin: 0.5rem 0; }
@media (min-width: 768px) { .salvation-section__prayer { padding: 2.25rem; } }
.salvation-section__prayer p { font-family: var(--font-display); font-style: italic; color: var(--cream); font-size: 1.25rem; line-height: 1.625; margin: 0; font-weight: 500; }
@media (min-width: 768px) { .salvation-section__prayer p { font-size: 1.5rem; } }

.salvation-decision-banner { background: var(--noir); padding-bottom: 4rem; }
@media (min-width: 768px) { .salvation-decision-banner { padding-bottom: 5rem; } }
.salvation-decision-banner__wrap { padding-left: 1.5rem; padding-right: 1.5rem; }
.salvation-decision-banner__inner {
	max-width: 48rem;
	margin: 0 auto;
	text-align: center;
	border: 1px solid color-mix(in srgb, var(--brass-light) 35%, transparent);
	background: color-mix(in srgb, var(--cream) 6%, transparent);
	padding: 2rem 1.5rem;
}
@media (min-width: 768px) { .salvation-decision-banner__inner { padding: 2.5rem 2.25rem; } }
.salvation-decision-banner__title {
	font-family: var(--font-display);
	font-size: 1.5rem;
	font-weight: 500;
	line-height: 1.25;
	color: var(--cream);
	margin: 0;
}
@media (min-width: 768px) { .salvation-decision-banner__title { font-size: 1.875rem; } }
.salvation-decision-banner__body {
	margin-top: 1.25rem;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	color: color-mix(in srgb, var(--cream) 85%, transparent);
	font-weight: 400;
	font-size: 1rem;
	line-height: 1.625;
}
@media (min-width: 768px) { .salvation-decision-banner__body { font-size: 1.125rem; } }
.salvation-decision-banner__body p { margin: 0; }
.salvation-decision-banner__email {
	color: var(--brass-light);
	text-decoration: underline;
	text-decoration-color: color-mix(in srgb, var(--brass-light) 45%, transparent);
	text-underline-offset: 0.2em;
	word-break: break-all;
	transition: color 0.2s ease, text-decoration-color 0.2s ease;
}
.salvation-decision-banner__email:hover {
	color: var(--cream);
	text-decoration-color: var(--cream);
}

/* -------------------------------------------------------------------------
 * FOOTER
 * ---------------------------------------------------------------------- */
.site-footer { background: var(--noir); }
.site-footer__top { padding-top: 4rem; }
@media (min-width: 1024px) { .site-footer__top { padding-top: 5rem; } }
.site-footer__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: repeat(12, 1fr); gap: 2.5rem; } }
@media (min-width: 1024px) { .site-footer__grid { gap: 3rem; } }
.site-footer__brand { grid-column: 1 / -1; }
@media (min-width: 768px) { .site-footer__brand { grid-column: span 5; } }
.footer-logo-img { height: 3.5rem; }
@media (min-width: 1024px) { .footer-logo-img { height: 4rem; } }
.site-footer__tagline { margin-top: 1.5rem; font-size: 0.875rem; color: color-mix(in srgb, var(--cream) 70%, transparent); max-width: 28rem; line-height: 1.625; font-weight: 400; }
.site-footer__social { display: flex; gap: 1rem; margin-top: 1.5rem; }
.social-icon { width: 2.5rem; height: 2.5rem; border: 1px solid var(--noir-soft); display: flex; align-items: center; justify-content: center; color: color-mix(in srgb, var(--cream) 70%, transparent); transition: all 0.3s ease; }
.social-icon:hover { border-color: var(--brass-light); color: var(--brass-light); }
.site-footer__nav { grid-column: 1 / -1; }
@media (min-width: 768px) { .site-footer__nav { grid-column: span 3; } }
.footer-heading { font-family: var(--font-body); font-size: 0.75rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--brass-light); margin-bottom: 1.25rem; font-weight: 500; }
.theme-footer-nav-list { display: flex; flex-direction: column; gap: 0.75rem; }
.theme-footer-nav-link { font-size: 0.875rem; color: color-mix(in srgb, var(--cream) 75%, transparent); font-weight: 400; transition: color 0.3s ease; }
.theme-footer-nav-link:hover { color: var(--brass-light); }
.site-footer__contact { grid-column: 1 / -1; }
@media (min-width: 768px) { .site-footer__contact { grid-column: span 4; } }
.footer-contact-list { display: flex; flex-direction: column; gap: 0.75rem; list-style: none; margin: 0; padding: 0; }
.footer-contact-list__item { font-size: 0.875rem; line-height: 1.625; }
.footer-contact-list__item--icon { display: flex; align-items: center; gap: 0.75rem; color: color-mix(in srgb, var(--cream) 75%, transparent); }
.footer-contact-list__item--social { color: color-mix(in srgb, var(--cream) 65%, transparent); }
.footer-contact-list__icon { display: inline-flex; flex-shrink: 0; color: var(--brass-light); }
.footer-contact-list a { transition: color 0.3s ease; overflow-wrap: anywhere; }
.footer-contact-list__item--icon a:hover { color: var(--cream); }
.footer-contact-handle { color: var(--brass-light); }
.footer-contact-handle:hover { color: var(--cream); }
.site-footer__newsletter { margin-top: 3.5rem; }
.site-footer__newsletter-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: start; margin-top: 2.5rem; }
@media (min-width: 1024px) { .site-footer__newsletter-grid { grid-template-columns: repeat(12, 1fr); gap: 2rem; } }
.site-footer__newsletter-grid > div:first-child { grid-column: 1 / -1; }
@media (min-width: 1024px) { .site-footer__newsletter-grid > div:first-child { grid-column: span 5; } }
.site-footer__newsletter-grid > div:last-child { grid-column: 1 / -1; }
@media (min-width: 1024px) { .site-footer__newsletter-grid > div:last-child { grid-column: span 7; } }
.footer-newsletter-title { font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; color: var(--cream); line-height: 1.375; }
.footer-newsletter-title .gold-foil-em { font-style: italic; }
.footer-newsletter-body { margin-top: 0.75rem; font-size: 0.875rem; color: color-mix(in srgb, var(--cream) 70%, transparent); max-width: 24rem; line-height: 1.625; font-weight: 400; }
.site-footer__bottom { margin-top: 3.5rem; padding-top: 2rem; border-top: 1px solid var(--noir-soft); display: flex; flex-direction: column; gap: 1rem; align-items: center; justify-content: space-between; padding-bottom: 2rem; }
@media (min-width: 640px) { .site-footer__bottom { flex-direction: row; } }
.footer-copy { font-family: var(--font-body); font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; color: color-mix(in srgb, var(--cream) 50%, transparent); margin: 0; font-weight: 400; }

/* -------------------------------------------------------------------------
 * SIDE CART DRAWER
 * ---------------------------------------------------------------------- */
#theme-cart-overlay {
	position: fixed; inset: 0; z-index: 90;
	background: color-mix(in srgb, var(--cream) 20%, transparent);
	opacity: 0; pointer-events: none; transition: opacity 0.4s ease;
}
body.cart-open #theme-cart-overlay { opacity: 1; pointer-events: auto; }
#theme-cart-drawer {
	position: fixed; top: 0; right: 0; bottom: 0; z-index: 91;
	width: 100%; max-width: 28rem;
	background: var(--noir); color: var(--cream);
	box-shadow: -24px 0 60px -20px rgba(0,0,0,0.7);
	display: flex; flex-direction: column;
	transform: translateX(100%);
	transition: transform 0.45s cubic-bezier(0.16,1,0.3,1);
}
body.cart-open #theme-cart-drawer { transform: translateX(0); }
#theme-cart-drawer.is-updating { opacity: 0.6; pointer-events: none; }
.theme-cart-drawer__header { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem; border-bottom: 1px solid var(--border); }
.theme-cart-drawer__title { font-family: var(--font-display); font-size: 1.125rem; font-weight: 700; }
.theme-cart-drawer__close { background: transparent; border: none; color: var(--cream); padding: 0.25rem; opacity: 0.8; transition: opacity 0.2s ease; }
.theme-cart-drawer__close:hover { opacity: 1; }
.theme-cart-drawer__empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1.5rem; text-align: center; gap: 1.5rem; }
.theme-cart-drawer__empty svg { color: var(--muted-foreground); }
.theme-cart-drawer__empty p { color: var(--muted-foreground); margin: 0; }
.theme-cart-drawer__items { flex: 1; overflow: auto; padding: 1.5rem; display: flex; flex-direction: column; gap: 1.5rem; }
.theme-cart-item { display: flex; gap: 1rem; }
.theme-cart-item__image { width: 5rem; height: 6rem; background: var(--bone); overflow: hidden; flex-shrink: 0; display: block; }
.theme-cart-item__image img { width: 100%; height: 100%; object-fit: cover; }
.theme-cart-item__info { flex: 1; min-width: 0; }
.theme-cart-item__name { display: block; font-family: var(--font-body); font-size: 0.875rem; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: opacity 0.2s ease; }
.theme-cart-item__name:hover { opacity: 0.7; }
.theme-cart-item__price { font-size: 0.875rem; color: var(--muted-foreground); margin: 0.125rem 0 0; }
.theme-cart-item__meta {
	list-style: none;
	margin: 0.375rem 0 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}
.theme-cart-item__meta-row {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.75rem;
	color: var(--muted-foreground);
	font-family: var(--font-body);
}
.theme-cart-item__meta-swatch {
	width: 0.75rem;
	height: 0.75rem;
	border-radius: 999px;
	border: 1px solid var(--border);
	flex-shrink: 0;
}
.theme-cart-item__meta-label { color: var(--muted-foreground); }
.theme-cart-item__meta-value { color: var(--cream); }
.theme-cart-item__controls { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.75rem; }
.theme-cart-item__qty-btn { background: transparent; border: none; color: var(--cream); padding: 0.25rem; border-radius: 4px; transition: background 0.2s ease; }
.theme-cart-item__qty-btn:hover { background: color-mix(in srgb, var(--cream) 10%, transparent); }
.theme-cart-item__qty { font-size: 0.875rem; width: 1.5rem; text-align: center; }
.theme-cart-item__remove { margin-left: auto; background: transparent; border: none; font-size: 0.75rem; color: var(--muted-foreground); transition: color 0.2s ease; }
.theme-cart-item__remove:hover { color: var(--cream); }
.theme-cart-drawer__footer { padding: 1.5rem; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 1rem; }
.theme-cart-drawer__subtotal { display: flex; justify-content: space-between; font-family: var(--font-body); font-size: 0.875rem; }
.theme-cart-drawer__subtotal span:first-child { color: var(--muted-foreground); }
.theme-cart-drawer__note { font-size: 0.75rem; color: var(--muted-foreground); margin: 0; }
.theme-cart-drawer__checkout { width: 100%; text-align: center; }
.woocommerce-page a.added_to_cart.wc-forward,
.single-product a.added_to_cart.wc-forward,
body a.added_to_cart.wc-forward { display: none !important; }

/* -------------------------------------------------------------------------
 * WOOCOMMERCE OVERRIDES (Section 14)
 * ---------------------------------------------------------------------- */
.single-product .woocommerce-message,
.single-product .woocommerce-info { display: none; }
.single-product .woocommerce-tabs,
.single-product .product_meta,
.single-product .woocommerce-product-gallery { display: none !important; }
#theme-cart-drawer .woocommerce-message { display: none; }
.woocommerce-message, .woocommerce-error, .woocommerce-info {
	font-family: var(--font-body); border: 1px solid var(--border); background: var(--card);
	color: var(--cream); padding: 1rem 1.5rem; border-radius: 0; list-style: none;
}
.woocommerce-error { border-color: var(--primary); }

.single_add_to_cart_button.button,
.add_to_cart_button.button,
a.single_add_to_cart_button,
a.add_to_cart_button {
	background-color: var(--color-primary) !important;
	color: var(--color-button-text) !important;
	border: none !important;
	border-radius: var(--btn-radius) !important;
	min-height: var(--btn-height) !important;
	padding: var(--btn-padding) !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	font-family: var(--font-body) !important;
	font-size: var(--btn-font-size) !important;
	font-weight: var(--btn-font-weight) !important;
	letter-spacing: var(--btn-letter-spacing) !important;
	text-transform: var(--btn-text-transform) !important;
	cursor: pointer !important;
	transition: opacity 0.2s ease !important;
}
.single_add_to_cart_button.button:hover,
.add_to_cart_button.button:hover {
	opacity: 0.85 !important;
	background-color: var(--color-primary) !important;
	color: var(--color-button-text) !important;
}
.single_add_to_cart_button.button:disabled,
.single_add_to_cart_button.button.disabled,
.add_to_cart_button.button:disabled,
.add_to_cart_button.button.disabled {
	cursor: not-allowed !important;
	opacity: 0.4 !important;
	pointer-events: none !important;
}
.single_add_to_cart_button.button:disabled:hover,
.single_add_to_cart_button.button.disabled:hover,
.add_to_cart_button.button:disabled:hover,
.add_to_cart_button.button.disabled:hover {
	opacity: 0.4 !important;
	background-color: var(--color-primary) !important;
}
.single-product .single_add_to_cart_button.loading::after,
.ajax_add_to_cart.loading::after { display: none !important; }

.theme-attr-select-hidden { display: none !important; }

/* -------------------------------------------------------------------------
 * SINGLE PRODUCT (ProductDetail.tsx)
 * ---------------------------------------------------------------------- */
body.theme-no-hero .site-main.single-product-main {
	padding-top: 6rem !important;
	padding-bottom: 5rem;
}
@media (min-width: 1024px) {
	body.theme-no-hero .site-main.single-product-main {
		padding-top: 7rem !important;
	}
}
body.admin-bar.theme-no-hero .site-main.single-product-main {
	padding-top: calc(6rem + 32px) !important;
}
@media (min-width: 1024px) {
	body.admin-bar.theme-no-hero .site-main.single-product-main {
		padding-top: calc(7rem + 32px) !important;
	}
}
@media screen and (max-width: 782px) {
	body.admin-bar.theme-no-hero .site-main.single-product-main {
		padding-top: calc(6rem + 46px) !important;
	}
}

.back-to-shop { padding: 1.5rem 0; }
.back-to-shop__link { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-body); font-size: 0.875rem; color: var(--muted-foreground); transition: color 0.3s ease; }
.back-to-shop__link:hover { color: var(--cream); }

.theme-product-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 2.5rem;
	padding-bottom: 5rem;
	min-width: 0;
}
@media (min-width: 1024px) {
	.theme-product-layout {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		gap: 4rem;
	}
}
.theme-product-gallery,
.theme-product-info {
	min-width: 0;
	max-width: 100%;
}
@media (min-width: 1024px) {
	.theme-product-info { padding-top: 2.5rem; padding-bottom: 2.5rem; }
}

.theme-product-gallery__main {
	aspect-ratio: 3 / 4;
	background: var(--card);
	overflow: hidden;
	margin-bottom: 1rem;
}
.theme-product-gallery__image,
#product-main-img {
	position: static !important;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.theme-product-thumbnails {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 0.5rem;
	max-width: 100%;
}
.theme-product-thumb {
	aspect-ratio: 1 / 1;
	overflow: hidden;
	border: 2px solid transparent;
	opacity: 0.6;
	transition: all 0.3s ease;
	background: var(--card);
	padding: 0;
	cursor: pointer;
}
.theme-product-thumb:hover { opacity: 1; }
.theme-product-thumb.is-active { border-color: var(--primary); opacity: 1; }
.theme-product-thumb__image,
.theme-product-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	position: static !important;
}

.theme-product-category {
	display: block;
	font-family: var(--font-body);
	font-size: 0.75rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--muted-foreground);
}

.product-title {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1.5rem;
	margin-top: 0.5rem;
	margin-bottom: 1rem;
	line-height: 1.375;
}
@media (min-width: 768px) {
	.product-title { font-size: 1.875rem; }
}

.theme-product-info__price {
	font-family: var(--font-body);
	font-size: 1.5rem;
	font-weight: 600;
	margin-bottom: 1.5rem;
}
.theme-product-price-display--muted { color: var(--muted-foreground); font-weight: 400; }
.theme-product-price-breakdown {
	margin-left: 0.5rem;
	font-size: 0.875rem;
	font-weight: 400;
	color: var(--muted-foreground);
}

.theme-product-description {
	color: var(--muted-foreground);
	line-height: 1.625;
	margin-bottom: 2rem;
	overflow-wrap: break-word;
	word-break: break-word;
	font-weight: 400;
	white-space: pre-line;
}
.theme-product-description p { margin: 0 0 1rem; max-width: none; }
.theme-product-description p:last-child { margin-bottom: 0; }

.theme-product-option { margin-bottom: 1.5rem; }
.theme-product-option__label {
	font-family: var(--font-body);
	font-size: 0.875rem;
	font-weight: 600;
	margin-bottom: 0.75rem;
}
.theme-product-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}
.theme-product-pills--color { gap: 0.75rem; }
.theme-product-pills--option .theme-product-pill.is-selected,
.theme-product-pills:not(.theme-product-pills--color) .theme-product-pill.is-selected {
	background: var(--primary);
	color: var(--primary-foreground);
	border-color: var(--primary);
}
.theme-product-pill {
	padding: 0.5rem 1rem;
	font-family: var(--font-body);
	font-size: 0.875rem;
	border: 1px solid var(--border);
	background: transparent;
	color: var(--cream);
	transition: all 0.2s ease;
}
.theme-product-pill:hover { border-color: color-mix(in srgb, var(--primary) 50%, transparent); }
.theme-product-pills--color .theme-product-pill--color {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
}
.theme-product-pills--color .theme-product-pill--color.is-selected {
	background: color-mix(in srgb, var(--primary) 5%, transparent);
	color: var(--cream);
	border-color: var(--primary);
}
.theme-product-pill__swatch {
	width: 1rem;
	height: 1rem;
	border-radius: 999px;
	border: 1px solid var(--border);
	flex-shrink: 0;
}
.theme-attr-select-wrap,
.theme-attr-select-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.theme-add-to-cart-area {
	display: flex;
	align-items: stretch;
	flex-wrap: wrap;
	gap: 1rem;
	margin-bottom: 2rem;
}
.theme-quantity-wrapper {
	display: flex;
	align-items: center;
	border: 1px solid var(--border);
}
.theme-qty-minus,
.theme-qty-plus {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.75rem 1rem;
	background: transparent;
	border: none;
	color: var(--cream);
	transition: background 0.2s ease;
}
.theme-qty-minus:hover,
.theme-qty-plus:hover { background: var(--card); }
.theme-qty-display {
	min-width: 3rem;
	padding: 0.75rem 1rem;
	text-align: center;
	font-family: var(--font-body);
}
.theme-qty-input { display: none !important; }

.single-product .single_add_to_cart_button { flex: 1 1 auto; min-width: 160px; }

.theme-product-details {
	border-top: 1px solid var(--border);
	padding-top: 2rem;
}
.theme-product-details h3 {
	font-family: var(--font-body);
	font-size: 0.875rem;
	font-weight: 600;
	margin-bottom: 1rem;
}
.theme-product-details__list {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}
.theme-product-details__item {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	font-family: var(--font-body);
	font-size: 0.875rem;
	color: var(--muted-foreground);
	line-height: 1.625;
}
.theme-product-details__bullet {
	width: 0.375rem;
	height: 0.375rem;
	border-radius: 999px;
	background: var(--primary);
	margin-top: 0.5rem;
	flex-shrink: 0;
}

.related-products-section {
	padding: 5rem 0;
	border-top: 1px solid var(--border);
}
.related-products-section__heading {
	font-family: var(--font-display);
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.375;
	margin-bottom: 2.5rem;
}
@media (min-width: 768px) {
	.related-products-section__heading { font-size: 1.5rem; }
}
.related-products-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.5rem;
}
@media (min-width: 1024px) {
	.related-products-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 2rem;
	}
}
.related-product-link {
	display: flex;
	flex-direction: column;
	height: 100%;
	color: inherit;
	transition: opacity 0.3s ease;
}
.related-product-link:hover { opacity: 0.9; }
.related-product-link__image-wrap {
	aspect-ratio: 4 / 5;
	background: var(--noir);
	overflow: hidden;
	margin-bottom: 0.75rem;
}
.related-product-link__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	position: static !important;
}
.related-product-link__category {
	font-family: var(--font-body);
	font-size: 0.625rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--muted-foreground);
}
.related-product-link__title {
	font-family: var(--font-display);
	font-size: 1rem;
	font-weight: 500;
	line-height: 1.375;
	margin: 0.25rem 0;
}
.related-product-link__price {
	font-family: var(--font-body);
	font-size: 0.875rem;
	font-weight: 500;
	margin: 0;
	color: var(--cream);
}

/* -------------------------------------------------------------------------
 * SHOP ARCHIVE
 * ---------------------------------------------------------------------- */
.shop-archive-hero { padding-top: 9rem; padding-bottom: 2rem; text-align: left; }
.shop-empty { color: var(--muted-foreground); padding: 3rem 0; }

/* -------------------------------------------------------------------------
 * GENERIC PAGE / 404
 * ---------------------------------------------------------------------- */
.page-main, .notfound-main, .index-main { padding-top: 7rem; padding-bottom: 5rem; min-height: 60vh; }
.page-title { font-family: var(--font-display); font-size: 2.25rem; margin-bottom: 2rem; }
.notfound-main__inner { display: flex; align-items: center; justify-content: center; min-height: 60vh; }
.notfound-box { text-align: center; }
.notfound-title { font-family: var(--font-display); font-size: 2.25rem; font-weight: 700; line-height: 1.1; margin-bottom: 1rem; }
.notfound-body { font-size: 1.25rem; color: var(--muted-foreground); margin-bottom: 1rem; font-weight: 400; line-height: 1.625; }
.notfound-link { color: var(--primary); text-decoration: underline; }

/* -------------------------------------------------------------------------
 * WOOCOMMERCE CHECKOUT BLOCK (Sections C–I)
 * Dual selectors: dedicated checkout page + embedded block in .entry-content
 * ---------------------------------------------------------------------- */
body.woocommerce-checkout .site-main.page-main.page-main--checkout {
	padding-top: var(--header-height);
	padding-bottom: 2.5rem;
}
body.woocommerce-checkout .entry-content--checkout {
	padding-top: 0;
	padding-bottom: 0;
}
.page-main--checkout .page-main__inner--checkout,
.page-main--checkout .page-main__inner--checkout.container-wide,
.page-main--checkout .entry-content--checkout {
	max-width: none;
	width: 100%;
}

.checkout-page-header {
	max-width: 80rem;
	width: 100%;
	margin: 0 auto;
	box-sizing: border-box;
}
.checkout-page-header__back {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-family: var(--font-body);
	font-size: 0.875rem;
	color: var(--muted-foreground);
	margin-bottom: 2rem;
	transition: color 0.2s ease;
}
.checkout-page-header__back:hover { color: var(--cream); }
.checkout-page-header__title {
	font-family: var(--font-display);
	font-size: clamp(1.875rem, 4vw, 3rem);
	font-weight: 700;
	line-height: 1.1;
	margin: 0 0 0.75rem;
}
.checkout-page-header__intro {
	font-size: 1rem;
	color: var(--muted-foreground);
	max-width: 36rem;
	margin: 0 0 2.5rem;
	line-height: 1.625;
}

/* Checkout supplemental panels (Lovable Checkout.tsx) */
.checkout-steps {
	margin-top: 0;
	border: 1px solid var(--border);
	background-color: var(--bone);
	padding: 1.5rem;
	box-sizing: border-box;
}
@media (min-width: 768px) {
	.checkout-steps { padding: 2rem; }
}
.checkout-steps__eyebrow {
	margin: 0 0 1.5rem;
}
.checkout-steps__list {
	list-style: none;
	margin: 0;
	padding: 0;
	position: relative;
}
.checkout-steps__list::before {
	content: '';
	position: absolute;
	left: 19px;
	top: 0.75rem;
	bottom: 0.75rem;
	width: 1px;
	background: color-mix(in srgb, var(--primary) 30%, transparent);
}
.checkout-steps__item {
	position: relative;
	display: flex;
	gap: 1rem;
	padding-bottom: 1.5rem;
}
.checkout-steps__item--last { padding-bottom: 0; }
.checkout-steps__icon {
	position: relative;
	z-index: 1;
	flex-shrink: 0;
	width: 2.5rem;
	height: 2.5rem;
	border: 2px solid var(--primary);
	background: var(--background);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--primary);
}
.checkout-steps__body { flex: 1; min-width: 0; padding-top: 0.375rem; }
.checkout-steps__title {
	font-family: var(--font-body);
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--cream);
	margin: 0 0 0.25rem;
	line-height: 1.4;
}
@media (min-width: 768px) {
	.checkout-steps__title { font-size: 1rem; }
}
.checkout-steps__number {
	color: var(--primary);
	margin-right: 0.5rem;
}
.checkout-steps__text {
	font-family: var(--font-body);
	font-size: 0.75rem;
	font-weight: 400;
	color: var(--muted-foreground);
	margin: 0;
	line-height: 1.625;
}
@media (min-width: 768px) {
	.checkout-steps__text { font-size: 0.875rem; }
}

.checkout-payment-notice {
	margin-bottom: 2rem;
}
.checkout-payment-notice__heading {
	font-family: var(--font-display);
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.2;
	margin: 0 0 1rem;
	color: var(--cream);
}
.checkout-payment-notice__box {
	border: 1px solid var(--border);
	background-color: var(--bone);
	padding: 1.25rem;
	font-family: var(--font-body);
	font-size: 0.875rem;
	font-weight: 400;
	color: var(--muted-foreground);
	line-height: 1.625;
}
.checkout-payment-notice__title {
	color: var(--cream);
	font-weight: 500;
	margin: 0 0 0.5rem;
}
.checkout-payment-notice__lead {
	margin: 0 0 0.75rem;
}
.checkout-payment-notice__email {
	margin: 0;
}
.checkout-payment-notice__email-link {
	color: var(--cream);
	text-decoration: none;
	word-break: break-all;
	transition: color 0.2s ease;
}
.checkout-payment-notice__email-link:hover { color: var(--primary); }

/* Hide duplicate WC payment step title when theme notice is present */
.wp-block-woocommerce-checkout-payment-block:has(.checkout-payment-notice) > .wc-block-components-checkout-step > .wc-block-components-checkout-step__heading,
.wp-block-woocommerce-checkout-payment-block:has(.checkout-payment-notice) .wc-block-components-checkout-step__heading:first-of-type {
	display: none;
}

body.woocommerce-checkout .wc-block-components-notices,
.entry-content .wc-block-components-notices {
	max-width: 80rem;
	width: 100%;
	margin-inline: auto;
	box-sizing: border-box;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout,
body.woocommerce-checkout .wc-block-checkout,
.entry-content .wp-block-woocommerce-checkout,
.entry-content .wc-block-checkout {
	max-width: 80rem;
	width: 100%;
	margin-inline: auto;
	box-sizing: border-box;
	font-family: var(--font-body);
	color: var(--cream);
}

@media (min-width: 768px) {
	body.woocommerce-checkout .wc-block-components-sidebar-layout,
	body.woocommerce-checkout .wc-block-checkout-sidebar-layout,
	body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-large,
	.entry-content .wc-block-checkout .wc-block-components-sidebar-layout,
	.entry-content .wc-block-checkout .wc-block-checkout-sidebar-layout {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 3rem;
		align-items: start;
	}
}
@media (min-width: 1024px) {
	body.woocommerce-checkout .wc-block-components-sidebar-layout,
	body.woocommerce-checkout .wc-block-checkout-sidebar-layout,
	body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-large,
	.entry-content .wc-block-checkout .wc-block-components-sidebar-layout,
	.entry-content .wc-block-checkout .wc-block-checkout-sidebar-layout {
		gap: 4rem;
	}
}

body.woocommerce-checkout .wc-block-components-notices,
body.woocommerce-checkout .wc-block-components-notice-banner,
.entry-content .wc-block-components-notices,
.entry-content .wc-block-components-notice-banner {
	grid-column: 1 / -1;
	order: 1;
}
body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wp-block-woocommerce-checkout-fields-block,
.entry-content .wc-block-checkout__main,
.entry-content .wp-block-woocommerce-checkout-fields-block {
	order: 2;
}
body.woocommerce-checkout .wc-block-checkout__sidebar,
body.woocommerce-checkout .wp-block-woocommerce-checkout-totals-block,
.entry-content .wc-block-checkout__sidebar,
.entry-content .wp-block-woocommerce-checkout-totals-block {
	order: 3;
}
@media (min-width: 1024px) {
	/* Lovable: order column left, form column right on desktop */
	body.woocommerce-checkout .wc-block-checkout__main,
	body.woocommerce-checkout .wp-block-woocommerce-checkout-fields-block,
	.entry-content .wc-block-checkout__main,
	.entry-content .wp-block-woocommerce-checkout-fields-block {
		order: 3;
		grid-column: 2;
	}
	body.woocommerce-checkout .wc-block-checkout__sidebar,
	body.woocommerce-checkout .wp-block-woocommerce-checkout-totals-block,
	.entry-content .wc-block-checkout__sidebar,
	.entry-content .wp-block-woocommerce-checkout-totals-block {
		order: 2;
		grid-column: 1;
	}
}

/* Sidebar stack: order summary card, then steps panel (Checkout.tsx) */
body.woocommerce-checkout .wc-block-checkout__sidebar,
body.woocommerce-checkout .wp-block-woocommerce-checkout-totals-block,
.entry-content .wc-block-checkout__sidebar,
.entry-content .wp-block-woocommerce-checkout-totals-block {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0;
}

/* Mis-placed steps (legacy totals-block injection) — hide if outside summary */
body.woocommerce-checkout .wc-block-components-sidebar-layout > .checkout-steps,
body.woocommerce-checkout .wc-block-checkout-sidebar-layout > .checkout-steps,
.entry-content .wc-block-checkout .wc-block-components-sidebar-layout > .checkout-steps,
.entry-content .wc-block-checkout .wc-block-checkout-sidebar-layout > .checkout-steps {
	display: none;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block,
.entry-content .wp-block-woocommerce-checkout-order-summary-block {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0;
	width: 100%;
	background: none;
	border-radius: 0;
	padding: 0;
	box-sizing: border-box;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-order-summary,
body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-order-summary-islands,
.entry-content .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-order-summary,
.entry-content .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-order-summary-islands {
	width: 100%;
	background-color: var(--color-surface, var(--bone));
	border-radius: var(--card-radius);
	padding: 1.5rem;
	box-sizing: border-box;
	position: static !important;
	top: auto !important;
}
@media (min-width: 768px) {
	body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-order-summary,
	body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-order-summary-islands,
	.entry-content .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-order-summary,
	.entry-content .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-order-summary-islands {
		padding: 2rem;
	}
}

body.woocommerce-checkout .checkout-steps,
.entry-content .checkout-steps {
	flex: 0 0 auto;
}
body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block + .checkout-steps,
body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block > .checkout-steps,
body.woocommerce-checkout .wc-block-checkout__sidebar > .checkout-steps,
body.woocommerce-checkout .wp-block-woocommerce-checkout-totals-block > .checkout-steps,
.entry-content .wp-block-woocommerce-checkout-order-summary-block + .checkout-steps,
.entry-content .wp-block-woocommerce-checkout-order-summary-block > .checkout-steps,
.entry-content .wc-block-checkout__sidebar > .checkout-steps,
.entry-content .wp-block-woocommerce-checkout-totals-block > .checkout-steps {
	margin-top: 40px;
}

body.woocommerce-checkout .wc-block-components-sidebar-layout > *,
body.woocommerce-checkout .wc-block-checkout-sidebar-layout > *,
.entry-content .wc-block-checkout .wc-block-components-sidebar-layout > *,
.entry-content .wc-block-checkout .wc-block-checkout-sidebar-layout > * {
	width: 100%;
	min-width: 0;
	max-width: 100%;
	box-sizing: border-box;
}

body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar,
.entry-content .wc-block-checkout__main,
.entry-content .wc-block-checkout__sidebar {
	min-width: 0;
	width: 100%;
	max-width: none;
}

body.woocommerce-checkout .wc-block-checkout__sidebar,
body.woocommerce-checkout .wc-block-components-sidebar,
body.woocommerce-checkout .wp-block-woocommerce-checkout-totals-block,
.entry-content .wc-block-checkout__sidebar,
.entry-content .wc-block-components-sidebar,
.entry-content .wp-block-woocommerce-checkout-totals-block {
	background: none;
	border-radius: 0;
	padding: 0;
}

/* Prevent sticky summary from floating above the steps panel */
body.woocommerce-checkout .wc-block-checkout__sidebar.is-sticky,
body.woocommerce-checkout .wc-block-checkout__sidebar.is-large,
.entry-content .wc-block-checkout__sidebar.is-sticky,
.entry-content .wc-block-checkout__sidebar.is-large {
	position: static;
	top: auto;
}

body.woocommerce-checkout .wc-block-checkout-empty,
.entry-content .wc-block-checkout-empty {
	margin-inline: auto;
	max-width: 36rem;
	width: 100%;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	box-sizing: border-box;
}
body.woocommerce-checkout .wc-block-checkout-empty .wc-block-components-button,
.entry-content .wc-block-checkout-empty .wc-block-components-button {
	margin-inline: auto;
}

body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-select select,
body.woocommerce-checkout .wc-block-components-textarea textarea,
.entry-content .wc-block-checkout .wc-block-components-text-input input,
.entry-content .wc-block-checkout .wc-block-components-select select,
.entry-content .wc-block-checkout .wc-block-components-textarea textarea {
	width: 100% !important;
	max-width: none !important;
	font-family: var(--font-body);
	color: var(--cream);
	border-color: var(--border);
	background-color: var(--card);
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus,
.entry-content .wc-block-checkout .wc-block-components-text-input input:focus,
.entry-content .wc-block-checkout .wc-block-components-select select:focus {
	border-color: var(--brass);
	box-shadow: none;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button,
.entry-content .wc-block-checkout .wc-block-components-checkout-place-order-button {
	background-color: var(--primary) !important;
	color: var(--primary-foreground) !important;
	border-radius: var(--btn-radius);
	font-family: var(--font-body);
	text-transform: none;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover,
.entry-content .wc-block-checkout .wc-block-components-checkout-place-order-button:hover {
	opacity: 0.9;
}

/* -------------------------------------------------------------------------
 * WOOCOMMERCE THANK YOU PAGE
 * ---------------------------------------------------------------------- */
body.theme-thankyou-page { overflow-x: hidden; }
.theme-thankyou { max-width: 48rem; margin: 0 auto; }
.theme-thankyou__icon { width: 3.5rem; height: 3.5rem; background: var(--primary); color: var(--primary-foreground); display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem; }
body.theme-thankyou-page .woocommerce-order-details table { width: 100%; table-layout: fixed; }
body.theme-thankyou-page .woocommerce-order-details tfoot th { text-align: left; }
body.theme-thankyou-page .woocommerce-order-details tfoot td { text-align: right; }
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title { padding: 0 0 1rem 0; font-size: 1.5rem; }
@media (min-width: 768px) {
	body.theme-thankyou-page .woocommerce-customer-details {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 2rem;
		align-items: start;
	}
}
body.theme-thankyou-page .woocommerce-customer-details address { min-width: 0; overflow-wrap: break-word; }

/* -------------------------------------------------------------------------
 * MEDIA CONTROL (Customizer)
 * ---------------------------------------------------------------------- */
.theme-media-control { display: flex; flex-direction: column; gap: 0.5rem; }
.theme-media-url-input { width: 100%; min-width: 0; box-sizing: border-box; }
.theme-media-preview { max-width: 100%; height: auto; display: block; }
.theme-media-preview-video { width: 100%; max-height: 160px; }
