/* ==========================================================================
   MANIFEST WITH JAYA — MY STORY & VISION PAGE SPECIFIC STYLES
   (Inherits base tokens, header, navigation, and footer from site-shared.css)
   ========================================================================== */

/* ==========================================================================
   01. STORY HERO SECTION
   ========================================================================== */
.story-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(115deg, #fcf7f2 0%, #fff9f4 55%, #f6e8df 100%);
    padding-top: var(--header-h);
}

.story-hero-layout {
    position: relative;
    z-index: 1;
    display: grid;
    min-height: 520px;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: clamp(36px, 6vw, 84px);
    padding-block: clamp(48px, 6vw, 80px);
}

.story-hero-copy {
    max-width: 650px;
}

.story-hero h1 {
    margin: 12px 0 16px;
    color: var(--burgundy);
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 5.2vw, 4.8rem);
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -0.035em;
}

.story-hero h1 span {
    display: block;
    color: var(--primary);
}

.hero-role-badge {
    display: inline-block;
    color: var(--primary);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin: 0 0 16px;
    line-height: 1.45;
}

.story-hero-copy > p {
    max-width: 560px;
    margin: 0 0 24px;
    color: var(--text-light);
    font-size: clamp(1rem, 1.25vw, 1.15rem);
    line-height: 1.6;
}

.story-portrait {
    position: relative;
    width: min(100%, 340px);
    justify-self: center;
    margin: 0;
    padding: 12px 12px 52px;
    border: 1px solid rgba(195, 154, 86, 0.45);
    border-radius: 170px 170px 14px 14px;
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 20px 60px rgba(61, 21, 32, 0.12);
    transform: rotate(1.2deg);
}

.story-portrait::before {
    position: absolute;
    inset: 16px -12px -12px 14px;
    z-index: -1;
    border: 1px solid rgba(169, 61, 93, 0.25);
    border-radius: inherit;
    content: "";
}

.story-portrait img {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 3.9;
    border-radius: 160px 160px 8px 8px;
    object-fit: cover;
    object-position: center 24%;
}

.story-portrait figcaption {
    position: absolute;
    right: 10px;
    bottom: 14px;
    left: 10px;
    color: var(--rose);
    font-family: var(--font-script);
    font-size: 1.45rem;
    line-height: 1.2;
    text-align: center;
}

.hero-sparkle {
    position: absolute;
    color: rgba(195, 154, 86, 0.25);
    pointer-events: none;
}

.sparkle-one {
    top: 6%;
    right: 4%;
    font-size: 6.5rem;
}

.sparkle-two {
    bottom: 4%;
    left: 3%;
    font-size: 3.8rem;
}

/* ==========================================================================
   02. STORY NARRATIVE & PURPOSE
   ========================================================================== */
.story-section {
    padding-block: clamp(64px, 8vw, 96px);
}

.story-layout {
    display: grid;
    grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
    align-items: start;
    gap: clamp(36px, 5vw, 72px);
    max-width: 1040px;
    margin-inline: auto;
}

