@font-face {
    font-family: 'Yusei Magic';
    src: url('../fonts/yusei-magic.ttf') format('truetype');
    font-display: swap;
}

@font-face {
    font-family: 'Roboto Flex';
    src: url('../fonts/roboto-flex.ttf') format('truetype');
    font-display: swap;
}

:root {
    --purple: #30266d;
    --purple-light: #3a3089;
    --pink: #f9669d;
    --white: #fff;
    --panel: #f5f5f5;
    --body: #7a7a7a;
}

*, *::before, *::after {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    margin: 0;
    color: var(--body);
    background: var(--white);
    font: 400 16px/2 'Roboto Flex', Arial, sans-serif;
}
img {
    max-width: 100%;
    height: auto;
}
a {
    color: inherit;
    text-decoration: none;
}
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
    outline: 3px solid var(--pink);
    outline-offset: 3px;
}
h1, h2, h3, h4, p {
    margin-top: 0;
}
h1, h2, h3, h4, button, .pill {
    font-family: 'Yusei Magic', sans-serif;
    font-weight: 400;
}
.marketing-rail {
    width: min(1280px, calc(100% - 40px));
    margin-inline: auto;
}
.skip-link {
    position: absolute;
    left: 8px;
    top: -100px;
    z-index: 100;
    background: var(--white);
    color: var(--purple);
    padding: 8px;
}
.skip-link:focus {
    top: 8px;
}

/* Shared header and menu */
.site-header {
    position: relative;
    z-index: 20;
    height: 84.5px;
    background: var(--purple);
}
.site-header__inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.site-logo {
    display: block;
    width: 180px;
    line-height: 0;
}
.site-logo img {
    display: block;
    width: 180px;
    height: auto;
}
.primary-nav__list {
    display: flex;
    align-items: center;
    gap: 40px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.primary-nav a {
    color: var(--white);
    font: 400 16px/19.2px 'Yusei Magic', sans-serif;
}
.primary-nav .current-menu-item a {
    border-bottom: 2px solid var(--white);
    padding-bottom: 8px;
}
.menu-toggle {
    display: none;
}
.pill {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 56px;
    padding: 12px 24px;
    border-radius: 999px;
    text-transform: uppercase;
    font-size: 15px;
    line-height: 1.2;
    font-weight: 700;
    white-space: nowrap;
}
.pill--outline {
    border: 2px solid var(--white);
    color: var(--white);
}
.pill--pink {
    background: var(--pink);
    color: var(--white);
}
.pill--white {
    background: var(--white);
    color: var(--purple);
}

/* Homepage opening and features */
.home-opening {
    position: relative;
    height: 1224.5px;
    background: var(--purple);
    color: var(--white);
}
.home-opening::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--opening-photo);
    background-position: center;
    background-size: cover;
    opacity: .3;
}
.home-opening__inner {
    position: relative;
    height: 760px;
}
.home-opening__copy {
    position: absolute;
    left: 0;
    top: 280px;
    width: 570px;
    z-index: 2;
}
.home-opening h1 {
    margin: 0 0 13px;
    color: var(--white);
    font-size: 58px;
    line-height: 1.2;
}
.home-opening__copy p {
    margin: 0 0 32px;
    font-size: 18px;
    line-height: 32.4px;
    font-weight: 500;
}
.home-opening__art {
    position: absolute;
    left: 650px;
    top: 60px;
    width: 630px;
    height: 700px;
}
.home-opening__circle {
    position: absolute;
    top: 170px;
    left: 70px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: var(--purple);
}
.home-opening__portrait {
    position: absolute;
    z-index: 2;
    inset: 0;
    width: 630px;
    height: 700px;
    object-fit: contain;
    object-position: bottom;
}
.home-opening__shape {
    position: absolute;
    z-index: 3;
    left: 0;
    top: 75px;
    width: 620px;
    opacity: .9;
    pointer-events: none;
}
.feature-row {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: start;
}
.feature-card {
    min-height: 405px;
    padding: 70px 34px 35px;
    background: var(--panel);
    color: var(--body);
    text-align: center;
    box-shadow: 0 10px 30px rgb(0 0 0 / 8%);
}
.feature-card:first-child {
    margin-top: -60px;
    min-height: 465px;
    border-radius: 10px 10px 0 0;
}
.feature-card:last-child {
    border-radius: 0 10px 10px 0;
}
.feature-card--pink {
    background: var(--pink);
    color: var(--white);
}
.feature-card img {
    display: block;
    width: 54px;
    height: 54px;
    object-fit: contain;
    margin: 0 auto 24px;
}
.feature-card h2 {
    margin-bottom: 20px;
    color: var(--purple-light);
    font-size: 21px;
    line-height: 1.35;
}
.feature-card--pink h2 {
    color: var(--white);
}
.feature-card p {
    margin: 0;
    line-height: 26px;
}

