/* Denuo homepage template. Colors come from the tokens in style.css.
   Storefront's page furniture is suppressed so the sections run full-bleed. */

.denuo-home {
	margin: 0;
	padding: 0;
	max-width: none;
	width: 100%;
	color: var(--denuo-ink);
	font-size: 16px;
	line-height: 1.6;
}

.page-template-template-home .site-content,
.page-template-template-home .content-area,
.page-template-template-home #primary {
	margin: 0;
	padding: 0;
	width: 100%;
	max-width: none;
	float: none;
}

.page-template-template-home .site-content .col-full {
	max-width: none;
	padding: 0;
	margin: 0;
}

.page-template-template-home #secondary,
.page-template-template-home .entry-header,
.page-template-template-home .storefront-breadcrumb {
	display: none;
}

.denuo-wrap {
	max-width: 1120px;
	margin: 0 auto;
	padding: 0 1.5rem;
}

.denuo-wrap--narrow {
	max-width: 760px;
}

/* --- Type ---------------------------------------------------------------- */

.denuo-home h1,
.denuo-home h2,
.denuo-home h3 {
	color: inherit;
	letter-spacing: -0.025em;
	line-height: 1.14;
	margin: 0;
}

.denuo-kicker {
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--denuo-accent);
	margin: 0 0 0.65rem;
	font-family: var(--denuo-mono);
	display: flex;
	align-items: center;
	gap: 0.7rem;
}

/* Section numeral — the homepage reads as an indexed document. */
.denuo-kicker__num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 1.9em;
	height: 1.9em;
	padding: 0 0.4em;
	border: 1px solid currentColor;
	border-radius: var(--denuo-radius-sm);
	font-size: 0.78em;
	letter-spacing: 0.06em;
	opacity: 0.85;
}

/* --- Verify ------------------------------------------------------------- */

.denuo-verify .denuo-lead {
	margin-bottom: 1.75rem;
}

/* Lookup form and certificate styles live in style.css — the form also renders
   on the certificate archive, which does not load this stylesheet. */

.denuo-verify__hint {
	margin: 0.9rem 0 0;
	font-size: 0.82rem;
	color: var(--denuo-muted);
}

.denuo-h2 {
	font-size: clamp(1.65rem, 3.4vw, 2.4rem);
	max-width: 22ch;
	margin-bottom: 1rem;
	font-weight: 600;
}

.denuo-lead {
	color: var(--denuo-muted);
	max-width: 62ch;
	font-size: 1.05rem;
	margin: 0 0 2rem;
}

/* Button styles live in style.css — .denuo-btn is used by the cart drawer and
   the certificate pages, which do not load this stylesheet. */

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

.denuo-hero {
	background: var(--denuo-dark);
	color: var(--denuo-on-dark);
	padding: clamp(3.5rem, 9vw, 7rem) 0 clamp(3rem, 7vw, 5rem);
	position: relative;
	overflow: hidden;
	isolation: isolate;
}

/* Chromatogram backdrop. Sits behind the copy and fades out to the left so it
   never competes with the headline. */
.denuo-hero__trace {
	position: absolute;
	inset: 0;
	z-index: -1;
	color: var(--denuo-accent-light);
	pointer-events: none;
	-webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.35) 32%, #000 68%);
	mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.35) 32%, #000 68%);
}

.denuo-hero__trace svg {
	width: 100%;
	height: 100%;
	display: block;
}

.denuo-trace__grid {
	opacity: 0.16;
}

.denuo-trace__line {
	opacity: 0.5;
}

/* The trace draws itself left to right, the way a chromatograph pen runs a
   sample. Opt-in class, set by JS once the path length is known — without it
   the trace just renders complete. */
.denuo-trace__line.is-drawing {
	stroke-dasharray: var(--denuo-trace-len);
	stroke-dashoffset: var(--denuo-trace-len);
	animation: denuo-trace-draw 2.6s cubic-bezier(0.32, 0.62, 0.36, 1) 0.35s forwards;
}

@keyframes denuo-trace-draw {
	to {
		stroke-dashoffset: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.denuo-trace__line.is-drawing {
		stroke-dasharray: none;
		stroke-dashoffset: 0;
		animation: none;
	}
}

.denuo-hero .denuo-wrap {
	position: relative;
}

/* The trace is texture, not information — drop it on small screens where it
   would sit directly under the text. */
@media (max-width: 782px) {
	.denuo-hero__trace {
		display: none;
	}
}

.denuo-eyebrow {
	font-size: 0.7rem;
	font-weight: 500;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--denuo-accent-light);
	margin: 0 0 1.3rem;
	font-family: var(--denuo-mono);
}

