/* Program Grid layouts */
.programs-index-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.program-row-title {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-muted);
}

.program-row-title::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 60px;
    height: 2px;
    background-color: var(--accent-gold);
}

.card-program-secondary {
    height: 380px !important;
}

.card-program-secondary .card-program-title {
    font-size: 1.5rem;
}

/* Premium Program Reference Grid (Ref: Image-Style Card Layout) */
.programs-reference-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem 2rem;
    margin-top: 4rem;
}

.program-ref-card {
    background-color: var(--white);
    border: 1.5px solid rgba(76, 104, 117, 0.3);
    border-radius: 12px;
    padding: 5.5rem 2rem 2.5rem 2rem;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 30px rgba(28, 43, 51, 0.02);
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.program-ref-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(28, 43, 51, 0.08);
    border-color: var(--accent-color) !important;
}

.program-ref-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background-color: var(--bg-accent);
    border-bottom: 1px solid rgba(76, 104, 117, 0.06);
    border-top-left-radius: 11px;
    border-top-right-radius: 11px;
}

.program-ref-icon-circle {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background-color: var(--white);
    border: 1.5px solid var(--accent-color);
    box-shadow: 0 6px 15px rgba(28, 43, 51, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    transition: all var(--transition-normal);
}

.program-ref-card:hover .program-ref-icon-circle {
    background-color: var(--accent-color);
    color: var(--white);
    transform: translate(-50%, -50%) scale(1.05);
    box-shadow: 0 8px 20px rgba(28, 43, 51, 0.12);
}

.program-ref-num {
    font-family: var(--font-sans);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-top: 0.5rem;
    margin-bottom: 0.75rem;
    letter-spacing: 0.05em;
}

.program-ref-title {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.2;
    min-height: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.program-ref-desc {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 2rem;
    flex-grow: 1;
    max-width: 290px;
}

/* Infographic styling */
.img-infographic {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: 0 15px 35px rgba(28, 43, 51, 0.05);
    border: 1px solid var(--border-muted);
    transition: transform var(--transition-slow);
}

.img-infographic:hover {
    transform: translateY(-4px);
}

/* Assessment Split Layout */
.assessment-split-layout {
    display: grid;
    grid-template-columns: 1.2fr 1.8fr;
    gap: 4rem;
    align-items: center;
}

.assessment-illustration-side {
    display: flex;
    justify-content: center;
    align-items: center;
}

.svg-container-mbs {
    max-width: 320px;
    width: 100%;
}

.svg-mbs-diagram {
    filter: drop-shadow(0 10px 20px rgba(28, 43, 51, 0.05));
    overflow: visible;
}

/* Focus 6-column Grid */
.focus-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
}

.focus-item-card {
    background-color: var(--white);
    border: 1px solid var(--border-muted);
    border-radius: var(--border-radius);
    padding: 2.5rem 1.2rem;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    min-height: 250px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.01);
}

.focus-item-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(28, 43, 51, 0.06);
    border-color: var(--accent-gold);
}

.focus-icon-circle {
    width: 48px;
    height: 48px;
    background-color: var(--bg-sage-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-forest);
    margin-bottom: 1.2rem;
    transition: all 0.3s ease;
}

.focus-item-card:hover .focus-icon-circle {
    background-color: var(--accent-gold);
    color: var(--white);
}

.focus-goal {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.35;
}

.focus-recommend {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.2rem;
    margin-top: auto;
}

.focus-program-link {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: bold;
    color: var(--bg-forest);
    text-decoration: none;
    transition: color 0.2s ease;
}

.focus-program-link:hover {
    color: var(--accent-gold);
}

/* 5 Delivery Formats Grid */
.formats-grid-5 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
}

.format-card-new {
    background-color: var(--white);
    border: 1px solid var(--border-muted);
    border-radius: var(--border-radius);
    padding: 2.5rem 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.01);
    transition: all 0.3s ease;
}

.format-card-new:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(28, 43, 51, 0.03);
}

.format-icon {
    width: 48px;
    height: 48px;
    background-color: var(--bg-sage-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-forest);
    margin-bottom: 1.2rem;
    transition: all 0.3s ease;
}

