:root {
    /* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
    /* COLORS: */

    /*primary colors*/
    --blue-dk: #0060af;
    --blue-lt: #00aeef;

    /*secondary colors*/
    --purple-dk: #5c2e91;
    --purple-md: #92278f;

    /*neutral colors*/
    --black: #231f20;
    --white: #ffffff;
    --gray: #cbcbcb;
    --gray-lt: #e3e3e3;

    /* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
    /* GRADIENTS: */

    --blue-background-gradient: transparent linear-gradient(197deg, var(--blue-dk) 0%, var(--blue-lt) 100%) 0% 0% no-repeat padding-box;
    --blue-overlay-gradient: transparent linear-gradient(180deg, #0060af00 0%, var(--blue-dk) 100%) 0% 0% no-repeat padding-box;
    --blue-overlay-gradient--vertical: transparent linear-gradient(90deg, #0060af00 0%, var(--blue-dk) 100%) 0% 0% no-repeat padding-box;
    --black-overlay-gradient: transparent linear-gradient(180deg, #00000000 0%, #000000 100%) 0% 0% no-repeat padding-box;

    /* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
    /* BOXES */

    --box-border-radius-sm: 10px;
    --box-border-radius-lg: 16px;

    --btn-border-radius-sm: 8px;
    --btn-border-radius-lg: 10px;
}

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
/* TEXT: */

/* headings */

h1,
.h1 {
    font-family: "Cachet";
    text-transform: uppercase;
    font-weight: 700;
    font-size: 60px;
    letter-spacing: -1.8px;
    line-height: 1;
}

h2,
.h2 {
    font-family: "Cachet";
    text-transform: uppercase;
    font-weight: 700;
    font-size: 48px;
    letter-spacing: -1.4px;
    line-height: 1;
}

h3,
.h3 {
    font-family: "Cachet";
    text-transform: uppercase;
    font-weight: 700;
    font-size: 36px;
    letter-spacing: -1px;
    line-height: 1;
}

h4,
.h4 {
    font-family: "Cachet";
    text-transform: uppercase;
    font-weight: 700;
    font-size: 24px;
    letter-spacing: -0.7px;
    line-height: 1;
}

h5,
.h5 {
    font-family: "Cachet";
    text-transform: uppercase;
    font-weight: 700;
    font-size: 22px;
    letter-spacing: -0.7px;
    line-height: 1;
}

/* section headers */

.section-header {
    margin-bottom: 40px;

    scroll-margin: 200px;
}

.section-header h2 {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.pre-title {
    margin-bottom: 10px;

    font-size: 22px;
    letter-spacing: -0.7px;
    line-height: 1;
    color: var(--blue-lt);
}

.section-title {
    color: var(--blue-dk);
}
.section-title span {
    display: block;
}

.section-title--lg {
    font-size: 60px;
    letter-spacing: -1.8px;
    line-height: 1;
}

.section-title--md {
    font-size: 48px;
    letter-spacing: -1.4px;
    line-height: 1;
}

.section-title--sm {
    font-size: 36px;
    letter-spacing: -1px;
    line-height: 1;
}

/* body copy */

body,
body p,
body li,
body a {
    font-family: "Verdana";
    font-weight: 500;
    font-size: 16px;
    letter-spacing: -0.5px;
    line-height: 1.3;
}

/* other text */

.link-text {
    font-family: "Cachet";
    text-transform: uppercase;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: -0.5px;
    line-height: 1;
}

a {
    text-decoration: none;
    color: var(--blue-dk);

    transition: all 0.2s ease;
}

a:hover {
    color: var(--purple-dk);

    transition: all 0.2s ease;
}

/* mobile */

@media (max-width: 768px) {
    /*headers*/
    h1,
    .h1 {
        font-size: 44px;
        letter-spacing: -1.8px;
        line-height: 1;
    }

    h2,
    .h2 {
        font-size: 42px;
        letter-spacing: -1.4px;
        line-height: 1;
    }

    h3,
    .h3 {
        font-size: 32px;
        letter-spacing: -1px;
        line-height: 1;
    }

    h4,
    .h4 {
        font-size: 22px;
        letter-spacing: -0.7px;
        line-height: 1;
    }

    h5,
    .h5 {
        font-size: 20px;
        letter-spacing: -0.7px;
    }

    /* section headers */
    .section-header {
        margin-bottom: 20px;

        scroll-margin: 115px;
    }
    .pre-title {
        margin-bottom: 6px;
    }

    .section-title span {
        display: inline;
    }

    .section-title--lg {
        font-size: 48px;
        letter-spacing: -1.4px;
        line-height: 1;
    }

    .section-title--md {
        font-size: 40px;
        letter-spacing: -1px;
        line-height: 1;
    }

    .section-title--sm {
        font-size: 36px;
        letter-spacing: -0.7px;
        line-height: 1;
    }
}

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
/* LAYOUT: */

/*sections*/

section {
    padding: 72px 0;
}

/* backgrounds */

.background-container {
    position: absolute;
    z-index: -1;
    inset: 0;
    width: 100%;
    height: 100%;
}

.background-image,
.background-image img,
.background-container img,
.background-overlay,
.background-gradient {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* other */

* {
    box-sizing: border-box;
    scroll-margin: 215px;
}

html.menu-open,
body.menu-open {
    overflow: hidden;
    height: 100%;
    touch-action: none;
}

body.admin-bar #masthead {
    top: 32px;
}

@media (max-width: 782px) {
    * {
        scroll-margin: 105px;
    }

    body.admin-bar #masthead {
        top: 46px;
    }
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* containers */

:root {
    --container-width--no-sidebar: calc(1240px + (30px * 2));
    --container-width--sidebar: 920px;
}

.container-fluid {
    padding: 0;
}

/*
NOTE: 
in pages with NO SIDEBAR - The page-edge padding for the sections is on the containers
in pages with A SIDEBAR  - The page-edge padding for the sections is on the page row
*This way there is always 30px padding in from the edges
*/

/*~~~~~~~~~~~~*/
/* NO SIDEBAR */
.page-row.page-row--no-sidebar {
    max-width: unset;
    margin: 0 auto;
    padding: 0;
}
.page-row.page-row--no-sidebar .container {
    max-width: var(--container-width--no-sidebar);
    margin: 0 auto;
    padding: 30px;
}

.contain-left,
.page-row.page-row--no-sidebar .contain-left {
    margin-left: calc((100vw - min(100vw, var(--container-width--no-sidebar))) / 2 + 30px);
}
.contain-right,
.page-row.page-row--no-sidebar .contain-right {
    margin-right: calc((100vw - min(100vw, var(--container-width--no-sidebar))) / 2 + 30px);
}

.page-row.page-row--no-sidebar section.has-inner-container {
    padding: 16px;
}

/*~~~~~~~~~~~~~~*/
/* WITH SIDEBAR */
.page-row.page-row--has-sidebar {
    max-width: var(--container-width--no-sidebar);
    margin: 0 auto;
    padding: 0 30px;

    display: flex;
    gap: 3%;
    justify-content: center;
    align-items: stretch;
}
.page-row.page-row--has-sidebar .page-row__sidebar {
    flex: 0 0 23%;
    max-width: 23%;
}
.page-row.page-row--has-sidebar .page-row__content {
    flex: 0 0 74%;
    max-width: 74%;
}

.page-row.page-row--has-sidebar .container {
    max-width: var(--container-width--sidebar);
    padding: 0;
}

.page-row.page-row--has-sidebar .contain-left {
    margin-left: 0;
    margin-right: calc(-1 * ((100vw - min(100vw, var(--container-width--no-sidebar))) / 2 + 30px));
}
.page-row.page-row--has-sidebar .contain-right {
    margin-left: calc(-1 * ((100vw - min(100vw, var(--container-width--no-sidebar))) / 2 + 30px));
    margin-right: 0;
}

.page-row.page-row--has-sidebar section.has-inner-container {
    padding: 16px 0;
}

@media (max-width: 768px) {
    /*sections*/

    section {
        padding: 36px 0;
    }

    section.has-inner-container {
        padding: 16px 0;
    }

    /*sidebar*/

    .page-row.page-row--has-sidebar {
        flex-direction: column;
    }
    .page-row.page-row--has-sidebar.page-row--sidebar-right {
        flex-direction: column-reverse;
    }

    .page-row.page-row--has-sidebar .page-row__sidebar {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .page-row.page-row--has-sidebar .page-row__content {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .page-row.page-row--no-sidebar section.has-inner-container {
        padding: 16px 0;
    }
}

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
/* BUTTONS: */

/*primary buttons*/

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.btn {
    display: inline-block;
    text-decoration: none;
    padding: 16px 32px;
    border-radius: var(--btn-border-radius-sm);

    transition: all 0.3s ease;
}

.btn-text {
    font-family: "Cachet";
    text-transform: uppercase;
    text-align: center;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: -0.4px;
    line-height: 1;

    transition: all 0.3s ease;
}

.btn .btn-text .icon {
    margin-left: 6px;
    font-size: 12px;
}
.btn .btn-text .icon svg {
    margin-bottom: 4px;
}

/*button colors*/

/*purple*/
.btn.btn--purple {
    background: var(--purple-md);
}
.btn.btn--purple .btn-text {
    color: var(--white);
}

.btn.btn--purple:hover {
    background: var(--blue-dk);
}
.btn.btn--purple:hover .btn-text {
    color: var(--white);
}

/*blue*/
.btn.btn--blue {
    background: var(--blue-dk);
}
.btn.btn--blue .btn-text {
    color: var(--white);
}

.btn.btn--blue:hover {
    background: var(--purple-md);
}
.btn.btn--blue:hover .btn-text {
    color: var(--white);
}

/*white*/
.btn.btn--white {
    background: var(--white);
}
.btn.btn--white .btn-text {
    color: var(--purple-dk);
}

.btn.btn--white:hover {
    background: var(--purple-md);
}
.btn.btn--white:hover .btn-text {
    color: var(--white);
}

/*white arrow link*/
.btn.btn--white-arrow-link {
    padding: 0;
    background: transparent;
    text-align: left;
}
.btn.btn--white-arrow-link .btn-text {
    color: var(--white);
}

.btn.btn--white-arrow-link:hover {
    transform: translateX(6px);
}

/*load/read more buttons*/

.btn.btn--read-more {
    padding: 6px 18px;
    border-radius: var(--btn-border-radius-lg);
}

.btn.btn--read-more .icon {
    font-size: 10px;
}

.btn.btn--read-more .icon svg {
    margin-bottom: 4px;
}

/*load/read more button colors*/

/*purple*/
.btn.btn--read-more.btn--purple {
    background: var(--purple-dk);
}

.btn.btn--read-more.btn--purple .btn-text {
    color: var(--white);
}

.btn.btn--read-more.btn--purple:hover {
    background: var(--blue-dk);
}

.btn.btn--read-more.btn--purple:hover .btn-text {
    color: var(--white);
}

/*blue*/
.btn.btn--read-more.btn--blue {
    background: var(--blue-dk);
}

.btn.btn--read-more.btn--blue .btn-text {
    color: var(--white);
}

.btn.btn--read-more.btn--blue:hover {
    background: var(--purple-dk);
}

.btn.btn--read-more.btn--blue:hover .btn-text {
    color: var(--white);
}

/*white*/
.btn.btn--read-more.btn--white {
    background: var(--white);
}

.btn.btn--read-more.btn--white .btn-text {
    color: var(--blue-dk);
}

.btn.btn--read-more.btn--white:hover {
    background: var(--white);
}

.btn.btn--read-more.btn--white:hover .btn-text {
    color: var(--blue-dk);
}

/*mobile*/
@media (max-width: 768px) {
    .button-row {
        row-gap: 8px;
        column-gap: 12px;
    }
}

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
/* SIDEBAR: */

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
/* COMPONENTS: */

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
/* VIDEO MODAL: */

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.8);

    justify-content: center;
    align-items: center;
}

.modal-content {
    position: relative;
    width: min(90%, 1000px);
    padding: 20px;
    background: var(--white);
    border-radius: var(--box-border-radius-lg);
}

.modal iframe {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: var(--box-border-radius-sm);
    border: none;
}

.modal .close {
    position: absolute;
    top: 4px;
    right: 12px;

    background: none;
    border: none;
    padding: 4px 8px;

    font-family: inherit;
    font-size: 32px;
    line-height: 1;
    color: var(--black);

    cursor: pointer;
    transition: color 0.2s ease;
}
.modal .close:hover {
    color: var(--purple-md);
}

/* trigger button (used wherever a thumbnail opens the modal) */

.video-modal-trigger {
    position: relative;
    display: block;

    background: none;
    border: none;
    padding: 0;
    margin: 0;

    cursor: pointer;
}

.video-modal-trigger::after {
    content: "▶";

    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    width: 90px;
    height: 90px;

    display: flex;
    justify-content: center;
    align-items: center;

    background: rgba(255, 255, 255, 0.4);
    color: var(--white);
    border-radius: 50%;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.45);

    font-size: 36px;
    padding-left: 4px; /* nudge to optically center the play triangle */

    transition: background 0.2s ease;
}

.video-modal-trigger:hover::after {
    background: rgba(255, 255, 255, 0.6);
}

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
/* GRAVITY FORMS: */

/* #page prefix raises specificity above GF's own theme rules without deep class chains */

#page .gform_wrapper input[type="text"],
#page .gform_wrapper input[type="email"],
#page .gform_wrapper input[type="tel"],
#page .gform_wrapper input[type="number"],
#page .gform_wrapper input[type="url"],
#page .gform_wrapper input[type="password"],
#page .gform_wrapper input[type="search"],
#page .gform_wrapper textarea,
#page .gform_wrapper select {
    padding: 25px 15px;
    border-radius: 10px;

    font-family: "Verdana";
    font-size: 16px;
}

/* GF foundation theme adds margin-block-start to footer; reset so layouts can control spacing themselves */
#page .gform_wrapper .gform_footer,
#page .gform_wrapper .gform_page_footer {
    margin: 0;
    padding: 0;
}

/* submit buttons — match .btn.btn--purple */
#page .gform_wrapper input[type="submit"],
#page .gform_wrapper button[type="submit"],
#page .gform_wrapper .gform_button {
    display: inline-block;
    padding: 16px 32px;
    border: none;
    border-radius: var(--btn-border-radius-sm);
    background: var(--purple-md);
    color: var(--white);
    cursor: pointer;

    font-family: "Cachet";
    text-transform: uppercase;
    text-align: center;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: -0.4px;
    line-height: 1;

    transition: all 0.3s ease;
}