.story-aside {
    position: sticky;
    top: calc(var(--header-h) + 24px);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 12px 22px;
    border: 1px solid #ebd9d0;
    border-radius: 160px 160px var(--radius-lg) var(--radius-lg);
    background: linear-gradient(160deg, #fffaf7 0%, #fcf4ee 100%);
    text-align: center;
    box-shadow: 0 16px 40px rgba(61, 21, 32, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.story-aside:hover {
    box-shadow: 0 20px 48px rgba(61, 21, 32, 0.12);
}

.story-aside-photo-wrap {
    width: 100%;
    margin: 0;
    border-radius: 148px 148px var(--radius-sm) var(--radius-sm);
    overflow: hidden;
    border: 1px solid rgba(195, 154, 86, 0.35);
    background: #fff;
    box-shadow: 0 6px 18px rgba(61, 21, 32, 0.06);
}

.story-aside-photo-wrap picture {
    display: block;
    width: 100%;
}

.story-aside-photo {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 3.9;
    object-fit: cover;
    object-position: center 14%;
    display: block;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.story-aside:hover .story-aside-photo {
    transform: scale(1.025);
}

.story-aside-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 16px;
    width: 100%;
}

.aside-label {
    color: var(--primary);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.aside-number {
    margin: 4px 0 0;
    color: var(--burgundy);
    font-family: var(--font-display);
    font-size: clamp(3.2rem, 4.5vw, 4.4rem);
    line-height: 0.95;
    font-weight: 500;
}

.aside-number span {
    color: var(--gold);
    font-size: 0.65em;
}

.aside-caption {
    max-width: 210px;
    margin-top: 6px;
    color: var(--muted);
    font-size: 0.82rem;
    line-height: 1.45;
}

.aside-flourish {
    margin-top: 8px;
    color: var(--gold);
    font-size: 1.25rem;
}

.story-copy {
    max-width: 680px;
}

.story-copy > p,
.story-ending > p {
    margin: 0 0 18px;
    color: var(--text-light);
    font-size: 15.5px;
    line-height: 1.7;
}

.story-copy strong,
.story-ending strong {
    color: var(--burgundy);
}

.practice-beats {
    display: grid;
    gap: 10px;
    margin: 28px 0;
    padding: 22px 26px;
    border-left: 3px solid var(--gold);
    background: var(--cream);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.practice-beats span {
    color: var(--primary);
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 600;
    line-height: 1.25;
}

.practice-beats span:last-child {
    color: var(--burgundy);
}

.purpose-callout {
    max-width: 900px;
    margin: 64px auto 44px;
    padding: clamp(28px, 5vw, 48px);
    border: 1px solid #f0e2d9;
    border-radius: var(--radius-lg);
    background: linear-gradient(125deg, #fcf5ef, #fffaf7);
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.purpose-callout h3 {
    max-width: 680px;
    margin: 14px auto 22px;
    color: var(--burgundy);
    font-family: var(--font-heading);
    font-size: clamp(1.85rem, 3.4vw, 2.75rem);
    font-weight: 600;
    line-height: 1.2;
}

.reach-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.reach-list span {
    padding: 7px 16px;
    border: 1px solid #ebd8cf;
    border-radius: 30px;
    color: var(--burgundy);
    background: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
    font-weight: 500;
}

.purpose-callout .callout-statement {
    margin: 26px 0 0;
    color: var(--primary);
    font-family: var(--font-script);
    font-size: clamp(2rem, 3.8vw, 2.8rem);
    line-height: 1.15;
}

.story-ending {
    max-width: 740px;
    margin-inline: auto;
    text-align: center;
    padding-top: 18px;
}

.script-emphasis {
    margin-top: 10px !important;
    color: var(--primary) !important;
    font-family: var(--font-script);
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    line-height: 1.15;
}

/* ==========================================================================
   03. VISION SECTION
   ========================================================================== */
.vision-section {
    padding-block: clamp(64px, 8vw, 96px);
    background: var(--blush);
}

.vision-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.15fr;
    gap: clamp(40px, 7vw, 96px);
    align-items: start;
}

.vision-heading {
    position: sticky;
    top: calc(var(--header-h) + 32px);
}

.vision-heading h2 {
    margin: 12px 0 8px;
    color: var(--burgundy);
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 3.8vw, 3.2rem);
    font-weight: 600;
    line-height: 1.1;
}

.vision-ornament {
    color: var(--gold);
    font-size: 2.6rem;
}

.vision-copy > p {
    margin: 0 0 16px;
    color: var(--text-light);
    font-size: 15.5px;
    line-height: 1.7;
}

.vision-copy > h3 {
    margin: 0 0 20px;
    color: var(--primary);
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 2.8vw, 2.35rem);
    font-weight: 600;
    line-height: 1.2;
}

.vision-copy strong {
    color: var(--burgundy);
}

.matters-list {
    display: grid;
    gap: 10px;
    margin: 22px 0;
}

.matters-list p {
    margin: 0;
    padding: 11px 18px;
    border-left: 3px solid var(--gold);
    color: var(--burgundy);
    background: rgba(255, 255, 255, 0.75);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-size: 14.5px;
    font-weight: 500;
}

.vision-photo-note {
    display: grid;
    grid-template-columns: minmax(180px, 280px) minmax(0, 1fr);
    align-items: center;
    gap: clamp(24px, 4vw, 48px);
    max-width: 880px;
    margin: 48px auto 0;
    padding: 20px;
    border: 1px solid #eadbd3;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.85);
    box-shadow: var(--shadow-sm);
}

.vision-photo-note img {
    width: 100%;
    height: 220px;
    border-radius: var(--radius-md);
    object-fit: cover;
    object-position: center 36%;
}

.vision-photo-note figcaption {
    color: var(--burgundy);
}

.vision-photo-note figcaption p {
    margin: 8px 0 0;
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 2.5vw, 1.9rem);
    font-weight: 600;
    line-height: 1.3;
}

.shift-panel {
    max-width: 880px;
    margin: 52px auto 0;
    padding: 34px clamp(20px, 4vw, 48px);
    border: 1px solid rgba(61, 21, 32, 0.08);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.82);
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.shift-panel blockquote {
    margin: 18px 0 0;
}

.shift-panel blockquote p {
    margin: 0;
    color: var(--muted);
    font-family: var(--font-heading);
    font-size: clamp(1.45rem, 3vw, 2.25rem);
    font-weight: 500;
    line-height: 1.25;
}

.shift-panel blockquote p:last-child {
    color: var(--primary);
}

.shift-panel blockquote > span {
    display: block;
    margin: 10px;
    color: var(--gold);
    font-size: 1.5rem;
}

.movement-panel {
    max-width: 780px;
    margin-inline: auto;
    padding-top: 52px;
    text-align: center;
}

.movement-panel > p:first-child {
    color: var(--text-light);
    font-size: 15.5px;
    line-height: 1.7;
}

.vision-journey {
    display: grid;
    justify-items: center;
    gap: 6px;
    margin: 26px auto 14px;
    color: var(--burgundy);
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 600;
    line-height: 1.25;
}

.vision-journey > span:first-child {
    color: var(--muted);
}

.vision-journey .journey-arrow {
    color: var(--gold);
    font-family: var(--font-body);
    font-size: 1.5rem;
}

.vision-journey strong {
    color: var(--primary);
}

.movement-panel .vision-signoff {
    margin: 14px 0 0;
    color: var(--rose);
    font-family: var(--font-script);
    font-size: 2.1rem;
    line-height: 1.2;
}

/* ==========================================================================
   04. WHY SECTION
   ========================================================================== */
.why-section {
    padding-block: clamp(64px, 8vw, 96px);
}

.why-card {
    position: relative;
    overflow: hidden;
    max-width: 880px;
    margin-inline: auto;
    padding: clamp(34px, 6vw, 64px);
    border-radius: var(--radius-lg);
    color: #fff;
    background: linear-gradient(120deg, #a93d5d 0%, #b84e6a 60%, #cc7a6d 100%);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.why-card::before,
.why-card::after {
    position: absolute;
    width: 260px;
    aspect-ratio: 1;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.why-card::before { top: -140px; left: -70px; }
.why-card::after { right: -120px; bottom: -160px; }

.why-card > * {
    position: relative;
    z-index: 1;
}

.why-card .eyebrow {
    color: #fce1d4;
}

.why-card h2 {
    max-width: 700px;
    margin: 12px auto 18px;
    color: #fff;
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.8vw, 3.1rem);
    font-weight: 600;
    line-height: 1.15;
}

.why-card > p:not(.one-at-a-time):not(.why-mantra) {
    max-width: 660px;
    margin: 0 auto 16px;
    color: rgba(255, 255, 255, 0.94);
    font-size: 15px;
    line-height: 1.65;
}

.one-at-a-time {
    margin: 28px 0 4px;
    color: #fff;
    font-family: var(--font-script);
    font-size: clamp(2rem, 3.6vw, 2.7rem);
    line-height: 1.2;
}

.why-brand {
    display: block;
    margin-top: 8px;
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
}

.why-card .why-mantra {
    margin: 6px 0 16px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.88rem;
    letter-spacing: 0.04em;
}

.why-card .why-welcome {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.18rem;
    color: #fff;
    margin: 0 auto 24px;
    max-width: 620px;
}

/* Scroll reveal helper */
.js-ready [data-reveal] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.65s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.65s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.js-ready [data-reveal].is-visible {
    opacity: 1;
    transform: none;
}

/* ==========================================================================
   05. RESPONSIVE BREAKPOINTS (STORY PAGE)
   ========================================================================== */
@media (max-width: 991.98px) {
    .story-hero-layout {
        grid-template-columns: 1fr;
        padding-top: calc(var(--header-h-mobile) + 32px);
        text-align: center;
        gap: 36px;
    }

    .story-hero-copy {
        max-width: 100%;
        margin-inline: auto;
    }

    .story-hero-copy > p {
        margin-inline: auto;
    }

    .story-layout {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .story-aside {
        position: relative;
        top: auto;
        max-width: 340px;
        margin-inline: auto;
    }

    .vision-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .vision-heading {
        position: relative;
        top: auto;
    }
}

@media (max-width: 575.98px) {
    .story-portrait {
        width: 82%;
    }

    .story-aside {
        max-width: 300px;
        border-radius: 140px 140px var(--radius-md) var(--radius-md);
        padding: 10px 10px 20px;
    }

    .story-aside-photo-wrap {
        border-radius: 130px 130px var(--radius-sm) var(--radius-sm);
    }

    .aside-number {
        font-size: 3.4rem;
    }

    .vision-photo-note {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .vision-photo-note img {
        height: 200px;
    }
}
