/* =========================================================================
   Design tokens
   Deep institutional navy carried over from the previous theme, paired with a
   collegiate gold so something other than navy can carry emphasis.
   ========================================================================= */
:root {
    /* Navy scale — 800 is the original brand colour, kept as the anchor */
    --navy-900: #04202f;
    --navy-800: #052c3e;
    --navy-700: #0b425c;
    --navy-600: #14607f;

    --primary-color: #052c3e;
    --primary-color-rgb: 5, 44, 62;
    --primary-color-light: #0b425c;
    --secondary-color: #04202f;

    /* Accent */
    --accent: #c8a344;
    /* Bright gold reads well on navy (6.1:1) but only 2.4:1 on white, so gold
       *text* on light backgrounds uses the darker tone below (5.0:1). */
    --accent-strong: #b08d2e;
    --accent-ink: #8a6b1c;
    --accent-soft: rgba(200, 163, 68, 0.14);

    /* Neutrals */
    --ink: #16232d;
    --ink-soft: #4a5b68;
    --ink-muted: #61707c;
    --line: #e2e8ec;
    --line-strong: #cbd5dc;
    --white: #ffffff;
    --surface: #ffffff;
    --light-bg: #f6f8f9;
    --border-color: #e2e8ec;

    /* Elevation — light and close to the surface */
    --shadow-soft: 0 1px 2px rgba(4, 32, 47, 0.04), 0 8px 24px rgba(4, 32, 47, 0.06);
    --shadow-medium: 0 2px 4px rgba(4, 32, 47, 0.05), 0 16px 40px rgba(4, 32, 47, 0.10);
    --shadow-hover: 0 4px 10px rgba(4, 32, 47, 0.07), 0 24px 56px rgba(4, 32, 47, 0.13);

    --radius-sm: 6px;
    --radius: 12px;
    --radius-lg: 20px;

    /* Vertical rhythm */
    --section-y: clamp(72px, 8vw, 112px);

    --heading-font: 'Lora', Georgia, 'Times New Roman', serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Type scale — tighter than before so headings stop shouting */
    --display-size: clamp(2.6rem, 5.6vw, 4.4rem);
    --h1-size: clamp(2.1rem, 4.2vw, 3.4rem);
    --h2-size: clamp(1.7rem, 3vw, 2.4rem);
    --h3-size: clamp(1.2rem, 1.9vw, 1.55rem);
    --h4-size: clamp(1.05rem, 1.4vw, 1.25rem);
    --h5-size: 1.05rem;
    --h6-size: 0.95rem;
    --body-size: 1rem;

    --transition-fast: 0.18s ease;
    --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body,
p,
li,
a,
span,
div,
td,
th,
label,
input,
button,
textarea,
select,
small {
    font-family: var(--font-body);
    font-size: var(--body-size);
    font-weight: 400;
    color: var(--ink-soft);
}

html {
    overflow-x: hidden;
}

body {
    line-height: 1.7;
    background-color: var(--light-bg);
    color: var(--ink-soft);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--heading-font);
    color: var(--secondary-color);
    font-weight: 600;
    /* Title case reads as current; small uppercase is reserved for eyebrows */
    text-transform: none;
    line-height: 1.22;
    letter-spacing: -0.015em;
    margin-bottom: 0.5em;
}

h1 {
    font-size: var(--h1-size);
}

h2 {
    font-size: var(--h2-size);
}

h3 {
    font-size: var(--h3-size);
}

h4 {
    font-size: var(--h4-size);
}

h5 {
    font-size: var(--h5-size);
}

h6 {
    font-size: var(--h6-size);
}

p {
    margin-bottom: 1em;
}

p:last-child {
    margin-bottom: 0;
}

a {
    text-decoration: none;
    color: inherit;
    /* Inherit the surrounding size — the global element rule above otherwise
       pins every link to 1rem, so links inside smaller text rendered bigger. */
    font-size: inherit;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

::selection {
    background: var(--accent-soft);
    color: var(--primary-color);
}

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

/* Small uppercase label that sits above a heading */
.eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent-ink);
    margin-bottom: 14px;
}

