/* ==========================================================================
   Yoga Payammehr - Yama & Niyama (recorded course) - PAGE STYLESHEET
   Namespaced under html.ypm-yn-root / body.ypm-yn / .ypm-yn so these styles
   cannot affect any other WordPress page, and global site styles cannot
   reach in either. Persian-first (RTL); IranSans is self-hosted locally.
   Visual identity: open hands / spaciousness / quiet freedom — warm ivory,
   deep muted emerald, sage-olive, restrained gold.
   ========================================================================== */

/* ------------------------------ Fonts ---------------------------------- */
@font-face { font-family: "IranSans"; src: url("/wp-content/uploads/ypm-courses/yama-niyama/fonts/iransans-light.woff2") format("woff2"); font-style: normal; font-weight: 300; font-display: swap; }
@font-face { font-family: "IranSans"; src: url("/wp-content/uploads/ypm-courses/yama-niyama/fonts/iransans-regular.woff2") format("woff2"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "IranSans"; src: url("/wp-content/uploads/ypm-courses/yama-niyama/fonts/iransans-medium.woff2") format("woff2"); font-style: normal; font-weight: 500; font-display: swap; }
@font-face { font-family: "IranSans"; src: url("/wp-content/uploads/ypm-courses/yama-niyama/fonts/iransans-bold.woff2") format("woff2"); font-style: normal; font-weight: 700; font-display: swap; }

/* ------------------------------ Tokens --------------------------------- */
html.ypm-yn-root {
    /* Surfaces — parchment / ivory / linen */
    --c-ivory:      #f4f1ea;
    --c-paper:      #fbfaf7;
    --c-linen:      #eeeae0;
    --c-parchment:  #f0e9db;
    --c-stone:      #ddd6ca;
    --c-stone-deep: #c8bfb0;

    /* Emerald — the family colour, deepened slightly for this page */
    --c-emerald:      #1f6b5c;
    --c-emerald-deep: #14453c;
    --c-emerald-dark: #0e332c;
    --c-emerald-soft: #e4efe9;

    /* Sage / olive — this page's own identity note */
    --c-sage:       #a9b1a0;
    --c-sage-soft:  #e7eae1;
    --c-olive:      #5c6650;
    --c-olive-deep: #46503c;

    /* Gold — hairlines and small marks only */
    --c-gold:      #b8893a;
    --c-gold-soft: #d8c295;
    --c-gold-deep: #8a6524;

    /* Ink */
    --c-ink:          #25302b;
    --c-ink-soft:     #5c6a64;
    --c-ink-faint:    #87928c;
    --c-on-dark:      #f2efe8;
    --c-on-dark-soft: #bfc9c2;

    --font-fa: "IranSans", Tahoma, Arial, sans-serif;

    --measure: 66ch;
    --shell: 1240px;
    --shell-narrow: 880px;
    --gutter: clamp(1.25rem, 5vw, 4.5rem);
    --section-y: clamp(4rem, 11vh, 9rem);

    --hair: 1px solid var(--c-stone);
    --radius: 14px;
    --shadow: 0 10px 34px rgba(38, 48, 43, 0.09);
}

/* ------------------------------ Base ----------------------------------- */
html.ypm-yn-root { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
    html.ypm-yn-root { scroll-behavior: auto; }
}
body.ypm-yn {
    margin: 0;
    background: var(--c-ivory);
    color: var(--c-ink);
    font-family: var(--font-fa);
    font-size: clamp(1rem, 0.95rem + 0.25vw, 1.11rem);
    line-height: 1.95;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
.ypm-yn img { max-width: 100%; height: auto; }
.ypm-yn a { color: var(--c-emerald-deep); }
.ypm-yn :focus-visible { outline: 2px solid var(--c-gold-deep); outline-offset: 3px; border-radius: 4px; }

.ypm-yn .shell { max-width: var(--shell); margin-inline: auto; padding-inline: var(--gutter); }
.ypm-yn .shell--narrow { max-width: var(--shell-narrow); }

.ypm-yn .skip-link {
    position: absolute; inset-inline-start: 1rem; top: -4rem;
    background: var(--c-emerald-dark); color: var(--c-on-dark);
    padding: 0.6rem 1.1rem; border-radius: 0 0 10px 10px; z-index: 60;
    transition: top 0.2s ease;
}
.ypm-yn .skip-link:focus { top: 0; }

/* ------------------------------ Header --------------------------------- */
.ypm-yn .site-header {
    position: absolute; inset-inline: 0; top: 0; z-index: 20;
    padding-block: 1.1rem;
}
.ypm-yn .site-header__inner { display: flex; align-items: center; justify-content: space-between; }
.ypm-yn .brand { display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--c-ink); }
.ypm-yn .brand__logo { width: 44px; height: 44px; border-radius: 50%; box-shadow: 0 2px 10px rgba(38,48,43,0.18); }
.ypm-yn .brand__text { display: flex; flex-direction: column; line-height: 1.35; font-weight: 500; font-size: 1.02rem; }
.ypm-yn .brand__mark { font-size: 0.72rem; letter-spacing: 0.14em; color: var(--c-ink-soft); }

/* ------------------------------ Hero ----------------------------------- */
.ypm-yn .hero {
    position: relative;
    min-height: clamp(560px, 92vh, 860px);
    display: flex; align-items: flex-end;
    overflow: hidden;
}
.ypm-yn .hero__media { position: absolute; inset: 0; }
.ypm-yn .hero__art { width: 100%; height: 100%; display: block; }
.ypm-yn .hero__scrim {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(244,241,234,0.82) 0%, rgba(244,241,234,0.45) 34%, rgba(244,241,234,0.92) 78%, var(--c-ivory) 100%);
}
.ypm-yn .hero__inner { position: relative; width: 100%; padding-block: clamp(6rem, 12vh, 8rem) clamp(2.5rem, 6vh, 4.5rem); }
.ypm-yn .hero__content { max-width: 42rem; }
.ypm-yn .hero__kicker {
    margin: 0 0 0.9rem;
    font-size: 0.98rem; font-weight: 500; letter-spacing: 0.02em;
    color: var(--c-olive-deep);
    display: inline-flex; align-items: center; gap: 0.65rem;
}
.ypm-yn .hero__kicker::after { content: ""; width: 3rem; height: 1px; background: var(--c-gold); opacity: 0.7; }
.ypm-yn .hero__title {
    margin: 0;
    font-family: var(--font-fa);
    font-weight: 700;
    font-size: clamp(2.1rem, 1.35rem + 3.2vw, 3.6rem);
    line-height: 1.45;
    color: var(--c-emerald-dark);
    text-wrap: balance;
}
.ypm-yn .hero__campaign {
    margin: 1rem 0 0;
    font-size: clamp(1.15rem, 1rem + 0.7vw, 1.5rem);
    font-weight: 500;
    color: var(--c-gold-deep);
}
.ypm-yn .hero__poem {
    margin: 1rem 0 0;
    font-size: clamp(1.02rem, 0.97rem + 0.3vw, 1.2rem);
    color: var(--c-ink-soft);
    max-width: 38rem;
}
.ypm-yn .hero__facts {
    list-style: none; margin: 1.6rem 0 0; padding: 0;
    display: flex; flex-wrap: wrap; gap: 0.6rem;
}
.ypm-yn .hero__fact {
    background: rgba(251,250,247,0.85);
    border: var(--hair);
    border-radius: 999px;
    padding: 0.35rem 1rem;
    font-size: 0.92rem;
    color: var(--c-ink-soft);
}

