:root {
    --navy: #0f2a44;
    --navy-2: #173e60;
    --blue: #3db3e8;
    --blue-dark: #0789c6;
    --gold: #c9a24a;
    --beige: #f7f3ea;
    --sky: #e7f1fb;
    --text: #1f2933;
    --muted: #64748b;
    --line: #e1e9f0;
    --white: #fff;
    --shadow: 0 18px 44px rgba(15,42,68,.1)
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: #fff;
    color: var(--text);
    font-family: Inter,Arial,sans-serif;
    line-height: 1.6
}

a {
    color: inherit;
    text-decoration: none
}

button,input,select {
    font: inherit
}

img {
    display: block;
    max-width: 100%
}

.wrap {
    width: min(1180px,92%);
    margin: auto
}

.section {
    padding: 76px 0
}

.section-soft {
    background: var(--beige)
}

.section-sky {
    background: var(--sky)
}

.center {
    text-align: center
}

.eyebrow {
    color: var(--blue-dark);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .11em;
    text-transform: uppercase
}

.display,.title {
    color: var(--navy);
    font-family: "Playfair Display",Georgia,serif;
    line-height: 1.05
}

.display {
    max-width: 880px;
    margin: 12px 0 18px;
    font-size: clamp(40px,5.2vw,68px)
}

.title {
    margin: 8px 0 14px;
    font-size: clamp(31px,4vw,48px)
}

.lead {
    max-width: 760px;
    color: var(--muted);
    font-size: 17px
}

.center .lead {
    margin-left: auto;
    margin-right: auto
}

.card {
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(15,42,68,.06)
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 13px 20px;
    font-weight: 900;
    cursor: pointer
}

.button-primary {
    background: var(--blue);
    color: #fff;
    box-shadow: 0 10px 24px rgba(61,179,232,.26)
}

.button-secondary {
    border-color: #d4e0e9;
    background: #fff;
    color: var(--navy)
}

.button-dark {
    background: var(--navy);
    color: #fff
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 11px;
    margin-top: 25px
}

.chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px
}

.chip {
    border-radius: 999px;
    padding: 7px 11px;
    background: var(--sky);
    color: var(--navy);
    font-size: 11px;
    font-weight: 850
}

.hidden {
    display: none!important
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--navy);
    box-shadow: 0 7px 26px rgba(4,19,34,.22)
}

.site-header nav {
    background-image: linear-gradient(90deg,rgba(15,42,68,.97),rgba(15,42,68,.84)),var(--nav-image);
    background-position: center 42%;
    background-size: cover
}

.nav-inner,.footer-inner {
    width: min(1260px,94%);
    margin: auto
}

.nav-inner {
    display: flex;
    align-items: center;
    gap: 18px;
    min-height: 88px
}

.brand {
    display: flex;
    flex: none;
    align-items: center
}

.brand-logo {
    width: 92px;
    height: 60px;
    object-fit: contain;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,.2))
}

.menu-button {
    display: none;
    margin-left: auto;
    border: 1px solid rgba(255,255,255,.4);
    border-radius: 10px;
    padding: 9px 12px;
    background: rgba(255,255,255,.1);
    color: #fff;
    font-weight: 850
}

.main-links {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-left: auto;
    font-size: 13px;
    font-weight: 780
}

.main-links>a,.dropdown>summary {
    padding: 9px 0;
    color: rgba(255,255,255,.9);
    cursor: pointer;
    list-style: none;
    white-space: nowrap
}

.dropdown>summary::-webkit-details-marker {
    display: none
}

.main-links [aria-current="page"] {
    color: #fff;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 7px
}

.dropdown {
    position: relative
}

.dropdown-panel {
    position: absolute;
    top: calc(100% + 14px);
    left: -18px;
    width: 290px;
    padding: 9px;
    border: 1px solid var(--line);
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 20px 45px rgba(15,42,68,.18)
}

.dropdown-panel a {
    display: block;
    padding: 11px 12px;
    border-radius: 10px;
    color: #26384a
}

.dropdown-panel a:hover {
    background: var(--sky)
}

.dropdown-panel small {
    display: block;
    color: #758394;
    font-size: 10px;
    font-weight: 500
}

.account {
    border: 1px solid rgba(255,255,255,.45);
    border-radius: 999px;
    padding: 9px 13px!important;
    background: rgba(255,255,255,.1)
}

.placement {
    border-radius: 999px;
    padding: 10px 15px!important;
    background: var(--blue);
    color: #fff!important
}

.program-tabs {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 24px;
    padding: 6px;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    backdrop-filter: blur(8px)
}

.program-tabs a {
    border-radius: 999px;
    padding: 8px 13px;
    color: rgba(255,255,255,.75);
    font-size: 11px;
    font-weight: 900
}

.program-tabs a[aria-current="page"] {
    background: #fff;
    color: var(--navy)
}

.site-footer {
    padding: 50px 0 20px;
    background: var(--navy);
    color: #fff
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.55fr repeat(4,1fr);
    gap: 28px
}

.site-footer h3 {
    margin: 0 0 10px;
    font-size: 14px
}

.site-footer p,.site-footer a {
    display: block;
    margin: 4px 0;
    color: rgba(255,255,255,.7);
    font-size: 12px;
    line-height: 1.75
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    margin-top: 28px;
    padding-top: 17px;
    border-top: 1px solid rgba(255,255,255,.13);
    color: rgba(255,255,255,.58);
    font-size: 11px
}

