/* ==========================================================================
   Living To Leave A Legacy — theme stylesheet
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@500;600;700;800&family=Inter:wght@300;400;500;600;700&family=Great+Vibes&display=swap');

:root {
	--color-background: #fafafa;
	--color-foreground: #121212;
	--color-primary: #121212;
	--color-primary-foreground: #fafafa;
	--color-secondary: #fffdfa;
	--color-muted-foreground: #525252;
	--color-accent: #f25c21;
	--color-accent-foreground: #ffffff;
	--color-gold: #f9a034;
	--color-gold-foreground: #121212;
	--color-border: #e5e0dc;
	--color-button-text: #fafafa;
	--logo-height: 48px;

	--font-display: 'Plus Jakarta Sans', sans-serif;
	--font-body: 'Inter', sans-serif;
	--font-script: 'Great Vibes', cursive;

	--radius: 0.75rem;
	--shadow-soft: 0 4px 20px -4px rgba(0, 0, 0, 0.10);
	--shadow-elevated: 0 20px 45px -12px rgba(0, 0, 0, 0.22);
	--ease-smooth: cubic-bezier(0.25, 0.4, 0.25, 1);

	--btn-radius: 0.5rem;
	--btn-height: 3rem;
	--btn-padding: 0 2rem;
	--btn-font-size: 0.95rem;
	--btn-font-weight: 600;
	--btn-letter-spacing: 0;
	--btn-text-transform: none;
	--btn-icon-padding: 0.6rem;
	--header-height: 72px;
}

/* -------------------------------------------------------------------- */
/* Reset / base                                                          */
/* -------------------------------------------------------------------- */

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	background-color: var(--color-background);
	color: var(--color-foreground);
	font-family: var(--font-body);
	font-weight: 400;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	font-weight: inherit;
	font-size: inherit;
	letter-spacing: -0.01em;
	margin: 0;
}

p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; border: none; background: none; cursor: pointer; }
img { max-width: 100%; height: auto; display: block; }

img:not(.cover-img):not(.hero-bg-img):not(.product-card-img):not(.book-cover):not(.theme-product-main-img):not(.theme-product-thumb img) {
	max-width: 100%;
	height: auto;
}
.cover-img, .hero-bg-img, .product-card-img, .book-cover, .theme-product-main-img, .theme-product-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.container-wide {
	width: 100%;
	max-width: 1280px;
	margin: 0 auto;
	padding-left: 1.5rem;
	padding-right: 1.5rem;
}
@media (min-width: 1024px) {
	.container-wide { padding-left: 3rem; padding-right: 3rem; }
}

.text-gold { color: var(--color-gold); }
.text-accent { color: var(--color-accent); }
.italic-accent { font-style: italic; color: var(--color-accent); }

#about, #owner, #services, #portfolio, #podcast, #shop, #testimonials, #contact {
	scroll-margin-top: 6rem;
}

.theme-icon { width: 20px; height: 20px; }
.theme-icon-sm { width: 16px; height: 16px; }
.theme-icon-xs { width: 14px; height: 14px; }
.theme-icon-lg { width: 48px; height: 48px; }
.icon-rotate { transform: rotate(-90deg); }

/* -------------------------------------------------------------------- */
/* Buttons                                                               */
/* -------------------------------------------------------------------- */

.theme-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	min-height: var(--btn-height);
	padding: var(--btn-padding);
	border-radius: var(--btn-radius);
	font-family: var(--font-body);
	font-size: var(--btn-font-size);
	font-weight: var(--btn-font-weight);
	letter-spacing: var(--btn-letter-spacing);
	text-transform: var(--btn-text-transform);
	transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, transform 0.3s var(--ease-smooth), opacity 0.15s ease;
	cursor: pointer;
	white-space: nowrap;
}
.theme-btn-block { width: 100%; }
.theme-btn-primary,
.theme-btn-hero-primary,
.theme-btn-contact-submit,
.theme-btn-service {
	background-color: var(--color-accent);
	color: var(--color-accent-foreground);
	text-transform: none;
}
.theme-btn-hero-primary:hover,
.theme-btn-primary:hover,
.theme-btn-service:hover {
	background-color: var(--color-gold);
	color: var(--color-gold-foreground);
}
.theme-btn-hero-outline {
	background-color: rgba(255,255,255,0.1);
	color: #fff;
	border: 1px solid rgba(255,255,255,0.3);
	text-transform: none;
}
.theme-btn-hero-outline:hover { background-color: rgba(255,255,255,0.2); }
.theme-btn-dark {
	background-color: var(--color-foreground);
	color: var(--color-background);
}
.theme-btn-dark:hover { background-color: var(--color-accent); color: #fff; }
.theme-btn-outline-dark {
	background-color: transparent;
	color: var(--color-foreground);
	border: 2px solid var(--color-foreground);
}
.theme-btn-outline-dark:hover { background-color: var(--color-foreground); color: var(--color-background); }
.theme-btn-light {
	background-color: var(--color-background);
	color: var(--color-foreground);
	border: 2px solid var(--color-background);
}
.theme-btn-light:hover { opacity: 0.9; }
.theme-btn-contact-cta { background-color: var(--color-background); color: var(--color-foreground); }
.theme-btn-contact-cta:hover { opacity: 0.9; }
.theme-btn-contact-submit { width: 100%; background-color: var(--color-accent); color: var(--color-accent-foreground); }
.theme-btn-contact-submit:hover { opacity: 0.9; }
.theme-btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* -------------------------------------------------------------------- */
/* Reveal animations (Section 2.1)                                      */
/* -------------------------------------------------------------------- */

.reveal-item, .reveal-left, .reveal-right {
	opacity: 0;
	transform: translateY(40px);
	transition: opacity 0.7s var(--ease-smooth), transform 0.7s var(--ease-smooth);
	will-change: opacity, transform;
}
.reveal-left { transform: translateX(-60px); }
.reveal-right { transform: translateX(60px); }
.reveal-item.is-visible,
.reveal-left.is-visible,
.reveal-right.is-visible {
	opacity: 1;
	transform: translateY(0) translateX(0);
}

body.is-customizer .reveal-item,
body.is-customizer .reveal-left,
body.is-customizer .reveal-right {
	opacity: 1 !important;
	transform: none !important;
}

@media (prefers-reduced-motion: reduce) {
	.reveal-item, .reveal-left, .reveal-right {
		opacity: 1;
		transform: none;
		transition: none;
	}
}

.hero-anim { opacity: 0; }
.hero-anim-1 { animation: heroFadeDown 0.8s var(--ease-smooth) 0.4s forwards; }
.hero-anim-2 { animation: heroFadeUp 0.9s var(--ease-smooth) 0.7s forwards; }
.hero-anim-3 { animation: heroFadeUpBlur 0.8s var(--ease-smooth) 1s forwards; }
.hero-anim-4 { animation: heroFadeUp 0.7s var(--ease-smooth) 1.2s forwards; }

@keyframes heroFadeDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes heroFadeUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }
@keyframes heroFadeUpBlur { from { opacity: 0; transform: translateY(40px); filter: blur(8px); } to { opacity: 1; transform: translateY(0); filter: blur(0); } }

@media (prefers-reduced-motion: reduce) {
	.hero-anim { animation: none !important; opacity: 1; }
}

