:root {
    --navy: #062f67;
    --navy-dark: #042653;
    --blue: #1668c7;
    --red: #f21f2f;
    --yellow: #ffc928;
    --green: #149967;
    --purple: #6845d6;
    --text: #082f63;
    --muted: #5f6e7f;
    --line: #e5eaf0;
    --soft: #f7f9fc;
    --white: #ffffff;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background: #fff;
    font-family: "Nunito Sans", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

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

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

button,
a {
    -webkit-tap-highlight-color: transparent;
}

.container {
    width: min(1180px, calc(100% - 44px));
    margin: 0 auto;
}

.site-header {
    position: relative;
    z-index: 50;
    background: #fff;
}

.header-inner {
    height: 104px;
    display: flex;
    align-items: center;
    gap: 34px;
}

.brand {
    width: 178px;
    margin-right: auto;
}

.brand img {
    width: 100%;
    height: 86px;
    object-fit: contain;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 31px;
    font-size: 13px;
    font-weight: 800;
}

.main-nav a {
    position: relative;
    padding: 14px 0;
}

.main-nav a.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 5px;
    width: 31px;
    height: 3px;
    border-radius: 3px;
    background: var(--red);
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 23px;
    color: #fff;
    background: var(--navy);
    border-radius: 30px;
    font-size: 13px;
    font-weight: 900;
}

.menu-button,
.mobile-nav {
    display: none;
}

.hero {
    position: relative;
    overflow: hidden;
    min-height: 575px;
}

.hero-grid {
    min-height: 575px;
    display: grid;
    grid-template-columns: 52% 48%;
    align-items: stretch;
}

.hero-copy {
    position: relative;
    z-index: 2;
    padding: 56px 0 30px 26px;
}

.hero-copy h1 {
    margin: 0;
    font-family: "Caveat", cursive;
    font-weight: 700;
    line-height: .92;
    transform: rotate(-1deg);
}

.hero-copy h1 span,
.hero-copy h1 strong {
    display: block;
}

.hero-copy h1 span {
    color: var(--navy);
    font-size: clamp(58px, 6vw, 86px);
}

.hero-copy h1 strong {
    margin-left: 18px;
    color: #1667c8;
    font-size: clamp(60px, 6.2vw, 90px);
}

.hero-topics {
    margin: 25px 0 29px 20px;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .06em;
}

.hero-topics i {
    padding: 0 8px;
    font-style: normal;
}

.hero-slogan {
    margin-left: 20px;
    color: #617080;
    font-size: 17px;
    line-height: 1.35;
}

.hero-slogan span {
    position: relative;
}

.hero-slogan span::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 108px;
    height: 3px;
    background: var(--red);
    transform: rotate(-2deg);
}

.hero-actions {
    display: flex;
    gap: 18px;
    margin: 34px 0 0 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    min-height: 50px;
    padding: 0 26px;
    border-radius: 28px;
    font-size: 13px;
    font-weight: 900;
}

.btn-red {
    color: #fff;
    background: var(--red);
    box-shadow: 0 8px 22px rgba(242, 31, 47, .2);
}

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

.spark-left {
    position: absolute;
    top: 46px;
    left: -4px;
    color: var(--yellow);
    font-size: 27px;
}

.hero-visual {
    position: relative;
    overflow: hidden;
    min-height: 575px;
}

.hero-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.paper-plane {
    position: absolute;
    right: 42px;
    bottom: 68px;
    color: var(--navy);
    font-size: 37px;
    transform: rotate(-27deg);
}

.flight-path {
    position: absolute;
    right: 92px;
    bottom: 28px;
    width: 165px;
    height: 85px;
    border-bottom: 3px dashed var(--navy);
    border-radius: 50%;
    transform: rotate(-11deg);
}

.programs {
    position: relative;
    padding: 58px 0 62px;
}

.section-kicker {
    color: var(--red);
    text-align: center;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .13em;
}

.section-title {
    margin: 7px 0 38px;
    text-align: center;
    color: var(--navy);
    font-size: clamp(31px, 3.4vw, 47px);
    line-height: 1.1;
    font-weight: 900;
}