.faq {
    display: grid;
    gap: 10px;
    max-width: 900px;
    margin: 30px auto 0;
    text-align: left
}

.faq details {
    padding: 18px 20px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff
}

.faq summary {
    color: var(--navy);
    font-weight: 900;
    cursor: pointer
}

.faq p {
    margin: 9px 0 0;
    color: var(--muted);
    font-size: 13px
}

.final-cta {
    padding: 68px 0;
    background: linear-gradient(135deg,var(--navy),var(--navy-2));
    color: #fff
}

.final-cta .title {
    color: #fff
}

.final-cta .lead {
    color: rgba(255,255,255,.72)
}

@media(max-width: 1080px) {
    .nav-inner {
        flex-wrap:wrap;
        min-height: 70px;
        padding: 9px 0
    }

    .menu-button {
        display: block
    }

    .main-links {
        display: none;
        width: 100%;
        margin: 0;
        padding: 10px;
        flex-direction: column;
        align-items: stretch;
        gap: 3px;
        border-top: 1px solid rgba(255,255,255,.17);
        background: rgba(7,28,48,.44)
    }

    .main-links.open {
        display: flex
    }

    .main-links>a,.dropdown>summary {
        padding: 9px
    }

    .dropdown {
        width: 100%
    }

    .dropdown-panel {
        position: static;
        width: 100%;
        margin-top: 4px;
        box-shadow: none
    }

    .account,.placement {
        text-align: center
    }

    .footer-grid {
        grid-template-columns: 1.4fr repeat(2,1fr)
    }
}

@media(max-width: 700px) {
    .section {
        padding:56px 0
    }

    .display {
        font-size: 41px
    }

    .title {
        font-size: 34px
    }

    .actions {
        display: grid
    }

    .actions .button {
        width: 100%
    }

    .program-tabs {
        display: grid;
        grid-template-columns: repeat(3,1fr);
        width: 100%;
        text-align: center
    }

    .footer-grid {
        grid-template-columns: 1fr
    }

    .footer-bottom {
        flex-direction: column
    }

    .brand-logo {
        width: 78px;
        height: 52px
    }
}

.teacher-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 22px
}

.teacher-photo {
    height: 245px;
    background: linear-gradient(135deg,#DCEBFA,var(--navy));
    display: grid;
    place-items: center;
    position: relative;
    color: #fff;
    font-size: 58px;
    overflow: hidden
}

.teacher-photo>img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block
}

.teacher-card {
    position: relative
}

.teacher-card .badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: #fff;
    color: var(--navy);
    border-radius: 999px;
    padding: 7px 11px;
    font-size: 12px;
    font-weight: 900
}

.teacher-card .card-body {
    padding: 22px
}

.teacher-card .rating {
    color: var(--gold);
    font-weight: 900;
    font-size: 14px
}

.teacher-card .name-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start
}

.teacher-card .role {
    font-size: 14px;
    color: var(--muted);
    font-weight: 700
}

.teacher-card .chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 16px 0
}

.teacher-card .outcomes {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 14px 0;
    margin: 14px 0
}

.teacher-card .outcomes b {
    display: block;
    color: var(--navy);
    margin-bottom: 6px
}

.teacher-card .outcomes span {
    display: block;
    color: var(--muted);
    font-size: 13px;
    margin: 5px 0
}

.teacher-card .card-actions {
    display: flex;
    align-items: center;
    gap: 8px
}

.teacher-card .card-actions .btn {
    flex: 1;
    min-height: 42px;
    border-radius: 13px;
    padding: 9px 12px;
    font-size: 12px;
    line-height: 1.2;
    box-shadow: none
}

.teacher-card .card-actions .btn-primary {
    background: var(--navy);
    color: #fff;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media(max-width: 900px) {
    .teacher-grid {
        grid-template-columns:1fr
    }
}

.kc-student-reviews {
    background: #fff
}

.testimonials {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 20px
}

.testimonials .quote {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 10px 25px rgba(15,42,68,.06)
}

.testimonials .quote .stars {
    color: var(--gold);
    letter-spacing: 2px;
    display: block;
    margin-bottom: 10px
}

.testimonials .quote p {
    color: var(--muted)
}

.testimonials .quote b {
    display: block;
    margin-top: 10px;
    color: var(--navy)
}

@media(max-width: 900px) {
    .testimonials {
        grid-template-columns:1fr
    }
}

.program-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 20px;
    margin-top: 36px
}

.program {
    padding: 28px
}

.program b {
    color: #0789c6;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .08em
}

.program h3 {
    font: 800 28px "Playfair Display",serif;
    color: var(--navy);
    margin: 10px 0
}

.program p {
    color: var(--muted);
    font-size: 13px
}

.rich-text {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.8
}

.rich-text h2,.rich-text h3 {
    color: var(--navy);
    margin: 22px 0 10px
}

.rich-text h2:first-child,.rich-text h3:first-child {
    margin-top: 0
}

.rich-text p {
    margin: 0 0 14px
}

.rich-text ul,.rich-text ol {
    margin: 0 0 14px;
    padding-left: 20px
}

.rich-text li {
    margin: 6px 0
}

.rich-text a {
    color: var(--blue);
    text-decoration: underline
}

.rich-text strong {
    color: var(--navy)
}

@media(max-width: 900px) {
    .program-grid {
        grid-template-columns:1fr
    }
}

/* Button rows under centered section headings (Read More buttons on post-type sections). */
.center>.actions,.center.actions{
    justify-content: center
}