/* -------------------------------------------------------------------- */
/* Header                                                                */
/* -------------------------------------------------------------------- */

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	width: 100%;
	background-color: rgba(250,250,250,0.95);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-bottom: 1px solid rgba(18,18,18,0.1);
	transition: box-shadow 0.3s ease;
}
.site-header.is-shadow { box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1); }
.site-header .site-nav.container-wide {
	max-width: 1280px;
	padding-left: 1rem;
	padding-right: 1rem;
}
@media (min-width: 768px) {
	.site-header .site-nav.container-wide { padding-left: 1.5rem; padding-right: 1.5rem; }
}
@media (min-width: 1024px) {
	.site-header .site-nav.container-wide { padding-left: 2rem; padding-right: 2rem; }
}

.site-nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 64px;
}
@media (min-width: 1024px) { .site-nav { height: 72px; } }

.site-brand { display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0; height: var(--logo-height, 48px); }
.site-logo-wrap { display: flex; align-items: center; height: 100%; }
.site-logo-img { height: 100%; width: auto !important; max-height: 100%; display: block; object-fit: contain; }
.site-logo-text { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; line-height: 1.2; }
.site-brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1rem; }

.site-nav-links { display: none; margin-left: auto; margin-right: 1rem; }
@media (min-width: 1024px) { .site-nav-links { display: flex; align-items: center; gap: 1.5rem; } }
@media (min-width: 1280px) { .site-nav-links { gap: 2rem; margin-right: 1.5rem; } }
.theme-nav-list { display: flex; align-items: center; gap: 1.5rem; }
@media (min-width: 1280px) { .theme-nav-list { gap: 2rem; } }
.theme-nav-link {
	position: relative;
	font-family: var(--font-body);
	font-size: 0.875rem;
	font-weight: 500;
	letter-spacing: 0.025em;
	color: rgba(18,18,18,0.85);
	transition: color 0.3s ease;
	white-space: nowrap;
}
@media (min-width: 1280px) { .theme-nav-link { font-size: 1rem; } }
.theme-nav-link::after {
	content: '';
	position: absolute; bottom: -4px; left: 0; width: 100%; height: 1px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.3s var(--ease-smooth);
}
.theme-nav-link:hover { color: var(--color-accent); }
.theme-nav-link:hover::after { transform: scaleX(1); }

.site-nav-actions { display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0; }
.theme-cart-toggle {
	position: relative;
	display: inline-flex;
	padding: 0.5rem;
	color: var(--color-foreground);
	transition: color 0.3s ease;
}
.theme-cart-toggle:hover { color: var(--color-accent); }
.theme-cart-count {
	position: absolute; top: -2px; right: -2px;
	min-width: 20px; height: 20px;
	display: flex; align-items: center; justify-content: center;
	font-size: 10px; font-weight: 600;
	background: var(--color-accent); color: var(--color-accent-foreground);
	border-radius: 50%;
	padding: 0 3px;
}
.theme-cart-count:empty { display: none; }

.theme-mobile-toggle { display: inline-flex; padding: 0.5rem; color: var(--color-foreground); }
@media (min-width: 1024px) { .theme-mobile-toggle { display: none; } }
.theme-mobile-toggle .icon-close { display: none; }
.theme-mobile-toggle.is-open .icon-menu { display: none; }
.theme-mobile-toggle.is-open .icon-close { display: block; }

.theme-mobile-nav {
	display: none;
	position: absolute; top: 100%; left: 0; right: 0;
	background: rgba(250,250,250,0.98);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid rgba(18,18,18,0.1);
	box-shadow: 0 10px 25px rgba(0,0,0,0.08);
	z-index: 50;
	animation: fadeIn 0.3s var(--ease-smooth);
}
.theme-mobile-nav.is-open { display: block; }
.theme-mobile-nav-list {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	width: 100%;
	padding: 1rem 1.5rem;
	gap: 0.25rem;
	list-style: none;
}
.theme-mobile-nav-list li { display: block; width: 100%; }
.theme-mobile-nav-list a {
	display: block;
	width: 100%;
	padding: 0.75rem 0.5rem;
	border-radius: 0.5rem;
	font-family: var(--font-body);
	font-size: 1rem;
	font-weight: 500;
	letter-spacing: 0.025em;
	text-align: left;
	transition: background-color 0.15s ease, color 0.15s ease;
}
.theme-mobile-nav-list a:hover { background-color: rgba(18,18,18,0.05); color: var(--color-accent); }
@media (min-width: 1024px) { .theme-mobile-nav { display: none !important; } }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* -------------------------------------------------------------------- */
/* Hero                                                                  */
/* -------------------------------------------------------------------- */

.hero-section {
	position: relative;
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	background-color: var(--color-foreground);
}
body.theme-no-hero .theme-page-main,
body.theme-no-hero .theme-archive-main,
body.theme-no-hero .theme-product-main,
body.theme-no-hero .theme-resources-main {
	padding-top: var(--header-height);
}
.hero-media { position: absolute; inset: 0; }
.hero-media video { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform 0.1s linear; }
.hero-overlay { position: absolute; inset: 0; pointer-events: none; }
.hero-overlay-1 { background: linear-gradient(to bottom, rgba(18,18,18,0.7), rgba(18,18,18,0.6) 50%, rgba(18,18,18,0.9)); }
.hero-overlay-2 { background: linear-gradient(to top right, rgba(18,18,18,0.6), rgba(242,92,33,0.25), rgba(249,160,52,0.35)); mix-blend-mode: multiply; }
.hero-overlay-3 { background: radial-gradient(ellipse at center, rgba(18,18,18,0.1) 0%, rgba(18,18,18,0.75) 100%); }

.hero-content {
	position: relative;
	z-index: 10;
	width: 100%;
	max-width: 1280px;
	margin: 0 auto;
	padding: 2.5rem 1rem;
	text-align: left;
	opacity: var(--hero-fade, 1);
	transform: translateY(var(--hero-scroll-y, 0));
	will-change: opacity, transform;
}
@media (min-width: 768px) { .hero-content { padding: 3rem 1.5rem; } }
@media (min-width: 1024px) { .hero-content { padding: 3rem 2rem; } }

.hero-eyebrow {
	color: var(--color-gold);
	font-weight: 600;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	font-size: 0.875rem;
	margin-bottom: 1.5rem;
}
.hero-title-break { display: none; }
@media (min-width: 768px) { .hero-title-break { display: inline; } }
@media (min-width: 768px) { .hero-eyebrow { font-size: 1rem; } }

.hero-title {
	font-family: var(--font-script);
	font-weight: 400;
	color: #fff;
	max-width: 56rem;
	line-height: 1.15;
	margin-bottom: 1.5rem;
	margin-top: 0.5rem;
	font-size: 3rem;
}
@media (min-width: 768px) { .hero-title { font-size: 4.5rem; } }
@media (min-width: 1024px) { .hero-title { font-size: 6rem; } }
.hero-title-nowrap { white-space: nowrap; }

.hero-subtitle {
	color: rgba(255,255,255,0.9);
	max-width: 42rem;
	margin-bottom: 2.5rem;
	font-size: 1rem;
	line-height: 1.7;
}
@media (min-width: 768px) { .hero-subtitle { font-size: 1.125rem; } }

