/* The Aesthetics Co. teaser — matches the shop's home page hero (aesthetics-co theme). */

html,
body {
	margin: 0;
	background: #0E0D12;
}
.wp-site-blocks > * {
	margin-block: 0;
}

/* Hero: the full screen */
.aet-hero {
	min-height: 100vh !important;
	min-height: 100svh !important;
	align-items: center !important;
}
.aet-hero .wp-block-cover__inner-container {
	color: #F4F2F7;
}
.aet-hero__content > * {
	margin-block: 0;
}
.aet-hero__content > * + * {
	margin-block-start: 1.5rem !important;
}
.aet-hero h1 {
	max-width: 13ch;
	font-size: clamp(3rem, 6.4vw, 5.25rem);
	margin-block-start: 0.5rem !important;
}
.aet-lede {
	color: #C9C4D3;
	max-width: 30rem;
}
.aet-logo {
	margin-block-end: clamp(1.5rem, 6vh, 4rem) !important;
}
.aet-logo img {
	display: block;
	height: auto;
}

/* Eyebrow with the three purple bars (same as the shop) */
.aet-eyebrow {
	font-size: 0.8125rem !important;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: #C9C4D3;
	line-height: 1.4;
}
.aet-bars::before {
	content: "";
	display: block;
	width: 132px;
	height: 4px;
	margin-bottom: 1.25rem;
	background: linear-gradient(90deg, #BB63F2 0 40px, transparent 40px 46px, #BB63F2 46px 86px, transparent 86px 92px, #BB63F2 92px 132px);
}

/* Button: a slow glow to draw the eye, and the arrow nudges on hover */
.aet-cta {
	margin-block-start: 2.25rem !important;
}
.aet-cta .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	gap: 0.6em;
	padding-inline: 2.25rem;
	box-shadow: 0 0 0 0 rgba(187, 99, 242, 0.55);
	animation: aet-pulse 2.6s ease-out infinite;
	transition: background-color 0.2s, color 0.2s, transform 0.2s;
}
.aet-cta .wp-block-button__link span {
	transition: transform 0.2s;
}
.aet-cta .wp-block-button__link:hover span,
.aet-cta .wp-block-button__link:focus-visible span {
	transform: translateX(4px);
}
@keyframes aet-pulse {
	0% { box-shadow: 0 0 0 0 rgba(187, 99, 242, 0.55); }
	70% { box-shadow: 0 0 0 16px rgba(187, 99, 242, 0); }
	100% { box-shadow: 0 0 0 0 rgba(187, 99, 242, 0); }
}