.denuo-hero__title {
	font-size: clamp(2.2rem, 6vw, 4rem);
	font-weight: 600;
	margin-bottom: 1.4rem;
	letter-spacing: -0.035em;
}

.denuo-hero__title span {
	color: var(--denuo-on-dark-muted);
}

.denuo-hero__lead {
	color: var(--denuo-on-dark-muted);
	max-width: 58ch;
	font-size: 1.05rem;
	margin: 0 0 2rem;
}

.denuo-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin: 0 0 1.5rem;
}

.denuo-hero__ruo {
	font-size: 0.72rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #7b847f;
	margin: 0;
	font-family: var(--denuo-mono);
}

/* --- Trust bar ----------------------------------------------------------- */

.denuo-ticker {
	background: var(--denuo-accent);
	color: #dcece3;
	font-size: 0.7rem;
	font-weight: 500;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	padding: 0.9rem 0;
	font-family: var(--denuo-mono);
}

.denuo-ticker .denuo-wrap {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.85rem;
	text-align: center;
}

/* --- Sections ------------------------------------------------------------ */

.denuo-section {
	padding: clamp(3rem, 7vw, 5.5rem) 0;
	background: var(--denuo-ground);
}

.denuo-section--alt {
	background: var(--denuo-surface);
	border-block: 1px solid var(--denuo-line);
}

/* A full dark section, for rhythm between the light working surfaces. */
.denuo-section--dark {
	background: var(--denuo-dark);
	color: var(--denuo-on-dark);
	border-block: 0;
}

.denuo-section--dark .denuo-h2 {
	color: var(--denuo-on-dark);
}

.denuo-section--dark .denuo-kicker {
	color: var(--denuo-accent-light);
}

.denuo-section--dark .denuo-lead {
	color: var(--denuo-on-dark-muted);
}

.denuo-section--dark .denuo-features {
	background: var(--denuo-dark-line);
	border-color: var(--denuo-dark-line);
}

.denuo-section--dark .denuo-feature {
	background: var(--denuo-dark);
}

.denuo-section--dark .denuo-feature h3 {
	color: var(--denuo-on-dark);
}

.denuo-section--dark .denuo-feature p {
	color: var(--denuo-on-dark-muted);
}

.denuo-section--dark .denuo-feature__num {
	color: #333d39;
}

.denuo-section__more {
	margin: 2.5rem 0 0;
}

/* --- Stats --------------------------------------------------------------- */

.denuo-stats {
	padding-block: clamp(2.5rem, 5vw, 3.5rem);
}

.denuo-stats__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 1.5rem;
}

.denuo-stat {
	border-left: 2px solid var(--denuo-accent);
	padding-left: 1rem;
}

.denuo-stat__value {
	display: block;
	font-size: clamp(1.6rem, 3.5vw, 2.2rem);
	font-weight: 500;
	letter-spacing: -0.03em;
	font-family: var(--denuo-mono);
	font-variant-numeric: tabular-nums;
}

.denuo-stat__label {
	display: block;
	font-size: 0.72rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--denuo-muted);
	margin-top: 0.35rem;
}

/* --- Category list ------------------------------------------------------- */

.denuo-catlist {
	list-style: none;
	margin: 1.5rem 0 0;
	padding: 0;
	border-top: 1px solid var(--denuo-line);
}

.denuo-catlist li {
	margin: 0;
	border-bottom: 1px solid var(--denuo-line);
}

.denuo-catlist a {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 1rem;
	padding: 1.15rem 0.25rem;
	text-decoration: none;
	color: var(--denuo-ink);
	font-size: 1.05rem;
	font-weight: 500;
}

.denuo-catlist a:hover {
	color: var(--denuo-accent);
}

.denuo-catlist em {
	font-style: normal;
	font-size: 0.75rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--denuo-muted);
	white-space: nowrap;
	font-family: var(--denuo-mono);
}

/* --- Product grid -------------------------------------------------------- */

.denuo-products {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 1rem;
	margin-top: 1.5rem;
}

.denuo-product {
	background: var(--denuo-surface);
	border: 1px solid var(--denuo-line);
	border-radius: var(--denuo-radius-md);
	transition: border-color 0.15s ease, transform 0.15s ease;
}