.hero-ctas { display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 640px) { .hero-ctas { flex-direction: row; } }
.hero-ctas .theme-btn { padding: 0 2.5rem; font-size: 1rem; transition: transform 0.3s var(--ease-smooth), background-color 0.3s var(--ease-smooth), color 0.3s var(--ease-smooth); }
.hero-ctas .theme-btn:hover { transform: scale(1.05); }

/* -------------------------------------------------------------------- */
/* Section shared                                                        */
/* -------------------------------------------------------------------- */

.section-intro { max-width: 42rem; margin: 0 auto 3rem; text-align: center; }
@media (min-width: 768px) { .section-intro { margin-bottom: 4rem; } }
.section-eyebrow {
	display: block;
	font-size: 0.75rem;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	color: var(--color-accent);
	font-weight: 600;
}
.section-subtitle { color: var(--color-muted-foreground); line-height: 1.7; margin-top: 0.75rem; }
.section-heading {
	font-family: var(--font-display);
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: -0.01em;
	margin: 0.75rem 0 1.25rem;
}
.section-subtitle,
.about-text,
.owner-text,
.service-desc,
.book-excerpt,
.shop-group-blurb,
.contact-subtitle,
.footer-tagline {
	font-family: var(--font-body);
}
.section-cta-center { text-align: center; margin-top: 3rem; }

/* -------------------------------------------------------------------- */
/* About                                                                 */
/* -------------------------------------------------------------------- */

.about-section { position: relative; overflow: hidden; background-color: var(--color-secondary); }
.about-glow { position: absolute; width: 24rem; height: 24rem; border-radius: 50%; filter: blur(80px); pointer-events: none; }
.about-glow-1 { top: -6rem; left: -6rem; background: color-mix(in srgb, var(--color-accent) 10%, transparent); }
.about-glow-2 { bottom: -6rem; right: -6rem; background: color-mix(in srgb, var(--color-gold) 15%, transparent); }
.about-inner { padding: 4rem 1.5rem; position: relative; }
@media (min-width: 768px) { .about-inner { padding: 6rem 1.5rem; } }
@media (min-width: 1024px) { .about-inner { padding: 6rem 0; } }
.about-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: stretch; }
@media (min-width: 768px) { .about-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.about-image-wrap { position: relative; height: 100%; min-height: 320px; border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(18,18,18,0.9); box-shadow: var(--shadow-elevated); background: var(--color-secondary); }
.about-image { transition: transform 0.6s var(--ease-smooth); }
.about-image-wrap:hover .about-image { transform: scale(1.03); }
.about-copy { display: flex; flex-direction: column; justify-content: center; }
.about-eyebrow-row { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.5rem; }
.eyebrow-line { width: 2.5rem; height: 1px; background: var(--color-accent); }
.about-eyebrow { font-size: 0.75rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--color-accent); font-weight: 600; }
.about-heading { font-size: 1.875rem; font-weight: 800; margin: 0.5rem 0 1.5rem; }
@media (min-width: 768px) { .about-heading { font-size: 2.25rem; } }
@media (min-width: 1024px) { .about-heading { font-size: 3rem; } }
.about-text { display: flex; flex-direction: column; gap: 1rem; color: var(--color-muted-foreground); }
.about-text p { font-size: 1rem; line-height: 1.7; }
.about-quote { font-weight: 500; color: var(--color-foreground); font-style: italic; border-left: 2px solid var(--color-accent); padding-left: 1rem; }
.about-links { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.about-links .theme-btn { padding: 0 1.25rem; height: auto; min-height: 0; padding-top: 0.75rem; padding-bottom: 0.75rem; font-size: 0.875rem; }

/* -------------------------------------------------------------------- */
/* Owner + Pillars                                                       */
/* -------------------------------------------------------------------- */

.owner-section { position: relative; isolation: isolate; overflow: hidden; background-size: cover; background-position: center; background-repeat: no-repeat; }
@media (min-width: 768px) {
	.owner-section { background-attachment: fixed; }
}
.owner-overlay { position: absolute; inset: 0; z-index: -1; background: linear-gradient(to bottom, rgba(18,18,18,0.85), rgba(18,18,18,0.8) 50%, rgba(18,18,18,0.9)); }
.owner-inner { padding: 4rem 1.5rem; position: relative; }
@media (min-width: 768px) { .owner-inner { padding: 6rem 1.5rem; } }
@media (min-width: 1024px) { .owner-inner { padding: 6rem 0; } }
.owner-top { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: stretch; margin-bottom: 3rem; }
@media (min-width: 1024px) { .owner-top { grid-template-columns: 5fr 7fr; gap: 4rem; margin-bottom: 4rem; } }
.owner-portrait-wrap { position: relative; height: 100%; min-height: 320px; border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(250,250,250,0.9); box-shadow: var(--shadow-elevated); }
.owner-badge {
	position: absolute; bottom: 1rem; left: 1rem;
	max-width: calc(100% - 2rem);
	border-radius: 999px;
	background: rgba(18,18,18,0.8);
	backdrop-filter: blur(4px);
	padding: 0.5rem 1rem;
	font-size: 0.7rem;
	letter-spacing: 0.25em;
	text-transform: uppercase;
	color: var(--color-gold);
	font-weight: 600;
}
.owner-copy { color: var(--color-background); }
.owner-heading { font-size: 1.875rem; font-weight: 800; margin-bottom: 1.25rem; color: var(--color-background); }
@media (min-width: 768px) { .owner-heading { font-size: 3rem; } }
.owner-text { display: flex; flex-direction: column; gap: 1rem; color: rgba(250,250,250,0.85); line-height: 1.7; }
.owner-strong { color: var(--color-background); font-weight: 500; }

.pillars-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 640px) { .pillars-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .pillars-grid { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; } }

.pillar-card {
	position: relative;
	overflow: hidden;
	border-radius: var(--radius);
	background: var(--color-background);
	border: 1px solid rgba(18,18,18,0.9);
	box-shadow: var(--shadow-elevated);
	padding: 1.5rem;
	display: flex;
	flex-direction: column;
	transition: box-shadow 0.3s ease, transform 0.3s var(--ease-smooth);
}
@media (min-width: 1024px) { .pillar-card { padding: 1.75rem; } }
.pillar-card:hover { transform: translateY(-8px); box-shadow: 0 30px 55px -15px rgba(0,0,0,0.3); }
.pillar-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.25rem; }
.pillar-icon {
	display: inline-flex; align-items: center; justify-content: center;
	width: 3rem; height: 3rem; border-radius: 50%;
	background: var(--color-accent); color: var(--color-accent-foreground);
	box-shadow: var(--shadow-soft);
	box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-gold) 40%, transparent);
	transition: background-color 0.3s ease, color 0.3s ease;
}
.pillar-card:hover .pillar-icon { background: var(--color-gold); color: var(--color-gold-foreground); }
.pillar-number { font-family: var(--font-display); font-size: 2.25rem; font-weight: 800; color: rgba(18,18,18,0.1); line-height: 1; user-select: none; }
.pillar-title { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.75rem; }
@media (min-width: 768px) { .pillar-title { font-size: 1.5rem; } }
.pillar-rule { height: 4px; width: 2.5rem; background: var(--color-accent); margin-bottom: 0.75rem; transition: width 0.5s ease, background-color 0.5s ease; }
.pillar-card:hover .pillar-rule { width: 4rem; background: var(--color-gold); }
.pillar-desc { color: var(--color-muted-foreground); font-size: 0.875rem; line-height: 1.7; }

