/* ============================================================ *
 * Wild Femme Yoga — About page (carousel + bio)
 * ============================================================ */

/* ---------- CAROUSEL SECTION (used by Gallery page) ---------- */
.wfy-about-carousel-section {
    padding-top: clamp(40px, 6vw, 80px);
    padding-bottom: clamp(60px, 10vw, 120px);
    background: var(--wfy-cream);
}

/* ---------- GALLERY PAGE INTRO ---------- */
.wfy-gallery-intro { padding-top: clamp(140px, 18vw, 220px); padding-bottom: clamp(40px, 6vw, 80px); }
.wfy-gallery-intro h1 { font-size: clamp(48px, 6vw, 88px); line-height: 1.05; margin-bottom: 20px; }
.wfy-gallery-intro h1 em { font-style: italic; color: var(--wfy-purple); }
.wfy-gallery-intro__lede {
    font-size: 19px;
    color: var(--wfy-ink-soft);
    line-height: 1.7;
    max-width: 620px;
}

.wfy-carousel {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: var(--wfy-radius-lg);
    overflow: hidden;
    box-shadow: var(--wfy-shadow-md);
    background: var(--wfy-plum-deep);
}

.wfy-carousel__track {
    display: flex;
    height: 100%;
    width: 100%;
    transition: transform 0.9s var(--wfy-ease);
    will-change: transform;
}

.wfy-carousel__slide {
    flex: 0 0 100%;
    height: 100%;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.wfy-carousel__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.wfy-carousel__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.wfy-carousel__placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.6 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
    background-size: 220px 220px;
    opacity: 0.12;
    mix-blend-mode: soft-light;
    pointer-events: none;
}
.wfy-carousel__placeholder-word {
    font-family: var(--wfy-font-ritual);
    font-style: italic;
    font-size: clamp(64px, 12vw, 160px);
    color: rgba(255, 255, 255, 0.92);
    letter-spacing: -0.01em;
    line-height: 1;
    text-shadow: 0 4px 40px rgba(0, 0, 0, 0.25);
    position: relative;
    z-index: 1;
    animation: wfyBreath 8s ease-in-out infinite;
    --wfy-breath-min: 0.75;
    --wfy-breath-max: 1;
}

.wfy-carousel__caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 60px;
    text-align: center;
    color: var(--wfy-cream);
    font-family: var(--wfy-font-ritual);
    font-style: italic;
    font-size: clamp(15px, 1.6vw, 19px);
    padding: 0 32px;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.5);
    z-index: 2;
    pointer-events: none;
}

/* Prev / Next buttons */
.wfy-carousel__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(26, 11, 46, 0.45);
    color: var(--wfy-cream);
    border: 1px solid rgba(255, 255, 255, 0.25);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: background 0.3s var(--wfy-ease), color 0.3s var(--wfy-ease), border-color 0.3s var(--wfy-ease), transform 0.3s var(--wfy-ease);
}
.wfy-carousel__nav:hover,
.wfy-carousel__nav:focus-visible {
    background: var(--wfy-gold);
    color: var(--wfy-plum-deep);
    border-color: var(--wfy-gold);
    outline: none;
    transform: translateY(-50%) scale(1.06);
}
.wfy-carousel__nav--prev { left: 24px; }
.wfy-carousel__nav--next { right: 24px; }

/* Dots */
.wfy-carousel__dots {
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
    padding: 6px 10px;
}
.wfy-carousel__dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    border: 0;
    padding: 0;
    cursor: pointer;
    transition: width 0.4s var(--wfy-ease), background 0.3s var(--wfy-ease);
}
.wfy-carousel__dot:hover { background: rgba(255, 255, 255, 0.75); }
.wfy-carousel__dot.is-active {
    background: var(--wfy-gold);
    width: 32px;
    border-radius: 100px;
}

/* ---------- BIO SECTION ---------- */
.wfy-about-bio {
    padding-block: clamp(80px, 12vw, 160px);
}
.wfy-about-bio__grid {
    display: grid;
    grid-template-columns: 0.9fr 1.4fr;
    gap: clamp(40px, 6vw, 96px);
    align-items: start;
}

.wfy-about-bio__intro {
    position: sticky;
    top: 120px;
}
.wfy-about-bio__intro h1 {
    font-size: clamp(48px, 6vw, 80px);
    line-height: 1.05;
    margin-bottom: 24px;
}
.wfy-about-bio__intro h1 em {
    font-style: italic;
    color: var(--wfy-purple);
}
.wfy-about-bio__signature {
    font-family: var(--wfy-font-eyebrow);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--wfy-plum-deep);
    line-height: 2.2;
    margin-bottom: 0;
}
.wfy-about-bio__divider {
    width: 60px;
    height: 1px;
    background: var(--wfy-purple);
    margin: 32px 0;
}
.wfy-about-bio__tag {
    font-size: 18px;
    line-height: 1.6;
    color: var(--wfy-ink-soft);
    max-width: 320px;
}

