﻿/* ============================================
   FONTS
   ============================================ */

@font-face {
    font-family: 'League Spartan';
    src: url('/assets/fonts/LeagueSpartan-VariableFont_wght.woff2') format('woff2'),
         url('/assets/fonts/LeagueSpartan-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Nunito Sans';
    src: url('/assets/fonts/NunitoSans-VariableFont_YTLC,opsz,wdth,wght.woff2') format('woff2'),
         url('/assets/fonts/NunitoSans-VariableFont_YTLC,opsz,wdth,wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}


/* ============================================
   RESET & BASE
   ============================================ */

:root {
    --color-primary: #e0242c;
    --color-secondary: #1e3f8c;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    scrollbar-gutter: stable;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Nunito Sans', sans-serif;
    line-height: 1.6;
    color: #1a1a2e;
    background-color: #fff;
    padding: 0.625rem;
    padding-bottom: var(--sticky-bottom-height, 0px);
    position: relative;
}

section {
    padding: 5rem 0;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul, ol {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
    font-size: inherit;
}

input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

address {
    font-style: normal;
}

a[aria-label="Facebook"] svg {
    transform: scale(1.14);
}

.sr-only {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.bg-grey {
    background-color: #ececec;
}

.hover-lift {
    border: 1px solid #d9d9d9;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    border-color: #b0b0b0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}


/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-family: 'League Spartan', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
}

.section__eyebrow {
    font-weight: 400;
    font-size: 1.35rem;
    color: #1a1a2e;
    text-transform: uppercase;
    max-width: 900px;
    margin-bottom: 0;
}

.section__title {
    font-size: 3.25rem;
    line-height: 1.1;
    color: #1a1a2e;
    max-width: 900px;
    margin-bottom: 0.5rem;
}

.section__text {
    font-weight: 400;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #1a1a2e;
    max-width: 900px;
    margin-bottom: 2.5rem;
}

.section__headline {
    font-size: 1.75rem;
    line-height: 1.2;
    color: #1a1a2e;
    margin-bottom: 1rem;
    text-transform: none;
}

.section__headline.content {
    font-size: 2.25rem;
    margin-top: 2.5rem;
}

.section__subtitle {
    font-size: 1.6rem;
    text-transform: none;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.section__list {
    list-style: disc;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #1a1a2e;
    max-width: 900px;
    margin-bottom: 2.5rem;
    padding-left: 1.5rem;
}

.section__list li {
    margin-bottom: 0.5rem;
}

.section__list li:last-child {
    margin-bottom: 0;
}

.content-body {
    padding: 4rem 0 1rem;
}

.content-body .container {
    max-width: 900px;
}

.content-body .section__text {
    margin-bottom: 1.25rem;
}

.content-body .section__headline {
    margin-top: 2rem;
    font-size: 2.5rem;
}

.content-body .section__text:last-child {
    margin-bottom: 0;
}

.text-center {
    text-align: center;
}


/* ============================================
   LAYOUT
   ============================================ */

.container {
    width: 100%;
    max-width: 1550px;
    margin: 0 auto;
    padding: 0 3rem;
}

.page-wrapper {
    padding: 0;
}


/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 4px;
    font-family: 'League Spartan', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    transition: background-color 0.4s ease, box-shadow 0.4s ease;
    cursor: pointer;
}

.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    z-index: 2;
    pointer-events: none;
    animation: btn-shine 4.5s ease-in-out infinite;
}

@keyframes btn-shine {
    0% { left: -100%; }
    28%, 100% { left: 100%; }
}

.btn:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.btn--red {
    background-color: var(--color-primary);
    color: #fff;
}

.btn--red:hover {
    background-color: var(--color-secondary);
}

.btn--dark {
    background-color: #111;
    color: #fff;
}

.btn--dark:hover {
    background-color: #222;
}

.btn--white {
    background-color: #fff;
    color: #111;
    font-size: 0.9375rem;
}

.btn--white:hover {
    background-color: #f0f0f0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn--full {
    width: 100%;
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
    font-size: 1.3rem;
    line-height: 1;
}

.btn--loading {
    pointer-events: none;
    filter: brightness(1.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn--loading::after {
    content: none;
}

.btn--loading .btn-spinner {
    animation: btn-rotator 1.4s linear infinite;
    width: 1.4em;
    height: 1.4em;
}

.btn--loading .btn-spinner .btn-spinner-path {
    stroke: #fff;
    stroke-dasharray: 187;
    stroke-dashoffset: 0;
    transform-origin: center;
    animation: btn-dash 1.4s ease-in-out infinite;
}

@keyframes btn-rotator {
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(270deg); }
}

@keyframes btn-dash {
    0%   { stroke-dashoffset: 187; }
    50%  { stroke-dashoffset: 46.75; transform: rotate(135deg); }
    100% { stroke-dashoffset: 187;   transform: rotate(450deg); }
}

.back-link {
    display: inline-flex;
    align-items: center;
    padding: 0.7rem 2.25rem;
    font-size: 1rem;
    gap: 0.3rem;
    margin-top: 0.5rem;
    background-color: #fff;
    color: #111;
    transition: background-color 0.4s ease, color 0.4s ease;
}

.back-link:hover {
    background-color: #000;
    color: #fff;
}

.back-link svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    position: relative;
    top: -2px;
}


/* ============================================
   FORMS (consolidated)
   ============================================ */

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.lead-form input,
.lead-form select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    background-color: #fff;
    color: #333;
    height: calc(1rem + 1.75rem + 0.5rem);
}

.lead-form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23666' d='M1.41 0L6 4.58 10.59 0 12 1.41l-6 6-6-6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.lead-form input::placeholder {
    color: #999;
}

.lead-form select:has(option:disabled:checked) {
    color: #999;
}

.lead-form select option:not(:disabled) {
    color: #333;
}



/* ============================================
   SCROLL ANIMATIONS
   ============================================ */

[data-reveal] {
    overflow-x: clip;
}

.reveal-top,
.reveal-bottom,
.reveal-left,
.reveal-right {
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    pointer-events: none;
}

.reveal-top    { transform: translateY(-140px); }
.reveal-bottom { transform: translateY(140px); }
.reveal-left   { transform: translateX(-140px); }
.reveal-right  { transform: translateX(140px); }

.reveal-top.visible,
.reveal-bottom.visible,
.reveal-left.visible,
.reveal-right.visible {
    opacity: 1;
    transform: translate(0);
    pointer-events: auto;
}

@keyframes navSlideIn {
    from { opacity: 0; transform: translateY(-100px); }
    to   { opacity: 1; transform: translateY(0); }
}


/* ============================================
   SITE NAV WRAPPER
   ============================================ */

.site-nav {
    position: relative;
    z-index: 100;
}

.top-bar,
.brand-bar,
.main-nav {
    animation: navSlideIn 0.4s ease-out 0.3s both;
}


/* ============================================
   TOP BAR
   ============================================ */

.top-bar {
    background-color: #231f20;
    color: #fff;
    font-size: 0.9rem;
    padding: 0.75rem 0;
}

.top-bar > .container {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.top-bar__left {
    display: none;
}

.top-bar__email,
.top-bar__phone,
.top-bar__students {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    color: #fff;
}

.top-bar__email {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.top-bar__right {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.top-bar__social {
    display: flex;
    gap: 0.625rem;
}

.top-bar__social a {
    color: #fff;
    display: inline-flex;
    align-items: center;
}

.top-bar__divider {
    width: 1px;
    align-self: stretch;
    background-color: rgba(255, 255, 255, 0.3);
}

.top-bar__students {
    font-weight: 600;
    text-transform: uppercase;
}

.top-bar__students svg {
    flex-shrink: 0;
}


/* ============================================
   BRAND BAR
   ============================================ */

.brand-bar {
    background-color: #fff;
    position: relative;
    z-index: 100;
}

.brand-bar > .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1.7rem;
    padding-bottom: 1.7rem;
}

.brand-bar__left {
    flex: 1;
}

.brand-bar__name {
    font-family: 'League Spartan', sans-serif;
    font-weight: 600;
    font-size: 1.5rem;
    color: #111;
    text-transform: uppercase;
}

.brand-bar__tagline {
    font-weight: 400;
    font-size: 0.95rem;
    color: #111;
}

.brand-bar__logo {
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
}

.brand-bar__logo img {
    display: block;
    width: auto;
    height: 7.5rem;
    object-fit: contain;
}

.brand-bar__right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}


/* ============================================
   MAIN NAV
   ============================================ */

.main-nav {
    position: relative;
    z-index: 100;
    background-color: #231f20;
}

.main-nav > .container {
    padding-top: 0.6rem;
    padding-bottom: 0.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-logo {
    display: none;
}

.nav-logo img {
    display: block;
    width: auto;
    height: 3.5rem;
    object-fit: contain;
}

.nav-center {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links > li > a,
.nav-dropdown-toggle {
    font-family: 'League Spartan', sans-serif;
    font-weight: 600;
    font-size: 1.3rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.5rem 0;
    transition: color 0.2s ease;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-links > li > a:hover,
.nav-dropdown-toggle:hover {
    color: var(--color-primary);
}

.dropdown-arrow {
    display: inline-flex;
    align-items: center;
    margin-left: 0.1rem;
    vertical-align: middle;
    position: relative;
    top: -3px;
    transition: transform 0.3s ease;
}

.dropdown-arrow svg {
    display: block;
}

@media (hover: hover) {
    .nav-dropdown:hover > .nav-dropdown-toggle .dropdown-arrow {
        transform: rotate(180deg);
    }
}

.nav-cta {
    padding: 0.875rem 2.75rem;
    font-size: 1.35rem;
}

.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 0.3125rem;
    padding: 0.5rem;
    z-index: 200;
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #fff;
    transition: transform 0.3s ease, opacity 0.3s ease;
}


/* ============================================
   NAV DROPDOWNS
   ============================================ */

.nav-dropdown {
    position: relative;
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 260px;
    background-color: #231f20;
    border: none;
    border-radius: 4px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    z-index: 500;
}

.nav-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -14px;
    left: 0;
    width: 100%;
    height: 14px;
}

.nav-dropdown:hover > .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.nav-dropdown-menu li a {
    display: block;
    padding: 0.4rem 1.25rem;
    font-family: 'League Spartan', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    line-height: 1.3;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.nav-dropdown-menu li a:hover {
    color: var(--color-primary);
}


/* ============================================
   STICKY NAV (DESKTOP)
   ============================================ */

.sticky-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 900;
    background-color: var(--color-primary);
    transform: translateY(calc(-100% - 4px));
    transition: transform 0.35s ease;
}

.sticky-nav.visible {
    transform: translateY(0);
}

.sticky-nav > .container {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.sticky-nav__links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.sticky-nav__links > li > a,
.sticky-nav__links .nav-dropdown-toggle {
    font-family: 'League Spartan', sans-serif;
    font-weight: 600;
    font-size: 1.35rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.375rem 0;
    transition: opacity 0.2s ease;
    background: none;
    border: none;
    cursor: pointer;
}

.sticky-nav__links > li > a:hover,
.sticky-nav__links .nav-dropdown-toggle:hover {
    opacity: 0.75;
}

.sticky-nav .nav-dropdown-menu {
    background-color: #231f20;
    border: none;
}

.sticky-nav .nav-dropdown-menu li a {
    color: #fff;
    transition: color 0.15s ease;
}

.sticky-nav .nav-dropdown-menu li a:hover {
    color: var(--color-primary);
}


/* ============================================
   STICKY BOTTOM CTA (DESKTOP)
   ============================================ */

.sticky-bottom {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 900;
    background-color: var(--color-primary);
    transform: translateY(100%);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.sticky-bottom.visible {
    transform: translateY(0);
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.2);
}

.sticky-bottom__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.sticky-bottom__inner p {
    font-weight: 400;
    font-size: 1.05rem;
    color: #fff;
}

.sticky-bottom .btn--white {
    padding: 0.55rem 2.25rem 0.35rem;
    font-size: 1.4rem;
    transition: background-color 0.4s ease, color 0.4s ease;
}

.sticky-bottom .btn--white:hover {
    background-color: #000;
    color: #fff;
}


/* ============================================
   MOBILE STICKY HEADER
   ============================================ */

.mobile-header {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 950;
    background-color: var(--color-primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.mobile-header__btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0;
    color: #fff;
    font-weight: 600;
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-right: 1px solid rgba(255, 255, 255, 0.4);
    gap: 0.375rem;
    text-align: center;
    line-height: 1.3;
    min-width: 0;
}

.mobile-header__btn:last-child {
    border-right: none;
}

.mobile-header__btn svg {
    fill: #fff;
    width: 26px;
    height: 26px;
}


/* ============================================
   MOBILE NAV DRAWER
   ============================================ */

.mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 980;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.mobile-overlay.active {
    display: block;
}

.mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 80%;
    max-width: 340px;
    height: 100%;
    background-color: #231f20;
    z-index: 990;
    padding: 0;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.mobile-drawer.open {
    transform: translateX(0);
}

.mobile-drawer__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-drawer__logo img {
    height: 3.875rem;
    width: auto;
}

.mobile-drawer__close {
    color: #fff;
    padding: 0.5rem;
    border-radius: 4px;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.mobile-drawer__close svg {
    width: 34px;
    height: 34px;
    display: block;
}

.mobile-drawer__close:hover {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.1);
}

.mobile-drawer__links {
    padding: 0.5rem 0;
    flex: 1;
    overflow-y: auto;
    min-height: 0;
    -webkit-overflow-scrolling: touch;
    position: relative;
    mask-image: linear-gradient(to bottom, #000 0%, #000 calc(100% - 32px), transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 calc(100% - 32px), transparent 100%);
    scrollbar-width: none;
}

.mobile-drawer__links::-webkit-scrollbar {
    display: none;
}

.mobile-drawer__links > li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-drawer__links > li > a,
.mobile-drawer__links .nav-dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    font-family: 'League Spartan', sans-serif;
    font-weight: 600;
    font-size: 1.15rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: 100%;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.mobile-drawer__links > li > a:hover,
.mobile-drawer__links > li > a:active {
    background-color: rgba(224, 36, 44, 0.1);
    color: var(--color-primary);
}

.mobile-drawer__links .nav-dropdown-toggle:hover,
.mobile-drawer__links .nav-dropdown-toggle:active {
    background-color: rgba(224, 36, 44, 0.1);
}

.mobile-drawer__links .nav-dropdown-toggle .dropdown-arrow {
    transition: transform 0.3s ease;
    opacity: 0.5;
}

.mobile-drawer__links .nav-dropdown.active .nav-dropdown-toggle {
    color: var(--color-primary);
}

.mobile-drawer__links .nav-dropdown.active .nav-dropdown-toggle .dropdown-arrow {
    transform: rotate(180deg);
    opacity: 1;
}

.mobile-drawer__links .nav-dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    background: rgba(0, 0, 0, 0.15);
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    border-radius: 0;
}

.mobile-drawer__links .nav-dropdown.active .nav-dropdown-menu {
    max-height: 500px;
}

.mobile-drawer__links .nav-dropdown-menu li a {
    color: rgba(255, 255, 255, 0.7);
    padding: 0.5rem 1.5rem 0.5rem 2.25rem;
    font-size: 1.025rem;
    display: block;
    transition: color 0.2s ease, padding-left 0.2s ease;
    font-family: 'League Spartan', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mobile-drawer__links .nav-dropdown-menu li a:hover {
    color: var(--color-primary);
    background-color: transparent;
    padding-left: 2.5rem;
}

.mobile-drawer__cta {
    display: block;
    margin: 1rem 1.5rem;
    text-align: center;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    line-height: 1.1;
}

.mobile-drawer__footer {
    padding: 0.875rem 1.5rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}

.mobile-drawer__footer a {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: opacity 0.2s ease;
}

.mobile-drawer__footer a:hover {
    opacity: 0.7;
}

.mobile-drawer__footer a svg {
    fill: #fff;
}


/* ============================================
   THEMED BACKGROUNDS
   ============================================ */

.themed-bg,
.themed-bg-home {
    background-color: var(--color-secondary);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    isolation: isolate;
}

.themed-bg {
    background-image: url('/assets/images/general_bg_shapes.webp');
}

.themed-bg-home {
    background-image: url('/assets/images/home_bg_shapes.webp');
}

.themed-bg::after,
.themed-bg-home::after {
    content: '';
    position: absolute;
    inset: 0;
    background-color: color-mix(in srgb, var(--color-primary), black 35%);
    -webkit-mask-size: cover;
    mask-size: cover;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    z-index: -1;
    pointer-events: none;
}

.themed-bg::after {
    -webkit-mask-image: url('/assets/images/general_bg_lines.webp');
    mask-image: url('/assets/images/general_bg_lines.webp');
}

.themed-bg-home::after {
    -webkit-mask-image: url('/assets/images/home_bg_lines.webp');
    mask-image: url('/assets/images/home_bg_lines.webp');
}


/* ============================================
   HERO
   ============================================ */

.hero {
    position: relative;
    min-height: 75vh;
    display: flex;
    align-items: center;
    background-color: var(--color-secondary);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: -10px;
    background-color: var(--color-secondary);
    background-image: inherit;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -2;
    filter: brightness(0.84);
}

.hero.program::before {
    filter: blur(4px);
}

.hero.content {
    min-height: 45vh;
}

.hero.content .section__text {
    margin-bottom: 0;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero__overlay-tint {
    fill: var(--color-secondary);
    fill-opacity: 0.8;
}

.hero__overlay-left {
    fill: color-mix(in srgb, var(--color-secondary), black 34%);
    fill-opacity: 0.7;
    clip-path: polygon(0 0, 10% 0, 25% 100%, 0 100%);
    transition-delay: 0.5s;
}

.hero__overlay-right {
    fill: color-mix(in srgb, var(--color-secondary), black 40%);
    fill-opacity: 1;
    clip-path: polygon(100% 100%, 100% 60%, 50% 100%);
    transition-delay: 0.5s;
}

.hero__content {
    position: relative;
    z-index: 1;
    max-width: 55%;
    transition-delay: 0.2s;
}

.hero__cutout {
    position: absolute;
    bottom: 0;
    right: 14%;
    max-width: 700px;
    max-height: 680px;
    width: 30%;
    height: 90%;
    z-index: 1;
    pointer-events: none;
    transition-delay: 0.3s;
}

.hero__cutout img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: bottom center;
}

.hero__diamond {
    position: absolute;
    left: 52.5%;
    top: 50%;
    transform: translateY(-50%);
    height: 120%;
    min-height: 48vw;
    aspect-ratio: 1 / 1;
    z-index: 1;
    pointer-events: none;
    clip-path: polygon(0% 50%, 50% 0%, 100% 0%, 100% 100%, 50% 100%);
    overflow: hidden;
}

.hero__diamond img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.65);
}

.hero .section__eyebrow {
    font-family: 'League Spartan', sans-serif;
    font-size: 1.75rem;
    color: inherit;
    opacity: 0.9;
    margin-bottom: 0.25rem;
    text-transform: capitalize;
}

.hero h1 {
    font-weight: 600;
    font-size: 4.75rem;
    line-height: 1;
    margin-bottom: 1.25rem;
    text-transform: capitalize;
}

.hero .section__text {
    font-size: 1.125rem;
    color: inherit;
    margin-bottom: 2.5rem;
}

.hero__scroll {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2px solid #fff;
    color: #fff;
    animation: scroll-bounce 2s infinite;
}

@keyframes scroll-bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(6px); }
    60% { transform: translateY(3px); }
}


/* ============================================
   CTA FORM SECTION
   ============================================ */

.cta-form {
    padding: 4rem 0;
    background-color: var(--color-primary);
}

.cta-form--boxed {
    background-color: var(--color-primary);
    padding: 3.5rem 2.5rem;
    border-radius: 8px;
    color: #fff;
}

.cta-form__eyebrow {
    font-family: 'League Spartan', sans-serif;
    font-weight: 400;
    font-size: 1.75rem;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 0.1rem;
}

.cta-form__title {
    font-size: 2.5rem;
    line-height: 1.15;
    color: #fff;
    margin-bottom: 0.25rem;
}

.cta-form__subtitle {
    font-weight: 400;
    font-size: 1.15rem;
    color: #fff;
    margin-bottom: 1.5rem;
    opacity: 0.95;
}

.cta-form__disclaimer {
    font-weight: 400;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 0.75rem;
    line-height: 1.5;
}

.growth-banner {
    position: relative;
    padding: 6rem 0;
    background-size: cover;
    background-position: center;
    text-align: center;
    overflow: hidden;
}

.growth-banner::before {
    content: '';
    position: absolute;
    inset: -10px;
    background: inherit;
    filter: blur(4px);
    z-index: 0;
}

.growth-banner__overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.growth-banner__overlay-tint {
    fill: var(--color-secondary);
    fill-opacity: 0.85;
}

.growth-banner__overlay-left {
    fill: color-mix(in srgb, var(--color-secondary), black 30%);
    fill-opacity: 0.7;
    clip-path: polygon(0 0, 10% 0, 20% 100%, 0 100%);
}

.growth-banner__overlay-gradient {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(to bottom, color-mix(in srgb, var(--color-secondary), black 5%) 0%, transparent 35%);
}

.growth-banner__content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.growth-banner .section__eyebrow {
    color: rgba(255, 255, 255, 0.8);
}

.growth-banner .section__title {
    color: #fff;
}

.growth-banner .section__text {
    color: #fff;
    margin-inline: auto;
}


/* ============================================
   TWO-COLUMN SECTION
   ============================================ */


.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.two-col--reversed .two-col__image {
    order: -1;
}

.two-col__text .section__text + .section__text {
    margin-top: -1.5rem;
}

.two-col__text .btn {
    font-size: 1.35rem;
    line-height: 1.05;
}

.two-col__image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}


/* ============================================
   PROGRAMS SECTION + PROGRAM CARDS
   ============================================ */

.programs {
    background-color: #fff;
}

.hover-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(310px, 100%), 1fr));
    gap: 1rem;
}