.format-card-new:hover .format-icon {
    background-color: var(--accent-gold);
    color: var(--white);
}

.format-icon svg {
    width: 24px;
    height: 24px;
}

.format-card-new h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: var(--text-dark);
    font-family: var(--font-serif);
}

.format-card-new p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Interactive Ecosystem Section */
.interactive-ecosystem {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ecosystem-canvas-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 540px;
    height: 540px;
    margin: 0 auto 1rem auto;
    position: relative;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.45) 0%, rgba(243, 239, 233, 0.15) 100%);
    border: 1px solid rgba(76, 104, 117, 0.08);
    box-shadow: inset 0 0 50px rgba(76, 104, 117, 0.03), 0 25px 60px rgba(28, 43, 51, 0.04);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: width var(--transition-normal), height var(--transition-normal);
}

.ecosystem-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    z-index: 0;
    opacity: 0.7;
    pointer-events: none;
    filter: saturate(0.7) brightness(1.05);
}

.lotus-bg-petals {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 110px;
    height: 110px;
    z-index: 1;
    animation: rotate-petals 25s linear infinite;
    transform-origin: center center;
}

.meditate-silhouette {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 110px;
    height: 110px;
    z-index: 2;
    animation: float-yogi 4s ease-in-out infinite alternate;
    transform-origin: center center;
}

.eco-glow-circle {
    transition: opacity var(--transition-normal);
    pointer-events: none;
}

@keyframes rotate-petals {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes float-yogi {
    0% {
        transform: translateY(0) scale(1);
    }

    100% {
        transform: translateY(-4px) scale(1.02);
    }
}

.ecosystem-canvas {
    width: 500px;
    height: 500px;
    position: relative;
    transform-origin: center center;
    transition: transform var(--transition-normal);
}

.ecosystem-svg-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.eco-arrow-path {
    opacity: 0.7;
    transition: opacity var(--transition-normal), stroke-width var(--transition-normal), stroke-dasharray var(--transition-normal);
}

.eco-arrow-path.active {
    opacity: 0.95;
    stroke-width: 3.5px;
    stroke-dasharray: 6 5;
    animation: flow-stroke 1.5s linear infinite;
}

@keyframes flow-stroke {
    to {
        stroke-dashoffset: -20;
    }
}

/* Floating Ecosystem Circles (Nodes) */
.eco-node {
    position: absolute;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: all var(--transition-normal);
    cursor: pointer;
    box-sizing: border-box;
}

/* Center Core: Human Flourishing */
.node-center {
    width: 250px;
    height: 250px;
    left: 250px;
    top: 250px;
    transform: translate(-50%, -50%);
    /*background: var(--white);*/
    /*border: 2px solid var(--accent-gold);*/
    border: none;
    z-index: 10;
}

.node-center .node-center-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    /*background: radial-gradient(circle, rgba(194, 163, 120, 0.1) 0%, rgba(194, 163, 120, 0.02) 100%);*/
    z-index: -1;
}

.node-center-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: end;
    height: 100%;
    padding: 10px;
    margin-bottom: 10px;
    position: relative;
    z-index: 2;
}

.meditate-icon {
    width: 32px;
    height: 32px;
    margin-bottom: 6px;
    animation: float-slow 4s ease-in-out infinite alternate;
}

@keyframes float-slow {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-4px);
    }
}

.node-center .node-title {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--text-dark);
    line-height: 1.1;
}

.node-center .node-subtitle {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--accent-gold-dark);
    margin-top: 2px;
}

/* Dimension Nodes: Mind, Body, Spirit */
.node-dimension {
    width: 180px;
    height: 180px;
    background: rgba(255, 255, 255, 0.85);
    border: 1.5px solid var(--border-muted);
    z-index: 5;
    transform: translate(-50%, -50%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.node-mind {
    left: 250px;
    top: 0;
    transform: translate(-50%, -50%);
}

.node-body {
    left: 0;
    top: 340px;
    transform: translate(-50%, -50%);
}

.node-spirit {
    left: auto;
    right: 0;
    top: 340px;
    transform: translate(50%, -50%);
}

.node-dimension .node-icon {
    width: 24px;
    height: 24px;
    margin-bottom: 4px;
    color: var(--text-muted);
    transition: color var(--transition-fast), transform var(--transition-fast);
}

.node-dimension .node-icon svg {
    width: 100%;
    height: 100%;
}

.node-dimension .dimension-name {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-dark);
    line-height: 1;
    margin-bottom: 2px;
}

.node-dimension .dimension-desc {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-muted);
    line-height: 1.2;
}

