.programs-shell {
    margin: 0 auto;
    max-width: 1180px;
    padding: 0 1.5rem;
}

.programs-hero {
    background: #f8f4ee;
    border-bottom: 1px solid rgba(155, 125, 85, 0.16);
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 4.75rem 0 5rem;
}

.programs-kicker {
    color: #7d6a4f;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.programs-main-title {
    color: #2f3b36;
    font-size: clamp(2.8rem, 6vw, 5.4rem);
    font-weight: 700;
    letter-spacing: -0.05em;
    line-height: 1.02;
    margin-bottom: 1.75rem;
    max-width: 13ch;
}

.programs-main-copy {
    color: #6f625b;
    font-size: clamp(1.08rem, 1.6vw, 1.32rem);
    line-height: 1.75;
    margin-bottom: 0;
    max-width: 720px;
}

.program-story-section {
    background: #f8f4ee;
    border-bottom: 1px solid rgba(155, 125, 85, 0.16);
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 4.5rem 0;
}

.program-how-section,
.program-classes-section {
    background: #f4ede5;
    border-bottom: 1px solid rgba(155, 125, 85, 0.16);
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 4.5rem 0;
}

.program-classes-section {
    background: #f8f4ee;
}

.program-section-header {
    margin-bottom: 2.5rem;
    max-width: 760px;
}

.program-section-header h2 {
    color: #2f3b36;
    font-size: clamp(2rem, 3.8vw, 3.15rem);
    font-weight: 700;
    letter-spacing: -0.05em;
    line-height: 1.08;
    margin-bottom: 1rem;
}

.program-section-header p:not(.programs-kicker) {
    color: #6f625b;
    font-size: 1.08rem;
    line-height: 1.75;
    margin-bottom: 0;
}

.program-steps-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.program-step-card,
.program-class-card {
    background: rgba(255, 252, 248, 0.9);
    border: 1px solid rgba(155, 125, 85, 0.14);
    border-radius: 1.5rem;
    box-shadow: 0 18px 40px rgba(84, 66, 47, 0.08);
    padding: 1.8rem;
}

.program-step-number {
    align-items: center;
    background: #9b7d55;
    border-radius: 999px;
    color: #fff8f0;
    display: inline-flex;
    font-size: 0.95rem;
    font-weight: 700;
    height: 2.5rem;
    justify-content: center;
    margin-bottom: 1.25rem;
    width: 2.5rem;
}

.program-step-card h3,
.program-class-card h3 {
    color: #433c37;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.85rem;
}

.program-step-card p,
.program-class-card p {
    color: #6f625b;
    line-height: 1.7;
    margin-bottom: 0;
}

.program-class-layout {
    align-items: stretch;
    display: grid;
    gap: clamp(2rem, 5vw, 4rem);
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
}

.program-class-cards {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.program-class-card-wide {
    grid-column: 1 / -1;
}

.program-class-type {
    color: #9b7d55 !important;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    margin-bottom: 0.7rem !important;
    text-transform: uppercase;
}

.program-story-grid {
    align-items: center;
    display: grid;
    gap: clamp(2rem, 5vw, 4rem);
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.program-story-grid-reverse {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}

.program-story-image-wrap {
    background: #efe4d6;
    border-radius: 1.75rem;
    box-shadow: 0 24px 55px rgba(84, 66, 47, 0.12);
    min-height: 420px;
    overflow: hidden;
}

.program-story-image {
    display: block;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
    object-position: center;
    width: 100%;
}

.program-story-copy {
    max-width: 560px;
}

.program-story-copy h2,
.programs-enquiry-band h2 {
    color: #2f3b36;
    font-size: clamp(2rem, 3.8vw, 3.15rem);
    font-weight: 700;
    letter-spacing: -0.05em;
    line-height: 1.08;
    margin-bottom: 1.6rem;
}

.program-story-copy p:not(.programs-kicker),
.programs-enquiry-band p:not(.programs-kicker) {
    color: #6f625b;
    font-size: 1.08rem;
    line-height: 1.78;
    margin-bottom: 1.15rem;
}

.program-story-copy p:last-child,
.programs-enquiry-band p:last-child {
    margin-bottom: 0;
}

.programs-enquiry-section {
    background: #f8f4ee;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 4.5rem 0 5rem;
}

.programs-enquiry-band {
    align-items: center;
    background: #fffaf6;
    border: 1px solid rgba(155, 125, 85, 0.16);
    border-radius: 1.75rem;
    box-shadow: 0 20px 45px rgba(84, 66, 47, 0.08);
    display: flex;
    gap: 2rem;
    justify-content: space-between;
    padding: 2.5rem;
}

.programs-enquiry-band > div {
    max-width: 720px;
}

.programs-enquiry-button {
    background: #9b7d55;
    border-radius: 999px;
    color: #fff8f0;
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 1rem;
    font-weight: 600;
    padding: 0.95rem 2.3rem;
    text-decoration: none;
}

.programs-enquiry-button:hover,
.programs-enquiry-button:focus {
    background: #8c704c;
    color: #fff8f0;
}

@media (max-width: 991.98px) {
    .programs-hero,
    .program-story-section,
    .program-how-section,
    .program-classes-section,
    .programs-enquiry-section {
        padding-bottom: 3.5rem;
        padding-top: 3.5rem;
    }

    .programs-main-title {
        max-width: 15ch;
    }

    .program-story-grid,
    .program-story-grid-reverse,
    .program-class-layout,
    .program-steps-grid {
        grid-template-columns: 1fr;
    }

    .program-class-cards {
        grid-template-columns: 1fr;
    }

    .program-story-grid-reverse .program-story-copy {
        order: 2;
    }

    .program-story-grid-reverse .program-story-image-wrap {
        order: 1;
    }

    .program-story-copy {
        max-width: 100%;
    }

    .programs-enquiry-band {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 575.98px) {
    .programs-shell {
        padding: 0 1rem;
    }

    .programs-hero,
    .program-story-section,
    .program-how-section,
    .program-classes-section,
    .programs-enquiry-section {
        padding-bottom: 2.5rem;
        padding-top: 2.5rem;
    }

    .program-story-image-wrap,
    .program-story-image {
        min-height: 320px;
    }

    .programs-enquiry-band {
        border-radius: 1.35rem;
        padding: 1.5rem;
    }

    .program-step-card,
    .program-class-card {
        padding: 1.4rem;
    }

    .programs-enquiry-button {
        justify-content: center;
        width: 100%;
    }
}