/* Short gold rule used under section headings */
.rule {
    width: 54px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
    margin: 18px 0 0;
}

.text-center .rule {
    margin-left: auto;
    margin-right: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Header Layout ---
   The whole header is the sticky element: `position: sticky` is clamped to its
   parent's box, so pinning the nav row alone let it scroll away with the
   header. Instead the logo row condenses on scroll, leaving a slim bar. */
.site-header {
    background-color: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow var(--transition-normal);
}

.site-header.is-condensed {
    box-shadow: 0 2px 16px rgba(4, 32, 47, 0.14);
}

.header-container {
    display: flex;
    flex-direction: column;
    position: relative;
    width: 100%;
}

.logo-row {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 22px 15px 20px;
    width: 100%;
    transition: padding var(--transition-normal);
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    /* Using a max-width of 300px ensures it looks balanced in the taller section */
    max-width: 380px;
    height: auto;
    display: block;
    transition: max-width var(--transition-normal), transform var(--transition-normal);
}

/* Condensed state — branding stays visible, footprint roughly halves */
.site-header.is-condensed .logo-row {
    padding: 8px 15px 7px;
}

.site-header.is-condensed .logo img {
    max-width: 210px;
}

@media (prefers-reduced-motion: reduce) {

    .logo-row,
    .logo img {
        transition: none;
    }
}

.logo img:hover {
    transform: scale(1.02);
}

@media (max-width: 900px) {
    .logo img {
        max-width: 280px;
    }
}

/* --- Main Navigation (Desktop) --- */
.nav-row {
    background-color: var(--primary-color);
    width: 100%;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0 15px;
}

.nav-list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 34px;
}

.nav-item {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    font-size: 0.82rem;
    letter-spacing: 0.09em;
    position: relative;
    padding: 17px 0;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.88);
}

/* Gold underline grows from the centre on hover */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 9px;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    border-radius: 2px;
    transition: width var(--transition-normal), left var(--transition-normal);
}

.nav-item:not(.cta-item)>.nav-link:hover::after,
.nav-item.has-dropdown:hover>.nav-link::after,
.nav-item.has-mega-menu:hover>.nav-link::after {
    width: 100%;
    left: 0;
}

.nav-link:hover {
    color: var(--white);
}

/* --- Premium CTA Button --- */
.btn-primary {
    background-color: var(--accent);
    color: var(--navy-900) !important;
    padding: 11px 26px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.78rem;
    transition: background-color var(--transition-normal), transform var(--transition-fast), box-shadow var(--transition-normal);
}

.btn-primary::after {
    display: none;
    /* No underline on button */
}

.btn-primary:hover {
    background-color: var(--accent-strong);
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(200, 163, 68, 0.3);
}

/* --- Dropdowns (Standard) --- */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    min-width: 320px;
    white-space: nowrap;
    box-shadow: var(--shadow-medium);
    border: 1px solid var(--line);
    border-top: 3px solid var(--accent);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all var(--transition-normal);
    z-index: 1100;
    border-radius: 0 0 var(--radius) var(--radius);
}

.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 11px 24px;
    color: var(--ink);
    font-size: 0.94rem;
    font-weight: 400;
    transition: background-color var(--transition-fast), color var(--transition-fast), padding-left var(--transition-fast);
}

.dropdown-menu li a:hover {
    background-color: rgba(5, 44, 62, 0.04);
    /* Subtler hover background */
    color: var(--primary-color);
    padding-left: 30px;
    /* Subtle slide effect */
}

/* --- Nested flyout submenus (Academics) --- */
.dropdown-menu li,
.submenu li {
    position: relative;
}