/* -------------------------------------------------------------------- */
/* Services                                                              */
/* -------------------------------------------------------------------- */

.services-section { background-color: var(--color-secondary); padding: 4rem 0; }
@media (min-width: 768px) { .services-section { padding: 6rem 0; } }
.services-heading { font-size: 1.875rem; }
@media (min-width: 768px) { .services-heading { font-size: 3rem; } }

.services-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 768px) { .services-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }

.service-card {
	position: relative;
	overflow: hidden;
	border-radius: var(--radius);
	background: #fff;
	border: 1px solid rgba(18,18,18,0.9);
	box-shadow: var(--shadow-elevated);
	padding: 2rem;
	display: flex;
	flex-direction: column;
	transition: box-shadow 0.3s ease, transform 0.3s var(--ease-smooth);
}
@media (min-width: 1024px) { .service-card { padding: 2.5rem; } }
.service-card:hover { transform: translateY(-8px); box-shadow: 0 30px 55px -15px rgba(0,0,0,0.3); }
.service-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; }
.service-icon {
	display: inline-flex; align-items: center; justify-content: center;
	width: 3.5rem; height: 3.5rem; border-radius: 50%;
	background: var(--color-accent); color: var(--color-accent-foreground);
	box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-gold) 40%, transparent);
	transition: background-color 0.3s ease, color 0.3s ease;
}
.service-card:hover .service-icon { background: var(--color-gold); color: var(--color-gold-foreground); }
.service-number { font-family: var(--font-display); font-size: 3rem; font-weight: 800; color: rgba(18,18,18,0.1); line-height: 1; }
.service-meta { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-accent); font-weight: 600; }
.service-title { font-size: 1.5rem; font-weight: 700; margin-top: 0.5rem; margin-bottom: 0.75rem; }
@media (min-width: 768px) { .service-title { font-size: 1.875rem; } }
.service-rule { height: 4px; width: 2.5rem; background: var(--color-accent); margin-bottom: 1rem; transition: width 0.5s ease, background-color 0.5s ease; }
.service-card:hover .service-rule { width: 4rem; background: var(--color-gold); }
.service-desc { color: var(--color-muted-foreground); font-size: 0.9rem; line-height: 1.7; flex: 1; }
@media (min-width: 1024px) { .service-desc { font-size: 1rem; } }
.theme-btn-service { margin-top: 1.5rem; align-self: flex-start; padding: 0 1.25rem; min-height: 0; padding-top: 0.6rem; padding-bottom: 0.6rem; font-size: 0.875rem; }

/* -------------------------------------------------------------------- */
/* Portfolio (books)                                                     */
/* -------------------------------------------------------------------- */

.portfolio-section { background-color: var(--color-secondary); padding: 4rem 0; }
@media (min-width: 768px) { .portfolio-section { padding: 6rem 0; } }
.portfolio-heading { font-size: 1.875rem; }
@media (min-width: 768px) { .portfolio-heading { font-size: 3rem; } }

.books-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; max-width: 60rem; margin: 0 auto; }
@media (min-width: 768px) { .books-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.book-card {
	display: flex; flex-direction: column;
	border-radius: var(--radius);
	background: #fff;
	border: 1px solid rgba(18,18,18,0.9);
	box-shadow: var(--shadow-elevated);
	overflow: hidden;
	transition: box-shadow 0.3s ease;
	height: 100%;
}
.book-card:hover { box-shadow: 0 30px 55px -15px rgba(0,0,0,0.3); }
.book-cover-wrap { position: relative; aspect-ratio: 2/3; overflow: hidden; padding: 1rem; }
.book-card-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.book-tag { font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-accent); font-weight: 600; }
.book-title { font-size: 1.25rem; font-weight: 700; margin: 0.5rem 0 0.75rem; line-height: 1.3; transition: color 0.3s ease; }
@media (min-width: 768px) { .book-title { font-size: 1.5rem; } }
.book-card:hover .book-title { color: var(--color-accent); }
.book-excerpt { color: var(--color-muted-foreground); font-size: 0.875rem; line-height: 1.7; flex: 1; }
.book-card-footer { margin-top: 1.25rem; display: flex; align-items: center; justify-content: space-between; }
.book-price { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; }
.book-buy-link { display: inline-flex; align-items: center; gap: 0.25rem; font-size: 0.875rem; font-weight: 600; color: var(--color-accent); transition: color 0.3s ease; }
.book-buy-link:hover { color: var(--color-gold); }

/* -------------------------------------------------------------------- */
/* Marquee                                                               */
/* -------------------------------------------------------------------- */

.theme-marquee-wrap {
	position: relative;
	background: var(--color-foreground);
	color: var(--color-background);
	border-top: 2px solid var(--color-accent);
	border-bottom: 2px solid var(--color-accent);
	overflow: hidden;
	padding: 1rem 0;
}
.theme-marquee { display: flex; white-space: nowrap; animation: theme-marquee-scroll 30s linear infinite; gap: 3rem; }
.theme-marquee-group { display: flex; align-items: center; gap: 3rem; flex-shrink: 0; }
.theme-marquee-text { font-family: var(--font-display); font-style: italic; font-size: 1.25rem; letter-spacing: 0.02em; font-weight: 600; }
@media (min-width: 768px) { .theme-marquee-text { font-size: 1.5rem; } }
.theme-marquee-dot { color: var(--color-gold); font-size: 1.5rem; }
@keyframes theme-marquee-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .theme-marquee { animation: none; } }

/* -------------------------------------------------------------------- */
/* Podcast                                                               */
/* -------------------------------------------------------------------- */

.podcast-section { background-color: var(--color-background); padding: 4rem 0; }
@media (min-width: 768px) { .podcast-section { padding: 6rem 0; } }
.podcast-heading { font-size: 1.875rem; }
@media (min-width: 768px) { .podcast-heading { font-size: 3rem; } }
.podcast-embed-wrap { max-width: 60rem; margin: 0 auto; border-radius: 1rem; overflow: hidden; border: 1px solid rgba(18,18,18,0.9); box-shadow: var(--shadow-elevated); background: var(--color-foreground); }
.podcast-embed-inner { position: relative; width: 100%; aspect-ratio: 16/9; }
.podcast-iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.podcast-platforms { margin-top: 2.5rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.75rem; }
.podcast-platform-link {
	display: inline-flex; align-items: center; gap: 0.5rem;
	padding: 0.75rem 1.25rem; border-radius: 999px;
	background: #fff; border: 1px solid rgba(18,18,18,0.9);
	font-size: 0.875rem; font-weight: 600;
	box-shadow: var(--shadow-soft);
	transition: all 0.3s ease;
}
.podcast-platform-link:hover { transform: translateY(-4px); background: var(--color-accent); color: var(--color-accent-foreground); border-color: var(--color-accent); }
.podcast-channel-link-wrap { margin-top: 2rem; text-align: center; }
.podcast-channel-link { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; font-weight: 600; color: var(--color-accent); }
.podcast-channel-link:hover { color: var(--color-gold); }