/* Main marketing stages */
.why-section {
    display: grid;
    grid-template-columns: 47.4% 1fr;
    min-height: 600px;
}
.why-section__photo img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    display: block;
}
.why-section__copy {
    padding: 95px 80px 70px 70px;
}
.eyebrow {
    display: block;
    color: var(--pink);
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 15px;
}
.why-section h2, .process-section h2, .resources-band h2 {
    color: var(--purple-light);
    font-size: 39.81px;
    line-height: 1.2;
}
.why-section p {
    max-width: 610px;
}
.process-section {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding-block: 60px;
}
.process-panel {
    min-height: 482px;
    overflow: hidden;
}
.process-panel--purple {
    background: var(--purple);
    color: var(--white);
    padding: 50px 35px;
}
.process-panel--purple h2 {
    color: var(--white);
}
.process-panel--purple p {
    text-align: justify;
}
.process-panel--light {
    background: var(--panel);
    padding: 50px 35px;
}
.process-panel--light h2 {
    font-size: 33.18px;
    line-height: 1.4;
}
.process-panel--image img {
    width: 100%;
    height: 482px;
    display: block;
    object-fit: cover;
}
.resources-band {
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: relative;
    min-height: 355px;
    color: var(--white);
}
.resources-band__intro {
    background: var(--purple);
    padding: 35px 70px;
}
.resources-band__intro h2, .resources-band__intro h3 {
    color: var(--white);
}
.resources-band__intro h3 {
    font-size: 28px;
}
.resources-band__intro p {
    max-width: 390px;
}
.resources-band__quotes {
    background: var(--pink);
    padding: 24px 55px 24px 180px;
}
.resources-band blockquote {
    margin: 0 0 18px;
    padding: 8px 15px;
    background: var(--white);
    color: var(--body);
    border-left: 5px solid var(--purple);
    box-shadow: 0 8px 20px rgb(0 0 0 / 8%);
}
.resources-band blockquote p {
    margin: 0;
    line-height: 25px;
}
.resources-band__portrait {
    position: absolute;
    z-index: 2;
    bottom: 0;
    left: 42%;
    height: 390px;
    width: auto;
    pointer-events: none;
}
.latest-posts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
    width: min(1440px, 100%);
    margin: 65px auto 100px;
}

/* Post cards and full-width article */
.post-card {
    min-width: 0;
    box-shadow: 0 8px 20px rgb(0 0 0 / 8%);
}
.post-card__photo {
    display: block;
    background: linear-gradient(120deg, #f6c9dd, #eee);
}
.post-card__photo img {
    display: block;
    width: 100%;
    aspect-ratio: 3/2;
    object-fit: cover;
}
.post-card__body {
    padding: 25px 30px 30px;
}
.post-card h2 {
    margin: 0 0 15px;
    color: var(--pink);
    font-size: 21px;
    line-height: 1.2;
    text-transform: capitalize;
}
.post-card p {
    margin-bottom: 20px;
    color: #777;
}
.post-card__more {
    color: var(--pink);
    font-family: 'Yusei Magic', sans-serif;
}
.article h1 {
    margin: 30px 0 34px;
    color: var(--purple-light);
    font-size: 47.78px;
    line-height: 1.2;
    text-transform: capitalize;
}
.article__hero img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 20px;
}
.article__body {
    padding: 10px;
}
.article__body h2 {
    color: #272a2a;
    font-size: 39.81px;
    line-height: 1.3;
    margin: 20px 0 12px;
}
.article__body h3 {
    color: #272a2a;
    font-size: 33.18px;
    line-height: 1.4;
    margin: 18px 0 10px;
}
.article__body p {
    margin: 0 0 18px;
}
.article__body img {
    width: auto;
    max-width: 100%;
    height: auto;
    border-radius: 20px;
}
.article__body figure {
    margin: 20px 0;
}
.article__body figure img {
    width: 100%;
}
.article__body table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    line-height: 1.6;
}
.article__body th, .article__body td {
    border: 1px solid #aaa;
    padding: 5px;
    overflow-wrap: anywhere;
}

/* Shared CTA and footer */
.shared-cta {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-bottom: -45px;
}
.shared-cta > div {
    min-height: 203px;
    padding: 35px 45px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}