.dropdown-menu li.has-submenu>a,
.submenu li.has-submenu>a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.has-submenu>a::after {
    content: '\203A';
    /* single right angle quote */
    font-size: 20px;
    line-height: 1;
    color: var(--accent-ink);
    transition: transform var(--transition-fast);
}

.has-submenu:hover>a::after {
    transform: translateX(3px);
}

.submenu {
    position: absolute;
    top: -13px;
    /* offset the parent menu's 10px padding + 3px top border */
    left: 100%;
    min-width: 280px;
    background-color: var(--white);
    box-shadow: var(--shadow-medium);
    border: 1px solid var(--line);
    border-top: 3px solid var(--accent);
    border-radius: 0 0 var(--radius) var(--radius);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all var(--transition-normal);
    z-index: 1200;
}

.has-submenu:hover>.submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* Flipped to the left when the flyout would run past the viewport edge */
.submenu.submenu--flip {
    left: auto;
    right: 100%;
    transform: translateX(-10px);
}

.has-submenu:hover>.submenu.submenu--flip {
    transform: translateX(0);
}

.submenu li a {
    display: block;
    padding: 11px 24px;
    color: var(--ink);
    font-size: 0.94rem;
    font-weight: 400;
    transition: background-color var(--transition-fast), color var(--transition-fast), padding-left var(--transition-fast);
}

.submenu li a:hover {
    background-color: rgba(5, 44, 62, 0.04);
    color: var(--primary-color);
}

/* Keep the slide effect off parent rows so the caret stays put */
.submenu li:not(.has-submenu) a:hover {
    padding-left: 30px;
}

.dropdown-menu>li.has-submenu>a:hover {
    padding-left: 25px;
}

/* --- Mega Menu (Full Width) --- */
.has-mega-menu {
    position: static;
    /* Important for full-width dropdown */
}

.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100vw;
    /* full viewport width */
    background-color: var(--white);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    /* Subtle premium shadow matching standard dropdown */
    border-top: 3px solid var(--primary-color);
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    /* Slide animation */
    transition: opacity var(--transition-normal), transform var(--transition-normal), visibility var(--transition-normal);
    padding: 40px 0;
    z-index: 999;
}

.has-mega-menu:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-menu-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.mega-column {
    display: flex;
    flex-direction: column;
}

.mega-heading {
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: var(--heading-font);
    font-weight: 600;
}

.mega-list li {
    margin-bottom: 15px;
}

.mega-list li a {
    color: var(--secondary-color);
    font-size: 16px;
    /* Matches uniform 16px requirement */
    display: inline-block;
    transition: color var(--transition-fast), transform var(--transition-fast);
}

.mega-list li a:hover {
    color: var(--primary-color);
    transform: translateX(8px);
    /* Slightly stronger indent on hover */
}

/* Nested Dropdown in Mega Menu */
.has-nested-dropdown>a {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.has-nested-dropdown>a::after {
    content: '+';
    font-size: 12px;
    margin-left: 8px;
    transition: transform var(--transition-fast);
}

.has-nested-dropdown:hover>a::after {
    transform: rotate(45deg);
    color: var(--primary-color);
}

.nested-dropdown {
    padding-left: 15px;
    margin-top: 8px;
    border-left: 2px solid var(--border-color);
    display: none;
}

.has-nested-dropdown:hover .nested-dropdown {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Base animations */
.fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* --- Mobile Menu Toggle --- */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
    z-index: 1001;
}

.hamburger,
.hamburger::before,
.hamburger::after {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--secondary-color);
    position: absolute;
    transition: transform var(--transition-normal), opacity var(--transition-normal);
}