.wfy-about-bio__body {
    font-size: 19px;
    line-height: 1.85;
    color: var(--wfy-ink);
}
.wfy-about-bio__body p:first-child::first-letter {
    font-family: var(--wfy-font-display);
    font-size: 4.5em;
    line-height: 0.85;
    float: left;
    margin: 8px 14px 0 -2px;
    color: var(--wfy-purple);
    font-style: italic;
}
.wfy-about-bio__body em { font-style: italic; color: var(--wfy-purple); }

/* Opening lead paragraph — slightly larger, plum-deep ink */
.wfy-about-bio__lead {
    font-size: 22px;
    line-height: 1.55;
    color: var(--wfy-plum-deep);
    margin-bottom: 1.6em;
}
.wfy-about-bio__body .wfy-about-bio__lead::first-letter { font-size: 1em; float: none; margin: 0; color: inherit; font-family: inherit; font-style: normal; }

/* Identity line — Mother of six. Founder of Wild Femme... */
.wfy-about-bio__identity {
    font-family: var(--wfy-font-ritual);
    font-style: italic;
    font-size: clamp(22px, 2vw, 28px);
    color: var(--wfy-plum-deep);
    margin: 2.2em 0 1.4em;
    padding: 1.4em 0;
    border-top: 1px solid rgba(26, 11, 46, 0.15);
    border-bottom: 1px solid rgba(26, 11, 46, 0.15);
    text-align: center;
    line-height: 1.4;
}

/* Closing mission line — italic manifesto */
.wfy-about-bio__mission {
    font-family: var(--wfy-font-display);
    font-style: italic;
    font-size: clamp(22px, 2.2vw, 30px);
    color: var(--wfy-purple);
    line-height: 1.4;
    margin: 1.4em 0 0;
    background: linear-gradient(110deg, var(--wfy-plum-deep) 0%, var(--wfy-purple) 50%, var(--wfy-plum-deep) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.wfy-about-bio__cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 48px;
}

/* ============================================================ *
 * STAY CONNECTED — Instagram + Substack cards
 * ============================================================ */
.wfy-social-section {
    background: var(--wfy-pink-mist);
}
/* When the social section is the LEAD section on the About page, give it
   the same generous top padding as the inner-hero so it clears the fixed
   header and feels like a proper page opener. */
.wfy-social-section--lead {
    padding-top: clamp(140px, 18vw, 220px);
}
.wfy-social-section--lead .wfy-social-section__header h1 {
    font-size: clamp(48px, 6vw, 88px);
    line-height: 1.05;
    margin-bottom: 24px;
}
.wfy-social-section__header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 64px;
}
.wfy-social-section__header h2 em {
    font-style: italic;
    color: var(--wfy-purple);
}
.wfy-social-section__header p {
    font-size: 18px;
    color: var(--wfy-ink-soft);
    margin-top: 16px;
}

.wfy-social-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: stretch;
}

.wfy-social-card {
    background: var(--wfy-white);
    border-radius: var(--wfy-radius-lg);
    padding: 32px 28px;
    box-shadow: var(--wfy-shadow-sm);
    border: 1px solid rgba(26, 11, 46, 0.06);
    display: flex;
    flex-direction: column;
    transition: transform 0.4s var(--wfy-ease), box-shadow 0.4s var(--wfy-ease), border-color 0.4s var(--wfy-ease);
}
.wfy-social-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--wfy-shadow-md);
    border-color: var(--wfy-violet);
}

.wfy-social-card__head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
}
.wfy-social-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    color: var(--wfy-white);
    flex-shrink: 0;
}
.wfy-social-card--ig .wfy-social-card__icon {
    background: linear-gradient(135deg, #FFE6F2 0%, #C77DFF 35%, #9D4EDD 70%, #F4C430 100%);
}
.wfy-social-card--substack .wfy-social-card__icon {
    background: linear-gradient(135deg, #F4C430 0%, #C77DFF 100%);
    color: var(--wfy-plum-deep);
}
.wfy-social-card--fb .wfy-social-card__icon {
    background: linear-gradient(135deg, #2B1547 0%, #1A0B2E 100%);
}
.wfy-social-card__platform {
    font-family: var(--wfy-font-eyebrow);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--wfy-mute);
    margin-bottom: 4px;
}
.wfy-social-card__handle {
    font-family: var(--wfy-font-display);
    font-style: italic;
    font-size: 22px;
    color: var(--wfy-plum-deep);
    line-height: 1.1;
}

/* ----- Instagram faux-grid ----- */
.wfy-social-card__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    margin-bottom: 24px;
    flex: 1;
    aspect-ratio: 3 / 2;
}
.wfy-social-card__tile {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
}
.wfy-social-card__tile span {
    font-family: var(--wfy-font-ritual);
    font-style: italic;
    color: rgba(255, 255, 255, 0.92);
    font-size: clamp(16px, 2.4vw, 26px);
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.25);
    animation: wfyBreath 9s ease-in-out infinite;
    --wfy-breath-min: 0.72;
    --wfy-breath-max: 1;
}
.wfy-social-card__tile:nth-child(1) span { animation-delay: 0s; }
.wfy-social-card__tile:nth-child(2) span { animation-delay: 0.5s; }
.wfy-social-card__tile:nth-child(3) span { animation-delay: 1s; }
.wfy-social-card__tile:nth-child(4) span { animation-delay: 1.5s; }
.wfy-social-card__tile:nth-child(5) span { animation-delay: 2s; }
.wfy-social-card__tile:nth-child(6) span { animation-delay: 2.5s; }