.hover-card {
    display: flex;
    align-items: flex-end;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 775 / 925;
    text-align: left;
    background: var(--color-secondary);
    color: #fff;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1),
        0 2px 2px rgba(0, 0, 0, 0.1),
        0 4px 4px rgba(0, 0, 0, 0.1),
        0 8px 8px rgba(0, 0, 0, 0.1),
        0 16px 16px rgba(0, 0, 0, 0.1);
}

.hover-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background-image: linear-gradient(
        to bottom,
    hsla(0, 0%, 0%, 0) 0%,
    hsla(0, 0%, 0%, 0) 40%,
    hsla(0, 0%, 0%, 0.012) 47%,
    hsla(0, 0%, 0%, 0.039) 52%,
    hsla(0, 0%, 0%, 0.082) 56.5%,
    hsla(0, 0%, 0%, 0.140) 61%,
    hsla(0, 0%, 0%, 0.210) 65%,
    hsla(0, 0%, 0%, 0.290) 68.5%,
    hsla(0, 0%, 0%, 0.375) 72%,
    hsla(0, 0%, 0%, 0.460) 75%,
    hsla(0, 0%, 0%, 0.540) 78%,
    hsla(0, 0%, 0%, 0.615) 81%,
    hsla(0, 0%, 0%, 0.685) 84%,
    hsla(0, 0%, 0%, 0.750) 87.5%,
    hsla(0, 0%, 0%, 0.810) 91%,
    hsla(0, 0%, 0%, 0.865) 94%,
    hsla(0, 0%, 0%, 0.910) 97%,
    hsla(0, 0%, 0%, 0.940) 100%
    );
    z-index: 1;
    transform-origin: bottom;
    transform: scaleY(1);
    transition: transform 2000ms cubic-bezier(0.19, 1, 0.22, 1);
}