.hamburger {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger::before {
    content: '';
    top: -8px;
}

.hamburger::after {
    content: '';
    bottom: -8px;
}

.mobile-menu-toggle.active .hamburger {
    background-color: transparent;
}

.mobile-menu-toggle.active .hamburger::before {
    transform: translateY(8px) rotate(45deg);
    background-color: var(--primary-color);
}

.mobile-menu-toggle.active .hamburger::after {
    transform: translateY(-8px) rotate(-45deg);
    background-color: var(--primary-color);
}

/* Hero Section (Aesthetics only) */
/* --- Responsive Styles --- */
@media (max-width: 1024px) {
    .nav-list {
        gap: 15px;
    }

    .nav-link {
        font-size: 14px;
    }
}

@media (max-width: 900px) {
    .mobile-menu-toggle {
        display: block;
        position: absolute;
        top: 38px;
        right: 20px;
    }

    .nav-row {
        background-color: transparent;
        box-shadow: none;
    }

    .nav-list {
        position: fixed;
        top: 100px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 100px);
        background-color: var(--white);
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 20px 20px 60px 20px;
        gap: 0;
        transition: left var(--transition-normal);
        overflow-y: auto;
        z-index: 1000;
        box-shadow: var(--shadow-medium);
    }

    .nav-list.active {
        left: 0;
    }

    .nav-item {
        width: 100%;
        height: auto;
        border-bottom: 1px solid var(--border-color);
        display: block;
    }

    .nav-item:last-child {
        border-bottom: none;
        margin-top: 20px;
    }

    .nav-link {
        display: block;
        padding: 15px 0;
        width: 100%;
        font-size: 16px;
        color: var(--secondary-color);
        font-weight: 600;
    }

    .nav-link:hover {
        color: var(--primary-color);
    }

    .nav-link::after {
        display: none;
    }

    /* Reset desktop dropdowns */
    .dropdown-menu,
    .mega-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        width: 100%;
        display: none;
        /* Hide by default in mobile, toggle with JS */
        padding: 5px 0 15px 15px;
    }

    .dropdown-menu li a,
    .mega-list li a {
        padding: 12px 0;
        font-size: 15px;
        color: #555;
        display: block;
    }

    .dropdown-menu li a:hover,
    .mega-list li a:hover {
        padding-left: 5px;
        background-color: transparent;
        color: var(--primary-color);
    }

    .has-dropdown.active .dropdown-menu,
    .has-mega-menu.active .mega-menu {
        display: block;
    }

    /* Nested submenus stack inline and open on tap */
    .submenu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        border-radius: 0;
        min-width: 0;
        width: 100%;
        display: none;
        padding: 0 0 5px 15px;
        border-left: 1px solid #eaeaea;
    }

    .has-submenu.active>.submenu {
        display: block;
    }

    .submenu li a {
        padding: 12px 0;
        font-size: 15px;
        color: #555;
    }

    .submenu li a:hover,
    .submenu li:not(.has-submenu) a:hover,
    .dropdown-menu>li.has-submenu>a:hover {
        padding-left: 5px;
        background-color: transparent;
        color: var(--primary-color);
    }

    .has-submenu>a::after {
        content: '+';
        font-size: 16px;
    }

    .has-submenu.active>a::after {
        content: '\2212';
        /* minus */
    }

    .mega-menu-container {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 0;
    }

    .mega-column {
        margin-bottom: 10px;
    }

    .mega-heading {
        margin-top: 10px;
        margin-bottom: 5px;
        padding-bottom: 5px;
        font-size: 13px;
        color: #888;
        border-bottom: 1px solid #eaeaea;
    }

    .btn-primary {
        text-align: center;
        width: 100%;
        display: block;
    }

}

/* =========================================================================
   About Us Page Styles
   ========================================================================= */

.section-padding {
    padding: var(--section-y) 0;
}

/* Alternating band so long pages get a visual rhythm */
.band-alt {
    background: var(--surface);
}

/* Editorial lockup: eyebrow, heading, rule */
.lockup {
    max-width: 720px;
}

.lockup.text-center {
    margin-left: auto;
    margin-right: auto;
}

.lockup h2 {
    margin-bottom: 0;
}

.lockup p {
    margin-top: 18px;
    color: var(--ink-muted);
}

.bg-light {
    background-color: var(--light-bg);
}

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

