/* ============================================================hero.css — landing hero: copy on the left, sliding realpractitioner photos on the right.============================================================ */
.hero {
position: relative;
overflow: hidden;
background: var(--grad-power);
color: var(--text);
padding: clamp(2.5rem, 6vw, 5.5rem) clamp(1rem, 4vw, 2.5rem) clamp(3rem, 7vw, 6rem);
/* Offset the anchor jump so the title clears the sticky navbar. */
scroll-margin-top: clamp(120px, 16vw, 150px);
}
/* floating background orbs for depth */
.hero__bg { position: absolute; inset: 0; pointer-events: none; display: none; }
.hero__orb {
position: absolute;
border-radius: 50%;
filter: blur(60px);
opacity: 0.45;
}
.hero__orb--1 { width: 380px; height: 380px; background: var(--sage); top: -80px; left: -60px; animation: drift
16s ease-in-out infinite; }
.hero__orb--2 { width: 300px; height: 300px; background: var(--sky); bottom: -90px; left: 30%; animation: drift
20s ease-in-out infinite reverse; }
.hero__orb--3 { width: 260px; height: 260px; background: var(--gold); top: 20%; right: -60px; animation: drift
18s ease-in-out infinite; }
@keyframes drift {
0%, 100% { transform: translate(0, 0); }
50% { transform: translate(30px, -25px); }
}
.hero__inner {
position: relative;
z-index: 1;
max-width: var(--maxw);
margin: 0 auto;
display: grid;
gap: clamp(1.75rem, 4vw, 4.25rem);
align-items: start;
}
/* ---------- Left copy ---------- */
.hero__eyebrow {
display: inline-block;
text-transform: uppercase;
letter-spacing: 0.22em;
font-size: 0.75rem;
font-weight: 700;
color: var(--sage-dk);
padding: 0.4rem 0.9rem;
border: 1px solid rgba(47, 128, 85, 0.35);
border-radius: 999px;
margin-bottom: 1.4rem;
}
.hero__title {


font-size: clamp(2.3rem, 5.5vw, 4rem);
letter-spacing: -0.02em;
}
.hero__accent {
background: linear-gradient(120deg, var(--gold), var(--coral));
-webkit-background-clip: text;
background-clip: text;
color: transparent;
}
.hero__lead {
margin-top: 1.3rem;
max-width: 46ch;
font-size: 1.12rem;
color: var(--text-soft);
}
.hero__lead--primary {
font-family: var(--font-heading)(--font-heading);
font-weight: 500;
font-size: 1.08rem;
line-height: 1.58;
letter-spacing: 0;
}
.hero__lead strong { color: var(--ink-900); font-weight: 600; }
.hero__cta {
margin-top: 2rem;
display: flex;
flex-wrap: wrap;
gap: 0.8rem;
}
.hero__badges {
margin: 2.4rem 0 0;
padding: 0;
list-style: none;
display: flex;
flex-wrap: wrap;
gap: 1.6rem;
}
.hero__badges li {
font-size: 0.85rem;
color: var(--text-soft);
max-width: 12ch;
line-height: 1.3;
}
.hero__badges span {
display: block;
font-family: var(--font-heading);
font-size: 1.7rem;
font-weight: 700;
color: var(--sage-dk);
}
/* ---------- Feature title: Flow Studio (click to open) ---------- */
.hero__feature {
margin-top: 2rem;
display: inline-flex;
align-items: center;
gap: 0.9rem;
padding: 0.75rem 1.1rem 0.75rem 0.8rem;
border-radius: 16px;
background: rgba(255, 255, 255, 0.72);
border: 1px solid rgba(58, 171, 116, 0.25);
transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}
.hero__feature:hover {
transform: translateY(-3px);
background: rgba(255, 255, 255, 0.95);
border-color: rgba(58, 171, 116, 0.5);
}


.hero__feature-icon { display: inline-flex; }
.hero__feature-icon svg { display: block; }
.hero__feature-text { display: flex; flex-direction: column; line-height: 1.2; }
.hero__feature-title {
font-family: var(--font-heading);
font-size: 1.25rem;
font-weight: 700;
color: var(--ink-900);
}
.hero__feature-sub {
font-size: 0.86rem;
color: var(--text-soft);
font-weight: 600;
}
/* ---------- Right sliding photos ---------- */
.hero__photos {
position: relative;
height: clamp(360px, 46vw, 520px);
perspective: 1200px;
}
.photo-card {
position: absolute;
inset: 0;
margin: auto;
width: 78%;
height: 88%;
border-radius: 26px;
overflow: hidden;
box-shadow: var(--shadow);
border: 5px solid rgba(255, 255, 255, 0.14);
opacity: 0;
transform: translateX(60px) scale(0.9) rotate(3deg);
transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.photo-card img {
width: 100%;
height: 100%;
object-fit: cover;
}
.photo-card__label {
position: absolute;
left: 14px;
bottom: 14px;
padding: 0.35rem 0.8rem;
border-radius: 999px;
font-size: 0.8rem;
font-weight: 600;
color: #fff;
background: rgba(30, 77, 50, 0.45);
backdrop-filter: blur(8px);
}
/* active card floats gently up/down (the "sliding / jumping" motion) */
.photo-card.is-active {
opacity: 1;
transform: translateX(0) scale(1) rotate(0deg);
animation: floaty 4.5s ease-in-out infinite;
z-index: 3;
}
/* card leaving to the left */
.photo-card.is-prev {


opacity: 0;
transform: translateX(-60px) scale(0.9) rotate(-3deg);
z-index: 1;
}
@keyframes floaty {
0%, 100% { transform: translateY(0) rotate(0deg); }
50% { transform: translateY(-16px) rotate(-1deg); }
}
/* little dot indicators */
.photo-dots {
position: absolute;
bottom: -1.6rem;
left: 50%;
transform: translateX(-50%);
display: flex;
gap: 0.4rem;
}
.photo-dots span {
width: 8px; height: 8px;
border-radius: 50%;
background: rgba(255, 255, 255, 0.3);
transition: background 0.3s ease, width 0.3s ease;
}
.photo-dots span.is-active {
width: 22px;
border-radius: 999px;
background: var(--sky);
}
@media (max-width: 1180px) {
.hero__inner { grid-template-columns: 1fr; }
}
@media (max-width: 880px) {
.hero__inner { grid-template-columns: 1fr; }
.hero__photos { height: clamp(320px, 80vw, 440px); margin-top: 1rem; }
}