.title-doodles {
    position: absolute;
    top: 65px;
    left: 50%;
    width: min(760px, 90%);
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.title-doodles span {
    color: var(--navy);
    font-size: 42px;
    font-weight: 900;
    transform: rotate(20deg);
}

.program-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.program-card {
    overflow: hidden;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(16, 48, 82, .12);
}

.program-card img {
    width: 100%;
    aspect-ratio: 1.1 / 1;
    object-fit: cover;
}

.program-card > div {
    position: relative;
    min-height: 90px;
    padding: 15px 42px 14px 14px;
}

.program-card h3 {
    margin: 0;
    font-size: 15px;
    line-height: 1.25;
    font-weight: 900;
}

.program-card a,
.more-grid a {
    position: absolute;
    right: 12px;
    bottom: 15px;
    width: 31px;
    height: 31px;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--blue);
    border-radius: 50%;
    font-weight: 900;
}

.program-card a.navy { background: var(--navy); }
.program-card a.red, .more-grid a.red { background: var(--red); }
.program-card a.yellow { background: var(--yellow); }
.program-card a.purple, .more-grid a.purple { background: var(--purple); }
.more-grid a.green { background: var(--green); }

.why {
    padding: 0 0 10px;
}

.why-grid {
    display: grid;
    grid-template-columns: 43% 57%;
    align-items: stretch;
}

.why-brush {
    position: relative;
    z-index: 2;
    min-height: 370px;
    margin-left: -45px;
    padding: 58px 75px 46px 72px;
    color: #fff;
    background: var(--navy);
    /*clip-path: polygon(0 5%, 9% 2%, 18% 5%, 27% 1%, 39% 4%, 51% 0, 63% 4%, 74% 1%, 86% 5%, 100% 3%, 97% 14%, 100% 23%, 96% 34%, 100% 44%, 96% 55%, 100% 66%, 96% 76%, 99% 88%, 89% 91%, 76% 95%, 61% 94%, 48% 99%, 35% 96%, 22% 100%, 9% 96%, 0 98%);*/
}

/*
.why-brush::before,
.why-brush::after {
    content: "";
    position: absolute;
    left: 0px;
    width: 92%;
    height: 12px;
    background: var(--yellow);
    opacity: .95;
}

.why-brush::before {
    top: -5px;
    transform: rotate(-1.4deg);
}

.why-brush::after {
    bottom: -4px;
    transform: rotate(1.3deg);
}
*/
.why-brush h2 {
    margin: 0;
    font-family: "Caveat", cursive;
    font-size: 59px;
    line-height: 1;
}

.yellow-stroke {
    width: 190px;
    height: 7px;
    margin: 4px 0 8px;
    border-radius: 60% 40% 60% 40%;
    background: var(--yellow);
    transform: rotate(-7deg);
}

.why-brush h3 {
    margin: 0 0 28px 73px;
    font-size: 20px;
    line-height: 1.35;
}

.why-brush p {
    max-width: 390px;
    margin: 0 0 25px;
    color: rgba(255, 255, 255, .92);
    font-size: 14px;
    line-height: 1.65;
}

.why-brush a {
    display: inline-flex;
    gap: 18px;
    align-items: center;
    padding: 11px 19px;
    border: 1px solid #fff;
    border-radius: 24px;
    font-size: 12px;
    font-weight: 800;
}