.hover-card__image {
    position: absolute;
    inset: 0;
    padding-top: 30px;
}

.hover-card__image img {
    display: block;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    height: 110%;
    max-width: none;
    transition: transform 1500ms cubic-bezier(0.19, 1, 0.22, 1);
    pointer-events: none;
}

.hover-card__image img.reveal-bottom {
    transform: translateX(-50%) translateY(140px);
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.hover-card__image img.reveal-bottom.visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.hover-card__body {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    padding: 1rem 1.25rem;
    z-index: 1;
    transition: transform 1000ms cubic-bezier(0.19, 1, 0.22, 1);
    transform: translateY(calc(100% - 4.5rem));
}

.hover-card__body > *:not(h3) {
    opacity: 0;
    transform: translateY(1rem);
    transition:
        transform 1000ms cubic-bezier(0.19, 1, 0.22, 1),
        opacity 1000ms cubic-bezier(0.19, 1, 0.22, 1),
        background-color 0.4s ease,
        box-shadow 0.4s ease;
}

.hover-card:hover,
.hover-card:focus-within {
    align-items: flex-end;
}

.hover-card:hover .hover-card__image img,
.hover-card:focus-within .hover-card__image img {
    transform: translateX(-50%) translateY(-4%);
    opacity: 1;
}

.hover-card:hover::before,
.hover-card:focus-within::before {
    transform: scaleY(2);
}

.hover-card:hover .hover-card__body,
.hover-card:focus-within .hover-card__body {
    transform: translateY(-0.5rem);
}

.hover-card:hover .hover-card__body > *:not(h3),
.hover-card:focus-within .hover-card__body > *:not(h3) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 125ms, 125ms, 0s, 0s;
}

.hover-card:focus-within .hover-card__image img,
.hover-card:focus-within::before,
.hover-card:focus-within .hover-card__body,
.hover-card:focus-within .hover-card__body > *:not(h3) {
    transition-duration: 0s;
}

.hover-card__body h3 {
    font-size: 1.5rem;
    line-height: 1;
    margin-top: -0.25rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.hover-card.program .hover-card__body h3 {
    margin-bottom: 0.5rem;
}

.hover-card__body p {
    font-weight: 400;
    font-size: 1rem;
    color: #ccc;
    line-height: 1.5;
    margin-bottom: 0.75rem;
}

.hover-card__link {
    font-size: 1rem;
    letter-spacing: 0.025rem;
    padding: 0.5rem 1.5rem 0.4rem;
    margin-top: 0.25rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.hover-card__link svg {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
    display: block;
    position: relative;
    top: -2px;
}

.hover-card__body > .team__role {
    opacity: 1;
    transform: translateY(0);
}

.hover-card.static .hover-card__body {
    transform: translateY(0);
}

.hover-card.static .hover-card__body > * {
    opacity: 1;
    transform: none;
}

.hover-card.static::before {
    transform: scaleY(2);
}

.hover-card.static:hover .hover-card__image img,
.hover-card.static:focus-within .hover-card__image img {
    transform: none;
}

.hover-card.static:hover::before,
.hover-card.static:focus-within::before {
    transform: scaleY(2);
}

.hover-card.static:hover .hover-card__body,
.hover-card.static:focus-within .hover-card__body {
    transform: translateY(0);
}

.hover-card.static:hover .hover-card__body > *,
.hover-card.static:focus-within .hover-card__body > * {
    opacity: 1;
    transform: none;
}


/* ============================================
   REVIEWS SECTION + CAROUSEL
   ============================================ */

.reviews {
    position: relative;
}

.reviews__overlay,
.bottom__overlay {
    display: none;
}

.reviews__content {
    position: relative;
    z-index: 2;
}

.reviews__header .section__eyebrow {
    color: rgba(255, 255, 255, 0.8);
}

.reviews__header .section__title {
    color: #fff;
}

.reviews__header .section__text {
    color: #fff;
    margin-bottom: 2.5rem;
}

.reviews__viewport {
    overflow: hidden;
    padding: 0.625rem 0 1.5rem;
    cursor: grab;
    -webkit-user-select: none;
    user-select: none;
}

.reviews__viewport:active {
    cursor: grabbing;
}

.reviews__track {
    display: flex;
    will-change: transform;
}

.reviews__slide {
    flex: 0 0 32%;
    min-width: 0;
    display: flex;
    justify-content: center;
    align-items: stretch;
}

.review-card {
    width: 100%;
    text-align: center;
    background: color-mix(in srgb, var(--color-secondary), rgb(20, 20, 20) 60%);
    border-radius: 8px;
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.35);
    padding: 2.25rem 1.75rem;
    color: #fff;
    transform: scale(0.92);
    opacity: 0.5;
    filter: saturate(0.85);
    transition: transform 0.45s ease, opacity 0.45s ease,
        background-color 0.45s ease, filter 0.45s ease;
    display: grid;
    justify-items: center;
    align-content: start;
}

.reviews__slide.is-selected .review-card {
    transform: scale(1.06);
    opacity: 1;
    background: color-mix(in srgb, var(--color-secondary), rgb(20, 20, 20) 60%);
    filter: saturate(1);
}

.review-card__avatar {
    width: 120px;
    height: 120px;
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 1rem;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
}

.review-card__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.review-card__stars {
    color: #f5a623;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    letter-spacing: 2px;
}

.review-card__text {
    font-weight: 400;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: #fff;
    margin: 0;
}

.review-card__cite {
    margin: 1rem 0 0;
    font-family: 'League Spartan', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.reviews__controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.reviews__arrow {
    appearance: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #fff;
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.15s ease, border-color 0.15s ease, opacity 0.15s ease, background-color 0.15s ease;
}

.reviews__arrow:hover {
    background: rgba(255, 255, 255, 0.22);
}

.reviews__arrow:active {
    transform: scale(0.96);
}

.reviews__arrow:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

.reviews__arrow svg {
    display: block;
}

.reviews__dots {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.875rem;
}

.reviews__dot {
    appearance: none;
    border: 0;
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 999px;
    background: #737373;
    cursor: pointer;
    padding: 0;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.reviews__dot[aria-selected="true"] {
    background: #fff;
    transform: scale(1.6);
}

.reviews__dot:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}


/* ============================================
   COMMUNITIES SECTION
   ============================================ */

.communities {
    background-color: #fff;
}

.communities__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
}

.community-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 2.3rem 1rem;
    border-radius: 8px;
    background-color: #fff;
    border: 1px solid #d9d9d9;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.community-card:hover {
    border-color: #b0b0b0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.community-card__pin {
    color: var(--color-primary);
    flex-shrink: 0;
    width: 50px;
    height: 50px;
}