/* -------------------------------------------------------------------- */
/* Shop section + product cards + grid                                  */
/* -------------------------------------------------------------------- */

.shop-section { position: relative; isolation: isolate; overflow: hidden; background-size: cover; background-position: center; background-repeat: no-repeat; }
@media (min-width: 768px) {
	.shop-section { background-attachment: fixed; }
}
.shop-book-card-wrap,
.shop-merch-card-wrap {
	height: 100%;
	display: flex;
	flex-direction: column;
	background: var(--color-background);
	border-radius: var(--radius);
	box-shadow: var(--shadow-elevated);
	overflow: hidden;
}
.shop-merch-card-wrap { padding: 1rem; }
.shop-book-card-wrap .theme-product-card-wrap,
.shop-merch-card-wrap .theme-product-card-wrap {
	flex: 1;
	display: flex;
	flex-direction: column;
}
.shop-inner { padding: 4rem 1.5rem; position: relative; }
@media (min-width: 768px) { .shop-inner { padding: 6rem 1.5rem; } }
@media (min-width: 1024px) { .shop-inner { padding: 6rem 0; } }
.shop-heading { font-size: 1.875rem; color: var(--color-background); }
@media (min-width: 768px) { .shop-heading { font-size: 3rem; } }
.shop-eyebrow { color: var(--color-gold); }
.shop-subtitle { color: rgba(250,250,250,0.8); max-width: 36rem; margin-left: auto; margin-right: auto; }
.shop-group { display: flex; flex-direction: column; gap: 2rem; margin-bottom: 4rem; }
.shop-group:last-child { margin-bottom: 0; }
.shop-group-intro { max-width: 28rem; }
.shop-group-title { font-size: 1.5rem; font-weight: 700; color: var(--color-background); margin-bottom: 0.75rem; }
@media (min-width: 768px) { .shop-group-title { font-size: 1.875rem; } }
.shop-group-blurb { color: rgba(250,250,250,0.8); font-size: 0.9rem; line-height: 1.7; }
@media (min-width: 768px) { .shop-group-blurb { font-size: 1rem; } }
.shop-group-rule { height: 4px; width: 3rem; background: var(--color-gold); margin-top: 1.25rem; }
.shop-group-empty { text-align: center; color: rgba(250,250,250,0.8); }

.theme-product-grid {
	display: grid;
	gap: 1rem;
	align-items: stretch;
}
@media (min-width: 640px) { .theme-product-grid { gap: 1.5rem; } }