.why-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.why-features article {
    min-height: 185px;
    padding: 24px 13px;
    text-align: center;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.feature-icon {
    min-height: 46px;
    color: var(--navy);
    font-size: 39px;
    line-height: 1;
}

.why-features h3 {
    margin: 8px 0 7px;
    font-size: 15px;
    line-height: 1.22;
    font-weight: 900;
}

.why-features p {
    margin: 0;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.35;
}

.stats {
    position: relative;
    padding: 20px 0 32px;
    overflow: hidden;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.stats-grid > div {
    min-height: 92px;
    display: grid;
    grid-template-columns: 45px 1fr;
    grid-template-rows: auto auto;
    align-content: center;
    padding: 0 35px;
    border-right: 1px solid var(--line);
}

.stats-grid > div:last-child {
    border-right: 0;
}

.stats-grid b {
    grid-row: 1 / 3;
    align-self: center;
    color: var(--navy);
    font-size: 31px;
}

.stats-grid strong {
    font-size: 22px;
    font-weight: 900;
}

.stats-grid span {
    color: var(--muted);
    font-size: 11px;
}

.stats-flight {
    position: absolute;
    right: 20px;
    bottom: 2px;
    color: var(--navy);
    font-size: 37px;
    transform: rotate(8deg);
}

.featured {
    padding: 58px 0 70px;
}

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

.course-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid #edf0f4;
    border-radius: 12px;
    box-shadow: 0 8px 22px rgba(13, 47, 81, .08);
}

.course-image {
    position: relative;
}

.course-image img {
    width: 100%;
    aspect-ratio: 1.35 / 1;
    object-fit: cover;
}

.round {
    position: absolute;
    right: 11px;
    bottom: -17px;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    color: #fff;
    border-radius: 50%;
    font-weight: 900;
}

.round.red { background: var(--red); }
.round.navy { background: var(--navy); }
.round.green { background: var(--green); }
.round.yellow { background: var(--yellow); }

.course-copy {
    min-height: 138px;
    padding: 22px 17px 18px;
}

.course-copy h3 {
    margin: 0 0 10px;
    font-size: 16px;
    line-height: 1.25;
    font-weight: 900;
}

.course-copy p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.45;
}

.summer {
    width: 100%;
    display: grid;
    grid-template-columns: 56% 44%;
    align-items: stretch;
    overflow: hidden;
    background: #fff;
}

.summer-photo {
    position: relative;
    z-index: 2;
    min-height: 460px;
}

.summer-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.summer-content {
    position: relative;
    min-height: 460px;
    margin-left: -35px;
    display: flex;
    align-items: center;
}

.summer-brush {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: fill;
    z-index: 0;
}

.summer-copy {
    position: relative;
    z-index: 1;
    padding: 60px 70px 60px 90px;
    color: #fff;
}