.denuo-section--alt .denuo-product {
	background: var(--denuo-ground);
}

.denuo-product:hover {
	border-color: var(--denuo-accent);
	transform: translateY(-2px);
}

.denuo-product__link {
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
	padding: 1.4rem;
	text-decoration: none;
	color: inherit;
	height: 100%;
}

/* --- Card media ---------------------------------------------------------- */

.denuo-product__media {
	/* Matches the 3:4 vial photography, so uncropped thumbnails fill the box
	   without letterboxing. */
	aspect-ratio: 3 / 4;
	background: var(--denuo-ground);
	border: 1px solid var(--denuo-line);
	border-radius: var(--denuo-radius-sm);
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 0.2rem;
}

.denuo-section--alt .denuo-product__media {
	background: var(--denuo-surface);
}

.denuo-product__media img {
	width: 100%;
	height: 100%;
	/* contain, not cover: a vial photo must not be cropped. */
	object-fit: contain;
	display: block;
}

.denuo-product__ph {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
}

.denuo-product__ph .denuo-mark {
	width: 34%;
	height: auto;
	color: var(--denuo-line-strong);
}

/* Category and stock, on one line above the name. */
.denuo-product__tags {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.6rem;
	font-family: var(--denuo-mono);
	font-size: 0.6rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.denuo-product__cat {
	color: var(--denuo-accent);
	font-weight: 500;
}

.denuo-product__stock {
	color: var(--denuo-muted);
	white-space: nowrap;
}

.denuo-product__stock::before {
	content: "";
	display: inline-block;
	width: 5px;
	height: 5px;
	border-radius: 999px;
	background: var(--denuo-accent);
	margin-right: 0.4em;
	vertical-align: 0.1em;
}

.denuo-product__stock.is-out::before {
	background: var(--denuo-line-strong);
}

.denuo-product__name {
	font-size: 1.12rem;
	font-weight: 600;
	letter-spacing: -0.02em;
	margin: 0;
}

.denuo-product__cas {
	margin: -0.25rem 0 0;
	font-family: var(--denuo-mono);
	font-size: 0.72rem;
	letter-spacing: 0.04em;
	color: var(--denuo-muted);
}

.denuo-product__desc {
	margin: 0;
	font-size: 0.85rem;
	line-height: 1.5;
	color: var(--denuo-muted);
}

.denuo-product__purity {
	margin: 0;
	font-family: var(--denuo-mono);
	font-size: 0.72rem;
	letter-spacing: 0.06em;
	color: var(--denuo-ink);
}

/* Price block pinned to the bottom so cards align regardless of copy length. */
.denuo-product__foot {
	margin-top: auto;
	padding-top: 0.85rem;
	border-top: 1px solid var(--denuo-line);
}

.denuo-product__price {
	margin: 0;
	display: flex;
	align-items: baseline;
	gap: 0.35rem;
	font-family: var(--denuo-mono);
	font-variant-numeric: tabular-nums;
}

.denuo-product__amount {
	font-size: 1.05rem;
	font-weight: 500;
	color: var(--denuo-ink);
}

.denuo-product__pack {
	font-size: 0.78rem;
	color: var(--denuo-muted);
}

.denuo-product__unit {
	margin: 0.15rem 0 0;
	font-family: var(--denuo-mono);
	font-size: 0.72rem;
	color: var(--denuo-muted);
	font-variant-numeric: tabular-nums;
}

.denuo-product__cta {
	font-size: 0.68rem;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--denuo-accent);
	font-family: var(--denuo-mono);
}

/* --- Comparison ---------------------------------------------------------- */

.denuo-compare {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 1rem;
	margin-top: 1rem;
}

.denuo-compare__col {
	border: 1px solid var(--denuo-line);
	border-radius: var(--denuo-radius-md);
	padding: 1.7rem;
	background: var(--denuo-surface);
}

.denuo-compare__col--ours {
	background: var(--denuo-dark);
	color: var(--denuo-on-dark);
	border-color: var(--denuo-dark);
}

.denuo-compare__col h3 {
	font-size: 0.7rem;
	font-weight: 500;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	margin-bottom: 1.2rem;
	color: var(--denuo-muted);
	font-family: var(--denuo-mono);
}

.denuo-compare__col--ours h3 {
	color: var(--denuo-accent-light);
}