/* Page Banner */
.page-banner {
    background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 45%, var(--navy-700) 100%);
    padding: 84px 0 76px;
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 3px solid var(--accent);
}

/* Faint diagonal weave — texture without a stock photo */
.page-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(135deg,
            rgba(255, 255, 255, 0.028) 0px,
            rgba(255, 255, 255, 0.028) 1px,
            transparent 1px,
            transparent 11px);
    z-index: 1;
}

/* Soft glow anchored to one corner */
.page-banner::after {
    content: '';
    position: absolute;
    top: -60%;
    right: -15%;
    width: 70%;
    height: 220%;
    background: radial-gradient(circle, rgba(200, 163, 68, 0.16) 0%, transparent 62%);
    z-index: 1;
    pointer-events: none;
}

.page-banner-content {
    position: relative;
    z-index: 2;
}

.page-banner-content h1 {
    color: var(--white);
    text-transform: none;
    font-size: clamp(2.1rem, 4.4vw, 3.2rem);
    margin-bottom: 0;
    letter-spacing: -0.025em;
}

/* Gold rule above the title anchors the lockup */
.page-banner-content h1::before {
    content: '';
    display: block;
    width: 54px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
    margin: 0 auto 22px;
}

.page-banner-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin: 16px auto 0;
    max-width: 640px;
}

/* Vision & Mission Grid */
.vm-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    align-items: stretch;
}

.vm-card {
    background: var(--surface);
    padding: 34px 30px 32px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    box-shadow: 0 1px 2px rgba(4, 32, 47, 0.03);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
    position: relative;
    overflow: hidden;
    z-index: 1;
    text-align: left;
    counter-increment: card;
}

/* Faint index numeral in the corner — an editorial touch that also gives the
   otherwise plain program cards a sense of sequence. */
.vm-grid {
    counter-reset: card;
}

.vm-card .vm-card-header::after {
    content: counter(card, decimal-leading-zero);
    position: absolute;
    top: 22px;
    right: 26px;
    font-family: var(--heading-font);
    font-size: 2.4rem;
    font-weight: 600;
    line-height: 1;
    color: var(--line);
    transition: color var(--transition-normal);
    pointer-events: none;
    user-select: none;
}

.vm-card:hover .vm-card-header::after {
    color: var(--accent-soft);
}

/* Gold rule that wipes across the top edge on hover */
.vm-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-normal);
}

.vm-card:hover::after {
    transform: scaleX(1);
}

/* Cards that link straight through to a program page */
a.vm-card {
    display: block;
    color: inherit;
    text-decoration: none;
}

.vm-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(150deg, rgba(200, 163, 68, 0.05) 0%, transparent 60%);
    opacity: 0;
    transition: opacity var(--transition-normal);
    z-index: -1;
}

/* Enforce 2 boxes per row on desktop */
@media (min-width: 992px) {

    .strands-section .vm-grid,
    .programs-section .vm-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.vm-card:hover::before {
    opacity: 1;
}

.vm-card:hover {
    transform: translateY(-4px);
    border-color: var(--line-strong);
    box-shadow: var(--shadow-medium);
}

.vm-card-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    margin-bottom: 16px;
    padding-right: 52px;
}

.vm-icon {
    color: var(--primary-color);
    background: var(--accent-soft);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
    transition: background var(--transition-normal), color var(--transition-normal);
}

.vm-icon svg {
    width: 24px;
    height: 24px;
}

.vm-card:hover .vm-icon {
    background: var(--primary-color);
    color: var(--accent);
}

.vm-card h2,
.vm-card h3 {
    font-size: 1.3rem;
    margin: 0;
    color: var(--secondary-color);
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.01em;
}

.vm-card .lead-text {
    font-size: 0.97rem;
    line-height: 1.65;
    color: var(--ink-soft);
    font-weight: 400;
    margin-bottom: 0;
    display: block;
}

.vm-card .lead-text strong {
    color: var(--primary-color);
    font-weight: 600;
}