/* Dimension States (Hover/Active/Highlight) */
.node-dimension.active,
.node-dimension.highlight {
    background: var(--white);
    z-index: 10;
}

.node-mind.active,
.node-mind.highlight {
    transform: translate(-50%, -50%) scale(1.05);
    border-color: #4C6875;
    box-shadow: 0 8px 24px rgba(76, 104, 117, 0.15);
}

.node-mind.active .node-icon,
.node-mind.highlight .node-icon {
    color: #4C6875;
    transform: scale(1.1);
}

.node-body.active,
.node-body.highlight {
    transform: translate(-50%, -50%) scale(1.05);
    border-color: #6E8A73;
    box-shadow: 0 8px 24px rgba(110, 138, 115, 0.15);
}

.node-body.active .node-icon,
.node-body.highlight .node-icon {
    color: #6E8A73;
    transform: scale(1.1);
}

.node-spirit.active,
.node-spirit.highlight {
    transform: translate(50%, -50%) scale(1.05);
    border-color: #9380b2;
    box-shadow: 0 8px 24px rgba(147, 128, 178, 0.15);
}

.node-spirit.active .node-icon,
.node-spirit.highlight .node-icon {
    color: #9380b2;
    transform: scale(1.1);
}

.node-center.active,
.node-center.highlight {
    border-color: var(--accent-gold);
    transform: translate(-50%, -50%) scale(1.05);
    animation: goldPulse 2s infinite;
}

@keyframes goldPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(194, 163, 120, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(194, 163, 120, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(194, 163, 120, 0);
    }
}

/* Program Nodes Bottom Row */
.ecosystem-programs {
    width: 100%;
    position: relative;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.25rem;
    margin-top: -80px;
}

/* Dotted Connector line between program icons */
.ecosystem-programs::before {
    content: '';
    position: absolute;
    top: 40px;
    /* aligns with center of the 50px circle icons */
    left: 8%;
    right: 8%;
    height: 1px;
    border-top: 1px dashed var(--border-muted);
    z-index: 1;
    pointer-events: none;
}

.program-node {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-muted);
    border-top: 3px solid rgba(76, 104, 117, 0.12);
    border-radius: var(--border-radius);
    padding: 1.5rem 0.88rem;
    text-align: center;
    transition: all var(--transition-normal);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    background-clip: padding-box;
}

.program-icon-wrap {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1.5px solid var(--border-muted);
    background-color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all var(--transition-normal);
    position: relative;
    z-index: 2;
}

.program-icon-wrap svg {
    width: 22px;
    height: 22px;
}

.program-node-info {
    margin-top: 0.75rem;
    position: relative;
    z-index: 2;
}

.program-node-title {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.4rem;
    transition: color var(--transition-fast);
}