/* ------------------------------ Buttons -------------------------------- */
.ypm-yn .cta-row { display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: center; margin-top: 1.8rem; }
.ypm-yn .btn {
    display: inline-flex; align-items: center; gap: 0.6rem;
    background: var(--c-emerald-deep);
    color: var(--c-on-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    padding: 0.85rem 1.6rem;
    border-radius: 999px;
    border: 1px solid var(--c-emerald-dark);
    transition: background 0.2s ease, transform 0.2s ease;
}
.ypm-yn .btn:hover { background: var(--c-emerald-dark); transform: translateY(-1px); }
.ypm-yn .btn__ig { width: 1.35em; height: 1.35em; flex: none; }
.ypm-yn .btn--ghost { background: transparent; color: var(--c-emerald-dark); border: 1px solid var(--c-stone-deep); }
.ypm-yn .btn--ghost:hover { background: rgba(255,255,255,0.55); }
.ypm-yn .btn--on-dark { background: var(--c-gold-deep); border-color: #6e511e; }
.ypm-yn .btn--on-dark:hover { background: #75541d; }

.ypm-yn .scroll-cue {
    display: inline-flex; align-items: center; gap: 0.7rem;
    margin-top: 2.4rem;
    text-decoration: none; color: var(--c-ink-soft); font-size: 0.95rem;
}
.ypm-yn .scroll-cue__line { width: 1px; height: 2.2rem; background: var(--c-stone-deep); display: block; }

/* ------------------------------ Callout -------------------------------- */
.ypm-yn .callout { padding-block: clamp(2.5rem, 6vh, 4rem) 0; }
.ypm-yn .callout__inner {
    background: var(--c-paper);
    border: var(--hair);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: clamp(1.6rem, 4vw, 2.8rem);
}
.ypm-yn .callout__label {
    margin: 0 0 0.7rem;
    font-size: 0.92rem; font-weight: 700; letter-spacing: 0.03em;
    color: var(--c-gold-deep);
}
.ypm-yn .callout__text {
    margin: 0;
    font-size: clamp(1.05rem, 1rem + 0.35vw, 1.25rem);
    line-height: 2.1;
    color: var(--c-ink);
}

/* ------------------------------ Sections ------------------------------- */
.ypm-yn .section { padding-block: var(--section-y); }
.ypm-yn .section--tint { background: linear-gradient(180deg, var(--c-linen) 0%, var(--c-ivory) 100%); }
.ypm-yn .section--deep { background: linear-gradient(180deg, var(--c-emerald-dark), var(--c-emerald-deep)); color: var(--c-on-dark); }
.ypm-yn .eyebrow {
    margin: 0 0 0.6rem;
    font-size: 0.95rem; font-weight: 700; letter-spacing: 0.03em;
    color: var(--c-olive-deep);
}
.ypm-yn .eyebrow--on-dark { color: var(--c-gold-soft); }
.ypm-yn .section-title {
    margin: 0;
    font-family: var(--font-fa);
    font-weight: 700;
    font-size: clamp(1.6rem, 1.3rem + 1.4vw, 2.4rem);
    line-height: 1.55;
    color: var(--c-emerald-dark);
    text-wrap: balance;
}
.ypm-yn .section-title--on-dark { color: var(--c-on-dark); }
.ypm-yn .rule-gold { width: 3.5rem; margin: 1.2rem 0 0; border: 0; border-top: 2px solid var(--c-gold); opacity: 0.8; }
.ypm-yn .rule-gold--on-dark { border-top-color: var(--c-gold-soft); }
.ypm-yn .section-lead { margin: 1.2rem 0 0; color: var(--c-ink-soft); max-width: 60ch; }
.ypm-yn .passage { margin-top: 1.6rem; max-width: var(--measure); }
.ypm-yn .passage p { margin: 0 0 1.1rem; }
.ypm-yn .passage--on-dark { color: var(--c-on-dark-soft); }

/* ------------------------------ Not-cards ------------------------------ */
.ypm-yn .not-grid {
    display: grid; grid-template-columns: 1fr; gap: 1.1rem;
    margin-top: 2.2rem;
}
.ypm-yn .not-card {
    background: var(--c-paper);
    border: var(--hair);
    border-inline-start: 3px solid var(--c-gold);
    border-radius: var(--radius);
    padding: 1.4rem 1.6rem;
}
.ypm-yn .not-card__no {
    margin: 0; font-weight: 700; font-size: 1.15rem;
    color: var(--c-ink-faint); text-decoration: line-through; text-decoration-color: rgba(138,101,36,0.55);
}
.ypm-yn .not-card__neq { margin: 0.15rem 0; color: var(--c-gold-deep); font-weight: 700; }
.ypm-yn .not-card__yes { margin: 0.4rem 0 0; color: var(--c-ink); line-height: 1.9; }

/* ------------------------------ Cycle ---------------------------------- */
.ypm-yn .cycle {
    list-style: none; margin: 2rem 0 0; padding: 0;
    display: flex; flex-wrap: wrap; justify-content: center; align-items: stretch;
    gap: 0.8rem;
}
.ypm-yn .cycle__step {
    background: var(--c-paper);
    border: var(--hair);
    border-radius: var(--radius);
    padding: 0.9rem 1.1rem;
    min-width: 8.5rem;
    text-align: center;
    position: relative;
    box-shadow: var(--shadow);
}
.ypm-yn .cycle__num {
    display: block; font-size: 0.8rem; color: var(--c-gold-deep); font-weight: 700;
}
.ypm-yn .cycle__word { display: block; font-weight: 500; color: var(--c-ink); }
.ypm-yn .cycle__step--last { background: var(--c-parchment); border-color: var(--c-stone-deep); }
.ypm-yn .cycle__note {
    margin: 1.6rem 0 0; text-align: center;
    color: var(--c-ink-soft); font-size: 1.02rem;
}

/* ------------------------------ Learn ---------------------------------- */
.ypm-yn .learn-grid {
    display: grid; grid-template-columns: 1fr; gap: 1.4rem;
    margin-top: 2.2rem;
}
.ypm-yn .learn-item {
    background: var(--c-paper);
    border: var(--hair);
    border-radius: var(--radius);
    padding: 1.6rem;
}
.ypm-yn .learn-item__num {
    display: block; font-size: 1rem; font-weight: 700;
    color: var(--c-gold-deep); letter-spacing: 0.06em;
}
.ypm-yn .learn-item__title { margin: 0.5rem 0 0.4rem; font-size: 1.15rem; color: var(--c-emerald-dark); }
.ypm-yn .learn-item__text { margin: 0; color: var(--c-ink-soft); line-height: 1.9; }

/* ------------------------------ Journey -------------------------------- */
.ypm-yn .journey { display: grid; gap: 1.3rem; margin-top: 2.2rem; }
.ypm-yn .session {
    display: flex; gap: 1.4rem;
    background: var(--c-paper);
    border: var(--hair);
    border-radius: var(--radius);
    padding: clamp(1.4rem, 3vw, 2rem);
}
.ypm-yn .session__num {
    flex: none;
    width: 3rem; height: 3rem;
    display: grid; place-items: center;
    border-radius: 50%;
    background: var(--c-emerald-soft);
    color: var(--c-emerald-deep);
    font-weight: 700; font-size: 1.25rem;
}
.ypm-yn .session__body { min-width: 0; }
.ypm-yn .session__title { margin: 0.1rem 0 0.4rem; font-size: clamp(1.15rem, 1.05rem + 0.5vw, 1.45rem); color: var(--c-emerald-dark); line-height: 1.6; }
.ypm-yn .session__q { margin: 0 0 0.8rem; color: var(--c-gold-deep); font-size: 1rem; }
.ypm-yn .session__topics { margin: 0; padding: 0; list-style: none; }
.ypm-yn .session__topics li { padding-inline-start: 1.1rem; position: relative; color: var(--c-ink-soft); line-height: 1.85; }
.ypm-yn .session__topics li + li { margin-top: 0.35rem; }
.ypm-yn .session__topics li::before { content: ""; position: absolute; inset-inline-start: 0; top: 0.95em; width: 5px; height: 5px; border-radius: 50%; background: var(--c-sage); }
.ypm-yn .session__practice {
    margin: 1rem 0 0;
    padding: 0.8rem 1.1rem;
    background: var(--c-sage-soft);
    border-radius: 10px;
    color: var(--c-olive-deep);
    font-size: 0.98rem; line-height: 1.85;
}

/* ------------------------------ Love (deep) ---------------------------- */
.ypm-yn .love__grid { display: grid; grid-template-columns: 1fr; gap: 2rem; margin-top: 1.6rem; }
.ypm-yn .yamas-mini {
    background: rgba(242,239,232,0.07);
    border: 1px solid rgba(203,185,141,0.35);
    border-radius: var(--radius);
    padding: 1.5rem 1.7rem;
    align-self: start;
}
.ypm-yn .yamas-mini__label { margin: 0 0 0.9rem; color: var(--c-gold-soft); font-weight: 700; font-size: 0.98rem; }
.ypm-yn .yamas-mini__list { margin: 0; padding: 0; list-style: none; }
.ypm-yn .yamas-mini__list li { padding: 0.55rem 0; border-bottom: 1px solid rgba(203,185,141,0.18); color: var(--c-on-dark-soft); line-height: 1.9; }
.ypm-yn .yamas-mini__list li:last-child { border-bottom: 0; }
.ypm-yn .yamas-mini__list strong { color: var(--c-on-dark); font-weight: 700; }

/* ------------------------------ Duo ------------------------------------ */
.ypm-yn .duo-grid { display: grid; grid-template-columns: 1fr; gap: 1.4rem; margin-top: 2.2rem; }
.ypm-yn .duo-card {
    background: var(--c-paper);
    border: var(--hair);
    border-top: 3px solid var(--c-sage);
    border-radius: var(--radius);
    padding: clamp(1.6rem, 3vw, 2.2rem);
}
.ypm-yn .duo-card + .duo-card { border-top-color: var(--c-gold); }
.ypm-yn .duo-card__title { margin: 0; font-size: 1.4rem; color: var(--c-emerald-dark); }
.ypm-yn .duo-card__en { margin: 0.2rem 0 0.9rem; color: var(--c-gold-deep); font-size: 0.98rem; }
.ypm-yn .duo-card__text { margin: 0 0 0.9rem; color: var(--c-ink-soft); line-height: 2; }
.ypm-yn .duo-card__hint { margin: 0; font-size: 0.93rem; color: var(--c-ink-faint); }

/* ------------------------------ Niyamas -------------------------------- */
.ypm-yn .niyama-flow {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
    gap: 0.9rem;
    margin-top: 2.2rem;
}
.ypm-yn .niyama-flow__step {
    background: var(--c-emerald-deep);
    color: var(--c-on-dark);
    border-radius: 999px;
    padding: 0.7rem 1.5rem;
    font-weight: 500;
}
.ypm-yn .niyama-flow__arrow {
    width: 2.2rem; height: 1px; background: var(--c-stone-deep);
    position: relative;
}
.ypm-yn .niyama-flow__arrow::after {
    content: ""; position: absolute; top: -3px; inset-inline-start: -2px;
    border-inline-start: 7px solid var(--c-stone-deep);
    border-block: 3.5px solid transparent;
}
.ypm-yn .niyama-grid {
    display: grid; grid-template-columns: 1fr; gap: 1.1rem;
    margin-top: 2.2rem;
}
.ypm-yn .niyama-card {
    background: var(--c-paper);
    border: var(--hair);
    border-radius: var(--radius);
    padding: 1.4rem 1.6rem;
}
.ypm-yn .niyama-card__name { margin: 0 0 0.4rem; font-size: 1.12rem; color: var(--c-emerald-deep); }
.ypm-yn .niyama-card__text { margin: 0; color: var(--c-ink-soft); line-height: 1.9; }

/* ------------------------------ 21-day path ---------------------------- */
.ypm-yn .weeks { display: grid; grid-template-columns: 1fr; gap: 1.3rem; margin-top: 2.2rem; }
.ypm-yn .week-card {
    position: relative;
    background: var(--c-paper);
    border: var(--hair);
    border-radius: var(--radius);
    padding: 1.8rem 1.7rem 1.6rem;
    box-shadow: var(--shadow);
}
.ypm-yn .week-card__week {
    position: absolute; top: -0.85rem; inset-inline-start: 1.4rem;
    background: var(--c-gold-deep);
    color: #fdf9f0;
    font-size: 0.82rem; font-weight: 700;
    padding: 0.25rem 0.9rem;
    border-radius: 999px;
}
.ypm-yn .week-card__title { margin: 0.4rem 0 0.5rem; font-size: 1.3rem; color: var(--c-emerald-dark); }
.ypm-yn .week-card__text { margin: 0; color: var(--c-ink-soft); line-height: 1.95; }

/* ------------------------------ Audience ------------------------------- */
.ypm-yn .audience { display: grid; grid-template-columns: 1fr; gap: 1.1rem; margin-top: 2.2rem; }
.ypm-yn .audience-card {
    background: var(--c-paper);
    border: var(--hair);
    border-radius: var(--radius);
    padding: 1.3rem 1.5rem;
    color: var(--c-ink);
}
.ypm-yn .audience-card p { margin: 0; line-height: 1.9; }
.ypm-yn .audience__note { margin: 1.6rem 0 0; color: var(--c-ink-soft); font-size: 0.97rem; max-width: 64ch; }

/* ------------------------------ Included ------------------------------- */
.ypm-yn .included { margin: 2rem 0 0; padding: 0; list-style: none; }
.ypm-yn .included li {
    padding: 0.8rem 0;
    border-bottom: var(--hair);
    position: relative;
    padding-inline-start: 1.9rem;
    color: var(--c-ink);
}
.ypm-yn .included li::before {
    content: "✓";
    position: absolute; inset-inline-start: 0;
    color: var(--c-emerald); font-weight: 700;
}
.ypm-yn .included li:last-child { border-bottom: 0; }

/* ------------------------------ Teacher -------------------------------- */
.ypm-yn .teacher { background: var(--c-linen); padding-block: var(--section-y); }
.ypm-yn .teacher__inner {
    display: grid; grid-template-columns: 1fr; gap: 2.4rem;
    align-items: center;
}
.ypm-yn .teacher__portrait { max-width: 22rem; margin-inline: auto; }
.ypm-yn .teacher__portrait img {
    width: 100%; height: auto; display: block;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.ypm-yn .teacher__role { margin: 0.2rem 0 1rem; color: var(--c-gold-deep); font-weight: 500; }
.ypm-yn .teacher__bio p:last-of-type { margin-bottom: 0; }

/* ------------------------------ Safety --------------------------------- */
.ypm-yn .safety {
    background: var(--c-parchment);
    border: 1px solid var(--c-stone-deep);
    border-radius: var(--radius);
    padding: clamp(1.6rem, 4vw, 2.4rem);
}
.ypm-yn .safety__title { margin: 0 0 0.7rem; font-size: 1.15rem; color: var(--c-emerald-dark); }
.ypm-yn .safety p { margin: 0; color: var(--c-ink-soft); line-height: 2; font-size: 0.98rem; }

/* ------------------------------ FAQ ------------------------------------ */
.ypm-yn .faq__list { margin-top: 2.2rem; border-top: var(--hair); }
.ypm-yn .faq__item { border-bottom: var(--hair); }
.ypm-yn .faq__q {
    display: block;
    padding: 1.15rem 0.3rem;
    cursor: pointer;
    list-style: none;
    position: relative;
    font-weight: 500;
    color: var(--c-emerald-dark);
    font-size: 1.05rem;
}
.ypm-yn .faq__q::-webkit-details-marker { display: none; }
.ypm-yn .faq__q::after {
    content: "+";
    position: absolute; inset-inline-end: 0.2rem; top: 50%; transform: translateY(-50%);
    color: var(--c-gold-deep);
    font-size: 1.35rem; font-weight: 400; line-height: 1;
}
.ypm-yn .faq__item[open] .faq__q::after { content: "−"; }
.ypm-yn .faq__a { padding: 0.1rem 0.3rem 1.3rem; color: var(--c-ink-soft); }
.ypm-yn .faq__a p { margin: 0; line-height: 2; }

/* ------------------------------ Finale --------------------------------- */
.ypm-yn .finale { position: relative; overflow: hidden; text-align: center; }
.ypm-yn .finale__media { position: absolute; inset: 0; }
.ypm-yn .finale__art { width: 100%; height: 100%; display: block; }
.ypm-yn .finale__inner { position: relative; padding-block: clamp(5rem, 12vh, 8rem); color: var(--c-on-dark); }
.ypm-yn .finale__verse {
    margin: 0;
    font-size: clamp(1.15rem, 1rem + 0.8vw, 1.6rem);
    line-height: 2;
    color: var(--c-on-dark);
}
.ypm-yn .finale__signature {
    margin: 1.6rem 0 0;
    font-size: clamp(1.7rem, 1.4rem + 1.4vw, 2.5rem);
    color: var(--c-gold-soft);
}
.ypm-yn .finale__mantra {
    margin: 0.6rem 0 0;
    color: var(--c-on-dark-soft);
    letter-spacing: 0.04em;
}
.ypm-yn .finale .cta-row { justify-content: center; }

/* ------------------------------ Footer --------------------------------- */
.ypm-yn .site-footer { background: var(--c-emerald-dark); color: var(--c-on-dark-soft); padding-block: 2.2rem; }
.ypm-yn .site-footer__inner {
    display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between;
}
.ypm-yn .site-footer__brand { display: flex; align-items: center; gap: 0.8rem; }
.ypm-yn .site-footer__logo { width: 40px; height: 40px; border-radius: 50%; }
.ypm-yn .site-footer a { color: var(--c-on-dark); text-decoration: none; border-bottom: 1px solid rgba(203,185,141,0.4); }
.ypm-yn .site-footer a:hover { border-bottom-color: var(--c-gold-soft); }

/* ------------------------------ Sticky CTA ----------------------------- */
.ypm-yn .sticky-cta {
    position: fixed; inset-inline: 0; bottom: 0; z-index: 40;
    display: none;
    padding: 0.65rem var(--gutter) calc(0.65rem + env(safe-area-inset-bottom, 0px));
    background: rgba(244,241,234,0.96);
    border-top: 1px solid var(--c-stone);
    box-shadow: 0 -8px 24px rgba(38,48,43,0.10);
    transform: translateY(110%);
    transition: transform 0.28s ease;
}
.ypm-yn .sticky-cta.is-visible { transform: translateY(0); }
.ypm-yn .sticky-cta .btn { width: 100%; justify-content: center; padding-block: 0.95rem; }

/* ------------------------------ Reveal --------------------------------- */
@media (prefers-reduced-motion: no-preference) {
    html.ypm-yn-js .ypm-yn [data-reveal] { opacity: 0; transform: translateY(18px); }
    html.ypm-yn-js .ypm-yn [data-reveal].is-in {
        opacity: 1; transform: none;
        transition: opacity 0.7s ease, transform 0.7s ease;
        transition-delay: calc(var(--i, 0) * 90ms);
    }
}
@media (prefers-reduced-motion: reduce) {
    html.ypm-yn-js .ypm-yn [data-reveal] { opacity: 1 !important; transform: none !important; }
    .ypm-yn .sticky-cta { transition: none; }
}

/* ------------------------------ Responsive ----------------------------- */
@media (min-width: 720px) {
    .ypm-yn .learn-grid { grid-template-columns: 1fr 1fr; }
    .ypm-yn .audience { grid-template-columns: 1fr 1fr; }
    .ypm-yn .weeks { grid-template-columns: repeat(3, 1fr); }
    .ypm-yn .love__grid { grid-template-columns: 3fr 2fr; }
    .ypm-yn .duo-grid { grid-template-columns: 1fr 1fr; }
    .ypm-yn .niyama-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1020px) {
    .ypm-yn .audience { grid-template-columns: repeat(3, 1fr); }
    .ypm-yn .not-grid { grid-template-columns: repeat(2, 1fr); }
    .ypm-yn .teacher__inner { grid-template-columns: 2fr 3fr; gap: 3.5rem; }
    .ypm-yn .teacher__portrait { margin-inline: 0; }
}
@media (min-width: 860px) {
    .ypm-yn .not-grid { grid-template-columns: repeat(3, 1fr); }
    .ypm-yn .learn-grid { grid-template-columns: repeat(4, 1fr); }
    .ypm-yn .niyama-grid { grid-template-columns: repeat(5, 1fr); }
}
@media (max-width: 859px) {
    .ypm-yn .sticky-cta { display: block; }
}
@media (max-width: 480px) {
    .ypm-yn .cycle { gap: 0.55rem; }
    .ypm-yn .cycle__step { min-width: calc(50% - 0.3rem); }
    .ypm-yn .session { flex-direction: column; gap: 0.9rem; }
    .ypm-yn .session__num { width: 2.6rem; height: 2.6rem; font-size: 1.1rem; }
    .ypm-yn .cta-row .btn { width: 100%; justify-content: center; }
    .ypm-yn .hero__facts { gap: 0.45rem; }
}

/* ------------------------------ Print ---------------------------------- */
@media print {
    .ypm-yn .sticky-cta,
    .ypm-yn .scroll-cue { display: none; }
    body.ypm-yn { background: #fff; }
}