.mission-list {
    margin-top: 20px;
}

.mission-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-size: 1.0rem;
    color: #555;
}

.mission-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent-ink);
    font-weight: 700;
}

/* Imperatives Section */
.section-header {
    margin-bottom: 56px;
}

.section-title {
    font-size: var(--h2-size);
    margin-bottom: 14px;
}

.title-separator {
    height: 3px;
    width: 54px;
    background-color: var(--accent);
    border-radius: 2px;
    margin: 0 auto 22px;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--ink-muted);
    max-width: 620px;
    margin: 0 auto;
}

.imperatives-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.imperative-card {
    display: flex;
    align-items: center;
    background: var(--surface);
    padding: 28px 30px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    box-shadow: 0 1px 2px rgba(4, 32, 47, 0.03);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.imperative-card:hover {
    transform: translateX(6px);
    border-color: var(--line-strong);
    box-shadow: var(--shadow-medium);
}

.imperative-letter {
    font-family: var(--heading-font);
    font-size: 3rem;
    font-weight: 600;
    color: var(--accent-ink);
    line-height: 1;
    margin-right: 26px;
    min-width: 54px;
    text-align: center;
}

.imperative-content h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: var(--secondary-color);
    font-family: var(--font-body);
}

.imperative-content p {
    color: #666;
    margin: 0;
    font-size: 1rem;
}

/* Footer Placeholder */
/* =========================================================================
   Site footer — light
   ========================================================================= */
.site-footer {
    background-color: var(--surface);
    color: var(--ink-soft);
    padding: 68px 0 0;
    margin-top: auto;
    border-top: 3px solid var(--accent);
}

.site-footer .footer-grid {
    padding-bottom: 46px;
}

.site-footer a {
    color: var(--ink-soft);
    transition: color var(--transition-fast);
}

.site-footer a:hover {
    color: var(--accent-ink);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.5fr;
    gap: 48px 40px;
    padding-bottom: 52px;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--ink-muted);
    margin: 18px 0 22px;
    max-width: 34ch;
}

.footer-logo {
    max-width: 210px;
    height: auto;
    display: block;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--accent);
}

.footer-col h3 {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent-ink);
    margin-bottom: 18px;
}

.footer-col ul li {
    margin-bottom: 11px;
    font-size: 0.9rem;
}

.campus-list li {
    font-size: 0.83rem;
    line-height: 1.6;
    color: var(--ink-muted);
    margin-bottom: 16px;
}

.campus-list strong {
    display: block;
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.88rem;
    margin-bottom: 2px;
}

.campus-list a {
    display: inline-block;
    margin-top: 3px;
    font-size: 0.83rem;
}

/* Dark bar closing out the light footer */
.footer-bottom {
    background: var(--navy-900);
    padding: 18px 0;
}

.footer-bottom-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.62);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.62);
}

.footer-bottom a:hover {
    color: var(--accent);
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px 30px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 560px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom-inner {
        justify-content: center;
        text-align: center;
    }
}


/* Responsive Overrides for About Us */
@media (max-width: 768px) {
    .page-banner-content h1 {
        font-size: 2.2rem;
    }

    .imperative-card {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
    }

    .imperative-letter {
        margin-right: 0;
        margin-bottom: 20px;
    }
}

/* =========================================================================
   Institutions Page Styles
   ========================================================================= */

.institutions-container {
    max-width: 900px;
}

.institution-block {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
    margin-bottom: 40px;
    border-left: 5px solid var(--primary-color);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.institution-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(5, 44, 62, 0.02) 0%, transparent 100%);
    opacity: 0;
    transition: opacity var(--transition-normal);
    z-index: -1;
}

.institution-block:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.institution-block:hover::before {
    opacity: 1;
}

.institution-block:last-child {
    margin-bottom: 0;
}