/* Content fades up on load */
.aet-hero__content > * {
	animation: aet-rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.aet-hero__content > *:nth-child(2) { animation-delay: 0.1s; }
.aet-hero__content > *:nth-child(3) { animation-delay: 0.2s; }
.aet-hero__content > *:nth-child(4) { animation-delay: 0.35s; }
.aet-hero__content > *:nth-child(5) { animation-delay: 0.5s; }
@keyframes aet-rise {
	from { opacity: 0; transform: translateY(14px); }
	to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
	.aet-hero__content > *,
	.aet-cta .wp-block-button__link {
		animation: none;
	}
}

/* Phones/tablets: like the shop, the wide photo sits as a band across the top,
   framed on the model, with the words underneath on the dark background. */
@media (max-width: 781px) {
	.aet-hero {
		--aet-band: min(96vw, 560px);
		align-items: flex-end !important;
		padding-top: calc(var(--aet-band) - 4rem) !important;
		background: #0E0D12;
	}
	.aet-hero .wp-block-cover__image-background {
		inset: 0 0 auto 0;
		height: var(--aet-band);
		object-position: 59% 0% !important;
	}
	.aet-hero .wp-block-cover__background {
		background: linear-gradient(180deg, rgba(14, 13, 18, 0.55) 0, rgba(14, 13, 18, 0) 30%, rgba(14, 13, 18, 0) calc(var(--aet-band) * 0.5), rgba(14, 13, 18, 0.9) calc(var(--aet-band) - 2rem), #0E0D12 var(--aet-band)) !important;
	}
	/* The logo sits over the photo, so it's placed against the whole hero, not the text block. */
	.aet-hero .wp-block-cover__inner-container,
	.aet-hero__content {
		position: static;
	}
	.aet-hero__content > *:not(.aet-logo) {
		position: relative;
		z-index: 1;
	}
	.aet-logo {
		position: absolute;
		top: 1.25rem;
		left: clamp(1rem, 5vw, 3rem);
		margin: 0 !important;
		z-index: 2;
	}
	.aet-logo img {
		width: 120px !important;
	}
	.aet-hero__content > *:nth-child(2) {
		margin-block-start: 0 !important;
	}
	.aet-cta .wp-block-button,
	.aet-cta .wp-block-button__link {
		width: 100%;
		justify-content: center;
	}
}

/* ---------- Sections below the hero ---------- */
.aet-section {
	padding-block: clamp(4rem, 10vw, 7.5rem);
	margin-block: 0 !important;
}
.aet-section h2 {
	margin-block: 0.5rem 0;
	max-width: 18ch;
}
.aet-muted {
	color: #A7A2B3;
}
.aet-eyebrow--accent {
	color: #BB63F2;
}
.aet-section__head > * {
	margin-block: 0;
}
.aet-section__head > * + * {
	margin-block-start: 1rem !important;
}
.aet-section__head {
	margin-bottom: clamp(2rem, 5vw, 3.5rem) !important;
}

/* Hero: a small "scroll" cue now there's more below */
.aet-hero::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 1.5rem;
	width: 1px;
	height: 44px;
	background: linear-gradient(180deg, rgba(187, 99, 242, 0), #BB63F2);
	animation: aet-scroll 2.2s ease-in-out infinite;
	z-index: 1;
}
@keyframes aet-scroll {
	0%, 100% { transform: translateY(-6px); opacity: 0.4; }
	50% { transform: translateY(4px); opacity: 1; }
}

/* Commitment cards */
.aet-commitment {
	border-top: 1px solid #2A2733;
}
.aet-cards {
	gap: 1.25rem !important;
	margin-block: 0 !important;
}
.aet-card {
	background: #17151D;
	border: 1px solid #2A2733;
	border-radius: 20px;
	padding: clamp(1.5rem, 3vw, 2.25rem);
	transition: border-color 0.25s, transform 0.25s;
}
.aet-card:hover {
	border-color: rgba(187, 99, 242, 0.55);
	transform: translateY(-3px);
}
.aet-card > * {
	margin-block: 0;
}
.aet-card > * + * {
	margin-block-start: 0.75rem !important;
}
.aet-card h3 {
	font-size: clamp(1.375rem, 2vw, 1.5rem);
}
.aet-card__num {
	font-size: 0.875rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	color: #BB63F2;
	margin-bottom: 1.75rem !important;
}
.aet-card__num::after {
	content: "";
	display: inline-block;
	width: 28px;
	height: 2px;
	margin-left: 0.75rem;
	vertical-align: middle;
	background: #BB63F2;
}

/* Who we are */
.aet-about {
	background: #1C1526;
}
.aet-about__cols {
	gap: clamp(2rem, 6vw, 5rem) !important;
	margin-block: 0 !important;
}
.aet-about__cols .wp-block-column > * {
	margin-block: 0;
}
.aet-about__cols .wp-block-column > * + * {
	margin-block-start: 1.25rem !important;
}
.aet-about .aet-bars::before {
	margin-bottom: 1.25rem;
}
.aet-facts {
	display: grid;
	gap: 1rem;
}
.aet-about__cols .aet-facts > * {
	margin: 0 !important;
}
.aet-fact {
	border: 1px solid rgba(187, 99, 242, 0.25);
	border-radius: 16px;
	padding: 1.25rem 1.5rem;
	background: rgba(14, 13, 18, 0.45);
}
.aet-fact > * {
	margin-block: 0;
}
.aet-fact__big {
	font-size: clamp(1.75rem, 3vw, 2.25rem);
	font-weight: 800;
	letter-spacing: -0.025em;
	line-height: 1.1;
}
.aet-fact__label {
	margin-top: 0.35rem !important;
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #A7A2B3;
}

/* Closing panel */
.aet-final {
	padding-bottom: clamp(3rem, 6vw, 4.5rem);
}
.aet-panel {
	background: #BB63F2;
	color: #0E0D12;
	border-radius: 28px;
	padding: clamp(2rem, 5vw, 3.5rem) !important;
	gap: 1.5rem;
}
.aet-panel h2 {
	color: #0E0D12;
	max-width: none;
	margin: 0;
}
.aet-panel p {
	margin: 0.5rem 0 0;
	font-size: 1.125rem;
	font-weight: 500;
}
.aet-cta--dark {
	margin: 0 !important;
}
.aet-cta--dark .wp-block-button__link {
	background: #0E0D12 !important;
	color: #F4F2F7 !important;
	animation: none;
}
.aet-cta--dark .wp-block-button__link:hover {
	background: #000 !important;
}

.aet-footer {
	border-top: 1px solid #2A2733;
	padding-block: 1.75rem;
	margin: 0 !important;
}
.aet-footer p {
	margin: 0;
	font-size: 0.875rem;
	color: #A7A2B3;
}

/* Sections ease in as they scroll into view (only when the script runs) */
.aet-js .aet-reveal {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.aet-js .aet-reveal.is-in {
	opacity: 1;
	transform: none;
}
@media (prefers-reduced-motion: reduce) {
	.aet-hero::after { animation: none; }
	.aet-js .aet-reveal { opacity: 1; transform: none; transition: none; }
}

@media (max-width: 781px) {
	.aet-hero::after {
		display: none;
	}
	.aet-cards {
		flex-direction: column;
	}
	.aet-panel .wp-block-group,
	.aet-cta--dark,
	.aet-cta--dark .wp-block-button,
	.aet-cta--dark .wp-block-button__link {
		width: 100%;
	}
	.aet-cta--dark .wp-block-button__link {
		justify-content: center;
	}
}

/* ---------- Bot trap link: off-screen, invisible to people and screen readers ---------- */
.aet-hp {
	position: absolute !important;
	left: -9999px !important;
	top: auto;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* ---------- "Type PRODUCTS to unlock" version ---------- */
.aet-v-type .aet-cta {
	flex-direction: column;
	align-items: flex-start;
	gap: 0.6rem;
}
.aet-v-type .aet-hero .aet-cta {
	margin-block-start: 1.75rem !important;
}
.aet-unlock {
	display: grid;
	gap: 0.5rem;
	width: min(100%, 22rem);
}
.aet-unlock__label {
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #C9C4D3;
}
.aet-unlock__label strong {
	color: #BB63F2;
}
.aet-unlock__input {
	font: inherit;
	font-size: 1.125rem;
	font-weight: 700;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: #F4F2F7;
	background: rgba(14, 13, 18, 0.6);
	border: 1.5px solid rgba(187, 99, 242, 0.45);
	border-radius: 999px;
	padding: 0.85rem 1.4rem;
	outline: none;
	transition: border-color 0.2s, box-shadow 0.2s;
}
.aet-unlock__input::placeholder {
	color: rgba(244, 242, 247, 0.22);
}
.aet-unlock__input:focus {
	border-color: #BB63F2;
	box-shadow: 0 0 0 4px rgba(187, 99, 242, 0.18);
}
.aet-unlock.is-wrong .aet-unlock__input {
	border-color: #E5738F;
}
.aet-unlock__msg {
	margin: 0;
	font-size: 0.875rem;
	color: #BB63F2;
}
.aet-unlock.is-nudge {
	animation: aet-nudge 0.4s ease;
}
@keyframes aet-nudge {
	20%, 60% { transform: translateX(-6px); }
	40%, 80% { transform: translateX(6px); }
}
/* Locked button: see-through, no glow */
.aet-v-type:not(.aet-unlocked) .aet-cta .wp-block-button__link {
	opacity: 0.35;
	animation: none;
	cursor: not-allowed;
	filter: saturate(0.6);
}
.aet-v-type:not(.aet-unlocked) .aet-cta .wp-block-button__link:hover {
	background: var(--wp--preset--color--accent);
	color: #0E0D12;
}
.aet-v-type:not(.aet-unlocked) .aet-cta--dark .wp-block-button__link:hover {
	background: #0E0D12 !important;
	color: #F4F2F7 !important;
}
/* Unlocked: the button lights up */
.aet-v-type.aet-unlocked .aet-cta .wp-block-button__link {
	opacity: 1;
	transition: opacity 0.4s, filter 0.4s, background-color 0.2s, color 0.2s;
}
.aet-v-type.aet-unlocked .aet-unlock__input {
	border-color: #BB63F2;
	color: #BB63F2;
}
/* The closing panel is purple, so its box is dark-on-purple */
.aet-panel .aet-unlock__label {
	color: #0E0D12;
}
.aet-panel .aet-unlock__label strong {
	color: #0E0D12;
	text-decoration: underline;
}
.aet-panel .aet-unlock__input {
	background: rgba(14, 13, 18, 0.12);
	border-color: rgba(14, 13, 18, 0.45);
	color: #0E0D12;
}
.aet-panel .aet-unlock__input::placeholder {
	color: rgba(14, 13, 18, 0.35);
}
.aet-panel .aet-unlock__msg,
.aet-v-type.aet-unlocked .aet-panel .aet-unlock__input {
	color: #0E0D12;
	border-color: #0E0D12;
}
@media (max-width: 781px) {
	.aet-v-type .aet-cta {
		align-items: stretch;
	}
	.aet-unlock {
		width: 100%;
	}
}
@media (prefers-reduced-motion: reduce) {
	.aet-unlock.is-nudge { animation: none; }
}
