/*
Theme Name: Eutrop Lifestyle Therapeutics
Theme URI: https://eutrop.com/
Author: Eubiosys LLC
Author URI: https://eutrop.com/
Description: A serene, editorial WordPress block theme for Eutrop, the four-pillar Lifestyle Therapeutic approach from Eubiosys LLC. Explains Architect-led design, Active and Supporting Ingredients, and Lifestyle Adoption.
Requires at least: 6.6
Tested up to: 6.8
Requires PHP: 7.4
Version: 1.1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: eutrop
Tags: block-patterns, block-styles, custom-colors, custom-logo, editor-style, full-site-editing, one-column, wide-blocks
*/

:root {
	--eutrop-transition: 220ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

html {
	scroll-behavior: smooth;
}

body {
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

.wp-site-blocks {
	overflow: clip;
}

a,
button {
	transition: color var(--eutrop-transition), background-color var(--eutrop-transition), border-color var(--eutrop-transition), transform var(--eutrop-transition), box-shadow var(--eutrop-transition);
}

a:focus-visible,
button:focus-visible {
	outline: 3px solid var(--wp--preset--color--coral);
	outline-offset: 4px;
}

.eutrop-skip-link {
	position: fixed;
	top: 0.75rem;
	left: 0.75rem;
	z-index: 9999;
	transform: translateY(-150%);
	padding: 0.75rem 1rem;
	border-radius: 999px;
	background: var(--wp--preset--color--deep-lagoon);
	color: #fff;
	font-weight: 700;
}

.eutrop-skip-link:focus {
	transform: translateY(0);
}

.eutrop-site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	border-bottom: 1px solid color-mix(in srgb, var(--wp--preset--color--lagoon) 24%, transparent);
	background: color-mix(in srgb, var(--wp--preset--color--cream) 90%, transparent);
	backdrop-filter: blur(18px);
}

.admin-bar .eutrop-site-header {
	top: 32px;
}

.eutrop-brand-lockup {
	gap: 0.75rem;
}

.eutrop-brand-logo {
	margin: 0;
	line-height: 0;
}

.eutrop-brand-logo img {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	object-fit: cover;
	box-shadow: 0 8px 28px rgba(22, 74, 78, 0.1);
}

.eutrop-wordmark {
	letter-spacing: 0.12em;
	text-transform: lowercase;
}

.eutrop-nav .wp-block-navigation-item__content {
	position: relative;
}

.eutrop-nav .wp-block-navigation-item__content::after {
	position: absolute;
	bottom: -0.35rem;
	left: 0;
	width: 100%;
	height: 2px;
	transform: scaleX(0);
	transform-origin: right;
	background: var(--wp--preset--color--lagoon);
	content: "";
	transition: transform var(--eutrop-transition);
}

.eutrop-nav .wp-block-navigation-item__content:hover::after,
.eutrop-nav .wp-block-navigation-item__content:focus-visible::after {
	transform: scaleX(1);
	transform-origin: left;
}

.wp-block-button__link {
	box-shadow: 0 10px 30px rgba(22, 74, 78, 0.12);
}

.wp-block-button__link:hover {
	transform: translateY(-2px);
	box-shadow: 0 14px 34px rgba(22, 74, 78, 0.18);
}

.is-style-outline > .wp-block-button__link {
	box-shadow: none;
}

.eutrop-hero {
	position: relative;
	isolation: isolate;
	min-height: min(820px, calc(100vh - 82px));
	overflow: hidden;
}

.eutrop-hero::before,
.eutrop-hero::after {
	position: absolute;
	z-index: -1;
	border-radius: 50%;
	content: "";
	pointer-events: none;
}

.eutrop-hero::before {
	top: -16rem;
	right: -12rem;
	width: 46rem;
	height: 46rem;
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--lagoon) 40%, transparent);
	box-shadow: inset 0 0 0 5rem color-mix(in srgb, var(--wp--preset--color--mist) 55%, transparent);
}