.shared-cta__blog {
    background: var(--pink);
    color: var(--white);
    border-radius: 10px 0 0 10px;
}
.shared-cta__contact {
    background: var(--panel);
    color: var(--purple);
    border-radius: 0 10px 10px 0;
}
.shared-cta h2 {
    color: inherit;
    font-size: 30px;
    margin: 0 0 8px;
}
.shared-cta p {
    max-width: 290px;
    line-height: 1.5;
    margin: 0;
}
.site-footer {
    position: relative;
    min-height: 472px;
    padding: 115px 0 25px;
    color: var(--white);
    background-color: var(--purple);
    background-position: center;
    background-size: cover;
}
.site-footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgb(48 38 109 / 83%);
}
.site-footer::after {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    height: 70px;
    background: url('../img/footer-wave.svg') center top / 100% 70px no-repeat;
    filter: brightness(0) invert(1);
    pointer-events: none;
}
.site-footer__inner {
    position: relative;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
}
.site-footer__brand {
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--white);
    font: 22px 'Yusei Magic', sans-serif;
}
.site-footer__brand img {
    width: 35px;
    height: 35px;
    object-fit: contain;
}
.site-footer__identity p {
    max-width: 400px;
}
.site-footer h2 {
    font-size: 21px;
    color: var(--pink);
}
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links a {
    text-transform: uppercase;
    color: var(--white);
    font-family: 'Yusei Magic', sans-serif;
    font-size: 15px;
}
.site-footer__copyright {
    grid-column: 1 / -1;
    font-size: 14px;
    margin: 0;
}

/* Inner pages, article archive and form */
.inner-banner {
    position: relative;
    display: grid;
    place-items: center;
    height: 332px;
    color: var(--white);
    background: linear-gradient(120deg, var(--purple-light), var(--purple));
    overflow: hidden;
}
.inner-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--banner-photo) center / cover no-repeat;
    opacity: .2;
}
.inner-banner h1 {
    position: relative;
    margin: 0;
    color: var(--white);
    font: 500 18px/32.4px 'Roboto Flex', sans-serif;
    text-align: center;
}
.about-intro {
    display: grid;
    grid-template-columns: 610px 610px;
    gap: 60px;
    padding-top: 60px;
}
.about-intro__copy {
    padding: 20px 0;
}
.about-intro h2, .about-mission h3, .about-topics h2 {
    color: var(--purple-light);
    font-size: 39.81px;
    line-height: 1.2;
}
.about-intro__photo img {
    display: block;
    width: 610px;
    height: 400px;
    border-radius: 20px;
    object-fit: cover;
}
.about-mission {
    display: grid;
    grid-template-columns: 610px 610px;
    gap: 60px;
    margin-top: 60px;
}
.about-mission__photo img {
    display: block;
    width: 610px;
    height: 588px;
    border-radius: 20px;
    object-fit: cover;
}
.about-mission__copy {
    display: grid;
    grid-template-rows: 1fr 1fr;
}
.about-mission__copy > div {
    padding: 25px 35px;
}
.about-mission__gray {
    background: var(--panel);
    border-radius: 10px;
}
.about-mission h3 {
    font-size: 33.18px;
    line-height: 1.4;
}
.about-topics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: 60px;
    margin-bottom: 0;
    min-height: 621px;
    color: var(--white);
    background: var(--purple);
}
.about-topics__copy {
    padding: 50px 55px;
}
.about-topics__copy h2, .about-topics__resource h3 {
    color: var(--white);
}
.about-topics__copy img {
    display: block;
    width: 200px;
    margin-top: 30px;
}
.about-topics__resource {
    padding: 50px 55px;
    background: #281f63;
}
.about-topics__resource h3 {
    font-size: 33.18px;
}
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 35px;
    width: min(1440px, 100%);
    margin: 60px auto 45px;
}
.blog-grid .post-card__photo img {
    width: 100%;
}
.contact-section {
    display: grid;
    grid-template-columns: minmax(0, 610px) minmax(0, 610px);
    gap: 60px;
    padding-block: 100px 87px;
}
.contact-section__copy h2 {
    color: var(--purple-light);
    font-size: 39.81px;
    line-height: 1.2;
}
.contact-section__copy p {
    max-width: 610px;
}
.contact-form {
    min-width: 0;
}
.contact-form input:not([type='hidden']), .contact-form textarea {
    display: block;
    width: 100%;
    border: 1px solid #eee;
    border-radius: 20px;
    background: var(--white);
    color: #444;
    font: 16px/1.5 'Roboto Flex', sans-serif;
    padding: 13px 20px;
    margin-bottom: 25px;
}
.contact-form input:not([type='hidden']) {
    height: 50px;
}
.contact-form textarea {
    height: 140px;
    resize: vertical;
}
.contact-form button {
    border: 0;
    cursor: pointer;
}
.pill--purple {
    background: var(--purple);
    color: var(--white);
    min-height: 57px;
}
.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.form-status {
    color: var(--purple);
}
.legal-page {
    padding: 0 10px 90px;
    color: var(--body);
}
.legal-page h1 {
    color: var(--purple-light);
    font-size: 47.78px;
    line-height: 1.2;
}
.legal-page--privacy > h1 {
    text-align: center;
    padding: 95px 0 55px;
}
.legal-page--terms > h1 {
    margin: 10px 0 28px;
}
.legal-page__body h2 {
    color: #272a2a;
    font-size: 39.81px;
    line-height: 1.3;
    margin: 25px 0 10px;
}
.legal-page__body p {
    margin: 0 0 14px;
}
.legal-page__body ul {
    padding-left: 32px;
    margin-top: 0;
}
.category-page__rail {
    width: min(1140px, calc(100% - 20px));
    margin: 45px auto 95px;
}
.category-page h1 {
    color: #272a2a;
    font-size: 39.81px;
}
.category-item {
    margin-bottom: 45px;
}
.category-item h2 {
    color: #cc3366;
    font-size: 39.81px;
    line-height: 1.2;
    margin: 0 0 15px;
    text-transform: capitalize;
}
.category-item__photo img {
    display: block;
    width: 100%;
    height: 500px;
    object-fit: cover;
}
.category-item p {
    margin: 15px 0 0;
}
.category-pagination {
    display: flex;
    gap: 20px;
    color: #cc3366;
    font-family: 'Yusei Magic', sans-serif;
}