.shop-grid-books { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 60rem; margin: 0 auto; }
@media (min-width: 768px) { .shop-grid-books { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.shop-grid-merch { grid-template-columns: 1fr; }
@media (min-width: 640px) { .shop-grid-merch { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.theme-archive-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.resources-grid-books { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.resources-grid-merch { grid-template-columns: 1fr; }
@media (min-width: 640px) { .resources-grid-merch { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.theme-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
@media (min-width: 1024px) {
	.theme-related-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; }
}

.theme-product-card-wrap { height: 100%; }
.theme-product-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: transparent;
}
.theme-product-card.is-not-clickable { cursor: default; }
.theme-product-card__image-wrapper {
	position: relative;
	overflow: hidden;
	border-radius: 0.375rem;
	margin-bottom: 1rem;
	background: var(--color-secondary);
	aspect-ratio: 1/1;
	transition: transform 0.3s var(--ease-smooth), box-shadow 0.3s var(--ease-smooth);
}
.theme-product-card:not(.is-book):not(.is-not-clickable):hover .theme-product-card__image-wrapper {
	transform: translateY(-8px);
	box-shadow: 0 20px 40px -12px rgba(38, 33, 46, 0.15);
}
.theme-product-card.is-book .theme-product-card__image-wrapper { aspect-ratio: 2/3; padding: 1rem; background: transparent; }
.theme-product-card__image-wrapper img {
	height: 100%;
	width: 100%;
	transition: transform 0.6s var(--ease-smooth);
}
.theme-product-card:hover .theme-product-card__image-wrapper img { transform: scale(1.04); }
.theme-product-card.is-book:hover .theme-product-card__image-wrapper img { transform: scale(1.03); }
.product-card-img.is-book-cover { object-fit: cover; }
.product-card-img:not(.is-book-cover) { object-fit: contain; }
.product-card-img.is-dimmed { opacity: 0.6; }
.product-card-img.is-coming-soon { filter: grayscale(1) blur(2px); }

.theme-stock-badge {
	position: absolute; top: 0.5rem; left: 0.5rem;
	padding: 0.4rem 0.75rem;
	font-size: 0.75rem; font-weight: 600;
	text-transform: uppercase; letter-spacing: 0.05em;
	border-radius: 0.375rem;
}
@media (min-width: 768px) { .theme-stock-badge { top: 0.75rem; left: 0.75rem; } }
.theme-badge-soldout { background: var(--color-foreground); color: var(--color-background); }
.theme-badge-coming { background: var(--color-accent); color: var(--color-accent-foreground); }

.theme-product-card__info { padding: 0; display: flex; flex-direction: column; gap: 0.25rem; flex: 1; }
.theme-product-card.is-book .theme-product-card__info { padding: 0 1rem 1rem; }
.theme-product-card__title { font-size: 1rem; font-weight: 500; transition: color 0.3s ease; }
.theme-product-card:hover .theme-product-card__title { color: var(--color-accent); }
.theme-product-card__price,
.theme-product-card__price .amount,
.theme-product-card__price bdi { font-size: 0.875rem; color: var(--color-muted-foreground); font-weight: 600; }

/* -------------------------------------------------------------------- */
/* Testimonials                                                          */
/* -------------------------------------------------------------------- */

.testimonials-section { background-color: var(--color-secondary); padding: 4rem 0; }
@media (min-width: 768px) { .testimonials-section { padding: 6rem 0; } }
.testimonials-heading { font-size: 1.875rem; }
@media (min-width: 768px) { .testimonials-heading { font-size: 3rem; } }

.testimonials-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; max-width: 72rem; margin: 0 auto; }
@media (min-width: 1024px) { .testimonials-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.testimonial-video-card, .testimonial-card {
	border-radius: var(--radius);
	background: #fff;
	border: 1px solid rgba(18,18,18,0.9);
	box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
	display: flex; flex-direction: column;
	overflow: hidden;
	transition: transform 0.3s var(--ease-smooth);
}
.testimonial-card:hover { transform: translateY(-6px); }
.testimonial-video-wrap { position: relative; background: var(--color-foreground); }
.testimonial-video { width: 100%; max-height: 520px; object-fit: contain; background: var(--color-foreground); display: block; }
.testimonial-video-body { padding: 1.5rem; }
.testimonial-video-eyebrow { font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-accent); font-weight: 600; }
.testimonial-video-title { font-size: 1.125rem; font-weight: 700; margin-top: 0.5rem; }
.testimonial-video-desc { color: var(--color-muted-foreground); font-size: 0.875rem; margin-top: 0.5rem; line-height: 1.7; }
.testimonial-card { padding: 2rem; }
.testimonial-quote-icon { width: 32px; height: 32px; color: var(--color-accent); margin-bottom: 1rem; }
.testimonial-quote { font-size: 1rem; line-height: 1.7; flex: 1; }
.testimonial-attribution { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--color-border); }
.testimonial-name { font-family: var(--font-display); font-weight: 700; }
.testimonial-role { font-size: 0.75rem; color: var(--color-muted-foreground); margin-top: 0.25rem; }

/* -------------------------------------------------------------------- */
/* Contact                                                               */
/* -------------------------------------------------------------------- */

.contact-section { position: relative; overflow: hidden; background: var(--color-primary); }
.contact-glow { position: absolute; width: 24rem; height: 24rem; border-radius: 50%; filter: blur(80px); pointer-events: none; }
.contact-glow-1 { top: -8rem; left: -8rem; background: color-mix(in srgb, var(--color-accent) 25%, transparent); }
.contact-glow-2 { bottom: -8rem; right: -8rem; background: color-mix(in srgb, var(--color-accent) 15%, transparent); }
.contact-inner { padding: 4rem 1.5rem; position: relative; z-index: 10; }
@media (min-width: 768px) { .contact-inner { padding: 5rem 1.5rem; } }
@media (min-width: 1024px) { .contact-inner { padding: 5rem 0; } }
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: stretch; }
@media (min-width: 768px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }

.contact-cta-card, .contact-form-card {
	border-radius: 0.75rem;
	border: 1px solid rgba(255,255,255,0.15);
	background: rgba(255,255,255,0.06);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	box-shadow: 0 8px 32px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.08);
	padding: 2rem;
	display: flex;
	flex-direction: column;
	height: 100%;
}
@media (min-width: 768px) { .contact-cta-card, .contact-form-card { padding: 2.5rem 3rem; } }
.contact-cta-card { justify-content: center; }
.contact-form-card { background: rgba(255,255,255,0.08); }
.contact-eyebrow, .contact-form-eyebrow { display: block; font-size: 0.75rem; letter-spacing: 0.3em; text-transform: uppercase; color: rgba(255,255,255,0.8); margin-bottom: 0.75rem; }
.contact-form-eyebrow { font-size: 0.875rem; letter-spacing: 0.2em; color: rgba(255,255,255,0.7); margin-bottom: 0.25rem; }
.contact-title { font-size: 1.875rem; color: #fff; margin-bottom: 1rem; }
@media (min-width: 768px) { .contact-title { font-size: 2.25rem; } }
@media (min-width: 1024px) { .contact-title { font-size: 3rem; } }
.contact-subtitle { color: rgba(255,255,255,0.8); margin-bottom: 2rem; line-height: 1.7; }
.contact-form-title { font-size: 1.5rem; color: #fff; margin-bottom: 1.5rem; font-family: var(--font-display); font-weight: 700; }
@media (min-width: 768px) { .contact-form-title { font-size: 1.875rem; } }

.contact-details { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.15); }
.contact-detail-row { display: flex; align-items: center; gap: 0.5rem; color: rgba(255,255,255,0.8); font-size: 0.875rem; }
.contact-detail-row a:hover { color: #fff; }

.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: 640px) { .contact-form-row { grid-template-columns: 1fr 1fr; } }
.contact-form-field { display: flex; flex-direction: column; }
.contact-form-field-message { flex: 1; }
.contact-form-field label { font-size: 0.875rem; font-weight: 500; margin-bottom: 0.5rem; color: rgba(255,255,255,0.8); }
.contact-form-field input, .contact-form-field textarea {
	width: 100%;
	padding: 0.75rem 1rem;
	background: rgba(255,255,255,0.1);
	border: 1px solid rgba(255,255,255,0.2);
	border-radius: 0.375rem;
	font-size: 0.875rem;
	color: #fff;
	font-family: var(--font-body);
	transition: box-shadow 0.3s ease;
}
.contact-form-field input::placeholder, .contact-form-field textarea::placeholder { color: rgba(255,255,255,0.4); }
.contact-form-field input:focus, .contact-form-field textarea:focus { outline: none; box-shadow: 0 0 0 2px rgba(255,255,255,0.3); }
.contact-form-field-message textarea { flex: 1; min-height: 140px; resize: none; }
.contact-form-error { color: #ffb4a3; font-size: 0.875rem; }
.contact-form-error[hidden] { display: none !important; }
.contact-form-success { text-align: center; padding: 2.5rem 0; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.contact-form-success[hidden] { display: none !important; }
.contact-success-icon { width: 64px; height: 64px; border-radius: 50%; background: rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; color: #fff; }
.contact-success-title { font-family: var(--font-display); font-size: 1.5rem; color: #fff; margin-bottom: 0.5rem; }
.contact-success-text { color: rgba(255,255,255,0.7); }

/* -------------------------------------------------------------------- */
/* Footer                                                                */
/* -------------------------------------------------------------------- */

.site-footer { border-top: 1px solid var(--color-border); background: var(--color-secondary); }
.site-footer-top { display: grid; grid-template-columns: 1fr; gap: 2rem; padding: 3rem 1.5rem 0; }
@media (min-width: 768px) { .site-footer-top { grid-template-columns: repeat(4, 1fr); gap: 3rem; padding: 4rem 1.5rem 0; } }
@media (min-width: 1024px) { .site-footer-top { padding-left: 0; padding-right: 0; } }
.footer-col-brand .site-brand { height: 3.5rem; }
.footer-col-brand .site-logo-img { height: 100%; }
.footer-tagline { margin-top: 1rem; font-size: 0.875rem; color: var(--color-muted-foreground); max-width: 24rem; line-height: 1.7; }
.footer-col-title { font-size: 0.875rem; font-weight: 600; margin-bottom: 1rem; }
.footer-nav-list, .footer-contact-list { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-nav-list a, .footer-nav-list button {
	font-size: 0.875rem; color: var(--color-muted-foreground);
	transition: color 0.3s ease; text-align: left;
}
.footer-nav-list a:hover, .footer-nav-list button:hover { color: var(--color-accent); }
.footer-contact-list li { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.875rem; color: var(--color-muted-foreground); }
.footer-contact-list a:hover { color: var(--color-accent); }
.footer-icon { width: 16px; height: 16px; flex-shrink: 0; margin-top: 0.15rem; }
.footer-socials { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1rem; }
.footer-social-link {
	display: inline-flex; align-items: center; justify-content: center;
	width: 2.25rem; height: 2.25rem; border-radius: 50%;
	border: 1px solid var(--color-border); color: var(--color-muted-foreground);
	transition: color 0.3s ease, border-color 0.3s ease;
}
.footer-social-link:hover { color: var(--color-accent); border-color: var(--color-accent); }
.site-footer-bottom {
	margin-top: 2rem; padding: 1rem 1.5rem;
	border-top: 1px solid var(--color-border);
	display: flex; flex-direction: column; gap: 1rem;
	align-items: center; justify-content: space-between;
	font-size: 0.75rem; color: var(--color-muted-foreground);
}
.footer-slogan { order: -1; text-align: center; }
.footer-copyright { text-align: center; }
.footer-brand-line { text-align: center; }
@media (min-width: 768px) {
	.site-footer-bottom { flex-direction: row; padding-left: 1.5rem; padding-right: 1.5rem; }
}
@media (min-width: 1024px) {
	.site-footer-bottom { padding-left: 0; padding-right: 0; }
	.footer-slogan { order: 0; }
	.footer-copyright { text-align: left; }
	.footer-brand-line { text-align: right; }
}

/* -------------------------------------------------------------------- */
/* Cart drawer + overlay                                                 */
/* -------------------------------------------------------------------- */

#theme-cart-overlay {
	position: fixed; inset: 0; z-index: 60;
	background: rgba(18,18,18,0.2);
	opacity: 0; pointer-events: none;
	transition: opacity 0.3s ease;
}
body.cart-open #theme-cart-overlay { opacity: 1; pointer-events: auto; }

#theme-cart-drawer {
	position: fixed; top: 0; right: 0; height: 100%;
	width: 100%; max-width: 28rem;
	background: var(--color-background);
	z-index: 61;
	box-shadow: var(--shadow-elevated);
	display: flex; flex-direction: column;
	transform: translateX(100%);
	transition: transform 0.4s var(--ease-smooth);
}
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(--color-border); }
.theme-cart-drawer-title { font-size: 1.125rem; font-weight: 700; }
.theme-cart-close { padding: 0.25rem; transition: opacity 0.2s ease; }
.theme-cart-close:hover { opacity: 0.6; }

.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 p { color: var(--color-muted-foreground); }

.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; flex-shrink: 0; background: var(--color-secondary); overflow: hidden; border-radius: 0.25rem; display: block; }
.theme-cart-item-image img { height: 100%; width: 100%; object-fit: cover; }
.theme-cart-item-body { flex: 1; min-width: 0; }
.theme-cart-item-name { font-size: 0.875rem; font-weight: 500; display: block; 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(--color-muted-foreground); margin-top: 0.15rem; }
.theme-cart-item-variation { font-size: 0.75rem; color: var(--color-muted-foreground); margin-top: 0.25rem; }
.theme-cart-item-controls { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.75rem; }
.theme-cart-qty-btn { padding: 0.25rem; border-radius: 0.25rem; transition: background-color 0.2s ease; }
.theme-cart-qty-btn:hover { background: var(--color-secondary); }
.theme-cart-item-qty { font-size: 0.875rem; width: 1.5rem; text-align: center; }
.theme-cart-remove { margin-left: auto; font-size: 0.75rem; color: var(--color-muted-foreground); transition: color 0.2s ease; }
.theme-cart-remove:hover { color: var(--color-foreground); }

.theme-cart-drawer-footer { padding: 1.5rem; border-top: 1px solid var(--color-border); display: flex; flex-direction: column; gap: 1rem; }
.theme-cart-subtotal-row { display: flex; justify-content: space-between; font-size: 0.875rem; }
.theme-cart-subtotal-value { font-weight: 500; }
.theme-cart-shipping-note { font-size: 0.75rem; color: var(--color-muted-foreground); }

/* -------------------------------------------------------------------- */
/* Single product page                                                   */
/* -------------------------------------------------------------------- */

.theme-product-main { padding-top: 6rem; padding-bottom: 3rem; }
@media (min-width: 1024px) { .theme-product-main { padding-top: 7rem; } }
.theme-product-breadcrumb { padding: 1.5rem 0; }
.theme-back-link { display: inline-flex; align-items: center; font-size: 0.875rem; color: var(--color-muted-foreground); transition: color 0.2s ease; }
.theme-back-link:hover { color: var(--color-foreground); }

.theme-product-layout { display: grid; grid-template-columns: 1fr; gap: 2.5rem; padding-bottom: 5rem; min-width: 0; }
@media (min-width: 768px) { .theme-product-layout { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.theme-product-gallery, .theme-product-info { min-width: 0; max-width: 100%; }
@media (min-width: 768px) { .theme-product-info { padding: 1rem 0; } }
@media (min-width: 1024px) { .theme-product-info { padding: 2.5rem 0; } }
.theme-add-to-cart-area,
.theme-variations-form {
	margin-bottom: 2rem;
}
.theme-add-to-cart-row {
	display: flex;
	align-items: stretch;
	gap: 1rem;
	flex-wrap: wrap;
}
.theme-add-to-cart-row .single_add_to_cart_button,
.theme-add-to-cart-row .theme-btn-primary {
	flex: 1;
	min-width: 0;
}
.theme-variation-row { margin-bottom: 1.25rem; }
.theme-variation-label {
	display: block;
	font-family: var(--font-body);
	font-size: 0.875rem;
	font-weight: 500;
	margin-bottom: 0.5rem;
	color: var(--color-foreground);
}
.theme-variation-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.theme-variation-pill {
	padding: 0.5rem 1rem;
	border: 1px solid var(--color-border);
	border-radius: 999px;
	font-family: var(--font-body);
	font-size: 0.875rem;
	font-weight: 500;
	background: var(--color-background);
	color: var(--color-foreground);
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.theme-variation-pill:hover { border-color: var(--color-accent); color: var(--color-accent); }
.theme-variation-pill.is-active {
	background: var(--color-accent);
	border-color: var(--color-accent);
	color: var(--color-accent-foreground);
}
.theme-product-price-currency {
	font-size: 0.875rem;
	color: var(--color-muted-foreground);
	font-weight: 400;
	margin-left: 0.25rem;
}
.single_add_to_cart_button.is-added .theme-icon { margin-right: 0.5rem; }
.theme-product-main-image-wrap { aspect-ratio: 3/4; background: var(--color-secondary); overflow: hidden; margin-bottom: 1rem; border-radius: 0.375rem; }
.theme-product-main-img { height: 100%; width: 100%; object-fit: cover; }
.theme-product-thumbnails { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.5rem; flex-wrap: wrap; max-width: 100%; }
.theme-product-thumb { aspect-ratio: 1/1; overflow: hidden; border: 2px solid transparent; opacity: 0.6; border-radius: 0.375rem; transition: all 0.2s ease; }
.theme-product-thumb:hover { opacity: 1; }
.theme-product-thumb.is-active { border-color: var(--color-primary); opacity: 1; }

.theme-product-category { font-size: 0.875rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-foreground); }
.theme-product-category a { color: inherit; }
.theme-product-title { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; margin-top: 0.5rem; margin-bottom: 1rem; }
@media (min-width: 768px) { .theme-product-title { font-size: 1.875rem; } }
.theme-product-price { font-size: 1.5rem; font-weight: 600; color: var(--color-accent); margin-bottom: 1rem; }
.theme-stock-indicator { font-size: 0.875rem; font-weight: 600; margin-bottom: 1rem; }
.theme-stock-out { color: var(--color-muted-foreground); }
.theme-product-description { color: var(--color-muted-foreground); line-height: 1.7; margin-bottom: 2rem; overflow-wrap: break-word; word-break: break-word; }
.theme-product-description p { margin-bottom: 1rem; }

.theme-quantity-wrapper { display: flex; align-items: center; border: 1px solid var(--color-border); border-radius: 0.375rem; overflow: hidden; }
.theme-qty-minus, .theme-qty-plus { padding: 0.75rem 1rem; transition: background-color 0.2s ease; }
.theme-qty-minus:hover, .theme-qty-plus:hover { background: var(--color-secondary); }
.theme-qty-input { width: 3rem; text-align: center; border: none; background: transparent; font-family: var(--font-body); -moz-appearance: textfield; }
.theme-qty-input::-webkit-outer-spin-button, .theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.theme-product-details { border-top: 1px solid var(--color-border); padding-top: 2rem; }
.theme-details-heading { font-size: 1rem; font-weight: 600; margin-bottom: 1rem; }
.theme-details-list { display: flex; flex-direction: column; gap: 0.5rem; }
.theme-details-list li { display: flex; align-items: flex-start; font-size: 0.875rem; color: var(--color-muted-foreground); overflow-wrap: break-word; word-break: break-word; }
.theme-details-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--color-accent); margin-top: 0.5rem; margin-right: 0.75rem; flex-shrink: 0; }

.theme-related-products { padding: 5rem 0; border-top: 1px solid var(--color-border); }
.theme-related-heading { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; margin-bottom: 2.5rem; }
@media (min-width: 768px) { .theme-related-heading { font-size: 1.5rem; } }

/* -------------------------------------------------------------------- */
/* WooCommerce button overrides (Section 11.4.1 / 11.4.2)                */
/* -------------------------------------------------------------------- */

.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;
}
.theme-btn-loading.button { cursor: wait !important; opacity: 0.6 !important; pointer-events: none !important; }
.single-product .single_add_to_cart_button.loading::after,
.ajax_add_to_cart.loading::after { display: none !important; }

.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 notices (scoped, Section 14.1)                            */
/* -------------------------------------------------------------------- */

.single-product .woocommerce-message,
.single-product .woocommerce-info { display: none; }
#theme-cart-drawer .woocommerce-message { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error {
	border-top-color: var(--color-accent);
	font-family: var(--font-body);
	border-radius: 0.375rem;
	background: var(--color-secondary);
}

/* -------------------------------------------------------------------- */
/* Archive / resources page                                              */
/* -------------------------------------------------------------------- */

.theme-archive-main, .theme-resources-main { padding-top: 7rem; padding-bottom: 4rem; }
@media (min-width: 768px) { .theme-resources-main { padding-top: 8rem; padding-bottom: 6rem; } }
.theme-archive-header { margin-bottom: 2.5rem; }
.page-title { font-family: var(--font-display); font-size: 1.875rem; font-weight: 700; margin-bottom: 1rem; }
@media (min-width: 768px) { .page-title { font-size: 2.5rem; } }

.resources-intro { text-align: center; max-width: 48rem; margin: 0 auto 3.5rem; }
@media (min-width: 768px) { .resources-intro { margin-bottom: 5rem; } }
.resources-heading { font-size: 2.25rem; }
@media (min-width: 768px) { .resources-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .resources-heading { font-size: 3.75rem; } }
.resources-groups { display: flex; flex-direction: column; gap: 3rem; }
.resources-group { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: start; }
@media (min-width: 1024px) { .resources-group { grid-template-columns: minmax(0,5fr) minmax(0,7fr); gap: 4rem; } }
.resources-group-title { font-size: 1.5rem; margin-bottom: 1rem; }
@media (min-width: 768px) { .resources-group-title { font-size: 1.875rem; } }
.resources-group-blurb { color: var(--color-muted-foreground); font-size: 0.9rem; line-height: 1.7; }
.resources-group-rule { height: 1px; width: 3rem; background: color-mix(in srgb, var(--color-accent) 50%, transparent); margin-top: 1.25rem; }

/* -------------------------------------------------------------------- */
/* 404                                                                    */
/* -------------------------------------------------------------------- */

.theme-404-main { min-height: 60vh; display: flex; align-items: center; padding-top: 7rem; padding-bottom: 4rem; }
.theme-404-content { text-align: center; max-width: 32rem; margin: 0 auto; }
.theme-404-title { font-size: 1.875rem; margin-bottom: 1rem; }
.theme-404-text { color: var(--color-muted-foreground); margin-bottom: 2rem; }

/* -------------------------------------------------------------------- */
/* Thank-you page (Section 22.8)                                         */
/* -------------------------------------------------------------------- */

body.theme-thankyou-page { overflow-x: hidden; }
body.theme-thankyou-page .site-main { padding-top: 7rem; padding-bottom: 4rem; }
body.theme-thankyou-page .woocommerce-order-details table { width: 100%; table-layout: fixed; }
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title {
	font-family: var(--font-display);
	font-size: 1.5rem;
	padding: 0 0 1rem 0;
}
body.theme-thankyou-page .woocommerce-order-details tfoot th { text-align: left; }
body.theme-thankyou-page .woocommerce-order-details tfoot td { text-align: right; }
@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; }