.eutrop-hero::after {
	bottom: -15rem;
	left: -10rem;
	width: 30rem;
	height: 30rem;
	background: radial-gradient(circle, color-mix(in srgb, var(--wp--preset--color--coral) 22%, transparent), transparent 68%);
}

.eutrop-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	margin-bottom: 1.15rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.eutrop-eyebrow::before {
	display: inline-block;
	width: 2.25rem;
	height: 1px;
	background: currentColor;
	content: "";
}

.eutrop-hero-title {
	max-width: 12ch;
	text-wrap: balance;
}

.eutrop-hero-copy {
	max-width: 58ch;
}

.eutrop-hero-mark {
	position: relative;
	max-width: 500px;
	margin-right: auto;
	margin-left: auto;
}

.eutrop-hero-mark::before {
	position: absolute;
	inset: -1.6rem;
	z-index: -1;
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--lagoon) 45%, transparent);
	border-radius: 50%;
	content: "";
	animation: eutrop-breathe 7s ease-in-out infinite;
}

.eutrop-hero-mark img {
	width: 100%;
	border: 14px solid rgba(255, 255, 255, 0.72);
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 34px 80px rgba(22, 74, 78, 0.16);
}

.eutrop-note {
	position: absolute;
	right: -1rem;
	bottom: 2rem;
	max-width: 13rem;
	padding: 1rem 1.2rem;
	border: 1px solid rgba(255, 255, 255, 0.7);
	border-radius: 1rem;
	background: rgba(255, 255, 255, 0.84);
	box-shadow: 0 18px 50px rgba(22, 74, 78, 0.12);
	backdrop-filter: blur(12px);
}

@keyframes eutrop-breathe {
	0%, 100% { transform: scale(0.96); opacity: 0.55; }
	50% { transform: scale(1.03); opacity: 1; }
}

.eutrop-section-heading {
	max-width: 19ch;
	text-wrap: balance;
}

.eutrop-card {
	height: 100%;
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--lagoon) 18%, transparent);
	box-shadow: 0 18px 50px rgba(22, 74, 78, 0.07);
	transition: transform var(--eutrop-transition), box-shadow var(--eutrop-transition), border-color var(--eutrop-transition);
}

.eutrop-card:hover {
	transform: translateY(-6px);
	border-color: color-mix(in srgb, var(--wp--preset--color--lagoon) 54%, transparent);
	box-shadow: 0 28px 65px rgba(22, 74, 78, 0.12);
}

.eutrop-card-number {
	display: inline-grid;
	width: 2.7rem;
	height: 2.7rem;
	place-items: center;
	border-radius: 50%;
	background: var(--wp--preset--color--mist);
	color: var(--wp--preset--color--deep-lagoon);
	font-weight: 700;
}

.eutrop-card-kicker {
	min-height: 2.5em;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.eutrop-four-pillars {
	align-items: stretch;
}

.eutrop-four-pillars > .wp-block-column {
	display: flex;
}

.eutrop-four-pillars > .wp-block-column > .wp-block-group {
	width: 100%;
}

.eutrop-pathway {
	position: relative;
}

.eutrop-pathway::before {
	position: absolute;
	top: 1.35rem;
	right: 9%;
	left: 9%;
	z-index: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--wp--preset--color--lagoon) 15%, var(--wp--preset--color--lagoon) 85%, transparent);
	content: "";
}

.eutrop-pathway > .wp-block-column {
	position: relative;
	z-index: 1;
}

.eutrop-step-dot {
	display: grid;
	width: 2.7rem;
	height: 2.7rem;
	margin-bottom: 1.25rem;
	place-items: center;
	border: 5px solid var(--wp--preset--color--cream);
	border-radius: 50%;
	background: var(--wp--preset--color--lagoon);
	box-shadow: 0 0 0 1px var(--wp--preset--color--lagoon);
	color: var(--wp--preset--color--deep-lagoon);
	font-weight: 800;
}