.institution-title {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.institution-content p {
    margin-bottom: 15px;
    color: #555;
    line-height: 1.8;
    font-size: 1.1rem;
}

.institution-content p:last-child {
    margin-bottom: 0;
}

/* YouTube Button */
.btn-youtube {
    display: inline-flex;
    align-items: center;
    background-color: #ff0000;
    /* YouTube Red */
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    margin-top: 25px;
    transition: background-color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
    box-shadow: 0 4px 6px rgba(255, 0, 0, 0.2);
}

.btn-youtube svg {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

.btn-youtube:hover {
    background-color: #cc0000;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(255, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .institution-block {
        padding: 30px 20px;
    }

    .institution-title {
        font-size: 1.6rem;
    }
}

/* =========================================================================
   Leadership Page Specifics
   ========================================================================= */

.leadership-header {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.leadership-header .institution-title {
    margin-bottom: 5px;
    border-bottom: none;
    padding-bottom: 0;
}

.leadership-role {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.0rem;
    letter-spacing: 0.5px;
}

.read-more-text {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
}

.read-more-text.expanded {
    max-height: 2500px;
    transition: max-height 0.6s ease-in-out;
}

.btn-read-more {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 8px 18px;
    border-radius: 4px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    margin-top: 15px;
    transition: all var(--transition-fast);
}

/* Testimonials Section */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 30px;
}

@media (max-width: 768px) {
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
}

.testimonial-card {
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
    position: relative;
    transition: all var(--transition-normal);
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-color);
}

.testimonial-quote-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    color: rgba(5, 44, 62, 0.1);
}

.testimonial-text {
    font-style: italic;
    color: #444;
    line-height: 1.8;
    margin-bottom: 25px;
    flex-grow: 1;
}

.testimonial-footer {
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.testimonial-author {
    font-family: var(--heading-font);
    font-weight: 700;
    color: var(--secondary-color);
    letter-spacing: 1px;
    margin-bottom: 3px;
    text-transform: uppercase;
}

.testimonial-meta {
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.read-more-link {
    display: block;
    text-align: right;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    margin-top: 5px;
    transition: color 0.3s ease;
}

.read-more-link:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Modal System */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.82);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--white);
    width: 90%;
    max-width: 800px;
    padding: 60px;
    border-radius: 12px;
    position: relative;
    max-height: 85vh;
    overflow-y: auto;
    transform: scale(0.9);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 25px;
    right: 25px;
    background: none;
    border: none;
    font-size: 2.5rem;
    color: #999;
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1;
}

.modal-close:hover {
    color: var(--primary-color);
    transform: rotate(90deg);
}

.modal-body-text {
    line-height: 1.8;
    color: #444;
    font-style: italic;
    font-size: 1.15rem;
    margin-bottom: 30px;
    white-space: pre-line;
}

/* Testimonial Modal specific styles */
.modal-quote-icon svg {
    color: var(--primary-color);
    opacity: 0.15;
}

.modal-footer {
    border-top: 1px solid #eee;
    padding-top: 30px;
}

@media (max-width: 768px) {
    .modal-content {
        padding: 40px 25px;
    }
}



.accordion {
    max-width: 900px;
    margin: 0 auto;
}