.program-node-summary {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Program Card Highlight States */
.program-node.active,
.program-node.highlight {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(28, 43, 51, 0.12);
    z-index: 3;
}

.program-node.active .program-node-title,
.program-node.highlight .program-node-title {
    color: var(--text-dark);
}

/* Specific border colors when active/highlighted */
.program-node[data-connects="body"].active,
.program-node[data-connects="body"].highlight {
    border-color: rgba(110, 138, 115, 0.4);
    border-top-color: #6E8A73;
}

.program-node[data-connects="mind"].active,
.program-node[data-connects="mind"].highlight {
    border-color: rgba(76, 104, 117, 0.4);
    border-top-color: #4C6875;
}

.program-node[data-connects*="body"][data-connects*="mind"]:not([data-connects*="spirit"]).active,
.program-node[data-connects*="body"][data-connects*="mind"]:not([data-connects*="spirit"]).highlight {
    border-color: rgba(76, 104, 117, 0.4);
    border-top-color: var(--primary-brand);
}

.program-node[data-connects*="mind"][data-connects*="spirit"]:not([data-connects*="body"]).active,
.program-node[data-connects*="mind"][data-connects*="spirit"]:not([data-connects*="body"]).highlight {
    border-color: rgba(76, 104, 117, 0.4);
    border-top-color: var(--primary-brand);
}

.program-node[data-connects="spirit"].active,
.program-node[data-connects="spirit"].highlight {
    border-color: rgba(147, 128, 178, 0.4);
    border-top-color: #9380b2;
}

.program-node[data-connects="body,mind,spirit"].active,
.program-node[data-connects="body,mind,spirit"].highlight {
    border-color: rgba(194, 163, 120, 0.4);
    border-top-color: var(--accent-gold);
}

/* Specific Dimension colors for icons when active/highlighted */
.program-node[data-connects="body"].active .program-icon-wrap,
.program-node[data-connects="body"].highlight .program-icon-wrap {
    background-color: rgba(110, 138, 115, 0.1);
    border-color: #6E8A73;
    color: #6E8A73;
}

.program-node[data-connects="mind"].active .program-icon-wrap,
.program-node[data-connects="mind"].highlight .program-icon-wrap {
    background-color: rgba(76, 104, 117, 0.1);
    border-color: #4C6875;
    color: #4C6875;
}

.program-node[data-connects*="body"][data-connects*="mind"]:not([data-connects*="spirit"]).active .program-icon-wrap,
.program-node[data-connects*="body"][data-connects*="mind"]:not([data-connects*="spirit"]).highlight .program-icon-wrap {
    background-color: var(--bg-sage-light);
    border-color: var(--primary-brand);
    color: var(--primary-brand);
}

.program-node[data-connects*="mind"][data-connects*="spirit"]:not([data-connects*="body"]).active .program-icon-wrap,
.program-node[data-connects*="mind"][data-connects*="spirit"]:not([data-connects*="body"]).highlight .program-icon-wrap {
    background-color: var(--bg-sage-light);
    border-color: var(--primary-brand);
    color: var(--primary-brand);
}

.program-node[data-connects="spirit"].active .program-icon-wrap,
.program-node[data-connects="spirit"].highlight .program-icon-wrap {
    background-color: rgba(147, 128, 178, 0.1);
    border-color: #9380b2;
    color: #9380b2;
}

.program-node[data-connects="body,mind,spirit"].active .program-icon-wrap,
.program-node[data-connects="body,mind,spirit"].highlight .program-icon-wrap {
    background-color: rgba(194, 163, 120, 0.15);
    border-color: var(--accent-gold);
    color: var(--accent-gold-dark);
}

/* Inactive / Dimmed States */
.eco-node.inactive,
.program-node.inactive {
    opacity: 0.25;
    filter: grayscale(30%) blur(0.3px);
}

.eco-footer-caption {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-style: italic;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Desktop Arc Layout Flow for Program Cards */
@media (min-width: 992px) {
    .ecosystem-programs {
        margin-bottom: 95px;
    }

    .ecosystem-programs::before {
        top: -75px;
        height: 200px;
        border-radius: 50%;
        border-bottom: 1.5px dashed var(--border-muted);
        border-left: none;
        border-right: none;
        border-top: none;
    }

    .program-node:nth-child(1),
    .program-node:nth-child(6) {
        transform: translateY(0px);
    }

    .program-node:nth-child(2),
    .program-node:nth-child(5) {
        transform: translateY(60px);
    }

    .program-node:nth-child(3),
    .program-node:nth-child(4) {
        transform: translateY(100px);
    }

    /* Preserve arc layout transforms during hover / active states */
    .program-node:nth-child(1).active,
    .program-node:nth-child(1).highlight,
    .program-node:nth-child(6).active,
    .program-node:nth-child(6).highlight {
        transform: translateY(-6px) scale(1.02);
    }

    .program-node:nth-child(2).active,
    .program-node:nth-child(2).highlight,
    .program-node:nth-child(5).active,
    .program-node:nth-child(5).highlight {
        transform: translateY(54px) scale(1.02);
    }

    .program-node:nth-child(3).active,
    .program-node:nth-child(3).highlight,
    .program-node:nth-child(4).active,
    .program-node:nth-child(4).highlight {
        transform: translateY(94px) scale(1.02);
    }
}

/* Responsive Media Queries */
@media (max-width: 1200px) {
    .focus-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .formats-grid-5 {
        grid-template-columns: repeat(3, 1fr);
    }

    .ecosystem-programs {
        gap: 0.75rem;
    }

    .program-node {
        padding: 1.25rem 0.5rem;
    }

    .program-node-title {
        font-size: 0.88rem;
    }

    .program-node-summary {
        font-size: 0.72rem;
    }
}

@media (max-width: 1024px) {
    .programs-index-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 991px) {
    .assessment-split-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .assessment-illustration-side {
        order: 2;
    }

    .assessment-content-side {
        order: 1;
    }

    .ecosystem-canvas-wrap {
        width: 420px;
        height: 420px;
        margin: 0 auto 8rem auto;
    }

    .ecosystem-canvas {
        transform: scale(0.9);
        width: 420px;
        height: 420px;
    }

    .node-dimension {
        width: 150px;
        height: 150px;
    }
    .node-mind {
        left: 210px;
    }
    .node-body {
        left: 10px;
        top: 275px;
    }
    .node-spirit {
        right: 10px;
        top: 275px;
    }
    .node-center {
        width: 210px;
        height: 210px;
        left: 210px;
        top: 210px;
    }

    .node-dimension .dimension-name {
        font-size: 1rem;
    }

    .node-dimension .dimension-desc {
        font-size: 0.75rem;
    }

    .node-center .node-title {
        font-size: 0.9rem;
    }

    .node-center .node-subtitle {
        font-size: 0.8rem;
    }

    .ecosystem-programs {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }

    .ecosystem-programs::before {
        display: none;
    }

    .programs-reference-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3.5rem 1.5rem;
    }
}

@media (max-width: 768px) {
    .programs-index-grid {
        grid-template-columns: 1fr;
    }

    .focus-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .formats-grid-5 {
        grid-template-columns: repeat(2, 1fr);
    }

    .ecosystem-programs {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.25rem;
    }
}

@media (max-width: 576px) {
    .ecosystem-canvas-wrap {
        width: 310px;
        height: 310px;
        margin-bottom: 7rem;
    }

    .ecosystem-canvas {
        transform: scale(0.9);
        width: 320px;
        height: 320px;
    }

    .node-dimension {
        width: 100px;
        height: 100px;
        left: 155px;
    }

    .node-center {
        width: 170px;
        height: 170px;
        left: 155px;
        top: 160px;
    }
    .node-body {
        left: 20px;
        top: 205px;
    }
    .node-spirit {
        left: unset;
        right: 20px;
        top: 205px
    }
    .node-dimension .dimension-name {
        font-size: 0.85rem;
    }

    .node-dimension .dimension-desc {
        display: none;
    }

    .node-center .node-title {
        font-size: 0.8rem;
    }

    .node-center .node-subtitle {
        font-size: 0.7rem;
    }

    .node-dimension .node-icon {
        width: 20px;
        height: 20px;
        margin-bottom: 2px;
    }

    .ecosystem-programs {
        display: grid;
        flex-direction: column;
        gap: 1rem;
        grid-template-columns: repeat(2, 1fr);
    }

    .program-node {
        flex-direction: row;
        text-align: left;
        align-items: flex-start;
        padding: .5rem 1.25rem;
        display: block;
    }

    .program-icon-wrap {
        margin-bottom: .70rem;
        margin-right: 0;
        flex-shrink: 0;
    }

    .program-node-info {
        margin-top: 0;
    }

    .eco-footer-caption {
        font-size: 1.1rem;
    }

    .programs-reference-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem 1rem;
    }
}

@media (max-width: 480px) {
    .focus-grid {
        grid-template-columns: 1fr;
    }

    .formats-grid-5 {
        grid-template-columns: 1fr;
    }
}