#page .gform_wrapper input[type="submit"]:hover,
#page .gform_wrapper button[type="submit"]:hover,
#page .gform_wrapper .gform_button:hover {
    background: var(--blue-dk);
    color: var(--white);
}

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
/* SPLIDE NAV: */

/*resets*/
.splide__arrows,
.splide__pagination {
    position: relative;
}

button.splide__arrow,
ul.splide__pagination {
    position: relative;
    top: unset;
    bottom: unset;
    left: unset;
    right: unset;
    transform: none;
    opacity: 1;
}

/*arrows*/
.splide__arrows {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
}

button.splide__arrow {
    width: 45px;
    height: 45px;
}

button.splide__arrow.splide__arrow--prev {
    padding: 10px 17px 10px 13px;
}

button.splide__arrow.splide__arrow--next {
    padding: 10px 13px 10px 17px;
}

/*colors*/

/*white*/
.splide__arrows--white button.splide__arrow {
    background-color: var(--white);
}
.splide__arrows--white--purple-dk button.splide__arrow svg {
    color: var(--purple-dk);
}
.splide__arrows--white--purple-md button.splide__arrow svg {
    color: var(--purple-md);
}

/*purple*/
.splide__arrows--purple button.splide__arrow {
    background-color: var(--purple-md);
}
.splide__arrows--purple button.splide__arrow svg {
    color: var(--white);
}

/*pagination*/
ul.splide__pagination {
    padding: 0;
    display: flex;
    gap: 12px;
}

ul.splide__pagination button.splide__pagination__page {
    width: 12px;
    height: 12px;

    margin: 0;

    opacity: 0.25;
}

ul.splide__pagination button.splide__pagination__page.is-active {
    transform: none;
    opacity: 1;
}

/*colors*/

/*white*/
ul.splide__pagination.splide__pagination--white button.splide__pagination__page {
    background: var(--white);
}

/*blue*/
ul.splide__pagination.splide__pagination--blue button.splide__pagination__page {
    background: var(--blue-dk);
}
