html.is-home {
    --ink: #07141f;
    --navy: #10283d;
    --green: #6ea84a;
    --mist: #e7f6dc;
    --cream: #f6f1e8;
    --paper: #fbf8f3;
    --serif: "Fraunces", Georgia, serif;
    --sans: "Outfit", "Segoe UI", sans-serif;
}

html.is-home body {
    background: var(--paper);
    font-family: var(--sans);
}

@media (min-width: 1200px) {
    html.is-home .container {
        max-width: calc(100% - 72px) !important;
        width: calc(100% - 72px) !important;
    }

}

.home-progress {
    position: fixed;
    inset: 0 0 auto;
    height: 3px;
    z-index: 90;
    background: linear-gradient(90deg, #9ed67a, #5c9838);
    transform: scaleX(0);
    transform-origin: 0 50%;
    pointer-events: none;
}

html.is-home header.header {
    position: sticky;
    top: 0;
    z-index: 80;
}

html.is-home .top-header-inner.bg-color {
    background: #07141f !important;
}

html.is-home .navigation-inner {
    background: rgba(251, 248, 243, .92) !important;
    backdrop-filter: blur(16px);
    border-bottom: 1px solid #e6dfd4;
}

html.is-home .navbar-nav a {
    font-family: var(--sans);
    letter-spacing: .12em;
    font-size: 12px;
    text-transform: uppercase;
}

html.is-home .navbar-nav a[href*="refer"] {
    background: #07141f;
    color: #fff !important;
    border-radius: 999px;
    padding: 8px 14px !important;
}

.home-hero {
    position: relative;
    display: block;
    height: 86vh;
    min-height: 640px;
    aspect-ratio: auto;
    padding: 0 !important;
    background: #07141f !important;
    overflow: hidden;
}

.home-hero .slider-inner,
.home-hero .carousel-inner,
.home-hero .carousel-item,
.home-hero .carousel-item.active {
    position: absolute !important;
    inset: 0;
    width: 100%;
    height: 100% !important;
    border-radius: 0;
    box-shadow: none;
}

.home-hero.slider-area img,
.home-hero .carousel-item img {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    min-height: 0;
    object-fit: cover !important;
    object-position: center center;
    background: #07141f;
}

.home-hero::before,
.home-glow,
.home-grain {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

.home-hero::before {
    content: "";
    display: block;
    background: linear-gradient(105deg, rgba(7, 20, 31, .84) 0%, rgba(7, 20, 31, .46) 46%, rgba(7, 20, 31, .16) 100%);
}

.home-glow {
    background: radial-gradient(460px circle at var(--x, 70%) var(--y, 40%), rgba(158, 214, 122, .42), transparent 62%);
    mix-blend-mode: screen;
}

.home-grain {
    opacity: .18;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

.home-hero .carousel-caption.home-hero-copy {
    position: absolute !important;
    z-index: 3;
    left: 6vw !important;
    right: 16vw !important;
    top: auto !important;
    bottom: max(24px, 12vh) !important;
    width: auto;
    max-width: 980px;
    transform: none !important;
    text-align: left !important;
    padding: 0 !important;
    color: #f6f1e8;
}

.home-hero .home-kicker,
.home-hero .home-hero-lead {
    display: block !important;
}

.home-hero .home-kicker {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    margin: 0 0 14px;
    color: #d7f5c4 !important;
    letter-spacing: .18em;
    text-transform: uppercase;
    font-family: var(--sans) !important;
    font-size: 12px !important;
    font-weight: 600;
    line-height: 1.4 !important;
    text-shadow: none !important;
}

.home-hero .home-kicker::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #9ed67a;
    box-shadow: 0 0 0 0 rgba(158, 214, 122, .7);
    animation: homePulse 2.2s ease-out infinite;
}

.home-hero .home-hero-copy h1 {
    margin: 0;
    max-width: 11ch;
    color: #f6f1e8 !important;
    font-family: var(--serif) !important;
    font-weight: 500 !important;
    font-size: clamp(54px, 7vw, 104px);
    line-height: .9 !important;
    letter-spacing: -.03em;
    text-shadow: none !important;
    text-transform: none !important;
}

.home-hero .home-hero-copy h1 em {
    font-style: italic;
    color: #b6e89a;
}

.home-hero .home-hero-lead {
    margin: 18px 0 0;
    max-width: 460px;
    color: rgba(246, 241, 232, .92) !important;
    font-family: var(--sans) !important;
    font-size: 18px !important;
    font-weight: 400 !important;
    line-height: 1.45 !important;
    text-transform: none !important;
    text-shadow: none !important;
}

.home-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.home-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 12px 20px;
    border-radius: 999px;
    background: linear-gradient(180deg, #9ed67a, #5c9838);
    color: #07210a !important;
    font-family: var(--sans);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none !important;
    box-shadow: 0 12px 28px rgba(80, 140, 40, .35);
}

.home-btn:hover {
    color: #07210a !important;
    transform: translateY(-2px);
}

.home-btn-line {
    background: rgba(255, 255, 255, .12);
    color: #fff !important;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45);
}

.home-btn-line:hover {
    color: #fff !important;
    background: rgba(255, 255, 255, .2);
}

.home-marquee {
    overflow: hidden;
    background: #07141f;
    color: #f6f1e8;
    padding: 14px 0;
}

.home-marquee-track {
    display: flex;
    gap: 28px;
    width: max-content;
    animation: homeMarquee 32s linear infinite;
    font-family: var(--serif);
    font-size: 26px;
}

.home-marquee b {
    color: #b6e89a;
    font-weight: 500;
}

.home-stage,
.home-programs,
.home-why,
.home-form {
    background:
        radial-gradient(1000px 420px at 8% 0%, rgba(231, 246, 220, .9), transparent 55%),
        #fbf8f3 !important;
    font-family: var(--sans);
}

.home-stage h1,
.home-stage h2,
.home-why h4,
.home-why .h5,
.home-video h4,
.home-form h4,
.home-catalog h5,
.home-programs h3,
.home-quotes blockquote {
    font-family: var(--serif) !important;
    font-weight: 500 !important;
    letter-spacing: -.03em;
    line-height: 1.02 !important;
    color: #10283d !important;
}

.home-welcome {
    padding-top: 72px !important;
    padding-bottom: 24px !important;
}

.home-welcome h1 {
    font-size: clamp(32px, 2.6vw, 42px);
    max-width: 16ch;
}

.home-welcome .about-content-inner-style-six {
    max-width: 640px;
}

.home-welcome p,
.home-why p,
.home-form p,
.home-programs p,
.home-catalog li,
.home-video p {
    font-family: var(--sans);
    color: #5c6a74;
    line-height: 1.6 !important;
}

.home-welcome > .container > .row {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 36px;
    margin: 0 !important;
}

.home-welcome .row > [class*="col-"] {
    width: auto !important;
    padding: 0 !important;
}

.home-welcome .row > .col-lg-9 {
    flex: 1 1 420px;
    max-width: 620px !important;
}

.home-welcome .row > .col-lg-3 {
    flex: 0 1 380px;
    max-width: 380px !important;
}

.home-stage .thumbnail-about-six {
    text-align: left;
}

.home-stage .thumbnail-about-six img {
    min-width: 0 !important;
    width: auto;
    max-width: 100%;
    height: auto !important;
    max-height: min(520px, 48vh);
    object-fit: contain;
    border-radius: 28px;
    box-shadow: 0 22px 50px rgba(16, 40, 61, .14);
}

.home-services {
    padding-top: 12px !important;
    padding-bottom: 36px !important;
}

.home-services h2 {
    font-size: clamp(30px, 2.4vw, 40px);
    padding-bottom: 8px !important;
}

.home-services > .container > .row {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
    grid-auto-rows: auto;
    gap: 12px;
    margin: 0 !important;
}

.home-services .row > [class*="col-"] {
    width: auto !important;
    max-width: none !important;
    flex: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.home-services .row > .col-12:first-child {
    grid-column: 1 / -1;
    height: auto;
}

.home-services .home-reveal,
.home-services .home-reveal:nth-child(2),
.home-services .home-reveal:nth-child(7),
.home-services .home-reveal:nth-child(8) {
    grid-column: auto;
    grid-row: auto;
    min-width: 0;
}

.home-stage .pri-ser-box,
.home-stage .pri-ser-content {
    height: auto;
    mask: none !important;
    -webkit-mask: none !important;
}

.home-stage .pri-ser-box {
    padding: 0 !important;
    margin: 0;
    background: transparent !important;
    border-radius: 18px !important;
    overflow: hidden;
    box-shadow: none;
}

.home-stage .pri-ser-box a,
.home-stage .pri-ser-content {
    display: block;
    height: auto;
    width: 100%;
}

.home-services .pri-ser-content {
    position: relative;
}

.home-services .pri-ser-content img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto !important;
    aspect-ratio: 17 / 10;
    object-fit: contain;
    object-position: center center;
    border-radius: 18px !important;
    margin: 0 !important;
}

.home-services .pri-ser-content::after {
    content: none;
}

.home-stage .pri-ser-icon,
.home-catalog .pri-ser-icon,
.home-stage .pri-ser-box::before,
.home-catalog .pri-ser-box::before {
    display: none !important;
    content: none !important;
}

.home-services .pri-ser-content .h6 {
    position: static;
    display: block;
    margin: 0;
    padding: 10px 4px 0;
    background: transparent;
    color: #10283d !important;
    font-family: var(--sans) !important;
    font-size: 16px;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    letter-spacing: 0;
    text-shadow: none;
}

.home-quotes {
    background: transparent;
    padding: 20px 0 64px !important;
}

.home-quotes .testimonial-content {
    background: #fff !important;
    border-radius: 22px;
    box-shadow: 0 16px 40px rgba(16, 40, 61, .08);
    margin: 8px;
    padding: 28px 24px 18px !important;
    min-height: 230px;
    text-align: left !important;
}

.home-quotes .testimonial-content:before {
    content: "\201C" !important;
    color: #6ea84a !important;
    opacity: 1 !important;
    font-family: var(--serif);
    font-size: 64px !important;
    line-height: .7 !important;
    top: 16px !important;
    left: 18px !important;
}

.home-quotes blockquote {
    margin: 28px 0 12px;
    font-size: clamp(22px, 2vw, 28px) !important;
    line-height: 1.28 !important;
    color: #10283d !important;
}

.home-quotes .text-warning {
    justify-content: flex-start !important;
    color: #c4a15a !important;
    font-size: 12px;
}

.home-quotes .h6,
.home-quotes p.h6 {
    color: #10283d !important;
    font-family: var(--sans) !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    letter-spacing: 0;
    text-transform: none;
}

.home-programs {
    padding-top: 10px !important;
    padding-bottom: 64px !important;
}

.home-program-card {
    position: relative;
    overflow: hidden;
    min-height: 0;
    padding: 0 28px 28px !important;
    border-radius: 24px !important;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    color: #f6f1e8;
    background: #102033 !important;
    background-image: none !important;
    box-shadow: 0 20px 40px rgba(7, 20, 31, .18);
}

.home-program-card::before {
    content: "";
    display: block;
    width: calc(100% + 56px);
    margin: 0 -28px 22px;
    aspect-ratio: 17 / 10;
    flex: 0 0 auto;
    background-color: #e8eef2;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.home-programs .row > div:nth-child(2) .home-program-card::before {
    background-image: url("/web/images/services/service-6.jpg");
}

.home-programs .row > div:nth-child(3) .home-program-card::before {
    background-image: url("/web/images/services/service-7.jpg");
}

.home-program-card h3,
.home-program-card p,
.home-program-card a {
    position: relative;
    z-index: 1;
    color: #fff !important;
}

.home-program-card h3 {
    font-size: clamp(24px, 2vw, 32px);
}

.home-program-card hr {
    width: 42px;
    margin-left: 0;
    border-color: rgba(182, 232, 154, .7);
}

.home-program-card p {
    color: rgba(246, 241, 232, .92) !important;
}

.home-program-card .pr-link-btn {
    justify-content: flex-start !important;
    color: #b6e89a !important;
    letter-spacing: .12em;
    font-size: 13px;
}

.home-program-card .pr-link-btn:after {
    background: #b6e89a;
    flex: 0 0 28px;
}

.home-why {
    padding-bottom: 72px !important;
}

.home-why h4,
.home-why .col-12.pb-4,
.home-why .col-md-4,
.home-why .text-center {
    text-align: left !important;
}

.home-why h4 {
    font-size: clamp(30px, 2.4vw, 40px);
}

.home-why .col-md-4 .text-center {
    background: #fff;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(16, 40, 61, .08);
}

.home-why .pri-staff-img img {
    width: 100%;
    max-width: 100%;
    height: auto !important;
    max-height: 36vh;
    aspect-ratio: 15 / 13;
    object-fit: contain;
    object-position: center center;
    border-radius: 0;
    background: #f4f7f1;
}

.home-why .pri-staff-info {
    padding: 8px 18px 20px;
}

.home-why .h5 {
    font-size: 22px;
}

.home-video {
    background: #fbf8f3 !important;
    padding: 20px 0 72px !important;
}

.home-video h4,
.home-video p,
.home-video .text-center,
.home-video .mt-2 {
    text-align: left !important;
    color: #10283d !important;
}

.home-video h4 {
    font-size: clamp(30px, 2.4vw, 40px);
}

.home-video p {
    color: #5c6a74 !important;
}

.home-video video {
    width: 100%;
    border-radius: 22px;
    box-shadow: 0 22px 50px rgba(16, 40, 61, .16);
}

.home-video .pr-btn-1,
.home-form .pr-btn-1 {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    padding: 12px 20px;
    border: 0;
    border-radius: 999px;
    background: #07141f !important;
    color: #fff !important;
    box-shadow: none;
    font-family: var(--sans);
    font-weight: 600;
}

.home-form {
    padding: 10px 0 72px;
}

.home-form .row > .col-lg-4 {
    display: none;
}

.home-form .row > .col-lg-8 {
    flex: 0 0 100%;
    max-width: 1280px;
    margin: 0 auto;
}

.home-form .appointment-form {
    background: #fff;
    border-radius: 28px;
    box-shadow: 0 24px 60px rgba(16, 40, 61, .1);
    padding: 32px !important;
}

.home-form h4 {
    font-size: clamp(30px, 2.4vw, 40px);
    text-align: left !important;
}

.home-form .s-title-1,
.home-form .text-center {
    text-align: left !important;
}

.home-form .form-control {
    min-height: 50px;
    border: 1px solid #e6dfd4 !important;
    border-radius: 12px !important;
    background: #fbf8f3 !important;
    box-shadow: none !important;
    font-family: var(--sans);
}

.home-form textarea.form-control {
    min-height: 110px;
}

.home-form .form-control:focus {
    border-color: #6ea84a !important;
    box-shadow: 0 0 0 3px rgba(110, 168, 74, .18) !important;
}

.home-catalog {
    background: #f6f1e8 !important;
    padding: 72px 0 !important;
}

.home-catalog .pri-ser-box,
.home-catalog .pri-ser-content {
    height: auto !important;
    mask: none !important;
    -webkit-mask: none !important;
    background: #fff !important;
}

.home-catalog .pri-ser-box {
    position: relative;
    border-radius: 22px !important;
    padding: 0 0 18px !important;
    box-shadow: 0 22px 50px rgba(16, 40, 61, .1);
    overflow: hidden;
}

.home-catalog .pri-ser-content {
    position: relative;
    padding: 0 22px 8px;
}

.home-catalog .pri-ser-content::before {
    content: "";
    display: block;
    position: relative;
    height: 0;
    padding-top: 58.82%;
    margin: 0 -22px 18px;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
    background-color: #f4f1ea;
}

.home-catalog .row > div:nth-child(1) .pri-ser-content::before {
    background-image: url("/web/images/services/service-1.jpg");
}

.home-catalog .row > div:nth-child(2) .pri-ser-content::before {
    background-image: url("/web/images/services/service-5.jpg");
}

.home-catalog .row > div:nth-child(3) .pri-ser-content::before {
    background-image: url("/web/images/services/service-3.jpg");
}

.home-catalog h5,
.home-catalog li {
    color: #10283d !important;
}

.home-catalog h5 {
    width: auto !important;
    font-size: 22px;
}

.home-catalog hr {
    border-color: #e6dfd4;
}

.home-catalog .pri-li li:before,
.home-catalog .list-style li:before {
    color: #6ea84a;
}

html.home-motion .home-reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .7s ease, transform .7s ease;
}

html.home-motion .home-reveal.is-in {
    opacity: 1;
    transform: none;
}

@keyframes homeDrift {
    from { transform: none; }
    to { transform: none; }
}

@keyframes homePulse {
    70% { box-shadow: 0 0 0 8px rgba(158, 214, 122, 0); }
    100% { box-shadow: 0 0 0 0 rgba(158, 214, 122, 0); }
}

@keyframes homeMarquee {
    to { transform: translateX(-50%); }
}

@media (max-width: 991px) {
    .home-hero {
        height: 72vh;
        min-height: 460px;
    }

    .home-hero .carousel-caption.home-hero-copy {
        left: 20px !important;
        right: 20px !important;
        bottom: 16px !important;
    }

    .home-hero .home-hero-copy h1 {
        font-size: 46px;
    }

    .home-services > .container > .row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: auto;
    }

    .home-welcome > .container > .row {
        grid-template-columns: 1fr;
    }

    .home-stage .thumbnail-about-six img {
        height: auto !important;
        max-height: min(360px, 42vh);
        box-shadow: 0 16px 36px rgba(16, 40, 61, .12);
    }

    .home-form .appointment-form {
        padding: 20px !important;
    }
}

@media (max-width: 640px) {
    .home-services > .container > .row {
        grid-template-columns: 1fr;
    }

    .home-services .home-reveal,
    .home-services .home-reveal:nth-child(2),
    .home-services .home-reveal:nth-child(7),
    .home-services .home-reveal:nth-child(8) {
        grid-column: auto;
        grid-row: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-marquee-track,
    html.home-motion .home-hero .carousel-item img,
    .home-hero .home-kicker::before,
    html.home-motion .home-reveal {
        animation: none;
        transition: none;
        opacity: 1;
        transform: none;
    }
}