.community-card__name {
    font-size: 0.9rem;
    text-transform: uppercase;
    color: #1a1a2e;
    text-align: center;
    letter-spacing: 0.5px;
}


/* ============================================
   BLOG CARDS
   ============================================ */

.blogs {
    padding: 5rem 0 0;
}

.blogs.bg-grey {
    padding-bottom: 5rem;
}

.blog-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #d9d9d9;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    border-color: #b0b0b0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.blog-card__link {
    display: flex;
    flex-direction: column;
    flex: 1;
    text-decoration: none;
    color: inherit;
    pointer-events: auto;
}

.blog-card__image {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.blog-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    will-change: transform;
    transition: transform 1500ms cubic-bezier(0.19, 1, 0.22, 1);
}

.blog-card:hover .blog-card__image img,
.blog-card:focus-within .blog-card__image img {
    transform: scale(1.05);
}

.blog-card__body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-card__title {
    margin-bottom: 1rem;
    text-transform: none;
    color: var(--color-primary);
    font-size: 1.9rem;
    line-height: 1.3;
    font-weight: 600;
}

.blog-card__text {
    font-weight: 400;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #1a1a2e;
    margin-bottom: 1.25rem;
    flex: 1;
}

.blog-card__more {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-family: 'League Spartan', sans-serif;
    font-weight: 600;
    font-size: 1.15rem;
    text-transform: uppercase;
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.2s ease;
    margin-top: 1rem;
}

.blog-card__more svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    display: block;
    position: relative;
    top: -1px;
}

.blog-card__more:hover {
    color: var(--color-secondary);
}

.blog-card__date {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 0.5rem;
    display: block;
}

/* Blog Card - Video Overlay */
.blog-card--video .blog-card__image {
    position: relative;
}

.blog-card--video .blog-card__image::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 55% center;
    background-size: 28px 28px;
    z-index: 2;
    pointer-events: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.blog-card--video:hover .blog-card__image::after {
    background-color: rgba(0, 0, 0, 0.75);
    transform: translate(-50%, -50%) scale(1.08);
}

/* Blog Grid (paginated / index page) */
.blog-grid-paginated {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* Featured first card (page 1 only) */
.blog-grid-paginated.has-featured .blog-card:first-child {
    grid-column: 1 / -1;
}

.blog-grid-paginated.has-featured .blog-card:first-child .blog-card__link {
    flex-direction: row;
}

.blog-grid-paginated.has-featured .blog-card:first-child .blog-card__image {
    flex: 0 0 50%;
    aspect-ratio: 16 / 10;
}

.blog-grid-paginated.has-featured .blog-card:first-child .blog-card__body {
    padding: 2rem 2.5rem;
    justify-content: center;
}

.blog-grid-paginated.has-featured .blog-card:first-child .blog-card__title {
    font-size: 1.9rem;
}

.blog-grid-paginated.has-featured .blog-card:first-child .blog-card__text {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.blog-grid-paginated .blog-card__title {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: #1a1a2e;
    text-transform: uppercase;
}

.blog-grid-paginated .blog-card__text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 0;
}


/* ============================================
   BENEFITS SECTION
   ============================================ */

.benefits__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding-bottom: 0.5rem;
}

.benefits__item {
    text-align: left;
}

.benefits__logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 1rem;
}

.benefits__item .section__title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.benefits__item .section__text {
    max-width: none;
    margin-bottom: 0;
}


/* ============================================
   VALUES GRID
   ============================================ */

.values__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 1rem;
}

.values__item {
    background: #fff;
    border-radius: 8px;
    padding: 2rem;
}

.values__icon {
    color: var(--color-primary);
    margin-bottom: 1rem;
    flex-shrink: 0;
}

.values__title {
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
    color: #1a1a2e;
}

.values__text {
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.7;
    color: #1a1a2e;
    margin: 0;
}


/* ============================================
   TEAM SECTION
   ============================================ */

.team .hover-card-grid {
    grid-template-columns: repeat(auto-fill, minmax(min(400px, 100%), 1fr));
}

.team .hover-card__body {
    transform: translateY(calc(100% - 6.3rem));
}

.team .hover-card__body h3 {
    margin-bottom: 0;
}

.team .hover-card__body .team__role {
    font-size: 1rem;
    text-transform: none;
    letter-spacing: 0.5px;
    color: #fff;
}


/* ============================================
   CONTENT IMAGE (bio pages)
   ============================================ */

.content-image {
    position: relative;
    width: 100%;
    max-width: 65%;
    margin-left: auto;
    margin-right: auto;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 4rem;
}

.content-image--full {
    max-width: 100%;
    border-radius: 0;
}

.content-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 1;
}

.content-video video {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
}


/* ============================================
   REVIEWS MASONRY
   ============================================ */

.reviews-masonry {
    position: relative;
}

.reviews-masonry__content {
    position: relative;
    z-index: 2;
}

.masonry-grid {
    columns: 3;
    column-gap: 1.25rem;
    margin-top: 1rem;
}

.masonry-review {
    break-inside: avoid;
    background: color-mix(in srgb, var(--color-secondary), rgb(20, 20, 20) 60%);
    border-radius: 8px;
    padding: 1.75rem;
    margin-bottom: 1.25rem;
    color: #fff;
}

.masonry-review__stars {
    color: #f5a623;
    font-size: 1.1rem;
    letter-spacing: 2px;
    margin-bottom: 0.75rem;
}

.masonry-review__text {
    font-weight: 400;
    font-size: 0.9375rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 1rem;
}

.masonry-review__author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.masonry-review__author img {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    object-fit: cover;
}

.masonry-review__name {
    font-family: 'League Spartan', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.masonry-grid-wrap {
    position: relative;
}

.masonry-read-more {
    margin: 1.5rem auto 0;
    display: table;
    text-align: center;
    text-decoration: none;
    font-size: 1.2rem;
    padding: 0.75rem 2.25rem 0.55rem;
    transition: background-color 0.4s ease, color 0.4s ease;
}

.masonry-read-more:hover {
    background-color: #000;
    color: #fff;
}


/* ============================================
   SCHEDULE CTA SECTION
   ============================================ */

.schedule-cta {
    padding: 6rem 0;
    background-color: var(--color-primary);
    text-align: center;
}

.schedule-cta__eyebrow {
    color: #fff;
    margin-left: auto;
    margin-right: auto;
}

.schedule-cta__title {
    color: #fff;
    margin-left: auto;
    margin-right: auto;
}

.schedule-cta__text {
    color: #fff;
    margin-left: auto;
    margin-right: auto;
}

.schedule-cta__btn {
    background-color: #111;
    color: #fff;
    font-size: 1.4rem;
    transition: background-color 0.4s ease, color 0.4s ease, box-shadow 0.4s ease;
}

.schedule-cta__btn:hover {
    background-color: #fff;
    color: #111;
}


/* ============================================
   FAQ SECTION
   ============================================ */

.faq__list {
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq__item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
}

.faq__question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    font-family: 'League Spartan', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    text-align: left;
    color: #1a1a2e;
    cursor: pointer;
    background: none;
    border: none;
    text-transform: none;
    transition: color 0.3s ease;
}

