:root {
    --navy: #0b2343;
    --navy2: #061a33;
    --ivory: #fbf7ef;
    --white: #fff;
    --gold: #d99a25;
    --coral: #db6047;
    --ink: #10213b;
    --muted: #5f6875;
    --line: #e7ded0;
    --shadow: 0 10px 30px rgba(11, 35, 67, .1);
    --radius: 14px;
    --container: 1180px
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--ivory);
    font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
    line-height: 1.55
}

body.menu-open {
    overflow: hidden
}

img {
    max-width: 100%;
    height: auto
}

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

h1,
h2,
h3,
p {
    margin-top: 0
}

h1,
h2,
h3 {
    font-family: Georgia, "Times New Roman", serif;
    line-height: 1.12
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.65rem);
    letter-spacing: -.04em;
    margin-bottom: 20px
}

h2 {
    font-size: clamp(2rem, 3vw, 3rem);
    letter-spacing: -.025em
}

h3 {
    font-size: 1.55rem
}

.container {
    width: min(calc(100% - 40px), var(--container));
    margin-inline: auto
}

.section-pad {
    padding: 72px 0
}

.screen-reader-text,
.skip-link {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0
}

.skip-link:focus {
    clip: auto;
    width: auto;
    height: auto;
    margin: 0;
    padding: 10px;
    z-index: 99999;
    background: #fff
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: .14em;
    font-size: .75rem;
    font-weight: 800;
    color: var(--gold);
    margin-bottom: 14px
}

.section-title {
    text-align: center;
    margin-bottom: 34px
}

.lead {
    font-size: 1.08rem;
    max-width: 570px
}

.gold-line {
    display: block;
    width: 58px;
    height: 3px;
    background: var(--gold);
    margin: 0 0 20px
}

.site-header {
    height: 82px;
    background: rgba(251, 247, 239, .96);
    position: relative;
    z-index: 1000;
    border-bottom: 1px solid transparent;
    transition: box-shadow .25s, border-color .25s, transform .25s
}

.site-header.is-sticky {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    box-shadow: 0 7px 24px rgba(11, 35, 67, .12);
    border-color: var(--line);
    animation: headerIn .25s ease
}

.admin-bar .site-header.is-sticky {
    top: 32px
}

.header-spacer {
    height: 82px
}

@keyframes headerIn {
    from {
        transform: translateY(-100%)
    }

    to {
        transform: none
    }
}

.header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: Georgia, serif;
    font-size: 1.7rem;
    font-weight: 700;
    white-space: nowrap
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    color: var(--navy);
    font-size: 2.2rem
}

.custom-logo {
    max-height: 56px;
    width: auto
}

.custom-logo-link {
    display: flex
}

.primary-nav {
    display: flex;
    align-items: center;
    gap: 30px
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 28px;
    padding: 0;
    margin: 0
}

.nav-list a {
    font-size: .9rem;
    font-weight: 600
}

.nav-list a:hover {
    color: var(--gold)
}

.header-actions {
    display: flex;
    gap: 12px
}

.menu-toggle {
    display: none;
    background: none;
    border: 0;
    padding: 9px
}

.menu-toggle>span:not(.screen-reader-text) {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--navy);
    margin: 5px
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 11px 22px;
    border: 1px solid var(--navy);
    border-radius: 6px;
    font-weight: 700;
    transition: background .2s, color .2s, border-color .2s, transform .2s
}

.btn:hover {
    transform: translateY(-2px)
}

.btn-primary {
    background: var(--navy);
    color: #fff
}

.btn-primary:hover {
    background: #fff;
    color: var(--navy)
}

.btn-outline {
    background: #fff;
    color: var(--navy)
}

.btn-outline:hover {
    background: var(--navy);
    color: #fff
}

.btn-small {
    min-height: 40px;
    padding: 8px 16px;
    font-size: .82rem
}

.btn-large {
    min-height: 52px;
    padding: 13px 23px
}