@media (max-width: 767px) {
    .marketing-rail {
        width: calc(100% - 60px);
    }
    .site-header {
        height: 103px;
    }
    .site-header.is-open {
        height: 217px;
    }
    .site-header__inner {
        width: calc(100% - 40px);
        align-items: flex-start;
        padding-top: 30px;
    }
    .site-logo, .site-logo img {
        width: 140px;
    }
    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 4px;
        width: 33px;
        height: 33px;
        margin: 0;
        padding: 5px;
        border: 0;
        background: var(--pink);
        cursor: pointer;
    }
    .menu-toggle span {
        width: 23px;
        height: 2px;
        display: block;
        background: var(--white);
        transition: transform .2s, opacity .2s;
    }
    .site-header.is-open .menu-toggle span:first-child {
        transform: translateY(6px) rotate(45deg);
    }
    .site-header.is-open .menu-toggle span:nth-child(2) {
        opacity: 0;
    }
    .site-header.is-open .menu-toggle span:last-child {
        transform: translateY(-6px) rotate(-45deg);
    }
    .primary-nav {
        display: none;
        position: absolute;
        top: 93px;
        right: 20px;
        width: 106px;
        min-height: 114px;
        padding: 8px 12px;
        background: var(--white);
        box-shadow: 0 8px 24px rgb(0 0 0 / 12%);
    }
    .site-header.is-open .primary-nav {
        display: block;
    }
    .primary-nav__list {
        display: block;
    }
    .primary-nav a {
        display: block;
        color: var(--purple);
        text-transform: uppercase;
        font-size: 12px;
        line-height: 30px;
    }
    .home-opening {
        height: 2167px;
    }
    .home-opening__inner {
        height: 735px;
    }
    .home-opening__copy {
        top: 128px;
        left: 0;
        width: 100%;
        text-align: center;
    }
    .home-opening h1 {
        margin-bottom: 24px;
        font-size: 36px;
        line-height: 43.2px;
    }
    .home-opening__copy p {
        margin-bottom: 13px;
        font-size: 18px;
        line-height: 32px;
    }
    .home-opening__copy .pill {
        width: 100%;
    }
    .home-opening__art {
        left: 50%;
        top: 470px;
        transform: translateX(-50%);
        width: 330px;
        height: 570px;
    }
    .home-opening__circle {
        width: 300px;
        height: 300px;
        top: 0;
        left: 15px;
    }
    .home-opening__portrait {
        width: 330px;
        height: 570px;
        transform: scale(.55);
        transform-origin: top center;
    }
    .home-opening__shape {
        width: 330px;
        top: 0;
    }
    .feature-row {
        z-index: 4;
        grid-template-columns: 1fr;
        gap: 0;
    }
    .feature-card, .feature-card:first-child {
        min-height: 260px;
        margin: 0;
        padding: 35px 25px;
        border-radius: 10px;
    }
    .feature-card:first-child {
        padding-top: 68px;
    }
    .feature-card:nth-child(2), .feature-card:nth-child(3) {
        min-height: 402px;
    }
    .feature-card:last-child {
        min-height: 310px;
    }
    .why-section {
        display: flex;
        flex-direction: column-reverse;
    }
    .why-section__copy {
        padding: 65px 30px;
    }
    .why-section h2, .process-section h2, .resources-band h2 {
        font-size: 28.83px;
        line-height: 34.6px;
    }
    .why-section__photo img {
        height: 300px;
    }
    .process-section {
        display: block;
        padding-block: 40px;
    }
    .process-panel {
        min-height: 0;
    }
    .process-panel--purple, .process-panel--light {
        padding: 40px 30px;
    }
    .process-panel--image img {
        height: 250px;
    }
    .process-panel--light h2 {
        font-size: 25.63px;
    }
    .resources-band {
        display: block;
    }
    .resources-band__intro, .resources-band__quotes {
        padding: 40px 30px;
    }
    .resources-band__quotes {
        padding-top: 30px;
    }
    .resources-band__portrait {
        display: none;
    }
    .latest-posts {
        display: block;
        width: calc(100% - 20px);
        margin-block: 40px 80px;
    }
    .latest-posts .post-card {
        margin-bottom: 35px;
    }
    .article h1 {
        margin: 32px 0;
        font-size: 32.44px;
        line-height: 1.2;
    }
    .article__hero img {
        border-radius: 12px;
    }
    .article__body h2 {
        font-size: 28.83px;
    }
    .article__body h3 {
        font-size: 25.63px;
    }
    .shared-cta {
        display: block;
        margin-bottom: -30px;
    }
    .shared-cta > div {
        min-height: 220px;
        display: block;
        padding: 30px;
        border-radius: 10px 10px 0 0;
    }
    .shared-cta__contact {
        border-radius: 0 0 10px 10px;
    }
    .shared-cta .pill {
        width: 100%;
        margin-top: 20px;
    }
    .site-footer {
        min-height: 1025px;
        padding-top: 100px;
    }
    .site-footer__inner {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        min-height: 900px;
        text-align: center;
    }
    .site-footer__brand {
        justify-content: center;
    }
    .site-footer__identity p {
        margin: 15px auto 30px;
    }
    .site-footer__inner > div {
        margin-bottom: 0;
    }
    .inner-banner {
        height: 302px;
    }
    .inner-banner h1 {
        transform: translateY(45px);
    }
    .about-intro, .about-mission {
        display: block;
        width: calc(100% - 60px);
        margin-top: 0;
        padding-top: 0;
    }
    .about-intro__copy {
        padding: 60px 0 25px;
    }
    .about-intro h2, .about-mission h3, .about-topics h2, .contact-section__copy h2 {
        font-size: 28.83px;
        line-height: 1.2;
    }
    .about-intro__photo img, .about-mission__photo img {
        width: 100%;
        height: 200px;
    }
    .about-mission__photo {
        margin-top: 30px;
    }
    .about-mission__copy > div {
        padding: 40px 0;
    }
    .about-mission__gray {
        padding: 40px 30px !important;
    }
    .about-topics {
        display: block;
        margin-top: 183px;
        margin-bottom: 0;
        min-height: 1197px;
    }
    .about-topics__copy, .about-topics__resource {
        padding: 40px 30px;
    }
    .blog-grid {
        display: block;
        width: calc(100% - 20px);
        margin-top: 72px;
        margin-bottom: 0;
    }
    .blog-grid .post-card {
        margin-bottom: 48px;
    }
    .blog-grid .post-card:last-child {
        margin-bottom: 0;
    }
    .blog-grid .post-card__photo {
        display: grid;
        place-items: center;
        height: 187px;
    }
    .blog-grid .post-card__photo img {
        width: 280px;
        height: auto;
    }
    .contact-section {
        display: block;
        padding-block: 70px 140px;
    }
    .contact-section__copy {
        margin-bottom: 45px;
    }
    .contact-form .pill {
        width: 100%;
    }
    .legal-page h1 {
        font-size: 32.44px;
    }
    .legal-page__body h2 {
        font-size: 28.83px;
    }
    .legal-page--privacy > h1 {
        padding: 80px 0 45px;
    }
    .category-page__rail {
        margin-top: 30px;
    }
    .category-page h1, .category-item h2 {
        font-size: 28.83px;
    }
    .category-item__photo img {
        height: 280px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .menu-toggle span {
        transition: none;
    }
}