.summer-copy > span {
    display: block;
    margin-bottom: 12px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.summer-copy h2 {
    margin: 0 0 18px;
    font-size: 48px;
    line-height: 1.05;
    font-weight: 700;
}

.summer-copy p {
    margin: 0 0 30px;
    font-size: 20px;
    line-height: 1.55;
}

.summer-copy a {
    display: inline-flex;
    align-items: center;
    gap: 22px;
    padding: 14px 25px;
    border: 2px solid #fff;
    border-radius: 30px;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

.summer-copy a b {
    font-size: 18px;
}

.more-services {
    padding: 62px 0 70px;
}

.more-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.more-grid article {
    position: relative;
    min-height: 225px;
    padding: 30px 22px 50px;
    text-align: center;
    border: 1px solid #dfe5ec;
    border-radius: 9px;
    background: #fff;
}

.service-icon {
    min-height: 54px;
    font-size: 38px;
    line-height: 1;
}

.more-grid h3 {
    margin: 8px 0;
    font-size: 15px;
    line-height: 1.25;
    font-weight: 900;
}

.more-grid p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.45;
}

.more-grid a {
    left: 50%;
    right: auto;
    bottom: 17px;
    transform: translateX(-50%);
}

.gallery {
    position: relative;
    padding: 70px 0 80px;
    overflow: hidden;
}

.gallery h2 {
    margin: 0 0 32px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
}

.gallery-item {
    height: 190px;
    overflow: hidden;
    border-radius: 18px;
    background: #f3f4f6;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .35s ease;
}

.gallery-item:hover img {
    transform: scale(1.04);
}

.gallery-plane {
    position: absolute;
    right: 7px;
    top: 0;
    color: var(--navy);
    font-size: 32px;
    transform: rotate(-12deg);
}

.testimonials {
    padding: 16px 0 46px;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: 1.1fr repeat(3, 1fr);
    gap: 15px;
    align-items: stretch;
}

.testimonial-title {
    position: relative;
    padding: 18px 20px 10px 0;
}

.testimonial-title h2 {
    margin: 0;
    font-family: "Caveat", cursive;
    font-size: 41px;
    line-height: .95;
}

.testimonial-title span {
    position: absolute;
    right: 10px;
    top: 43px;
    color: var(--red);
    font-size: 32px;
}

.testimonial-grid article {
    min-height: 170px;
    padding: 18px;
    border: 1px solid #e4e8ee;
    border-radius: 10px;
    box-shadow: 0 5px 18px rgba(13, 47, 81, .05);
}

.testimonial-grid article > b {
    display: block;
    margin-bottom: -3px;
    color: var(--red);
    font-size: 25px;
}

.testimonial-grid article > b.yellow-quote { color: var(--yellow); }
.testimonial-grid article > b.green-quote { color: var(--green); }

.testimonial-grid p {
    margin: 0 0 14px;
    color: #33485e;
    font-size: 12px;
    line-height: 1.45;
}

.testimonial-grid strong,
.testimonial-grid small {
    display: block;
    font-size: 11px;
}

.testimonial-grid small {
    margin-top: 2px;
    color: var(--muted);
}

.slider-dots {
    margin-top: 14px;
    color: var(--navy);
    text-align: center;
    font-size: 9px;
    letter-spacing: 8px;
}

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

.footer-grid {
    display: grid;
    grid-template-columns: 1.1fr 1.4fr .9fr;
    gap: 55px;
    align-items: center;
    min-height: 230px;
    padding-top: 28px;
    padding-bottom: 25px;
}

.footer-brand {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 20px;
    align-items: center;
}

.footer-brand img {
    width: 150px;
    border-radius: 3px;
}

.footer-brand h2 {
    margin: 0;
    font-family: "Caveat", cursive;
    font-size: 34px;
    line-height: 1.05;
}

.footer-brand em {
    color: var(--yellow);
    font-style: normal;
}

.footer-contact {
    font-size: 12px;
    line-height: 1.55;
}

.footer-contact p {
    margin: 7px 0;
}

.footer-contact b {
    display: inline-block;
    width: 24px;
    font-size: 16px;
}

.footer-action {
    text-align: center;
}

.footer-action > a {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 17px;
    padding: 16px 24px;
    color: #fff;
    background: transparent;
    border:1px solid #fff;
    font-size: 12px;
    font-weight: 900;
    border-radius:10px;
    /*clip-path: polygon(3% 20%, 14% 12%, 23% 18%, 34% 10%, 46% 17%, 58% 9%, 70% 17%, 82% 11%, 98% 20%, 94% 34%, 100% 47%, 95% 59%, 99% 73%, 89% 81%, 76% 78%, 63% 88%, 49% 81%, 36% 89%, 23% 80%, 10% 86%, 2% 72%, 6% 58%, 0 45%, 6% 33%);*/
}
.footer-action > a:hover {
    color: var(--navy);
    background: #fff;
    border:1px solid #fff;
}

.footer-action > a b {
    width: 27px;
    height: 27px;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--navy);
    border-radius: 50%;
}

.socials {
    margin-top: 22px;
    font-size: 20px;
    letter-spacing: 10px;
}

.footer-bottom {
    min-height: 62px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid rgba(255, 255, 255, .18);
    color: rgba(255, 255, 255, .78);
    font-size: 10px;
}

.footer-bottom nav {
    display: flex;
    gap: 24px;
}

@media (max-width: 1024px) {

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

    .gallery-item {
        height: 230px;
    }
}