.btn-gold {
    background: var(--gold);
    border-color: var(--gold);
    color: #fff
}

.btn-gold:hover {
    background: #fff;
    color: var(--navy);
    border-color: #fff
}

.button-row {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 25px
}

.text-link {
    font-weight: 750;
    color: var(--navy)
}

.text-link:hover {
    color: var(--gold)
}

.gold-text {
    color: #ae7111
}

.hero {
    padding-top: 45px;
    background: radial-gradient(circle at 80% 10%, #fff 0, transparent 35%), var(--ivory)
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1.18fr;
    gap: 55px;
    align-items: center
}

.hero-media {
    height: 390px;
    border-radius: var(--radius);
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow)
}

.media-placeholder {
    background: linear-gradient(135deg, #d8d0c2, #f5ede0 47%, #9aa4ae)
}

.hero-media.media-placeholder:before,
.hero-media.media-placeholder:after {
    content: "";
    position: absolute;
    width: 47%;
    height: 78%;
    bottom: 44px;
    border-radius: 120px 120px 0 0;
    background: linear-gradient(#d7a076, #173c63);
    opacity: .85
}

.hero-media.media-placeholder:before {
    left: 3%
}

.hero-media.media-placeholder:after {
    right: 3%;
    background: linear-gradient(#b87551, #eee0ce)
}

.hero-media:after {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 44px;
    border-left: 3px solid var(--ivory)
}

.video-label {
    position: absolute;
    bottom: 54px;
    z-index: 2;
    background: rgba(6, 26, 51, .78);
    color: #fff;
    padding: 5px 9px;
    border-radius: 5px;
    font-size: .75rem
}

.video-label.teacher {
    left: 12px
}

.video-label.student {
    left: 52%
}

.video-controls {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 46px;
    background: var(--navy);
    z-index: 3;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px
}

.video-controls span {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    background: #3b4d64;
    border-radius: 50%
}

.video-controls .hangup {
    background: var(--coral)
}

.platform-note {
    font-size: .77rem;
    color: var(--muted);
    margin-top: 13px
}

.stats {
    margin-top: 34px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 18px 25px
}

.stat {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    border-right: 1px solid var(--line)
}

.stat:last-child {
    border: 0
}

.stat-icon {
    font-size: 2rem;
    color: var(--gold)
}

.stat p {
    margin: 0
}

.stat strong {
    font-family: Georgia, serif;
    font-size: 1.65rem;
    display: block
}

.stat small {
    display: block;
    color: var(--muted)
}

.courses {
    padding-top: 18px
}

.course-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px
}

.course-card {
    display: grid;
    grid-template-columns: 46% 54%;
    min-height: 220px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden
}

.course-image {
    position: relative;
    background-size: cover;
    background-position: center
}

.course-image-en.media-placeholder {
    background: linear-gradient(145deg, #8bb8d0, #e7cfa5 55%, #294a6d)
}

.course-image-de.media-placeholder {
    background: linear-gradient(145deg, #87a9c6, #e1b367 60%, #354253)
}

.chat-badge {
    position: absolute;
    right: -23px;
    top: 50%;
    transform: translateY(-50%);
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--navy);
    color: #fff;
    font-size: 1.7rem;
    border: 5px solid white
}

.chat-badge.gold {
    background: var(--gold)
}

.course-copy {
    padding: 38px 34px 30px 48px;
    display: flex;
    flex-direction: column;
    align-items: flex-start
}

.course-copy h3 {
    font-size: 2rem;
    margin-bottom: 10px
}

.course-copy p {
    color: var(--muted);
    flex: 1
}

.team {
    background: #fff
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 32px
}

.section-heading h2 {
    margin: 0
}

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

.team-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--ivory);
    overflow: hidden;
    transition: transform .2s, box-shadow .2s
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow)
}

.team-card img,
.person-placeholder {
    width: 100%;
    height: 290px;
    object-fit: cover
}