/* -------------------------------------------------------------------- */
/* Checkout Block overrides (Section 13)                                 */
/* -------------------------------------------------------------------- */

body.woocommerce-checkout .site-main { padding-top: var(--header-height); padding-bottom: 4rem; }

/* Single 2-column checkout grid — outer wrapper is block, inner sidebar-layout is the grid */
body.woocommerce-checkout .wp-block-woocommerce-checkout.wc-block-checkout {
	display: block !important;
}
body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) !important;
	gap: 2rem !important;
	align-items: start !important;
}
@media (min-width: 768px) {
	body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
	}
}
body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar {
	display: block !important;
	min-width: 0 !important;
	width: 100% !important;
	max-width: none !important;
	grid-column: auto !important;
}
/* Hide duplicate order summary injected inside the form actions area */
body.woocommerce-checkout .wc-block-checkout__actions .checkout-order-summary-block-fill-wrapper {
	display: none !important;
}
body.woocommerce-checkout .wc-block-components-form .wc-block-components-checkout-step,
body.woocommerce-checkout .wc-block-components-address-form {
	display: block !important;
}
body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-text-input input[type="text"],
body.woocommerce-checkout .wc-block-components-text-input input[type="email"],
body.woocommerce-checkout .wc-block-components-text-input input[type="tel"],
body.woocommerce-checkout .wc-block-components-text-input input[type="number"],
body.woocommerce-checkout .wc-block-components-select select,
body.woocommerce-checkout .wc-block-components-country-input select,
body.woocommerce-checkout select {
	width: 100% !important;
	max-width: none !important;
	font-family: var(--font-body) !important;
	font-size: 0.875rem !important;
	color: var(--color-foreground) !important;
	background-color: var(--color-background) !important;
	border: 1px solid var(--color-border) !important;
	border-radius: 0.25rem !important;
	box-shadow: none !important;
}
body.woocommerce-checkout .wc-block-components-text-input input::placeholder,
body.woocommerce-checkout .wc-block-components-text-input textarea::placeholder {
	color: var(--color-muted-foreground) !important;
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-text-input textarea:focus,
body.woocommerce-checkout .wc-block-components-select select:focus,
body.woocommerce-checkout select:focus {
	outline: none !important;
	box-shadow: 0 0 0 1px var(--color-primary) !important;
	border-color: var(--color-primary) !important;
}
body.woocommerce-checkout .wc-block-checkout__sidebar {
	background-color: var(--color-secondary) !important;
	border-radius: var(--radius) !important;
	padding: 2rem !important;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
	background-color: var(--color-accent) !important;
	color: var(--color-accent-foreground) !important;
	border-radius: var(--btn-radius) !important;
	font-family: var(--font-body) !important;
	text-transform: none !important;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover { opacity: 0.9 !important; }