@media (max-width: 600px) {

    .gallery {
        padding: 55px 0 65px;
    }

    .gallery h2 {
        margin-bottom: 24px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .gallery-item {
        height: 180px;
        border-radius: 14px;
    }
}
@media (max-width: 1050px) {
    .main-nav {
        display: none;
    }

    .menu-button {
        width: 42px;
        height: 42px;
        display: block;
        padding: 8px;
        border: 0;
        background: transparent;
    }

    .menu-button span {
        display: block;
        height: 2px;
        margin: 5px 0;
        background: var(--navy);
    }

    .mobile-nav {
        padding: 5px 22px 18px;
        background: #fff;
        border-top: 1px solid var(--line);
    }

    .mobile-nav a {
        display: block;
        padding: 11px 0;
        font-weight: 800;
    }

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

    .why-grid {
        grid-template-columns: 45% 55%;
    }

    .why-brush {
        margin-left: 0;
        padding-left: 48px;
        padding-right: 45px;
    }

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

    .testimonial-grid {
        grid-template-columns: 1fr 1fr;
    }

    .testimonial-title {
        grid-column: 1 / -1;
    }
}

@media (max-width: 760px) {
    .container {
        width: min(100% - 30px, 1180px);
    }

    .header-inner {
        height: 78px;
    }

    .brand {
        width: 125px;
    }

    .brand img {
        height: 68px;
    }

    .nav-cta {
        display: none;
    }

    .hero-grid {
        display: flex;
        flex-direction: column;
    }

    .hero-copy {
        padding: 45px 0 20px;
    }

    .hero-copy h1 span,
    .hero-copy h1 strong {
        font-size: 53px;
    }

    .hero-copy h1 strong {
        margin-left: 6px;
    }

    .hero-topics,
    .hero-slogan,
    .hero-actions {
        margin-left: 0;
    }

    .hero-topics {
        font-size: 9px;
        line-height: 1.8;
    }

    .hero-actions {
        gap: 9px;
    }

    .btn {
        padding: 0 17px;
        font-size: 11px;
    }

    .hero-visual {
        min-height: 360px;
        margin: 0 -15px;
    }

    .paper-plane,
    .flight-path {
        display: none;
    }

    .program-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .title-doodles {
        display: none;
    }

    .why-grid {
        display: block;
        width: 100%;
    }

    .why-brush {
        min-height: 0;
        margin: 0 -15px;
        padding: 52px 35px;
    }

    .why-features {
        grid-template-columns: 1fr 1fr;
        margin-top: 24px;
    }

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

    .stats-grid > div {
        padding: 0 12px;
        border-bottom: 1px solid var(--line);
    }

    .stats-flight {
        display: none;
    }

    .course-grid,
    .more-grid {
        grid-template-columns: 1fr;
    }



    .summer {
        grid-template-columns: 1fr;
    }

    .summer-photo {
        min-height: 340px;
    }

    .summer-content {
        min-height: 340px;
        margin-left: 0;
        margin-top: -20px;
    }

    .summer-copy {
        padding: 65px 30px 55px;
    }

    .summer-copy h2 {
        font-size: 30px;
        margin-left:45px;
    }

    .summer-copy p {
        font-size: 14px;
        margin-left:45px;
    }

.summer-copy a {
    display: inline-flex;
    align-items: center;
    gap: 22px;
    padding: 14px 25px;
    border: 2px solid #fff;
    border-radius: 30px;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    margin-left:30px;
}


    .gallery h2 {
        font-size: 34px;
    }

    .gallery-strip {
        overflow-x: auto;
    }

    .gallery-strip img {
        width: 760px;
        max-width: none;
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-title {
        grid-column: auto;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
        padding-top: 45px;
        padding-bottom: 40px;
    }

    .footer-brand {
        grid-template-columns: 125px 1fr;
    }

    .footer-brand img {
        width: 125px;
    }

    .footer-action {
        text-align: left;
    }

    .footer-bottom {
        padding: 22px 0;
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-bottom nav {
        flex-wrap: wrap;
        gap: 10px 18px;
    }
}

@media (max-width: 430px) {
    .hero-copy h1 span,
    .hero-copy h1 strong {
        font-size: 46px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .program-card > div {
        min-height: 82px;
        padding-left: 10px;
    }

    .program-card h3 {
        font-size: 13px;
    }

    .why-features {
        grid-template-columns: 1fr;
    }

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

    .stats-grid > div {
        border-right: 0;
    }
}