.person-placeholder {
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, #e6d9c7, #a7b2bd);
    font-family: Georgia, serif;
    font-size: 3rem;
    color: #fff
}

.team-card-copy {
    padding: 21px
}

.team-card-copy h3 {
    margin-bottom: 8px
}

.team-card-copy p {
    color: var(--muted)
}

.team-role {
    font-size: .72rem !important;
    color: var(--gold) !important;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-weight: 800
}

.team-mobile-link {
    display: none;
    text-align: center;
    margin-top: 25px
}

.how {
    background: var(--ivory)
}

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

.step {
    text-align: center;
    padding: 15px 50px;
    position: relative;
    border-right: 1px solid var(--line)
}

.step:last-child {
    border: 0
}

.step-number {
    display: grid;
    place-items: center;
    margin: 0 auto 15px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--navy);
    color: #fff;
    font-weight: 800
}

.step-icon {
    display: block;
    color: var(--gold);
    font-size: 3.5rem;
    line-height: 1
}

.step h3 {
    margin: 16px 0 9px
}

.step p {
    color: var(--muted);
    font-size: .93rem
}

.centered {
    text-align: center;
    margin-top: 20px
}

.story-review {
    padding-top: 25px
}

.story-review-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 25px
}

.founder-card,
.review-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 25px
}

.founder-card {
    display: grid;
    grid-template-columns: 190px 1fr;
    gap: 27px;
    align-items: center
}

.founder-image {
    height: 230px;
    background-size: cover;
    background-position: top;
    border-radius: 9px
}

.founder-image.person-placeholder {
    height: 230px
}

.founder-card h2,
.review-card h2 {
    font-size: 1.7rem
}

.review-card {
    position: relative;
    padding-left: 65px
}

.quote {
    position: absolute;
    left: 22px;
    top: 15px;
    color: var(--gold);
    font-family: Georgia, serif;
    font-size: 4rem
}

.review-card blockquote {
    margin: 20px 0
}

.review-card small {
    display: block;
    color: var(--muted)
}

.final-cta {
    background: var(--navy);
    color: #fff;
    padding: 34px 0
}

.final-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px
}

.final-cta h2 {
    margin-bottom: 5px
}

.final-cta p {
    margin-bottom: 0
}

.cta-note {
    font-size: .7rem;
    margin-top: 7px !important;
    text-align: center;
    color: #ccd4de
}

.site-footer {
    background: var(--navy2);
    color: #fff;
    padding-top: 42px
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.45fr .65fr 1fr 1fr 1.2fr;
    gap: 32px
}

.brand-light {
    color: #fff;
    font-size: 1.3rem
}

.brand-light .brand-mark {
    color: var(--gold)
}

.footer-grid h3 {
    font-family: inherit;
    font-size: .9rem;
    margin: 0 0 15px
}

.footer-grid p,
.footer-grid a {
    display: block;
    color: #ccd4de;
    font-size: .82rem;
    margin: 0 0 9px
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0
}

.footer-bottom {
    border-top: 1px solid #34465e;
    margin-top: 34px;
    padding: 16px 0;
    display: flex;
    justify-content: space-between;
    font-size: .72rem;
    color: #aeb8c6
}

.content-default {
    min-height: 55vh;
    padding: 70px 0
}