.faq__icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    padding: 6px;
    background: #f0f0f0;
    border-radius: 999px;
    transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.faq__question[aria-expanded="true"] .faq__icon {
    transform: rotate(180deg);
    background: var(--color-primary);
    color: #fff;
}

.faq__answer {
    overflow: hidden;
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.35s ease;
}

.faq__answer.open {
    grid-template-rows: 1fr;
}

.faq__answer-inner {
    overflow: hidden;
    padding: 0 1.5rem;
}

.faq__answer .section__text {
    padding-bottom: 1.5rem;
    margin-bottom: 0;
    max-width: none;
}


/* ============================================
   BOTTOM SECTION + LOCATIONS
   ============================================ */

.bottom {
    position: relative;
    padding: 24rem 0 8rem;
    overflow: visible;
}

.bottom__content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.cta-form--floating-wrap {
    position: relative;
    z-index: 5;
    margin-bottom: -22rem;
    background: linear-gradient(to bottom, #fff 30%, transparent 30%);
}

.cta-form--floating-wrap.bg-grey {
    background: linear-gradient(to bottom, #ececec 30%, transparent 30%);
}

.cta-form--floating {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.bottom__logo {
    margin: 3rem auto 2rem;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    background-color: #e8f5e9;
}

.bottom__tagline {
    font-weight: 400;
    font-size: 0.95rem;
    color: #fff;
    margin-bottom: 6rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.location-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 360px));
    gap: 2rem;
    justify-content: center;
    max-width: 100%;
    margin-inline: auto;
}

.location-card {
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    max-width: 360px;
    width: 100%;
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.location-card h3 {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 0.75rem;
}

.location-card p {
    color: #fff;
    font-size: 0.85rem;
}

.location-card p a {
    color: #fff;
}

.location-card__detail {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #fff;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.location-card__detail svg {
    flex-shrink: 0;
    fill: #fff;
}

.location-card__detail a {
    color: #fff;
    transition: color 0.2s ease;
}

.location-card__social {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    margin-top: 1rem;
}

.location-card__social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.location-card__social a svg {
    width: 24px;
    height: 24px;
    fill: #fff;
}


/* ============================================
   CTA POPUP MODAL
   ============================================ */

.popup {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0);
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    visibility: hidden;
    opacity: 0;
    transition: background 0.4s ease, backdrop-filter 0.4s ease, -webkit-backdrop-filter 0.4s ease, opacity 0.4s ease, visibility 0s 0.4s;
}

.popup.active {
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    visibility: visible;
    opacity: 1;
    transition: background 0.4s ease, backdrop-filter 0.4s ease, -webkit-backdrop-filter 0.4s ease, opacity 0.4s ease, visibility 0s 0s;
}

.popup__modal {
    position: relative;
    width: 90%;
    max-width: 520px;
    background: var(--color-primary);
    border-radius: 16px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.1);
    padding: 2.5rem 2.5rem 2rem;
    transform: translateY(40px) scale(0.92);
    opacity: 0;
    transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1), opacity 0.35s ease;
}

.popup.active .popup__modal {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.popup__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    transition: background 0.25s ease, transform 0.25s ease;
    z-index: 2;
    cursor: pointer;
    border: none;
}

.popup__close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.popup__header {
    text-align: center;
    margin-bottom: 1rem;
}

.popup__eyebrow {
    font-size: 1.2rem;
    line-height: 1.15;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #fff;
}

.popup__title {
    font-size: 2.2rem;
    line-height: 1.15;
    color: #fff;
    margin-bottom: 0.3rem;
}

.popup__subtitle {
    font-size: 1rem;
    color: #fff;
}

.popup__form-grid {
    display: grid;
    gap: 0.5rem;
}

.popup__form-grid input,
.popup__form-grid select {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    color: #1a1a2e;
    background: #fafafa;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    outline: none;
    height: calc(1rem + 1.8rem + 4px + 0.5rem);
}

.popup__form-grid input:focus,
.popup__form-grid select:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(224, 36, 44, 0.12);
    background-color: #fff;
}

.popup__form-grid input::placeholder {
    color: #999;
}

.popup__form-grid select:has(option:disabled:checked) {
    color: #999;
}

.popup__form-grid select option:not(:disabled) {
    color: #1a1a2e;
}

.popup__form-grid select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23666' d='M1.41 0L6 4.58 10.59 0 12 1.41l-6 6-6-6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}



.popup .lead-form .btn {
    margin-top: 0.5rem;
    font-size: 1.2rem;
    padding: 0;
    border-radius: 8px;
    height: calc(1rem + 1.8rem + 4px + 0.5rem);
    line-height: calc(1rem + 1.8rem + 4px + 0.5rem);
}

.popup__trust {
    display: flex;
    justify-content: center;
    column-gap: 1.5rem;
    row-gap: 0.25rem;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.4);
}

.popup__trust-item {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: min(100cqi, 0.8rem);
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 0.2px;
}

.popup__trust-item svg {
    flex-shrink: 0;
    opacity: 0.8;
}

.trust-short {
    display: none;
}

/* Staggered field entrance */
.popup.active .popup__form-grid > *:nth-child(1) { animation: popupFieldIn 0.4s 0.15s both; }
.popup.active .popup__form-grid > *:nth-child(2) { animation: popupFieldIn 0.4s 0.19s both; }
.popup.active .popup__form-grid > *:nth-child(3) { animation: popupFieldIn 0.4s 0.23s both; }
.popup.active .popup__form-grid > *:nth-child(4) { animation: popupFieldIn 0.4s 0.27s both; }
.popup.active .popup__form-grid > *:nth-child(5) { animation: popupFieldIn 0.4s 0.31s both; }
.popup.active .popup__form-grid > *:nth-child(6) { animation: popupFieldIn 0.4s 0.35s both; }
.popup.active .popup__form-grid > *:nth-child(7) { animation: popupFieldIn 0.4s 0.39s both; }
.popup.active .popup__form-grid > *:nth-child(8) { animation: popupFieldIn 0.4s 0.43s both; }
.popup.active .lead-form .btn                    { animation: popupFieldIn 0.4s 0.51s both; }

@keyframes popupFieldIn {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}


/* ============================================
   FOOTER
   ============================================ */

.site-footer {
    background-color: #181616;
    color: #ccc;
    font-size: 0.9rem;
    line-height: 1.7;
}

.site-footer .section__title {
    color: #fff;
    font-size: 1.1rem;
    line-height: 1.4;
    margin-bottom: 1rem;
}

.footer__main {
    padding: 3.5rem 0 2.5rem;
}

.footer__grid {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
}

