:root {
	--jj-blush: #f7cfd6;
	--jj-cream: #fff8ef;
	--jj-gold: #b58a4c;
	--jj-ink: #251f24;
	--jj-plum: #4b263f;
	--jj-sage: #78866b;
	--jj-white: #fff;
	--jj-muted: #776b70;
	--jj-border: rgba(37, 31, 36, 0.12);
	--jj-shadow: 0 24px 80px rgba(75, 38, 63, 0.14);
	--jj-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
	--jj-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--jj-cream);
	color: var(--jj-ink);
	font-family: var(--jj-sans);
	font-size: 16px;
	line-height: 1.65;
	text-rendering: optimizeLegibility;
}

img,
video,
iframe {
	max-width: 100%;
	height: auto;
}

a {
	color: inherit;
	text-decoration-thickness: 0.08em;
	text-underline-offset: 0.22em;
}

.screen-reader-text,
.skip-link {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

.skip-link:focus {
	z-index: 10000;
	top: 1rem;
	left: 1rem;
	width: auto;
	height: auto;
	padding: 0.75rem 1rem;
	clip: auto;
	background: var(--jj-ink);
	color: var(--jj-white);
}

.jj-header {
	position: sticky;
	z-index: 80;
	top: 0;
	background: rgba(255, 248, 239, 0.86);
	backdrop-filter: blur(18px);
	border-bottom: 1px solid transparent;
	transition: border-color 180ms ease, box-shadow 180ms ease;
}

.jj-header.is-scrolled {
	border-color: var(--jj-border);
	box-shadow: 0 10px 30px rgba(37, 31, 36, 0.06);
}

.jj-header__inner {
	display: grid;
	grid-template-columns: 1fr auto auto;
	align-items: center;
	gap: 1rem;
	width: min(1180px, calc(100% - 2rem));
	min-height: 76px;
	margin: 0 auto;
}

.jj-brand__text,
.custom-logo-link {
	display: inline-flex;
	align-items: center;
	color: var(--jj-plum);
	font-family: var(--jj-serif);
	font-size: 1.55rem;
	font-weight: 700;
	text-decoration: none;
}

.jj-brand__image {
	display: inline-flex;
	width: 58px;
	height: 58px;
	overflow: hidden;
	border-radius: 999px;
	border: 1px solid rgba(181, 138, 76, 0.28);
}

.jj-brand__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.custom-logo {
	max-height: 54px;
	width: auto;
}

.jj-menu-toggle {
	display: inline-grid;
	align-content: center;
	gap: 5px;
	width: 42px;
	height: 42px;
	border: 1px solid var(--jj-border);
	border-radius: 999px;
	background: var(--jj-white);
	cursor: pointer;
}

.jj-menu-toggle span:not(.screen-reader-text) {
	display: block;
	width: 18px;
	height: 2px;
	margin: 0 auto;
	background: var(--jj-ink);
}

.jj-nav {
	position: fixed;
	inset: 76px 1rem auto;
	display: none;
	padding: 1rem;
	background: var(--jj-white);
	border: 1px solid var(--jj-border);
	border-radius: 8px;
	box-shadow: var(--jj-shadow);
}

.jj-nav.is-open {
	display: block;
}

.jj-nav ul {
	display: grid;
	gap: 0.75rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.jj-nav a,
.jj-actions a {
	color: var(--jj-ink);
	font-size: 0.9rem;
	font-weight: 700;
	text-decoration: none;
}

.jj-actions {
	display: none;
	align-items: center;
	gap: 0.75rem;
}

.jj-button,
.button,
.wp-element-button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0.78rem 1.1rem;
	border: 1px solid var(--jj-ink);
	border-radius: 999px;
	background: var(--jj-ink);
	color: var(--jj-white);
	font-size: 0.9rem;
	font-weight: 800;
	line-height: 1;
	text-decoration: none;
	transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.jj-button:hover,
.button:hover,
.woocommerce a.button:hover {
	transform: translateY(-2px);
	box-shadow: 0 16px 30px rgba(37, 31, 36, 0.16);
}

.jj-button--secondary {
	background: var(--jj-white);
	color: var(--jj-ink);
}

.jj-button--ghost {
	background: transparent;
	color: var(--jj-ink);
}

.jj-hero {
	position: relative;
	display: grid;
	align-items: end;
	min-height: calc(100svh - 76px);
	padding: 7rem 1rem 1rem;
	overflow: hidden;
	isolation: isolate;
}

.jj-hero__media {
	position: absolute;
	inset: 0;
	z-index: -2;
	background:
		linear-gradient(90deg, rgba(255, 248, 239, 0.96), rgba(255, 248, 239, 0.5), rgba(255, 248, 239, 0.12)),
		var(--hero-image) center / cover no-repeat;
}

.jj-hero__media::after {
	content: "";
	position: absolute;
	inset: auto 0 0;
	height: 28%;
	background: linear-gradient(180deg, rgba(255, 248, 239, 0), var(--jj-cream));
}

.jj-hero__content {
	width: min(680px, 100%);
	padding-bottom: 6rem;
}

.jj-kicker {
	margin: 0 0 0.9rem;
	color: var(--jj-gold);
	font-size: 0.72rem;
	font-weight: 900;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.jj-hero h1,
.jj-section h2,
.jj-page-header h1,
.jj-footer h2 {
	margin: 0;
	color: var(--jj-plum);
	font-family: var(--jj-serif);
	font-weight: 700;
	line-height: 0.98;
}

.jj-hero h1 {
	max-width: 12ch;
	font-size: clamp(3.15rem, 12vw, 7.5rem);
}

.jj-hero p:not(.jj-kicker) {
	max-width: 54ch;
	margin: 1.35rem 0 0;
	color: #4d4249;
	font-size: 1.05rem;
}

.jj-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.8rem;
	margin-top: 1.7rem;
}

.jj-hero__proof {
	position: absolute;
	right: 1rem;
	bottom: 1rem;
	left: 1rem;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	background: rgba(255, 255, 255, 0.74);
	border: 1px solid rgba(255, 255, 255, 0.72);
	border-radius: 8px;
	backdrop-filter: blur(18px);
	box-shadow: var(--jj-shadow);
}

.jj-hero__proof span {
	padding: 0.85rem 0.65rem;
	font-size: 0.74rem;
	font-weight: 900;
	text-align: center;
	text-transform: uppercase;
}

.jj-section,
.jj-content {
	width: min(1180px, calc(100% - 2rem));
	margin: 0 auto;
	padding: 4.5rem 0;
}

.jj-section__header {
	display: grid;
	gap: 0.75rem;
	max-width: 730px;
	margin-bottom: 1.5rem;
}

.jj-section h2,
.jj-page-header h1,
.jj-footer h2 {
	font-size: clamp(2.15rem, 7vw, 4.8rem);
}

.jj-mini-grid,
.jj-personality-grid,
.jj-product-grid,
.jj-story-grid {
	display: grid;
	gap: 1rem;
}

.jj-mini-grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.jj-mini-card,
.jj-personality-card,
.jj-featured-product,
.jj-post-card {
	position: relative;
	display: grid;
	min-height: 130px;
	padding: 1rem;
	overflow: hidden;
	background: rgba(255, 255, 255, 0.72);
	border: 1px solid var(--jj-border);
	border-radius: 8px;
	color: var(--jj-ink);
	text-decoration: none;
	transition: transform 190ms ease, box-shadow 190ms ease, border-color 190ms ease;
}

.jj-mini-card:hover,
.jj-personality-card:hover,
.jj-featured-product:hover,
.jj-post-card:hover {
	transform: translateY(-4px);
	border-color: rgba(181, 138, 76, 0.4);
	box-shadow: var(--jj-shadow);
}

.jj-mini-card span,
.jj-personality-card h3 {
	align-self: end;
	font-family: var(--jj-serif);
	font-size: 1.55rem;
	line-height: 1;
}

.jj-mini-card--image {
	min-height: 190px;
	background:
		linear-gradient(180deg, rgba(37, 31, 36, 0.02), rgba(37, 31, 36, 0.54)),
		var(--jj-card-image) center / cover no-repeat;
	color: var(--jj-white);
}

.jj-mini-card--image span {
	text-shadow: 0 3px 18px rgba(37, 31, 36, 0.35);
}

.jj-personality-grid {
	grid-template-columns: 1fr;
}

.jj-personality-card {
	min-height: 176px;
	background: linear-gradient(135deg, #fff, #fff4f6 52%, #eef3e8);
}

.jj-personality-card span {
	color: var(--jj-gold);
	font-weight: 900;
}

.jj-personality-card h3 {
	margin: auto 0 0;
	color: var(--jj-plum);
}

.jj-product-grid {
	grid-template-columns: 1fr;
}

.jj-featured-product {
	gap: 0.85rem;
	padding: 0.75rem;
	background: var(--jj-white);
}

.jj-featured-product__image {
	aspect-ratio: 4 / 5;
	overflow: hidden;
	background: linear-gradient(135deg, var(--jj-blush), #eef3e8);
	border-radius: 6px;
}

.jj-featured-product__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 360ms ease;
}

.jj-featured-product:hover img {
	transform: scale(1.045);
}

.jj-featured-product h3 {
	margin: 0;
	font-family: var(--jj-serif);
	font-size: 1.4rem;
	line-height: 1.05;
}

.jj-featured-product span {
	color: var(--jj-muted);
	font-size: 0.92rem;
	font-weight: 800;
}

.jj-builder-tease {
	display: grid;
	gap: 2rem;
	align-items: center;
	padding: 3rem 1.25rem;
	background: var(--jj-plum);
	color: var(--jj-white);
	border-radius: 8px;
}

.jj-builder-tease h2,
.jj-builder-tease p {
	color: var(--jj-white);
}

.jj-builder-tease .jj-button {
	background: var(--jj-white);
	color: var(--jj-plum);
	border-color: var(--jj-white);
}

.jj-box-preview {
	position: relative;
	aspect-ratio: 1;
	width: min(320px, 100%);
	margin: 0 auto;
	background: #fff0f3;
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 8px;
	box-shadow: inset 0 0 0 18px rgba(181, 138, 76, 0.12);
}

.jj-box-preview span {
	position: absolute;
	width: 32%;
	aspect-ratio: 1;
	background: var(--jj-white);
	border: 1px solid rgba(75, 38, 63, 0.12);
	border-radius: 8px;
	box-shadow: 0 20px 40px rgba(37, 31, 36, 0.08);
}

.jj-box-preview span:nth-child(1) { top: 16%; left: 17%; }
.jj-box-preview span:nth-child(2) { top: 20%; right: 16%; background: #eef3e8; }
.jj-box-preview span:nth-child(3) { bottom: 17%; left: 20%; background: #fff8ef; }
.jj-box-preview span:nth-child(4) { right: 18%; bottom: 16%; background: var(--jj-blush); }

.jj-page-header {
	max-width: 900px;
	padding: 3rem 0 1.5rem;
}

.jj-page-content {
	max-width: 760px;
}

.jj-archive-grid {
	display: grid;
	gap: 1.25rem;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.jj-post-card {
	min-height: auto;
}

.jj-post-card img,
.jj-single-media img {
	display: block;
	width: 100%;
	border-radius: 8px;
}

.jj-footer {
	margin-top: 4rem;
	padding: 4rem 1rem 1rem;
	background: #251f24;
	color: rgba(255, 255, 255, 0.78);
}

.jj-footer__inner {
	display: grid;
	gap: 2rem;
	width: min(1180px, 100%);
	margin: 0 auto;
}

.jj-footer h2 {
	color: var(--jj-white);
	font-size: clamp(2rem, 8vw, 4.4rem);
}

.jj-footer__nav ul {
	display: grid;
	gap: 0.65rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.jj-footer a {
	color: var(--jj-white);
}

.jj-footer__base {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0.75rem;
	width: min(1180px, 100%);
	margin: 2rem auto 0;
	padding-top: 1rem;
	border-top: 1px solid rgba(255, 255, 255, 0.14);
	font-size: 0.85rem;
}

.jj-footer__contact {
	display: flex;
	flex-wrap: wrap;
	gap: 0.8rem;
	margin-top: 1rem;
}

.jj-footer__contact a {
	display: inline-flex;
	padding: 0.65rem 0.85rem;
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 999px;
	text-decoration: none;
}

.woocommerce ul.products {
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.woocommerce ul.products li.product {
	width: auto !important;
	margin: 0 !important;
	padding: 0.75rem;
	background: var(--jj-white);
	border: 1px solid var(--jj-border);
	border-radius: 8px;
	box-shadow: none;
}

.woocommerce ul.products li.product a img {
	aspect-ratio: 4 / 5;
	object-fit: cover;
	border-radius: 6px;
}

.jj-product-badge {
	position: absolute;
	z-index: 2;
	top: 0.9rem;
	left: 0.9rem;
	padding: 0.35rem 0.6rem;
	background: var(--jj-white);
	border-radius: 999px;
	color: var(--jj-plum);
	font-size: 0.7rem;
	font-weight: 900;
	text-transform: uppercase;
}

.jj-product-trust {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 1rem 0;
}

.jj-product-trust span {
	padding: 0.45rem 0.65rem;
	background: #fff4f6;
	border-radius: 999px;
	color: var(--jj-plum);
	font-size: 0.76rem;
	font-weight: 800;
}

.jj-product-story {
	display: grid;
	gap: 1.5rem;
	margin: 3rem 0;
	padding: 2rem;
	background: #fff;
	border: 1px solid var(--jj-border);
	border-radius: 8px;
}

.reveal-on-scroll {
	opacity: 0;
	transform: translateY(18px);
}

.reveal-on-scroll.is-visible {
	opacity: 1;
	transform: translateY(0);
	transition: opacity 520ms ease, transform 520ms ease;
}

@media (min-width: 680px) {
	.jj-header__inner {
		grid-template-columns: auto 1fr auto;
	}

	.jj-menu-toggle {
		display: none;
	}

	.jj-nav {
		position: static;
		display: block;
		padding: 0;
		background: transparent;
		border: 0;
		border-radius: 0;
		box-shadow: none;
	}

	.jj-nav ul {
		display: flex;
		justify-content: center;
		gap: 1.1rem;
	}

	.jj-actions {
		display: flex;
	}

	.jj-mini-grid {
		grid-template-columns: repeat(4, 1fr);
	}

	.jj-personality-grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.jj-product-grid {
		grid-template-columns: repeat(4, 1fr);
	}

	.jj-builder-tease,
	.jj-product-story {
		grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
	}

	.jj-footer__inner {
		grid-template-columns: minmax(0, 1.4fr) minmax(180px, 0.6fr) minmax(220px, 0.7fr);
	}
}

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