.denuo-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.75rem;
	font-size: 0.95rem;
}

.denuo-list li {
	margin: 0;
	padding-left: 1.6rem;
	position: relative;
}

.denuo-list li::before {
	position: absolute;
	left: 0;
	top: 0;
	font-weight: 600;
}

.denuo-list--minus li {
	color: var(--denuo-muted);
}

.denuo-list--minus li::before {
	content: "×";
	color: var(--denuo-negative);
	font-size: 1.1em;
	line-height: 1.35;
}

.denuo-list--check li::before {
	content: "✓";
	color: var(--denuo-accent-light);
}

/* --- Features ------------------------------------------------------------ */

.denuo-features {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 1px;
	margin-top: 1.5rem;
	background: var(--denuo-line);
	border: 1px solid var(--denuo-line);
	border-radius: var(--denuo-radius-md);
	overflow: hidden;
}

.denuo-feature {
	background: var(--denuo-ground);
	padding: 1.75rem;
	position: relative;
}

.denuo-feature__num {
	position: absolute;
	top: 1.75rem;
	right: 1.75rem;
	font-size: 0.72rem;
	font-weight: 500;
	color: var(--denuo-line-strong);
	letter-spacing: 0.1em;
	font-family: var(--denuo-mono);
}

.denuo-feature h3 {
	font-size: 1.02rem;
	font-weight: 600;
	margin-bottom: 0.55rem;
	padding-right: 2.5rem;
	letter-spacing: -0.015em;
}

.denuo-feature p {
	margin: 0;
	color: var(--denuo-muted);
	font-size: 0.92rem;
}

/* --- Steps --------------------------------------------------------------- */

.denuo-steps {
	list-style: none;
	margin: 1.5rem 0 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 2rem;
}

.denuo-steps li {
	margin: 0;
	padding-top: 1.2rem;
	border-top: 2px solid var(--denuo-ink);
}

.denuo-steps__num {
	display: block;
	font-size: 0.72rem;
	font-weight: 500;
	letter-spacing: 0.16em;
	color: var(--denuo-accent);
	margin-bottom: 0.65rem;
	font-family: var(--denuo-mono);
}

.denuo-steps h3 {
	font-size: 1.08rem;
	font-weight: 600;
	margin-bottom: 0.5rem;
	letter-spacing: -0.015em;
}

.denuo-steps p {
	margin: 0;
	color: var(--denuo-muted);
	font-size: 0.92rem;
}

/* --- FAQ ----------------------------------------------------------------- */

.denuo-faq {
	margin-top: 1.5rem;
	border-top: 1px solid var(--denuo-line);
}

.denuo-faq__item {
	border-bottom: 1px solid var(--denuo-line);
}

.denuo-faq__item summary {
	cursor: pointer;
	list-style: none;
	padding: 1.2rem 2rem 1.2rem 0;
	font-weight: 500;
	font-size: 1.02rem;
	position: relative;
}

.denuo-faq__item summary::-webkit-details-marker {
	display: none;
}

.denuo-faq__item summary::after {
	content: "+";
	position: absolute;
	right: 0.25rem;
	top: 50%;
	transform: translateY(-50%);
	font-size: 1.3rem;
	font-weight: 400;
	color: var(--denuo-accent);
}

.denuo-faq__item[open] summary::after {
	content: "−";
}

.denuo-faq__item[open] summary {
	color: var(--denuo-accent);
}

.denuo-faq__body {
	padding: 0 2rem 1.4rem 0;
}

.denuo-faq__body p {
	margin: 0;
	color: var(--denuo-muted);
	font-size: 0.95rem;
}

/* --- Closing CTA --------------------------------------------------------- */

.denuo-cta {
	background: var(--denuo-dark);
	color: var(--denuo-on-dark);
	padding: clamp(3.5rem, 8vw, 5.5rem) 0;
	text-align: center;
}

.denuo-cta h2 {
	font-size: clamp(1.5rem, 3.4vw, 2.2rem);
	margin: 0 auto 0.9rem;
	max-width: 24ch;
	letter-spacing: -0.03em;
}

.denuo-cta p {
	color: var(--denuo-on-dark-muted);
	margin: 0 0 1.6rem;
}

.denuo-cta .denuo-hero__ruo {
	margin-top: 1.4rem;
}

@media (max-width: 600px) {
	.denuo-hero__actions .denuo-btn {
		width: 100%;
		text-align: center;
	}
}