@media(max-width:1050px) {
    .primary-nav {
        gap: 14px
    }

    .nav-list {
        gap: 16px
    }

    .header-actions .btn:first-child {
        display: none
    }

    .hero-grid {
        gap: 28px
    }

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

@media(max-width:820px) {
    .admin-bar .site-header.is-sticky {
        top: 46px
    }

    .container {
        width: min(calc(100% - 28px), var(--container))
    }

    .section-pad {
        padding: 52px 0
    }

    .site-header {
        height: 72px
    }

    .header-spacer {
        height: 72px
    }

    .menu-toggle {
        display: block
    }

    .primary-nav {
        display: none;
        position: fixed;
        left: 0;
        right: 0;
        top: 72px;
        height: calc(100vh - 72px);
        background: var(--ivory);
        padding: 30px 22px;
        overflow: auto
    }

    .admin-bar .primary-nav {
        top: 118px
    }

    .primary-nav.is-open {
        display: block
    }

    .nav-list {
        display: block
    }

    .nav-list li {
        border-bottom: 1px solid var(--line)
    }

    .nav-list a {
        display: block;
        padding: 16px 4px;
        font-size: 1.05rem
    }

    .header-actions {
        display: grid;
        margin-top: 25px
    }

    .header-actions .btn:first-child {
        display: flex
    }

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

    .hero-copy {
        text-align: center
    }

    .hero-copy .gold-line {
        margin-inline: auto
    }

    .hero-copy .lead {
        margin-inline: auto
    }

    .button-row {
        justify-content: center
    }

    .hero-media {
        height: 360px
    }

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

    .stat {
        border-bottom: 1px solid var(--line);
        padding: 15px;
        border-right: 1px solid var(--line)
    }

    .stat:nth-child(2) {
        border-right: 0
    }

    .stat:nth-child(3),
    .stat:nth-child(4) {
        border-bottom: 0
    }

    .course-card {
        grid-template-columns: 1fr;
        position: relative
    }

    .course-image {
        height: 260px
    }

    .course-copy {
        position: absolute;
        left: 12px;
        right: 12px;
        bottom: 12px;
        padding: 20px 22px;
        background: rgba(255, 255, 255, .94);
        border-radius: 10px;
        min-height: 135px
    }

    .course-copy p {
        margin-bottom: 8px
    }

    .chat-badge {
        right: 15px;
        top: auto;
        bottom: 122px;
        transform: none;
        z-index: 2
    }

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

    .team-grid .team-card:nth-child(3) {
        display: none
    }

    .section-heading>.btn {
        display: none
    }

    .team-mobile-link {
        display: block
    }

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

    .step {
        border-right: 0;
        border-bottom: 1px solid var(--line);
        padding: 25px
    }

    .story-review-grid {
        grid-template-columns: 1fr
    }

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

    .final-cta-inner {
        text-align: center;
        flex-direction: column
    }
}

@media(max-width:560px) {
    h1 {
        font-size: 2.55rem
    }

    .brand {
        font-size: 1.35rem
    }

    .brand-mark {
        width: 34px;
        height: 34px
    }

    .hero {
        padding-top: 25px
    }

    .hero-media {
        height: 310px
    }

    .stats {
        padding: 8px
    }

    .stat {
        justify-content: flex-start;
        gap: 8px
    }

    .stat-icon {
        font-size: 1.5rem
    }

    .stat strong {
        font-size: 1.25rem
    }

    .stat small {
        font-size: .68rem
    }

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

    .course-image {
        height: 330px
    }

    .course-copy {
        min-height: 145px
    }

    .chat-badge {
        bottom: 134px
    }

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

    .team-grid .team-card:nth-child(3) {
        display: block
    }

    .founder-card {
        grid-template-columns: 1fr
    }

    .founder-image {
        height: 270px
    }

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

    .footer-bottom {
        gap: 12px;
        flex-direction: column
    }

    .button-row {
        display: grid
    }

    .button-row .btn {
        width: 100%
    }
}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto
    }

    *,
    *:before,
    *:after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important
    }
}

@media (max-width: 480px){
    .page-id-9 .hero-copy h1{
        font-size: 2.25rem !important;
        line-height: 1.25 !important;;
    }
    .on-about-hero__copy h1{
        font-size: 2.25rem !important;
        line-height: 1.25 !important;;
    }
    .teachers-hero h1{
        font-size: 2.25rem !important;
        line-height: 1.25 !important;;
    }
    .onc-hero__grid h1{
        font-size: 2.25rem !important;
        line-height: 1.25 !important;;
    }
    .on-pricing-hero__copy h1{
        font-size: 2.25rem !important;
        line-height: 1.25 !important;;
    }
}