.accordion-item {
    background: var(--surface);
    border-radius: var(--radius);
    margin-bottom: 12px;
    border: 1px solid var(--line);
    overflow: hidden;
    transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.accordion-item:hover {
    border-color: var(--line-strong);
}

.accordion-item.active {
    border-color: var(--accent);
    box-shadow: var(--shadow-soft);
}

.accordion-header {
    width: 100%;
    padding: 18px 26px;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    cursor: pointer;
    text-align: left;
    transition: background var(--transition-fast);
}

.accordion-header:hover {
    background: rgba(4, 32, 47, 0.02);
}

.accordion-header h3 {
    font-size: 1.12rem;
    margin-bottom: 0;
    color: var(--secondary-color);
    font-weight: 600;
    letter-spacing: -0.005em;
}

.accordion-item.active .accordion-header h3 {
    color: var(--primary-color);
}

.accordion-icon {
    width: 20px;
    height: 20px;
    position: relative;
    transition: transform 0.3s ease;
}

.accordion-icon::before,
.accordion-icon::after {
    content: '';
    position: absolute;
    background-color: var(--accent-strong);
    transition: all var(--transition-fast);
}

.accordion-icon::before {
    width: 2px;
    height: 100%;
    left: 50%;
    transform: translateX(-50%);
}

.accordion-icon::after {
    width: 100%;
    height: 2px;
    top: 50%;
    transform: translateY(-50%);
}

.accordion-item.active .accordion-icon {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
    padding: 0 30px;
}

.accordion-item.active .accordion-content {
    max-height: 2000px;
    padding: 22px 26px 28px;
    border-top: 1px solid var(--line);
}

.faculty-meta-title {
    font-family: var(--font-body);
    font-size: 0.72rem;
    color: var(--accent-ink);
    margin-bottom: 14px;
    margin-top: 26px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-weight: 600;
}

.faculty-meta-title:first-child {
    margin-top: 0;
}

.faculty-info-list {
    list-style: none;
    padding-left: 0;
}

.faculty-info-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 12px;
    line-height: 1.6;
    color: #444;
}

.faculty-info-list li::before {
    content: '';
    position: absolute;
    left: 2px;
    top: 10px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent);
}

.faculty-info-list li strong {
    color: var(--ink);
    display: block;
    font-weight: 600;
    font-size: 0.95rem;
}

.faculty-info-list li span {
    font-size: 0.9rem;
    color: var(--ink-muted);
    display: block;
}

/* Institutions / clients listed under a single position */
.faculty-sub-list {
    list-style: none;
    padding-left: 0;
    margin: 8px 0 0;
}

.faculty-sub-list li {
    position: relative;
    padding-left: 16px;
    margin-bottom: 4px;
    font-size: 0.92rem;
    color: #666;
    line-height: 1.5;
}

.faculty-sub-list li::before {
    content: '\2022';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* Other Faculty */
.other-faculty {
    max-width: 900px;
    margin: 48px auto 0;
    background: var(--surface);
    border-radius: var(--radius);
    border: 1px solid var(--line);
    border-top: 3px solid var(--accent);
    overflow: hidden;
}

.other-faculty-title {
    font-size: 1.12rem;
    margin: 0;
    padding: 18px 26px;
    color: var(--secondary-color);
    font-weight: 600;
    border-bottom: 1px solid var(--line);
}

.other-faculty-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 30px;
    padding: 25px 30px 30px;
}

.other-faculty-card h4 {
    font-size: 1.05rem;
    margin: 0 0 4px;
    color: var(--secondary-color);
    text-transform: none;
    letter-spacing: normal;
}

.other-faculty-card p {
    margin: 0;
    font-size: 0.95rem;
    color: #666;
}

@media (max-width: 600px) {
    .other-faculty-grid {
        grid-template-columns: 1fr;
    }
}

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

/* =========================================================================
   Global Mobile Responsiveness Additions
   ========================================================================= */
@media (max-width: 768px) {
    /* General Spacing */
    .section-padding {
        padding: 40px 0;
    }

    .page-banner {
        padding: 50px 0;
    }

    .page-banner-content h1 {
        font-size: 2.2rem;
    }

    /* Core typography tweaks */
    /* `a` is deliberately absent: pinning links to 1rem makes them larger than
       the smaller text they sit inside (footer credit, footer nav). */
    body, p, li, span, div, td, th, label, input, button, textarea, select {
        font-size: 1rem;
    }

    /* Responsive Vision & Mission Grids globally */
    .vm-grid, 
    .strands-section .vm-grid, 
    .programs-section .vm-grid,
    .imperatives-grid,
    .edge-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .vm-card {
        padding: 30px 20px;
    }

    /* Footer tweaks */
    .site-footer .container {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .page-banner-content h1 {
        font-size: 1.8rem;
    }
}