.eutrop-practice-shell {
	position: relative;
	overflow: hidden;
}

.eutrop-practice-shell::after {
	position: absolute;
	right: -7rem;
	bottom: -7rem;
	width: 22rem;
	height: 22rem;
	border: 1px solid rgba(255, 255, 255, 0.23);
	border-radius: 50%;
	content: "";
	pointer-events: none;
}

.eutrop-practice {
	position: relative;
	z-index: 1;
}

.eutrop-practice__choices {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
	margin: 1.5rem 0;
}

.eutrop-practice__choice {
	padding: 0.7rem 1rem;
	border: 1px solid rgba(255, 255, 255, 0.32);
	border-radius: 999px;
	background: transparent;
	color: #fff;
	cursor: pointer;
	font: inherit;
	font-weight: 700;
}

.eutrop-practice__choice:hover,
.eutrop-practice__choice[aria-pressed="true"] {
	border-color: var(--wp--preset--color--coral);
	background: var(--wp--preset--color--coral);
	color: var(--wp--preset--color--ink);
}

.eutrop-practice__result {
	min-height: 8.5rem;
	padding: 1.5rem;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 1rem;
	background: rgba(255, 255, 255, 0.08);
}

.eutrop-practice__result h3 {
	margin-top: 0;
	color: #fff;
}

.eutrop-practice__result p {
	margin-bottom: 0;
}

.eutrop-quote {
	position: relative;
}

.eutrop-quote::before {
	position: absolute;
	top: -1.4rem;
	left: -0.5rem;
	color: color-mix(in srgb, var(--wp--preset--color--lagoon) 24%, transparent);
	font-family: Georgia, serif;
	font-size: 8rem;
	line-height: 1;
	content: "\201C";
}

.eutrop-query-card .wp-block-post-featured-image img {
	aspect-ratio: 16 / 10;
	object-fit: cover;
	transition: transform 500ms ease;
}

.eutrop-query-card:hover .wp-block-post-featured-image img {
	transform: scale(1.035);
}

.eutrop-footer-logo img {
	width: 120px;
	height: 120px;
	border-radius: 50%;
	object-fit: cover;
}

.eutrop-footer a:not(.wp-block-button__link) {
	text-decoration-color: color-mix(in srgb, currentColor 34%, transparent);
	text-underline-offset: 0.28em;
}

.eutrop-back-to-top {
	display: inline-grid;
	width: 3rem;
	height: 3rem;
	place-items: center;
	border: 1px solid rgba(255, 255, 255, 0.34);
	border-radius: 50%;
	background: transparent;
	color: #fff;
	cursor: pointer;
	font-size: 1.15rem;
}

.eutrop-back-to-top:hover {
	transform: translateY(-3px);
	border-color: var(--wp--preset--color--lagoon);
	background: var(--wp--preset--color--lagoon);
	color: var(--wp--preset--color--ink);
}

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

@media (max-width: 781px) {
	.admin-bar .eutrop-site-header { top: 46px; }
	.eutrop-brand-copy { display: none; }
	.eutrop-hero { min-height: auto; }
	.eutrop-hero-mark { max-width: 360px; margin-top: 2.5rem; }
	.eutrop-note { right: 0; bottom: 0; }
	.eutrop-pathway::before { display: none; }
	.eutrop-step-dot { margin-right: auto; margin-left: auto; }
	.eutrop-pathway { text-align: center; }
}

@media (min-width: 782px) and (max-width: 1050px) {
	.eutrop-four-pillars {
		flex-wrap: wrap !important;
	}

	.eutrop-four-pillars > .wp-block-column {
		flex-basis: calc(50% - 1.25rem) !important;
	}
}

@media (max-width: 480px) {
	.eutrop-note { position: relative; right: auto; bottom: auto; max-width: none; margin: -1rem 1rem 0; }
	.eutrop-hero-mark::before { inset: -0.8rem; }
}