.footer__col {
    flex: 1;
    min-width: 0;
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.footer__links li a {
    color: #ccc;
    transition: color 0.2s ease;
}

.footer__links li a:hover {
    color: #fff;
}

.footer__address {
    font-style: normal;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.footer__address p svg {
    vertical-align: middle;
    margin-right: 0.35rem;
    color: #ccc;
}

.footer__address strong {
    color: #fff;
}

.footer__address a {
    color: #ccc;
    transition: color 0.2s ease;
}

.footer__address a:hover {
    color: #fff;
}

.footer__social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.footer__social a {
    color: #ccc;
    transition: color 0.2s ease;
}

.footer__social a:hover {
    color: #fff;
}

.footer__bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer__credit {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer__credit-logo {
    height: 50px;
    width: auto;
    display: inline-block;
    vertical-align: middle;
}


.pagination-wrapper {
    grid-column: 1 / -1;
    margin-top: 2rem;
    display: flex;
    justify-content: center;
}

.pagination {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 0.75rem 1.25rem;
}

.pagination-pages {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.pagination-page {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 3rem;
    height: 3rem;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
    font-family: 'League Spartan', sans-serif;
    font-weight: 600;
    font-size: 1.15rem;
    color: #1a1a2e;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.pagination-page:hover {
    background-color: #ececec;
    border-color: #ccc;
}

.pagination-page.is-active {
    background-color: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}

.pagination-ellipsis {
    padding: 0 0.25rem;
    color: #999;
}

.pagination-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.65rem 1.25rem;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
    font-family: 'League Spartan', sans-serif;
    font-weight: 600;
    font-size: 1.05rem;
    text-transform: uppercase;
    color: #1a1a2e;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.pagination-btn:hover {
    background-color: #ececec;
    border-color: #ccc;
}

.pagination-icon {
    width: 1.5rem;
    height: 1.5rem;
    fill: currentColor;
}

.pagination-summary {
    display: none;
    font-family: 'League Spartan', sans-serif;
    font-weight: 600;
    font-size: 1.05rem;
    color: #1a1a2e;
    white-space: nowrap;
}

@media (max-width: 640px) {
    .pagination-pages,
    .pagination-ellipsis {
        display: none;
    }

    .pagination-summary {
        display: inline-flex;
        align-items: center;
    }

    .pagination-text {
        display: none;
    }

    .pagination-wrapper {
        margin-top: 0.75rem;
    }

    .pagination {
        gap: 0.5rem;
        padding: 0.5rem 0.75rem;
    }

    .pagination-btn {
        padding: 0.5rem;
        min-width: 2.75rem;
        min-height: 2.75rem;
        justify-content: center;
    }
}


/* ============================================
   CTA TRUST BADGES
   ============================================ */

.cta-trust {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.cta-trust__item {
    display: flex;
    align-items: center;
    background: rgba(53, 53, 53, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 999px;
    padding: 0.5rem 1.2rem 0.5rem 1.2rem;
    gap: 0.6rem;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.9);
    user-select: none;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.cta-trust__item:hover {
    border-color: var(--color-primary);
    background: rgba(68, 68, 68, 0.6);
}

.cta-trust__item svg {
    display: block;
    background-color: var(--color-primary);
    border-radius: 50%;
    padding: 0.35rem;
    width: 28px;
    height: 28px;
    box-sizing: border-box;
    flex-shrink: 0;
}


/* ============================================
   ACTION CARDS
   ============================================ */

.action-cards__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.action-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
    padding: 2.5rem 1.5rem;
    border-radius: 8px;
    background: #fff;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.action-card__icon {
    color: var(--color-primary);
    flex-shrink: 0;
}

.action-card__title {
    font-size: 1.35rem;
    color: #1a1a2e;
    margin-bottom: 0;
}

.action-card__text {
    font-size: 1rem;
    line-height: 1.5;
    color: #1a1a2e;
    margin: 0;
}


/* ============================================
   INFO & HOURS
   ============================================ */

.info-hours__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.info-hours .section__title {
    margin-bottom: 1.5rem;
}

.info-hours__detail {
    margin-bottom: 1.75rem;
}

.info-hours__detail h3 {
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
    color: #1a1a2e;
}

.info-hours__detail p {
    font-size: 1.2rem;
    color: #1a1a2e;
    margin: 0;
}

.info-hours__detail a {
    color: #1a1a2e;
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-hours__social {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.info-hours__social a {
    color: #1a1a2e;
}

.info-hours__social a svg {
    width: 30px;
    height: 30px;
}

.hours-table {
    width: 100%;
    border-spacing: 0;
    border: 1px solid #d9d9d9;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.hours-table td {
    padding: 1rem 1.5rem;
    font-size: 1.2rem;
    color: #1a1a2e;
    border-bottom: 1px solid #ececec;
}

.hours-table tr:last-child td {
    border-bottom: none;
}

.hours-table td:first-child {
    font-family: 'League Spartan', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1.2rem;
    padding-right: 0.25rem;
}

.hours-table td:last-child {
    text-align: right;
    word-break: break-word;
    padding-left: 0.25rem;
}


/* ============================================
   MAP EMBED
   ============================================ */

.map-embed {
    padding: 0;
}

.map-embed iframe {
    display: block;
    width: 100%;
    height: 450px;
}


/* ============================================
   STEPS
   ============================================ */

.steps__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 1rem;
}

.steps__item {
    background: #fff;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
}

.steps__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--color-primary);
    color: #fff;
    font-family: 'League Spartan', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.steps__title {
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
    color: #1a1a2e;
}

.steps__text {
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.7;
    color: #1a1a2e;
    margin: 0;
}


/* ============================================
   BOOK PAGE
   ============================================ */

.book-page__top {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 4.5rem 0;
}

.book-page__logo img {
    height: 6rem;
    width: auto;
    margin: auto;
}

.book-page__header {
    margin: 1.5rem 0 0.75rem;
}

.book-page__top .section__title {
    color: #fff;
    margin-inline: auto;
}

.book-page__top .section__text {
    color: #fff;
    max-width: 540px;
    font-size: 1.5rem;
    margin: 0 auto 0.75rem;
}

.book-page__bottom {
    padding: 2rem 0 3rem;
}

.book-page__bottom > .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.book-page__calendar {
    width: 100%;
    max-width: 1200px;
}

.book-page__calendar iframe {
    width: 100%;
    border: none;
    overflow: hidden;
    min-height: 600px;
}


/* ============================================
   LOGIN PAGE
   ============================================ */

.student-body, .login-body {
    padding: 0;
    background-color: color-mix(in srgb, var(--color-secondary) 3%, #f5f5f5);
    min-height: 100vh;
}

.login {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem;
    background: linear-gradient(135deg, color-mix(in srgb, var(--color-secondary) 30%, #000) 0%, var(--color-secondary) 100%);
}

.login__card {
    width: 100%;
    max-width: 420px;
    background: #fff;
    border-radius: 16px;
    padding: 3rem 2.5rem;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.login__logo img {
    margin: 0 auto 1.5rem;
    border-radius: 12px;
}

.login__title {
    font-family: 'League Spartan', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: color-mix(in srgb, var(--color-secondary) 15%, #111);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.login__subtitle {
    font-size: 1rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.5;
}

.login__form {
    margin-bottom: 1.5rem;
}

.login__field {
    margin-bottom: 1rem;
}

.login__input {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    color: #333;
    background: #fafafa;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.login__input:focus {
    outline: none;
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-secondary) 12%, transparent);
    background: #fff;
}

.login__input--error {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-primary) 10%, transparent);
}

.login__error {
    color: var(--color-primary);
    font-size: 0.875rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.login__btn {
    border-radius: 8px;
    font-size: 1.1rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.login__back {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #888;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    margin-top: 0.5rem;
}

.login__back:hover {
    color: var(--color-secondary);
}

.login__back svg {
    flex-shrink: 0;
}

.student-header {
    background: #fff;
    border-bottom: 1px solid #e4e4e4;
    padding: 0.75rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.student-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.student-header__logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.student-header__logo img {
    border-radius: 6px;
}

.student-header__name {
    font-family: 'League Spartan', sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    color: color-mix(in srgb, var(--color-secondary) 15%, #111);
    text-transform: uppercase;
}

.student-header__right {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.student-header__badge {
    background: var(--color-secondary);
    color: #fff;
    font-family: 'League Spartan', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.35rem 0.9rem;
    border-radius: 20px;
}

.student-header__logout {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: #555;
    font-size: 0.95rem;
    font-weight: 600;
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    padding: 0.45rem 1rem;
    background: #f3f3f3;
    border: 1px solid #ddd;
    border-radius: 6px;
}

.student-header__logout:hover {
    background: #e8e8e8;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

/* ============================================
   STUDENT PORTAL
   ============================================ */

.student-welcome {
    background: linear-gradient(135deg, color-mix(in srgb, var(--color-secondary) 30%, #000) 0%, var(--color-secondary) 100%);
    padding: 6rem 0;
    text-align: center;
}

.student-welcome .student-section__title {
    color: #fff;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.student-welcome__text {
    color: rgba(255, 255, 255, 0.75);
    text-align: center;
    margin-bottom: 0;
    margin-left: auto;
    margin-right: auto;
}

.student-quick-info {
    padding: 0;
    margin-top: -2rem;
    position: relative;
    z-index: 1;
}

.student-quick-info__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.student-quick-info__card {
    background: #fff;
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid #eee;
}

.student-quick-info__icon {
    width: 56px;
    height: 56px;
    background: color-mix(in srgb, var(--color-secondary) 8%, transparent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--color-secondary);
}

.student-quick-info__label {
    font-family: 'League Spartan', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #999;
    margin-bottom: 0.5rem;
}

.student-quick-info__value {
    font-size: 1rem;
    color: color-mix(in srgb, var(--color-secondary) 15%, #111);
    line-height: 1.5;
    margin: 0;
}

.student-schedule {
    padding: 4rem 0;
}

.student-section__title {
    text-align: left;
    margin-bottom: 0.5rem;
}

.student-schedule .section__text {
    text-align: left;
    margin-bottom: 0;
}

.student-schedule__top {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.student-schedule__top-text {
    flex: 1;
    min-width: 0;
}

.student-schedule__export {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

.student-schedule__export-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.3rem;
    font-family: 'League Spartan', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: color-mix(in srgb, var(--color-secondary) 15%, #111);
    background: color-mix(in srgb, var(--color-secondary) 5%, #eee);
    border: 1px solid #d4d4d4;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.15s, box-shadow 0.15s;
}

.student-schedule__export-btn:hover {
    background: color-mix(in srgb, var(--color-secondary) 8%, #ddd);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.student-schedule__export-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.student-schedule__export-btn svg {
    flex-shrink: 0;
}

.student-schedule__wrapper {
    overflow: hidden;
    overflow-x: auto;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid #d4d4d4;
    background: #fff;
    margin-top: 0.5rem;
    padding-bottom: 1.25rem;
}

.student-schedule__scroll-hint {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 1rem 0 0;
    font-size: 0.95rem;
    color: #666;
}

.student-schedule__grid {
    display: grid;
    gap: 0;
    min-width: 700px;
}

.student-schedule__grid::after {
    content: '';
    grid-column: 1 / -1;
    border-bottom: 1px solid #e5e7eb;
    margin-top: 0.75rem;
}

.student-schedule__header {
    font-family: 'League Spartan', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #fff;
    background: color-mix(in srgb, var(--color-secondary) 20%, #111);
    padding: 0.95rem 0.75rem;
    margin-bottom: 0.5rem;
    text-align: center;
    white-space: nowrap;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    min-width: 180px;
}

.student-schedule__header--first {
    border-radius: 0;
}

.student-schedule__header--last {
    border-radius: 0;
    border-right: none;
}

.student-schedule__col-sep {
    border-right: 1px solid #e5e7eb;
    pointer-events: none;
    z-index: 0;
}

.student-schedule__block {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 6px;
    padding: 0.55rem 0.5rem;
    margin: 2px 4px;
    min-height: 0;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.06);
    z-index: 1;
    position: relative;
}

.student-schedule__block-time {
    font-size: 0.95rem;
    font-weight: 600;
    opacity: 0.8;
    line-height: 1.2;
}

.student-schedule__block-name {
    font-family: 'League Spartan', sans-serif;
    font-size: 1.1rem;
    font-weight: 800;
    line-height: 1.2;
}

.student-schedule__block-sub {
    font-size: 0.92rem;
    font-weight: 500;
    opacity: 0.7;
    line-height: 1.2;
}

.student-schedule__stack {
    display: flex;
    flex-direction: column;
    margin: 2px 4px;
    position: relative;
    z-index: 2;
    border-radius: 6px;
    transition: box-shadow 0.35s ease, background 0.35s ease, padding 0.35s ease, z-index 0s 0.35s;
}

.student-schedule__stack > .student-schedule__block:first-child {
    flex: 1;
    margin: 0;
}

.student-schedule__stack-toggle {
    align-self: center;
    background: color-mix(in srgb, var(--color-secondary) 20%, #111);
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 0.2rem 0.6rem;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    line-height: 1.5;
    z-index: 2;
    margin-top: 2px;
    transition: background 0.15s, margin-top 0.35s ease;
}

.student-schedule__stack-toggle:hover {
    background: color-mix(in srgb, var(--color-secondary) 30%, #222);
}

.student-schedule__stack-toggle svg {
    width: 10px;
    height: 10px;
    margin-left: 2px;
    vertical-align: middle;
    transition: transform 0.3s ease;
}

.student-schedule__stack--expanded .student-schedule__stack-toggle svg {
    transform: rotate(180deg);
}

.student-schedule__stack-drawer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.35s ease;
}

.student-schedule__stack-drawer-inner {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.student-schedule__stack-drawer-inner > .student-schedule__block {
    margin: 0;
    min-height: 0;
    border: 1px solid rgba(0, 0, 0, 0.5);
    border-radius: 6px;
}

.student-schedule__stack--expanded {
    z-index: 10;
    background: #fff;
    border-radius: 6px;
    padding: 3px;
    transition: box-shadow 0.35s ease, background 0.35s ease, padding 0.35s ease, z-index 0s 0s;
}

.student-schedule__stack--expanded .student-schedule__stack-toggle {
    margin-top: 2px;
}

.student-schedule__stack--expanded .student-schedule__stack-drawer {
    grid-template-rows: 1fr;
}

.student-schedule__stack--expanded .student-schedule__stack-drawer-inner {
    padding-top: 3px;
}

.student-schedule__legend {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem 1.25rem;
    margin: 0.5rem 0 0;
    padding: 0.75rem 1rem 0.25rem;
    min-width: 700px;
}

.student-schedule__legend-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.95rem;
    color: #666;
    font-weight: 600;
}

.student-schedule__dot {
    width: 10px;
    height: 10px;
    border-radius: 3px;
    display: inline-block;
}

.student-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 1.5rem;
    text-align: center;
    color: #999;
    border: 1px dashed #ddd;
    border-radius: 12px;
    background: #fafafa;
    grid-column: 1 / -1;
}

.student-empty-state p {
    margin: 0.75rem 0 0;
    font-size: 0.95rem;
}

.student-announcements {
    padding: 4rem 0;
    background: #fff;
}

.student-announcements__list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.student-announcements__item {
    display: flex;
    gap: 1.25rem;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #eee;
    background: color-mix(in srgb, var(--color-secondary) 3%, #fafafa);
    transition: box-shadow 0.3s ease;
}

.student-announcements__item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.student-announcements__date {
    flex-shrink: 0;
    width: 60px;
    height: 64px;
    background: var(--color-secondary);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.student-announcements__month {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    line-height: 1;
    opacity: 0.8;
}

.student-announcements__day {
    font-family: 'League Spartan', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.1;
}

.student-announcements__heading {
    font-family: 'League Spartan', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: color-mix(in srgb, var(--color-secondary) 15%, #111);
    margin-bottom: 0.3rem;
    text-transform: none;
}

.student-announcements__content p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    margin: 0;
}

.student-resources {
    padding: 4rem 0;
}

.student-resources__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.student-resources__card {
    background: #fff;
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: center;
    border: 1px solid #eee;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.student-resources__card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.student-resources__icon {
    width: 60px;
    height: 60px;
    background: color-mix(in srgb, var(--color-primary) 8%, transparent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    color: var(--color-primary);
}

.student-resources__card h3 {
    font-family: 'League Spartan', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: color-mix(in srgb, var(--color-secondary) 15%, #111);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.student-resources__card p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.student-footer {
    background: color-mix(in srgb, var(--color-secondary) 20%, #111);
    padding: 1.5rem 0;
    margin-top: 2rem;
}

.student-footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.student-footer p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    margin: 0;
}

.student-footer a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.student-footer a:hover {
    color: #fff;
}


@media (max-width: 2000px) {

    .hero__cutout {
        right: 6%;
        width: 40%;
    }

}


@media (max-width: 1370px) {

    .hero__cutout {
        width: 45%;
        right: 1%;
    }

    .hero h1 {
        font-size: 3.75rem;
    }

    .hero .section__eyebrow {
        font-size: 1.375rem;
        margin-bottom: 0.3rem;
    }

    .team .hover-card-grid {
        grid-template-columns: repeat(auto-fill, minmax(min(310px, 100%), 1fr));
    }

    .student-schedule__scroll-hint {
        display: flex;
    }

    .two-col {
        gap: 2rem;
    }

}


/* ============================================
   MEDIA QUERIES
   ============================================ */

@media (max-width: 1000px) {    


    .container {
        padding: 0 2rem;
    }

    .hero__content {
        max-width: none;
        text-align: center;
        max-width: 700px;
        margin: auto;
    }

    .hero h1 {
        font-size: 3.45rem;
        margin-bottom: 0.75rem;
    }

    .hero.program {
        flex-direction: column;
        justify-content: center;
        padding-top: 5rem;
        padding-bottom: 0;
    }

    .hero__cutout {
        position: relative;
        right: auto;
        bottom: auto;
        display: block;
        max-height: 450px;
        width: 48%;
        margin: 4rem auto 0;
    }

    .hero__diamond {
        display: none;
    }

    .hero__scroll {
        width: 36px;
        height: 36px;
    }

    .hero__scroll SVG {
        width: 20px;
        height: 20px;
    }

    .hero.program h1 {
        max-width: none;
    }

    .hero.program .section__text {
        margin-bottom: 2rem;
    }

    .two-col {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .two-col__image {
        order: -1;
    }

    .section__eyebrow {
        font-size: 1rem;
    }

    .section__title {
        font-size: 2.3rem;
        line-height: 1.05;
        margin-bottom: 0.5rem;
    }

    .book-page__top .section__text {
        font-size: 1.2rem;
    }

    .section__text {
        font-size: 0.95rem;
        margin-bottom: 1.25rem;
    }

    .content-body .section__headline {
        font-size: 1.75rem;
        margin-top: 1.5rem;
    }

    .section__list {
        font-size: 0.95rem;
    }

    .two-col__text .btn {
        font-size: 1.25rem;
        width: auto;
        text-align: left;
    }

    .two-col-section {
        padding: 2.5rem 0;
    }

    .reviews__slide {
        flex-basis: 48%;
    }

    .blog-grid-paginated {
        grid-template-columns: repeat(2, 1fr);
    }

    .blog-grid-paginated.has-featured .blog-card:first-child .blog-card__link {
        flex-direction: column;
    }

    .blog-grid-paginated.has-featured .blog-card:first-child .blog-card__image {
        flex: none;
    }

    .blog-grid-paginated.has-featured .blog-card:first-child .blog-card__body {
        padding: 1.5rem;
    }

    .blog-grid-paginated.has-featured .blog-card:first-child .blog-card__title {
        font-size: 1.4rem;
    }

    .blog-grid-paginated.has-featured .blog-card:first-child .blog-card__text {
        font-size: 0.95rem;
        margin-bottom: 0;
    }

    .nav-center {
        display: none;
    }

    .nav-logo {
        display: block;
    }

    .main-nav > .container {
        justify-content: space-between;
    }

    .nav-hamburger {
        display: flex;
    }

    .top-bar {
        font-size: 0.8rem;
    }

    .top-bar__left {
        display: block;
    }

    .top-bar__email {
        font-size: 0.8rem;
    }

    .top-bar > .container {
        justify-content: space-between;
        padding-left: 15%;
        padding-right: 15%;
    }

    .top-bar__right {
        gap: 0.625rem;
    }

    .brand-bar > .container {
        justify-content: center;
        text-align: center;
        padding-top: 0.6rem;
        padding-bottom: 0.6rem;
    }

    .brand-bar__left {
        flex: none;
        max-width: 100%;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .brand-bar__name {
        font-size: 1.25rem;
        line-height: 1.4;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .brand-bar__tagline {
        font-size: 0.75rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .brand-bar {
        border-bottom: 1px solid #e0e0e0;
    }

    .brand-bar__logo,
    .brand-bar__right {
        display: none;
    }

    .main-nav {
        background-color: #fff;
    }

    .hamburger-line {
        background-color: #111;
        width: 32px;
        height: 3px;
    }

    .nav-hamburger {
        gap: 0.34375rem;
    }

    .nav-logo img {
        height: 4.25rem;
    }

    .sticky-bottom__inner p {
        font-size: 1rem;
    }

    .sticky-bottom .btn--white {
        font-size: 1rem;
    }

    .values__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .action-cards__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team .hover-card-grid {
        grid-template-columns: repeat(auto-fill, minmax(min(295px, 100%), 1fr));
    }

    .masonry-grid {
        columns: 2;
    }

    .student-resources__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {



    body {
        padding: 0.4375rem;
    }

    .book-page__top {
        padding: 2.5rem 0;
    }

    .book-page__bottom {
        padding: 1.5rem 0 2rem;
    }

    .book-page__logo img {
        height: 4.5rem;
    }

    .cta-trust {
        gap: 0.375rem;
    }

    .cta-trust__item {
        padding: 0.5rem 0.6rem 0.5rem 0.6rem;
        gap: 0.4rem;
        font-size: 0.85rem;
    }

    .cta-trust__item svg {
        width: 22px;
        height: 22px;
        padding: 0.25rem;
    }

    .hero__cutout {
        width: 59%;
        max-height: 350px;
    }

    .container {
        padding: 0 1.2rem;
    }

    section {
        padding: 2.5rem 0;
    }

    .blogs {
        padding: 2.5rem 0 0;
    }

    .blogs.bg-grey {
        padding-bottom: 2.5rem;
    }

    .benefits__grid {
        grid-template-columns: 1fr;
    }

    .values__grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .info-hours__grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .info-hours__detail p,
    .info-hours__detail h3,
    .hours-table td,
    .hours-table td:first-child {
        font-size: 1rem;
    }

    .action-cards__grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }

    .action-card {
        padding: 1.5rem 1rem;
    }

    .action-card__title {
        font-size: 1.15rem;
    }

    .action-card__text {
        font-size: 0.9rem;
    }

    .steps__grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .content-image {
        max-width: 100%;
        margin-bottom: 2rem;
    }

    .back-link {
        padding: 0.5rem 2.25rem;
    }

    .map-embed iframe {
        height: 300px;
    }

    .hours-table td {
        padding: 0.75rem 0.75rem;
    }

    .masonry-grid {
        columns: 1;
    }

    .communities__grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 0.4rem;
    }

    .community-card {
        padding: 1rem 0.75rem;
    }

    .community-card__pin {
        width: 32px;
        height: 32px;
    }

    .community-card__name {
        font-size: 0.8rem;
    }

    .reviews__slide {
        flex-basis: 85%;
    }

    .reviews__controls {
        gap: 1rem;
        margin-top: 1.75rem;
    }

    .reviews__arrow {
        width: 2.625rem;
        height: 2.625rem;
    }

    .reviews__arrow svg {
        width: 20px;
        height: 20px;
    }

    .reviews__dots {
        gap: 0.75rem;
    }

    .reviews__dot {
        width: 0.625rem;
        height: 0.625rem;
    }

    .blog-card__body {
        padding-bottom: 1.25rem;
    }

    .blog-card__title {
        font-size: 1.6rem;
    }

    .blog-card__text {
        margin-bottom: 0.75rem;
    }

    .blog-card__more {
        font-size: 1.05rem;
    }

    .faq__question {
        padding: 1rem 1.25rem;
        font-size: 1.15rem;
    }

    .faq__answer-inner {
        padding: 0 1.25rem;
    }

    .cta-form--boxed {
        padding: 1.5rem;
    }

    .cta-form__eyebrow {
        font-size: 1.25rem;
    }

    .cta-form__title {
        font-size: 1.75rem;
    }

    .cta-form {
        padding: 2.75rem 0;
    }

    .cta-form__subtitle {
        font-size: 1rem;
        margin-bottom: 1.15rem;
    }

    .cta-form__disclaimer {
        font-size: 0.75rem;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .schedule-cta__btn {
        font-size: 1rem;
    }

    .btn--full {
        padding-top: 1.4rem;
        padding-bottom: 1.4rem;
    }

    .blog-grid-paginated {
        grid-template-columns: 1fr;
    }

    .top-bar {
        padding-top: 0.6rem;
        padding-bottom: 0.6rem;
    }

    .top-bar__social,
    .top-bar__phone,
    .top-bar__divider {
        display: none;
    }

    .top-bar > .container {
        justify-content: space-between;
    }

    .top-bar__left {
        display: block;
    }

    .top-bar__right {
        gap: 0;
    }

    .sticky-nav,
    .sticky-bottom {
        display: none;
    }

    .mobile-header {
        display: flex;
    }

    .site-nav {
        padding-top: var(--sticky-top-height, 0px);
    }

    .footer__grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer__col:last-child {
        grid-column: 1 / -1;
    }

    .footer__address {
        align-items: center;
    }

    .footer__address p {
        justify-content: center;
    }

    .footer__social {
        justify-content: center;
    }

    .footer__bottom-inner {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }

    .footer__credit {
        justify-content: center;
    }

    .hover-card-grid {
        grid-template-columns: repeat(auto-fit, minmax(min(245px, 100%), 1fr));
        gap: 0.5rem;
    }

    .hover-card::before {
        transform: scaleY(1);
        background-image: linear-gradient(
            to bottom,
            hsla(0, 0%, 0%, 0) 0%,
            hsla(0, 0%, 0%, 0) 18%,
            hsla(0, 0%, 0%, 0.05) 28%,
            hsla(0, 0%, 0%, 0.15) 38%,
            hsla(0, 0%, 0%, 0.35) 48%,
            hsla(0, 0%, 0%, 0.55) 58%,
            hsla(0, 0%, 0%, 0.75) 68%,
            hsla(0, 0%, 0%, 0.90) 82%,
            hsla(0, 0%, 0%, 0.95) 100%
        );
    }

    .hover-card {
        padding-bottom: 0.5rem;
    }

    .hover-card__body,
    .team .hover-card__body {
        transform: none;
    }

    .hover-card__body h3 {
        font-size: 1.3rem;
        line-height: 1.2;
        margin-bottom: 0;
    }

    .hover-card__body p {
        font-size: 0.875rem;
        margin-bottom: 0.5rem;
    }

    .hover-card__link {
        margin-top: 0.25rem;
        padding: 0.4rem 1.25rem;
    }

    .hover-card__body > *:not(h3) {
        opacity: 1;
        transform: none;
        transition: background-color 0.4s ease, box-shadow 0.4s ease;
    }

    .hover-card:hover,
    .hover-card:focus-within {
        align-items: flex-end;
    }

    .hover-card:hover .hover-card__image img,
    .hover-card:focus-within .hover-card__image img {
        transform: translateX(-50%);
    }

    .hover-card:hover::before,
    .hover-card:focus-within::before {
        transform: scaleY(1);
    }

    .hover-card:hover .hover-card__body,
    .hover-card:focus-within .hover-card__body,
    .team .hover-card:hover .hover-card__body,
    .team .hover-card:focus-within .hover-card__body {
        transform: none;
    }

    .hover-card:hover .hover-card__body > *:not(h3),
    .hover-card:focus-within .hover-card__body > *:not(h3) {
        opacity: 1;
        transform: none;
    }

    .cta-form--floating-wrap {
        margin-bottom: -34rem;
    }

    .bottom {
        padding-top: 36rem;
    }

    .student-quick-info__grid {
        grid-template-columns: 1fr;
    }

    .student-resources__grid {
        grid-template-columns: 1fr;
    }

    .student-welcome .student-section__title {
        font-size: 2rem;
    }

    .student-header__name {
        display: none;
    }

    .student-announcements__item {
        flex-direction: column;
        align-items: flex-start;
    }

    .student-announcements__date {
        flex-direction: row;
        width: auto;
        height: auto;
        padding: 0.4rem 0.75rem;
        gap: 0.35rem;
    }

    .student-schedule__top {
        flex-direction: column;
        align-items: stretch;
    }

    .student-schedule__export {
        margin-top: 0;
    }

    .student-schedule__export-btn {
        flex: 1;
        justify-content: center;
    }

    .student-footer__inner {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .login__card {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 490px) {

    .container {
        padding: 0 1rem;
    }

    .hero {
        min-height: 60vh;
    }

    .hero.content {
        min-height: 40vh;
    }

    .hero h1 {
        font-size: 2.7rem;
        line-height: 1.05;
        margin-bottom: 0.5rem;
    }

    .hero .section__eyebrow {
        font-size: 1.03rem;
        line-height: 1.1;
    }

    .hero .section__text {
        font-size: 1rem;
    }

    .hero__cutout {
        width: 80%;
    }

    .section__title {
        font-size: 2rem;
    }

    .popup__modal {
        width: 95%;
        padding: 2rem 1.5rem;
        border-radius: 12px;
    }

    .popup__close {
        top: 0.75rem;
        right: 0.75rem;
    }

    .popup__eyebrow {
        font-size: 1rem;
        padding-right: 1.5rem;
        padding-left: 1.5rem;
    }

    .popup__title {
        font-size: 1.8rem;
    }

    .popup__trust {
        justify-content: space-evenly;
        width: 100%;
    }

    .trust-long {
        display: none;
    }

    .trust-short {
        display: inline;
    }

    .cta-trust {
        gap: 0.5rem;
    }

    .cta-trust__item {
        padding: 0.35rem 0.8rem 0.35rem 0.35rem;
        gap: 0.3rem;
        font-size: 0.8rem;
    }

    .btn {
        padding: 0.75rem 1.5rem;
    }

    .hover-card__link {
        padding: 0.4rem 1.25rem;
    }

    .action-cards__grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .action-card {
        flex-direction: row;
        text-align: left;
        padding: 1.25rem 1rem;
        gap: 1rem;
    }

    .action-card__icon {
        width: 32px;
        height: 32px;
    }

    .mobile-drawer__cta {
        padding-top: 0.9rem;
        padding-bottom: 0.9rem;
    }
}