.wfy-social-card__cta {
    align-self: stretch;
    text-align: center;
}
.wfy-social-card__cta--placeholder {
    background: var(--wfy-pink-mist);
    color: var(--wfy-mute);
    font-style: italic;
    font-family: var(--wfy-font-ritual);
    font-size: 14px;
    text-align: center;
    padding: 14px 18px;
    border-radius: var(--wfy-radius-sm);
    line-height: 1.5;
}

/* ----- Facebook embed (kept for if mom ever adds a FB page) ----- */
.wfy-social-card__fb-embed {
    flex: 1;
    margin-bottom: 20px;
    border-radius: var(--wfy-radius-md);
    overflow: hidden;
    background: var(--wfy-pink-mist);
    min-height: 380px;
}
.wfy-social-card__fb-embed iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 380px;
}
.wfy-social-card__fb-placeholder,
.wfy-social-card__substack-placeholder {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--wfy-purple);
    background: var(--wfy-pink-mist);
    border-radius: var(--wfy-radius-md);
    padding: 40px 24px;
    margin-bottom: 20px;
    text-align: center;
    min-height: 380px;
    opacity: 0.85;
}
.wfy-social-card__fb-placeholder p,
.wfy-social-card__substack-placeholder p {
    margin-top: 18px;
    color: var(--wfy-ink-soft);
    font-family: var(--wfy-font-ritual);
    font-style: italic;
    font-size: 15px;
    line-height: 1.55;
}

/* ----- Substack signup widget embed ----- */
.wfy-social-card__substack-embed {
    flex: 1;
    margin-bottom: 20px;
    border-radius: var(--wfy-radius-md);
    overflow: hidden;
    background: var(--wfy-white);
    min-height: 320px;
    border: 1px solid rgba(26, 11, 46, 0.08);
}
.wfy-social-card__substack-embed iframe {
    display: block;
    width: 100%;
    min-height: 320px;
    border: 0;
}

/* ---------- TABLET (768-1023px) ---------- */
@media (min-width: 768px) and (max-width: 1023px) {
    .wfy-carousel { aspect-ratio: 16 / 10; }
    .wfy-about-bio__grid { grid-template-columns: 0.95fr 1.3fr; gap: 56px; }
    .wfy-about-bio__intro { position: static; }
}

/* ---------- MOBILE (< 768px) ---------- */
@media (max-width: 767px) {
    .wfy-about-carousel-section { padding-top: clamp(90px, 18vw, 130px); padding-bottom: 24px; }
    .wfy-carousel { aspect-ratio: 4 / 5; border-radius: 12px; }
    .wfy-carousel__nav { width: 40px; height: 40px; }
    .wfy-carousel__nav--prev { left: 12px; }
    .wfy-carousel__nav--next { right: 12px; }
    .wfy-carousel__dots { bottom: 16px; }
    .wfy-carousel__dot { width: 7px; height: 7px; }
    .wfy-carousel__dot.is-active { width: 22px; }
    .wfy-carousel__caption { bottom: 50px; font-size: 14px; padding: 0 24px; }
    .wfy-carousel__placeholder-word { font-size: clamp(48px, 16vw, 96px); }

    .wfy-about-bio__grid { grid-template-columns: 1fr; gap: 36px; }
    .wfy-about-bio__intro { position: static; }
    .wfy-about-bio__intro h1 { font-size: clamp(40px, 11vw, 56px); }
    .wfy-about-bio__body { font-size: 17px; }
    .wfy-about-bio__cta { flex-direction: column; align-items: stretch; }
    .wfy-about-bio__cta .wfy-btn { width: 100%; }

    /* Social cards stack on phone */
    .wfy-social-grid { grid-template-columns: 1fr; gap: 20px; }
    .wfy-social-section__header { margin-bottom: 40px; }
    .wfy-social-card { padding: 26px 22px; }
    .wfy-social-card__fb-embed,
    .wfy-social-card__fb-placeholder { min-height: 360px; }
}

@media (max-width: 480px) {
    .wfy-carousel__caption { display: none; }
    .wfy-about-bio__body p:first-child::first-letter { font-size: 3.6em; margin-right: 10px; }
}
