/* ============================================
   Colorado Classical School - Styles
   Modern, mobile-first, conversion-optimized
   ============================================ */

/* ---------- CSS Variables ---------- */
:root {
    --navy: #152a46;
    --navy-light: #1e3a5f;
    --navy-dark: #0c1a2e;
    --gold: #b4cbe7;
    --gold-light: #d0e0f2;
    --gold-dark: #7a9ec4;
    --cream: #f5f8fc;
    --cream-dark: #e8eef5;
    --white: #FFFFFF;
    --text: #2D3142;
    --text-light: #6B7280;
    --text-lighter: #9CA3AF;
    --border: #E5E7EB;
    --success: #059669;
    --error: #DC2626;

    --font-heading: 'Cinzel', Georgia, serif;
    --font-body: 'EB Garamond', Georgia, serif;
    --font-ui: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;

    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    --header-height: 72px;
    --bottom-bar-height: 0px;
}

@media (max-width: 768px) {
    :root {
        --header-height: 64px;
        --bottom-bar-height: 68px;
    }
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 20px);
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 1.7;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    padding-bottom: var(--bottom-bar-height);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--navy);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--gold-dark);
}

ul {
    list-style: none;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 16px;
    background: var(--navy);
    color: var(--white);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    z-index: 10000;
    font-family: var(--font-ui);
    font-size: 14px;
}

.skip-link:focus {
    top: 16px;
}

/* ---------- Container ---------- */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

@media (max-width: 768px) {
    .container { padding: 0 16px; }
}

.container-narrow {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 40px;
}

@media (max-width: 768px) {
    .container-narrow { padding: 0 16px; }
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--navy);
    line-height: 1.2;
    letter-spacing: 0.02em;
}

h1 { font-size: clamp(2.25rem, 5vw, 4rem); }
h2 { font-size: clamp(1.85rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.3rem, 3vw, 1.85rem); }
h4 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); }

.section-header {
    margin-bottom: 64px;
}

.section-header.centered {
    text-align: center;
}

.section-header.light h2,
.section-header.light .section-tag {
    color: var(--white);
}

.section-header.light .section-subtitle {
    color: rgba(255,255,255,0.8);
}

.section-tag {
    font-family: var(--font-ui);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold-dark);
    display: inline-block;
    margin-bottom: 12px;
}

.section-title {
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 640px;
}

.section-header.centered .section-subtitle {
    margin: 0 auto;
}

.lead-text {
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 16px;
}

/* ---------- Buttons ---------- */
.btn {
    font-family: var(--font-ui);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 2px solid transparent;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 100%);
    opacity: 0;
    transition: opacity var(--transition);
}

.btn:hover::after {
    opacity: 1;
}

.btn-sm {
    font-size: 14px;
    padding: 12px 28px;
    letter-spacing: 0.04em;
}

.btn-md {
    font-size: 15px;
    padding: 14px 32px;
    letter-spacing: 0.04em;
}

.btn-lg {
    font-size: 17px;
    padding: 18px 44px;
    letter-spacing: 0.04em;
}

.btn-xl {
    font-size: 18px;
    padding: 22px 56px;
    letter-spacing: 0.05em;
}

@media (min-width: 1025px) {
    .btn-sm { padding: 14px 32px; font-size: 14px; }
    .btn-lg { padding: 20px 52px; font-size: 17px; }
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold) 0%, #c8daf0 50%, var(--gold) 100%);
    background-size: 200% 200%;
    color: var(--navy-dark);
    border-color: var(--gold);
    box-shadow: 0 4px 16px rgba(180, 203, 231, 0.35);
    font-weight: 700;
}

.btn-primary:hover {
    background-position: 100% 0;
    border-color: var(--gold-dark);
    color: var(--navy-dark);
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(180, 203, 231, 0.5);
}

.btn-outline {
    background: transparent;
    color: var(--navy);
    border-color: var(--navy);
    border-width: 2px;
    font-weight: 700;
}

.btn-outline:hover {
    background: var(--navy);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(27, 42, 74, 0.2);
}

.btn-glass {
    background: rgba(255,255,255,0.15);
    color: var(--white);
    border-color: rgba(255,255,255,0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.btn-glass:hover {
    background: rgba(255,255,255,0.25);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-block {
    width: 100%;
}

/* ---------- Announcement Bar ---------- */
.announcement-bar {
    background: var(--gold);
    color: var(--navy-dark);
    font-family: var(--font-ui);
    font-size: 14px;
    font-weight: 600;
    padding: 10px 16px;
    position: relative;
    z-index: 1001;
    transition: transform var(--transition), opacity var(--transition);
}

.announcement-bar.hidden {
    transform: translateY(-100%);
    opacity: 0;
    height: 0;
    padding: 0;
    overflow: hidden;
}

.announcement-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    max-width: 1200px;
    margin: 0 auto;
}

.announcement-icon { font-size: 16px; }

.announcement-cta {
    background: var(--navy);
    color: var(--white);
    padding: 4px 16px;
    border-radius: var(--radius-full);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.announcement-cta:hover {
    background: var(--navy-light);
    color: var(--white);
}

.announcement-close {
    background: none;
    border: none;
    color: var(--navy-dark);
    cursor: pointer;
    font-size: 16px;
    padding: 4px;
    line-height: 1;
    opacity: 0.6;
}

.announcement-close:hover { opacity: 1; }

@media (max-width: 480px) {
    .announcement-bar { font-size: 12px; }
    .announcement-icon { display: none; }
}

/* ---------- Header ---------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    transition: all var(--transition);
    border-bottom: 1px solid transparent;
}

.site-header.scrolled {
    background: rgba(255,255,255,0.98);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.site-header.at-top {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.site-header.at-top .logo-text,
.site-header.at-top .nav-link {
    color: var(--white);
}

.site-header.at-top .hamburger-line {
    background: var(--white);
}

.site-header.at-top .header-cta {
    background: var(--gold);
    color: var(--navy-dark);
    border-color: var(--gold);
}

/* Subpages: force header to scrolled state (white bg, dark text) */
body:has(.page-hero) .site-header,
body:has(.page-hero) .site-header.at-top {
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

body:has(.page-hero) .site-header .logo-text,
body:has(.page-hero) .site-header .nav-link,
body:has(.page-hero) .site-header.at-top .logo-text,
body:has(.page-hero) .site-header.at-top .nav-link {
    color: var(--navy);
}

body:has(.page-hero) .site-header .hamburger-line,
body:has(.page-hero) .site-header.at-top .hamburger-line {
    background: var(--navy);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-img {
    width: 44px;
    height: auto;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    color: var(--navy);
    letter-spacing: 0.04em;
    transition: color var(--transition);
}

@media (max-width: 900px) {
    .logo-text { display: none; }
}

/* Nav */
.main-nav {
    display: none;
}

@media (min-width: 1025px) {
    .main-nav { display: flex; }
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    font-family: var(--font-ui);
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    white-space: nowrap;      /* prevent labels wrapping to 2 lines */
    display: inline-block;
}

.nav-link:hover {
    color: var(--gold-dark);
    background: rgba(180, 203, 231, 0.08);
}

.nav-item.has-dropdown {
    position: relative;
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all var(--transition);
    z-index: 100;
}

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

.dropdown li a {
    display: block;
    padding: 10px 16px;
    font-family: var(--font-ui);
    font-size: 14px;
    color: var(--text);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}

.dropdown li a:hover {
    background: var(--cream);
    color: var(--navy);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-cta {
    display: none;
}

@media (min-width: 768px) {
    .header-cta { display: inline-flex; }
}

/* Hamburger */
.mobile-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

@media (min-width: 1025px) {
    .mobile-toggle { display: none; }
}

.hamburger-line {
    width: 24px;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transition: all var(--transition);
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
}

.mobile-nav-overlay.open {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-content {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: min(380px, 90vw);
    background: var(--white);
    padding: 24px;
    transform: translateX(100%);
    transition: transform var(--transition-slow);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.mobile-nav-overlay.open .mobile-nav-content {
    transform: translateX(0);
}

.mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
}

.mobile-logo { width: 50px; height: auto; }

.mobile-close {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cream);
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    font-size: 20px;
    color: var(--text);
}

.mobile-nav-list {
    margin-bottom: 32px;
}

.mobile-nav-list li {
    border-bottom: 1px solid var(--border);
}

.mobile-nav-list a {
    display: block;
    padding: 16px 0;
    font-family: var(--font-ui);
    font-size: 18px;
    font-weight: 500;
    color: var(--navy);
}

.mobile-nav-cta {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease;
    animation: heroZoom 20s ease infinite;
}

.hero-slide.active {
    opacity: 1;
}

@keyframes heroZoom {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(15, 26, 48, 0.6) 0%,
        rgba(15, 26, 48, 0.75) 50%,
        rgba(15, 26, 48, 0.85) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 120px 24px 80px;
    max-width: 800px;
}

.hero-badge {
    display: inline-block;
    font-family: var(--font-ui);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold-light);
    background: rgba(180, 203, 231, 0.15);
    border: 1px solid rgba(180, 203, 231, 0.3);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    color: var(--white);
    margin-bottom: 16px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
    white-space: nowrap;
}

.hero-title em {
    font-style: italic;
    font-family: var(--font-body);
    color: var(--gold-light);
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    color: rgba(255,255,255,0.85);
    margin-bottom: 40px;
    font-family: var(--font-body);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    margin-bottom: 48px;
}

.hero-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.7);
    font-family: var(--font-ui);
    font-size: 13px;
}

.trust-item img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    border-radius: 4px;
}

.trust-divider {
    width: 1px;
    height: 30px;
    background: rgba(255,255,255,0.2);
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.5);
    font-family: var(--font-ui);
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    animation: fadeInUp 1s ease 1s both;
}

.scroll-mouse {
    width: 24px;
    height: 38px;
    border: 2px solid rgba(255,255,255,0.4);
    border-radius: 12px;
    position: relative;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background: rgba(255,255,255,0.6);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s ease infinite;
}

@keyframes scrollWheel {
    0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); }
    50% { opacity: 0.3; transform: translateX(-50%) translateY(10px); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateX(-50%) translateY(20px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

@media (max-width: 768px) {
    .scroll-indicator { display: none; }
}

/* ---------- Social Proof Ticker ---------- */
.social-proof {
    background: var(--navy);
    padding: 16px 0;
    overflow: hidden;
}

.ticker-wrap {
    overflow: hidden;
    position: relative;
}

.ticker {
    display: flex;
    gap: 80px;
    animation: ticker 30s linear infinite;
    width: max-content;
}

.ticker-item {
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
    color: rgba(255,255,255,0.8);
    font-family: var(--font-body);
    font-size: 15px;
    font-style: italic;
}

.stars {
    color: var(--gold);
    font-style: normal;
    letter-spacing: 2px;
}

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-33.333%); }
}

/* ---------- About Section ---------- */
.about-section {
    padding: 120px 0;
    background: var(--white);
}

@media (min-width: 1025px) {
    .about-section { padding: 140px 0; }
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

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

.about-text p {
    margin-bottom: 16px;
    color: var(--text-light);
}

.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 32px 0;
}

.highlight-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.highlight-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cream);
    border-radius: var(--radius-md);
    color: var(--gold-dark);
}

.highlight-item strong {
    display: block;
    font-family: var(--font-ui);
    font-size: 15px;
    color: var(--navy);
    margin-bottom: 2px;
}

.highlight-item span {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.5;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.image-badge {
    position: absolute;
    bottom: -20px;
    right: -10px;
    background: var(--gold);
    color: var(--navy-dark);
    padding: 16px 24px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-md);
}

.badge-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.badge-text {
    font-family: var(--font-ui);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ---------- Why CCS Section ---------- */
.why-section {
    padding: 120px 0;
    background: var(--cream);
}

@media (min-width: 1025px) {
    .why-section { padding: 140px 0; }
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 64px;
}

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

.stat-card {
    background: var(--white);
    padding: 48px 32px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform var(--transition), box-shadow var(--transition);
    border: 1px solid rgba(180, 203, 231, 0.1);
}

.stat-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(180, 203, 231, 0.25);
}

.stat-value {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
    line-height: 1;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 5vw, 4.5rem);
    font-weight: 700;
    color: var(--navy);
    line-height: 1;
}

.stat-suffix {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--gold-dark);
    line-height: 1;
}

.stat-label {
    font-family: var(--font-ui);
    font-size: 14px;
    color: var(--text-light);
    margin-top: 8px;
    line-height: 1.5;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 900px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
}

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

.feature-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(180, 203, 231, 0.2);
}

.feature-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    border-radius: var(--radius-md);
    color: var(--gold-light);
    margin-bottom: 24px;
    box-shadow: 0 4px 12px rgba(27, 42, 74, 0.2);
}

.feature-card h3 {
    font-family: var(--font-ui);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.7;
}

/* ---------- Virtues Section ---------- */
.virtues-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
    position: relative;
    overflow: hidden;
}

.virtues-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(200,169,81,0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.virtues-carousel {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

@media (max-width: 900px) {
    .virtues-carousel { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .virtues-carousel {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

.virtue-card {
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 32px;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all var(--transition);
}

.virtue-card:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-4px);
    border-color: rgba(200,169,81,0.3);
}

.virtue-symbol {
    font-size: 2.5rem;
    margin-bottom: 16px;
    display: block;
}

.virtue-card h3 {
    color: var(--gold-light);
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.virtue-card p {
    color: rgba(255,255,255,0.7);
    font-size: 15px;
    line-height: 1.6;
}

.virtues-nav {
    display: none;
}

/* ---------- Enrollment Section ---------- */
.enroll-section {
    padding: 100px 0;
    background: var(--white);
}

.enrollment-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    margin-bottom: 64px;
    flex-wrap: wrap;
}

.step-card {
    flex: 1;
    min-width: 200px;
    max-width: 260px;
    text-align: center;
    position: relative;
}

.step-number {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    color: var(--gold-light);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    margin: 0 auto 20px;
    box-shadow: var(--shadow-md);
}

.step-content h3 {
    font-family: var(--font-ui);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.step-content p {
    font-size: 15px;
    color: var(--text-light);
    margin-bottom: 16px;
    line-height: 1.5;
}

.step-connector {
    width: 60px;
    height: 2px;
    background: var(--border);
    margin-top: 28px;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .enrollment-steps {
        flex-direction: column;
        align-items: center;
    }
    .step-card { max-width: 100%; }
    .step-connector {
        width: 2px;
        height: 30px;
        margin: 0;
    }
}

.enroll-cta-box {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 50%, var(--navy) 100%);
    border-radius: var(--radius-xl);
    padding: 56px 64px;
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(180, 203, 231, 0.15);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}

.cta-box-content h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.cta-box-content p {
    color: rgba(255,255,255,0.7);
    max-width: 400px;
}

.cta-box-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.cta-box-actions .btn-outline {
    color: var(--white);
    border-color: rgba(255,255,255,0.3);
}

.cta-box-actions .btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--white);
}

@media (max-width: 768px) {
    .enroll-cta-box {
        padding: 32px 24px;
        flex-direction: column;
        text-align: center;
    }
    .cta-box-actions {
        width: 100%;
        flex-direction: column;
    }
}

/* ---------- Outcomes Section ---------- */
.outcomes-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
}

.outcomes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

@media (max-width: 900px) {
    .outcomes-grid { grid-template-columns: repeat(2, 1fr); }
}

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

.outcome-card {
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 32px 24px;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all var(--transition);
}

.outcome-card:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-4px);
}

.outcome-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
    display: block;
    color: #fff;
}

.outcome-card h3 {
    color: var(--gold-light);
    font-family: var(--font-ui);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.outcome-card p {
    color: rgba(255,255,255,0.7);
    font-size: 15px;
    line-height: 1.6;
}

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

/* ---------- Open House Section ---------- */
.open-house-section {
    padding: 100px 0;
    background: var(--cream);
}

.open-house-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 48px;
    align-items: center;
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

@media (max-width: 768px) {
    .open-house-card {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

.oh-image {
    max-width: 360px;
}

.oh-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {
    .oh-image { max-width: 100%; max-height: 300px; overflow: hidden; }
}

.oh-content {
    padding: 48px 48px 48px 0;
}

@media (max-width: 768px) {
    .oh-content { padding: 32px 24px; }
}

.oh-content h2 {
    margin-bottom: 12px;
}

.oh-content > p {
    color: var(--text-light);
    margin-bottom: 24px;
}

.oh-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.oh-detail {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--text);
}

.oh-detail svg {
    color: var(--gold-dark);
    flex-shrink: 0;
    margin-top: 2px;
}

.oh-detail strong {
    display: block;
    font-family: var(--font-ui);
    font-size: 14px;
    color: var(--navy);
}

.oh-detail span {
    font-size: 15px;
    color: var(--text-light);
}

.oh-alt {
    margin-top: 16px;
    font-size: 14px;
    color: var(--text-light);
}

.oh-alt a {
    color: var(--gold-dark);
    text-decoration: underline;
}

/* ---------- Mission Section ---------- */
.mission-section {
    padding: 100px 0;
    background: var(--white);
}

.mission-statement {
    max-width: 800px;
    margin: 0 auto 48px;
}

.mission-statement blockquote {
    font-size: 1.25rem;
    font-style: italic;
    color: var(--navy);
    text-align: center;
    line-height: 1.8;
    padding: 32px;
    border-left: 4px solid var(--gold);
    background: var(--cream);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

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

.accordion-item {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    overflow: hidden;
    transition: border-color var(--transition);
}

.accordion-item:has(.accordion-trigger[aria-expanded="true"]) {
    border-color: var(--gold);
}

.accordion-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-ui);
    font-size: 16px;
    font-weight: 600;
    color: var(--navy);
    text-align: left;
    transition: background var(--transition);
}

.accordion-trigger:hover {
    background: var(--cream);
}

.accordion-chevron {
    transition: transform var(--transition);
    color: var(--gold-dark);
    flex-shrink: 0;
}

.accordion-trigger[aria-expanded="true"] .accordion-chevron {
    transform: rotate(180deg);
}

.accordion-content {
    padding: 0 24px 20px;
    animation: slideDown 0.3s ease;
}

.accordion-content p {
    margin-bottom: 12px;
    color: var(--text-light);
}

.accordion-content ul {
    list-style: disc;
    padding-left: 20px;
}

.accordion-content li {
    margin-bottom: 8px;
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.6;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ---------- FAQ Section ---------- */
.faq-section {
    padding: 100px 0;
    background: var(--cream);
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto 40px;
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition);
}

.faq-item:has(.faq-question[aria-expanded="true"]) {
    box-shadow: var(--shadow-md);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-ui);
    font-size: 16px;
    font-weight: 500;
    color: var(--navy);
    text-align: left;
    gap: 16px;
}

.faq-question:hover {
    color: var(--gold-dark);
}

.faq-chevron {
    transition: transform var(--transition);
    color: var(--gold-dark);
    flex-shrink: 0;
}

.faq-question[aria-expanded="true"] .faq-chevron {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 24px 20px;
    animation: slideDown 0.3s ease;
}

.faq-answer p {
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 12px;
}

.faq-link {
    font-family: var(--font-ui);
    font-size: 14px;
    font-weight: 600;
    color: var(--gold-dark);
}

.faq-link:hover {
    color: var(--navy);
}

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

/* ---------- RSVP Section ---------- */
.rsvp-section {
    padding: 100px 0;
    background: var(--white);
}

.rsvp-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    border: 1px solid var(--border);
}

@media (max-width: 768px) {
    .rsvp-card { grid-template-columns: 1fr; gap: 0; }
}

.rsvp-info {
    padding: 48px;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    color: var(--white);
}

@media (max-width: 768px) {
    .rsvp-info { padding: 32px 24px; }
}

.rsvp-info h2 {
    color: var(--white);
    margin-bottom: 16px;
}

.rsvp-info > p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 32px;
}

.rsvp-contact-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.rsvp-detail {
    display: flex;
    align-items: center;
    gap: 12px;
}

.rsvp-detail svg {
    color: var(--gold-light);
}

.rsvp-detail a {
    color: rgba(255,255,255,0.8);
    font-family: var(--font-ui);
    font-size: 15px;
}

.rsvp-detail a:hover {
    color: var(--white);
}

.rsvp-form {
    padding: 48px;
}

@media (max-width: 768px) {
    .rsvp-form { padding: 32px 24px; }
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 480px) {
    .form-row { grid-template-columns: 1fr; }
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-family: var(--font-ui);
    font-size: 14px;
    font-weight: 500;
    color: var(--navy);
    margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-ui);
    font-size: 15px;
    color: var(--text);
    background: var(--cream);
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--gold);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(180, 203, 231, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-lighter);
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-ui);
    font-size: 14px;
    color: var(--text);
    cursor: pointer;
    padding: 10px 16px;
    background: var(--cream);
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    transition: all var(--transition);
}

.radio-label:hover {
    background: var(--cream-dark);
}

.radio-label input[type="radio"] {
    width: auto;
    accent-color: var(--gold-dark);
}

.radio-label:has(input:checked) {
    border-color: var(--gold);
    background: rgba(180, 203, 231, 0.08);
}

.form-note {
    margin-top: 12px;
    font-family: var(--font-ui);
    font-size: 13px;
    color: var(--text-lighter);
    text-align: center;
}

/* ---------- Contact Section ---------- */
.contact-section {
    padding: 100px 0;
    background: var(--cream);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

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

.contact-info h2 {
    margin-bottom: 16px;
}

.contact-info > p {
    color: var(--text-light);
    margin-bottom: 32px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 32px;
}

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
    background: var(--white);
    border-radius: var(--radius-md);
    transition: all var(--transition);
    text-decoration: none;
}

.contact-detail-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.contact-detail-item svg {
    color: var(--gold-dark);
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-detail-item strong {
    display: block;
    font-family: var(--font-ui);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-lighter);
    margin-bottom: 2px;
}

.contact-detail-item span {
    font-size: 15px;
    color: var(--navy);
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: var(--radius-full);
    color: var(--navy);
    transition: all var(--transition);
}

.social-link:hover {
    background: var(--navy);
    color: var(--white);
    transform: translateY(-2px);
}

/* ---------- Footer ---------- */
.site-footer {
    background: var(--navy-dark);
    color: rgba(255,255,255,0.7);
    padding: 64px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

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

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

.footer-brand img {
    width: 60px;
    margin-bottom: 12px;
}

.footer-brand h3 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.footer-brand p {
    font-size: 14px;
    margin-bottom: 8px;
}

.footer-brand a {
    color: var(--gold-light);
}

.footer-brand a:hover {
    color: var(--white);
}

.footer-links h4,
.footer-affiliations h4 {
    color: var(--white);
    font-family: var(--font-ui);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}

.footer-links ul li {
    margin-bottom: 8px;
}

.footer-links a {
    font-family: var(--font-ui);
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--gold-light);
}

.affiliation-logos {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.affiliation-logos img {
    width: 80px;
    height: auto;
    border-radius: 4px;
    opacity: 0.8;
    transition: opacity var(--transition);
}

.affiliation-logos img:hover { opacity: 1; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
    text-align: center;
}

.nondiscrimination {
    font-family: var(--font-ui);
    font-size: 12px;
    color: rgba(255,255,255,0.4);
    max-width: 800px;
    margin: 0 auto 12px;
    line-height: 1.6;
}

.copyright {
    font-family: var(--font-ui);
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}

/* ---------- AI Chat Widget ---------- */
.chat-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 900;
}

@media (max-width: 768px) {
    .chat-widget {
        bottom: calc(var(--bottom-bar-height) + 16px);
        right: 16px;
    }
}

.chat-toggle {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    color: var(--white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition);
    position: relative;
}

.chat-toggle:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-xl);
}

.chat-icon-close { display: none; }

.chat-widget.open .chat-icon-open { display: none; }
.chat-widget.open .chat-icon-close { display: block; }

.chat-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: var(--gold);
    color: var(--navy-dark);
    font-size: 10px;
    font-weight: 700;
    font-family: var(--font-ui);
    padding: 3px 8px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    animation: pulse 2s ease infinite;
}

.chat-widget.open .chat-badge { display: none; }

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.chat-window[hidden] {
    display: none !important;
}

.chat-window {
    position: absolute;
    bottom: 72px;
    right: 0;
    width: min(400px, calc(100vw - 32px));
    height: 520px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: chatOpen 0.3s ease;
    border: 1px solid var(--border);
}

@keyframes chatOpen {
    from { opacity: 0; transform: translateY(16px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: var(--navy);
    color: var(--white);
}

.chat-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-avatar {
    width: 36px;
    height: 36px;
    background: var(--gold);
    color: var(--navy-dark);
    font-family: var(--font-ui);
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
}

.chat-header-info strong {
    display: block;
    font-family: var(--font-ui);
    font-size: 14px;
}

.chat-status {
    font-family: var(--font-ui);
    font-size: 12px;
    color: rgba(255,255,255,0.6);
}

.chat-minimize {
    background: none;
    border: none;
    color: rgba(255,255,255,0.6);
    cursor: pointer;
    padding: 4px;
}

.chat-minimize:hover { color: var(--white); }

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chat-message {
    max-width: 85%;
}

.chat-message.bot {
    align-self: flex-start;
}

.chat-message.user {
    align-self: flex-end;
}

.chat-message.bot .message-content {
    background: var(--cream);
    color: var(--text);
    border-radius: 4px var(--radius-md) var(--radius-md) var(--radius-md);
    padding: 12px 16px;
}

.chat-message.user .message-content {
    background: var(--navy);
    color: var(--white);
    border-radius: var(--radius-md) 4px var(--radius-md) var(--radius-md);
    padding: 12px 16px;
}

.message-content p {
    font-family: var(--font-ui);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.chat-quick-replies {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0 4px;
}

.quick-reply {
    font-family: var(--font-ui);
    font-size: 12px;
    padding: 8px 14px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    cursor: pointer;
    color: var(--navy);
    transition: all var(--transition);
    white-space: nowrap;
}

.quick-reply:hover {
    border-color: var(--gold);
    background: rgba(200,169,81,0.05);
}

.chat-input-form {
    display: flex;
    padding: 12px 16px;
    border-top: 1px solid var(--border);
    gap: 8px;
}

.chat-input-form input {
    flex: 1;
    border: none;
    outline: none;
    font-family: var(--font-ui);
    font-size: 14px;
    color: var(--text);
    background: transparent;
}

.chat-input-form button {
    background: none;
    border: none;
    color: var(--navy);
    cursor: pointer;
    padding: 4px;
    transition: color var(--transition);
}

.chat-input-form button:hover {
    color: var(--gold-dark);
}

/* ---------- Mobile Bottom Bar ---------- */
.mobile-bottom-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 1px solid var(--border);
    z-index: 800;
    padding: 8px 0;
    padding-bottom: max(8px, env(safe-area-inset-bottom));
}

@media (max-width: 768px) {
    .mobile-bottom-bar {
        display: flex;
        justify-content: space-around;
    }
}

.bottom-bar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    color: var(--text-light);
    font-family: var(--font-ui);
    font-size: 10px;
    font-weight: 500;
    padding: 4px 12px;
    transition: color var(--transition);
}

.bottom-bar-item:hover,
.bottom-bar-item:active {
    color: var(--navy);
}

.bottom-bar-item.primary {
    color: var(--navy);
    position: relative;
}

.bottom-bar-item.primary::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 3px;
    background: var(--gold);
    border-radius: 2px;
}

/* ---------- Animations ---------- */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- Form submission states ---------- */
.form-success {
    text-align: center;
    padding: 40px;
}

.form-success h3 {
    color: var(--success);
    margin-bottom: 12px;
}

.form-success p {
    color: var(--text-light);
}

/* ============================================
   PREMIUM DESKTOP OVERRIDES (1025px+)
   ============================================ */
@media (min-width: 1025px) {
    body { font-size: 19px; }

    .section-header { margin-bottom: 72px; }

    .section-tag { font-size: 14px; letter-spacing: 0.18em; margin-bottom: 16px; }

    .section-subtitle { font-size: 1.2rem; max-width: 700px; }

    .lead-text { font-size: 1.35rem; }

    .about-grid { gap: 80px; }

    .about-highlights { gap: 24px; margin: 40px 0; }

    .highlight-icon { width: 56px; height: 56px; min-width: 56px; }

    .stats-row { gap: 32px; margin-bottom: 80px; }

    .features-grid { gap: 32px; }

    .virtues-section { padding: 140px 0; }

    .enroll-section { padding: 140px 0; }

    .enrollment-steps { gap: 0; margin-bottom: 80px; }

    .step-number {
        width: 72px;
        height: 72px;
        font-size: 1.75rem;
        box-shadow: var(--shadow-lg);
    }

    .outcomes-section { padding: 140px 0; }

    .outcome-card { padding: 40px 32px; }

    .open-house-section { padding: 140px 0; }

    .mission-section { padding: 140px 0; }

    .faq-section { padding: 140px 0; }

    .rsvp-section { padding: 140px 0; }

    .contact-section { padding: 140px 0; }

    /* Premium header on desktop */
    .site-header { height: 80px; }
    .header-inner { max-width: 1320px; }
    .logo-text { font-size: 18px; letter-spacing: 0.06em; }
    .nav-link { font-size: 15px; padding: 10px 18px; }

    .header-cta {
        font-size: 14px;
        padding: 12px 28px;
        font-weight: 700;
    }

    /* Premium hero */
    .hero-title { font-size: clamp(3rem, 5.5vw, 5rem); }
    .hero-subtitle { font-size: 1.5rem; margin-bottom: 48px; }
    .hero-badge { font-size: 14px; padding: 10px 28px; }
    .hero-actions { gap: 20px; margin-bottom: 56px; }

    /* Premium about image */
    .image-badge { bottom: -24px; right: -16px; padding: 20px 32px; }
    .badge-number { font-size: 2.5rem; }

    /* Premium CTA box */
    .enroll-cta-box { padding: 64px 72px; border-radius: 32px; }
    .cta-box-content h3 { font-size: 1.75rem; }

    /* Premium open house card */
    .open-house-card { border-radius: 32px; gap: 56px; }
    .oh-content { padding: 56px 64px 56px 0; }
    .oh-content h2 { font-size: 2.2rem; }

    /* Premium mission statement */
    .mission-statement blockquote { font-size: 1.4rem; padding: 40px 48px; }

    /* Premium RSVP card */
    .rsvp-card { border-radius: 32px; }
    .rsvp-info { padding: 64px; }
    .rsvp-info h2 { font-size: 2rem; }
    .rsvp-form { padding: 64px; }

    /* Premium contact section */
    .contact-grid { gap: 64px; }

    /* Premium footer */
    .site-footer { padding: 80px 0 40px; }
    .footer-grid { gap: 56px; margin-bottom: 56px; }
}

/* ============================================
   ULTRA-WIDE (1440px+)
   ============================================ */
@media (min-width: 1440px) {
    .container { max-width: 1360px; padding: 0 48px; }

    .hero-content { max-width: 900px; }
    .hero-title { font-size: 5rem; }

    .about-grid { gap: 100px; }

    .features-grid { gap: 40px; }
    .feature-card { padding: 48px; }

    .enroll-cta-box { padding: 72px 88px; }
}

/* ============================================
   PAGE HERO (for subpages)
   ============================================ */
.page-hero {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, var(--navy-light) 100%);
    padding: 160px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(180, 203, 231, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(180, 203, 231, 0.04) 0%, transparent 50%);
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold-light), var(--gold-dark));
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    color: var(--white);
    margin-bottom: 16px;
    font-size: clamp(2.5rem, 5vw, 4rem);
}

.page-hero p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

.page-hero .breadcrumb {
    font-family: var(--font-ui);
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    margin-bottom: 16px;
}

.page-hero .breadcrumb a {
    color: var(--gold-light);
}

@media (min-width: 1025px) {
    .page-hero { padding: 180px 0 100px; }
    .page-hero h1 { font-size: 4rem; }
    .page-hero p { font-size: 1.35rem; }
}

/* ============================================
   CONTENT SECTIONS (for subpages)
   ============================================ */
.content-section {
    padding: 80px 0;
}

.content-section:nth-child(even) {
    background: var(--cream);
}

@media (min-width: 1025px) {
    .content-section { padding: 120px 0; }
}

.content-section h2 {
    margin-bottom: 24px;
}

.content-section p {
    color: var(--text-light);
    margin-bottom: 16px;
    line-height: 1.8;
}

.content-section ul {
    list-style: disc;
    padding-left: 24px;
    margin-bottom: 16px;
}

.content-section li {
    color: var(--text-light);
    margin-bottom: 8px;
    line-height: 1.7;
}

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

@media (max-width: 768px) {
    .two-col { grid-template-columns: 1fr; gap: 32px; }
}

.three-col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

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

/* Info Cards for subpages */
.info-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: all var(--transition);
}

.info-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.info-card h3 {
    margin-bottom: 12px;
}

.info-card p {
    font-size: 15px;
    color: var(--text-light);
}

/* Pricing table for tuition */
.pricing-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    text-align: center;
    transition: all var(--transition);
}

.pricing-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
}

.pricing-card.featured {
    border-color: var(--gold);
    box-shadow: var(--shadow-lg), 0 0 0 2px var(--gold);
}

.pricing-header {
    background: var(--navy);
    color: var(--white);
    padding: 32px 24px;
}

.pricing-card.featured .pricing-header {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
}

.pricing-header h3 {
    color: var(--white);
    margin-bottom: 4px;
}

.pricing-header span {
    color: var(--gold-light);
    font-family: var(--font-ui);
    font-size: 13px;
}

.pricing-body {
    padding: 32px 24px;
}

.pricing-body ul {
    list-style: none;
    padding: 0;
    margin-bottom: 24px;
}

.pricing-body li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 15px;
    color: var(--text-light);
}

.pricing-body li:last-child {
    border-bottom: none;
}

/* FAQ category filters */
.faq-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 40px;
}

.faq-filter-btn {
    font-family: var(--font-ui);
    font-size: 14px;
    font-weight: 500;
    padding: 10px 24px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--text-light);
    cursor: pointer;
    transition: all var(--transition);
}

.faq-filter-btn:hover,
.faq-filter-btn.active {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}

/* ---------- Page Hero (Inner Pages) ---------- */
.page-hero {
    background: var(--navy);
    padding: 100px 24px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: var(--header-height);
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, var(--navy-light) 100%);
    z-index: 0;
}

.page-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.page-hero-tag {
    display: inline-block;
    font-family: var(--font-ui);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--gold);
    margin-bottom: 16px;
}

.page-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 600;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 16px;
}

.page-hero-subtitle {
    font-family: var(--font-body);
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    color: var(--cream-dark);
    line-height: 1.7;
    max-width: 640px;
    margin: 0 auto;
    opacity: 0.9;
}

.page-hero-accent {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-light), var(--gold), var(--gold-dark));
    z-index: 2;
}

@media (max-width: 768px) {
    .page-hero {
        padding: 80px 16px 48px;
    }
}

/* ---------- Print ---------- */
@media print {
    .site-header,
    .mobile-bottom-bar,
    .chat-widget,
    .announcement-bar {
        display: none !important;
    }
    body { padding: 0; }
}

/* ============================================
   Re-skin v3.1 — Phase 2 fixes (Apr 28, 2026)
   - Targeted (not blanket) background fixes
   - Inner-page hero h1 visibility
   - About page stage card / ACCS contrast
   - Experience CCS CTA section layout
   - Homepage feature grid handles 4 cards
   ============================================ */

/* Targeted About page backgrounds — sections that use .section-header.light
   are designed to sit on a dark navy background. */
.why-section#classical-education,
.why-section#faculty-teaser {
    background-color: var(--navy);
}
.about-section#accs,
.about-section.accs-section,
.about-section#faith-teaser,
.about-section.faith-section {
    background-color: var(--cream);
}
.about-section#our-story {
    background-color: var(--white);
}

/* Inner-page hero h1 visibility (tuition.php, faq-page.php use bare <h1>) */
.page-hero h1 {
    color: #fff !important;
}
.page-hero > h1 {
    font-family: var(--font-heading);
}

/* Pages with bare hero text (contact/tuition/faq/donate — no .page-hero-content
   or .container wrapper) had their <h1>/<p> painted UNDER the decorative
   .page-hero::before / ::after overlays. Lift bare hero children above them. */
.page-hero > h1,
.page-hero > p,
.page-hero > .hero-breadcrumb {
    position: relative;
    z-index: 2;
}

/* Stage cards inside dark .why-section: white card bg needs dark text */
.why-section .feature-card {
    background: var(--white);
}
.why-section .feature-card h3 {
    color: var(--navy);
}
.why-section .feature-card p {
    color: var(--text);
}
.why-section .feature-card .feature-icon {
    /* keep gradient bg + light icon stroke as designed */
    color: var(--gold-light);
}
.stage-range {
    color: var(--text-light) !important;
}

/* About page → "Experience CCS for Yourself" CTA box (was unstyled) */
.cta-section {
    padding: 80px 24px;
    background: var(--cream);
}
.cta-section .cta-box {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 50%, var(--navy) 100%);
    border-radius: var(--radius-xl);
    padding: 56px 48px;
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(180, 203, 231, 0.15);
    text-align: center;
    max-width: 1100px;
    margin: 0 auto;
}
.cta-section .cta-box-content h2 {
    color: #fff;
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    margin-bottom: 16px;
}
.cta-section .cta-box-content p {
    color: rgba(255,255,255,0.85);
    font-family: var(--font-body);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 32px;
    line-height: 1.7;
}
.cta-section .cta-box-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}
.cta-section .cta-box-actions .btn-outline {
    color: #fff;
    border-color: rgba(255,255,255,0.35);
}
.cta-section .cta-box-actions .btn-outline:hover {
    background: rgba(255,255,255,0.12);
    border-color: #fff;
}

/* Homepage Why-CCS features grid: with 4 cards, auto-fit prevents orphan */
.features-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

/* ACCS section text contrast on cream bg (3.3) */
.accs-section .accs-text p {
    color: var(--text);
    opacity: 1;
}
.accs-section .accs-text .highlight-item strong {
    color: var(--navy);
}
.accs-section .accs-text .highlight-item span {
    color: var(--text-light);
}
.accs-section .accs-image img {
    opacity: 1;
}

/* Footer "Powered by Sympler" attribution */
.footer-bottom .powered-by {
    font-family: var(--font-ui);
    font-size: 12px;
    color: rgba(255,255,255,0.55);
    margin-top: 8px;
    letter-spacing: 0.04em;
}
.footer-bottom .powered-by a {
    color: var(--gold-light);
    text-decoration: none;
    border-bottom: 1px solid rgba(180, 203, 231, 0.25);
    transition: color var(--transition), border-color var(--transition);
}
.footer-bottom .powered-by a:hover {
    color: #fff;
    border-bottom-color: #fff;
}

/* About page: Trivium 3-column normalization + stage label */
.features-grid--trivium {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 40px;
}
@media (max-width: 900px) {
    .features-grid--trivium { grid-template-columns: 1fr; }
}
.stage-range {
    font-family: var(--font-ui);
    font-weight: 400;
    font-size: 0.8em;
    color: var(--text-light);
    display: inline-block;
    margin-left: 6px;
}

.trivium-footer {
    text-align: center;
    margin-top: 40px;
}
.trivium-footer-copy {
    font-family: var(--font-body);
    font-size: 1.15rem;
    color: var(--cream-dark);
    max-width: 720px;
    margin: 0 auto 24px;
    line-height: 1.7;
}

/* Centered CTA helper (used on About page teasers) */
.centered-cta {
    text-align: center;
    margin-top: 16px;
}
.centered-cta-copy {
    font-family: var(--font-body);
    font-size: 1.15rem;
    color: var(--text-light);
    max-width: 680px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

/* Statement-of-faith teaser block */
.faith-content {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}
.faith-content p {
    font-family: var(--font-body);
    font-size: 1.15rem;
    color: var(--text);
    line-height: 1.8;
    margin-bottom: 16px;
}
.faith-section {
    background: var(--cream);
}

/* ACCS section: equalize paragraph sizes (direction 2.4) */
.accs-section .accs-text p {
    font-family: var(--font-body);
    font-size: 1.08rem;
    color: var(--text);
    line-height: 1.75;
    margin-bottom: 16px;
}
.accs-section .accs-text p:first-of-type {
    /* override any inherited .lead-text emphasis from earlier markup */
    font-size: 1.08rem;
    font-weight: 400;
}
.accs-section .accs-image {
    display: flex;
    align-items: center;
    justify-content: center;
}
.accs-section .accs-image img {
    max-width: 280px;
    width: 100%;
    height: auto;
}

/* Homepage enrollment step button alignment (direction 0.6) */
.enrollment-steps .step-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.enrollment-steps .step-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.enrollment-steps .step-content .btn {
    min-width: 180px;
    justify-content: center;
}

/* Compact homepage RSVP form (direction 0.5) */
.rsvp-section--compact {
    padding-top: 56px;
    padding-bottom: 56px;
}
.rsvp-form--compact .form-group {
    margin-bottom: 14px;
}
.rsvp-form--compact .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
@media (max-width: 600px) {
    .rsvp-form--compact .form-row { grid-template-columns: 1fr; }
}
.rsvp-form--compact input,
.rsvp-form--compact textarea {
    padding: 10px 14px;
    font-size: 0.95rem;
}
.radio-group--compact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
@media (max-width: 600px) {
    .radio-group--compact { grid-template-columns: 1fr; }
}
.radio-group--compact .radio-label {
    padding: 8px 12px;
    font-size: 0.9rem;
}

/* ============================================
   Phase 3 additions (May 7, 2026)
   ============================================ */

/* Roomier button (Admissions "View Tuition & Fees") */
.btn.btn-roomy {
    padding: 16px 40px;
    letter-spacing: 0.02em;
}

/* Admissions → Enrollment Options (Full-Time + Part-Time) */
.enroll-options-section {
    padding: 80px 0;
    background: var(--cream);
}
.enroll-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
    max-width: 960px;
    margin: 48px auto 0;
}
.enroll-option-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 36px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: transform var(--transition), box-shadow var(--transition);
}
.enroll-option-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.enroll-option-card--feature {
    border: 2px solid var(--gold);
    box-shadow: var(--shadow-md);
}
.enroll-option-tag {
    font-family: var(--font-ui);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold-dark);
    background: rgba(180, 203, 231, 0.14);
    padding: 5px 14px;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
}
.enroll-option-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--navy);
    margin-bottom: 12px;
}
.enroll-option-card p {
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 24px;
    flex: 1;
}

/* Generic page-section content wrapper used by new pages */
.content-section {
    padding: 80px 0;
    background: var(--white);
}
.content-section:nth-of-type(even) {
    background: var(--cream);
}
.content-narrow {
    max-width: 820px;
    margin: 0 auto;
}
.content-narrow h2 {
    font-family: var(--font-heading);
    color: var(--navy);
    font-size: clamp(1.4rem, 3vw, 1.9rem);
    margin: 40px 0 16px;
}
.content-narrow h3 {
    font-family: var(--font-heading);
    color: var(--navy);
    font-size: 1.2rem;
    margin: 28px 0 10px;
}
.content-narrow p {
    font-family: var(--font-body);
    font-size: 1.08rem;
    color: var(--text);
    line-height: 1.85;
    margin-bottom: 16px;
}
.content-narrow .creed-block {
    background: var(--cream);
    border-left: 4px solid var(--gold);
    border-radius: var(--radius-md);
    padding: 28px 32px;
    margin: 24px 0;
}
.content-narrow .creed-block p {
    font-style: italic;
    color: var(--text);
    margin-bottom: 12px;
}
.content-narrow .footnote {
    font-size: 0.92rem;
    color: var(--text-light);
    font-style: italic;
}

/* Faculty & Staff page */
.faculty-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 48px;
}
.faculty-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.faculty-photo {
    width: 100%;
    aspect-ratio: 4 / 3;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-light);
    font-family: var(--font-heading);
    font-size: 2.6rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}
.faculty-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.faculty-body {
    padding: 28px 28px 32px;
}
.faculty-body h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--navy);
    margin-bottom: 4px;
}
.faculty-role {
    font-family: var(--font-ui);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--gold-dark);
    margin-bottom: 16px;
}
.faculty-body p {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text);
    line-height: 1.75;
    margin-bottom: 12px;
}
.faculty-verse {
    font-style: italic;
    color: var(--text-light);
    border-top: 1px solid var(--border);
    padding-top: 14px;
    margin-top: 4px;
    font-size: 0.95rem;
}

/* Home page Part-Time announcement */
.pt-announce {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 60%, var(--navy) 100%);
    padding: 64px 24px;
    text-align: center;
}
.pt-announce .pt-eyebrow {
    font-family: var(--font-ui);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    display: block;
    margin-bottom: 14px;
}
.pt-announce h2 {
    font-family: var(--font-heading);
    color: #fff;
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    margin-bottom: 14px;
}
.pt-announce p {
    font-family: var(--font-body);
    color: rgba(255,255,255,0.82);
    font-size: 1.15rem;
    max-width: 620px;
    margin: 0 auto 28px;
    line-height: 1.7;
}

/* Part-Time program page */
.pt-hero {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 55%, var(--navy-light) 100%);
    text-align: center;
    padding: 150px 24px 90px;
    position: relative;
}
.pt-hero .pt-eyebrow { color: var(--gold); margin-bottom: 18px; display:block; font-family: var(--font-ui); font-size: 13px; font-weight:600; letter-spacing:0.2em; text-transform:uppercase; }
.pt-hero h1 {
    font-family: var(--font-heading);
    color: #fff;
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    margin-bottom: 18px;
    line-height: 1.2;
}
.pt-hero .pt-subhead {
    font-family: var(--font-body);
    font-style: italic;
    color: rgba(255,255,255,0.8);
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    max-width: 640px;
    margin: 0 auto 32px;
}
.pt-section { padding: 80px 0; }
.pt-section.cream { background: var(--cream); }
.pt-section.white { background: var(--white); }
.pt-section .section-label {
    font-family: var(--font-ui);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold-dark);
    text-align: center;
    display: block;
    margin-bottom: 12px;
}
.pt-section h2 {
    font-family: var(--font-heading);
    color: var(--navy);
    font-size: clamp(1.5rem, 3.5vw, 2.2rem);
    text-align: center;
    margin-bottom: 28px;
}
.pt-intro-copy {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}
.pt-intro-copy p {
    font-family: var(--font-body);
    font-size: 1.15rem;
    color: var(--text);
    line-height: 1.85;
    margin-bottom: 18px;
}
.pt-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
    max-width: 920px;
    margin: 0 auto;
}
.pt-option {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px 36px;
    box-shadow: var(--shadow-sm);
}
.pt-option h3 {
    font-family: var(--font-heading);
    color: var(--navy);
    font-size: 1.4rem;
    margin-bottom: 6px;
}
.pt-option .pt-time {
    font-family: var(--font-ui);
    font-weight: 700;
    color: var(--gold-dark);
    font-size: 1.05rem;
    margin-bottom: 16px;
}
.pt-option .pt-blurb {
    font-family: var(--font-body);
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
}
.pt-option ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.pt-option li {
    font-family: var(--font-ui);
    color: var(--text);
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
}
.pt-option li:last-child { border-bottom: none; }
.pt-benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    max-width: 900px;
    margin: 0 auto;
}
@media (max-width: 700px) { .pt-benefits-grid { grid-template-columns: 1fr; } }
.pt-benefit {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 32px;
    border: 1px solid var(--border);
}
.pt-benefit.featured { border: 2px solid var(--gold); }
.pt-benefit h3 {
    font-family: var(--font-heading);
    color: var(--navy);
    font-size: 1.15rem;
    margin-bottom: 10px;
}
.pt-benefit p {
    font-family: var(--font-body);
    color: var(--text-light);
    line-height: 1.7;
}
.pt-glance {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 820px;
    margin: 0 auto;
}
@media (max-width: 700px) { .pt-glance { grid-template-columns: repeat(2, 1fr); } }
.pt-tile {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 28px 16px;
    text-align: center;
}
.pt-tile .pt-tile-label {
    font-family: var(--font-ui);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-light);
    display: block;
    margin-bottom: 8px;
}
.pt-tile .pt-tile-value {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--navy);
}
.pt-tile.pt-tile--cta {
    background: var(--navy);
    border-color: var(--navy);
}
.pt-tile.pt-tile--cta .pt-tile-label { color: rgba(255,255,255,0.7); }
.pt-tile.pt-tile--cta .pt-tile-value { color: #fff; }
.pt-tile.pt-tile--cta a { color: #fff; text-decoration: none; display: block; }
.pt-final {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 50%, var(--navy) 100%);
    text-align: center;
    padding: 90px 24px;
}
.pt-final h2 {
    font-family: var(--font-heading);
    font-style: italic;
    color: #fff;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    margin-bottom: 14px;
}
.pt-final p {
    font-family: var(--font-body);
    color: rgba(255,255,255,0.82);
    font-size: 1.15rem;
    max-width: 560px;
    margin: 0 auto 32px;
}
.pt-final .pt-contact-fallback {
    margin-top: 24px;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
}
.pt-final .pt-contact-fallback a { color: var(--gold-light); text-decoration: none; }
.pt-softlink {
    text-align: center;
    margin-top: 28px;
}
.pt-softlink a {
    color: var(--gold-dark);
    font-family: var(--font-ui);
    font-weight: 600;
    text-decoration: none;
}
.pt-softlink a:hover { text-decoration: underline; }

/* PT inquiry form (inline) */
.pt-form-section { background: var(--cream); padding: 80px 0; }
.pt-form-wrap {
    max-width: 720px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 48px;
}
.pt-form-wrap h2 { text-align: center; }
.pt-form-wrap .pt-form-sub {
    text-align: center;
    color: var(--text-light);
    font-family: var(--font-body);
    margin-bottom: 32px;
    line-height: 1.7;
}
.pt-form .form-group { margin-bottom: 18px; }
.pt-form label {
    display: block;
    font-family: var(--font-ui);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 6px;
}
.pt-form .req { color: var(--gold-dark); }
.pt-form input,
.pt-form select,
.pt-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text);
    background: var(--cream);
}
.pt-form input:focus,
.pt-form select:focus,
.pt-form textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(180, 203, 231, 0.15);
}
.pt-form textarea { resize: vertical; min-height: 110px; }
.pt-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 540px) { .pt-form .form-row { grid-template-columns: 1fr; } }
.pt-form-success {
    text-align: center;
    padding: 32px 16px;
}
.pt-form-success .pt-check {
    font-size: 2.4rem;
    color: var(--gold-dark);
    margin-bottom: 12px;
}
.pt-form-success h3 {
    font-family: var(--font-heading);
    color: var(--navy);
    font-size: 1.5rem;
    margin-bottom: 12px;
}
.pt-form-success p {
    font-family: var(--font-body);
    color: var(--text);
    line-height: 1.7;
    max-width: 480px;
    margin: 0 auto;
}

/* ============================================
   Pre-launch v3 additions (May 19, 2026)
   ============================================ */

/* Shared modal/popup (uses native <dialog>) */
.ccs-modal {
    border: 0;
    border-radius: 14px;
    padding: 0;
    max-width: 560px;
    width: calc(100% - 32px);
    max-height: calc(100vh - 80px);
    box-shadow: 0 30px 80px rgba(12, 26, 46, 0.45);
    color: var(--text);
    background: #fff;
}
.ccs-modal::backdrop {
    background: rgba(12, 26, 46, 0.55);
    backdrop-filter: blur(2px);
}
.ccs-modal-inner {
    padding: 36px 36px 30px;
    overflow-y: auto;
    max-height: calc(100vh - 80px);
}
.ccs-modal h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.3rem, 3vw, 1.7rem);
    color: var(--navy);
    margin: 0 0 8px;
}
.ccs-modal p.lead {
    font-family: var(--font-body);
    color: var(--text-light);
    margin: 0 0 22px;
    line-height: 1.6;
}
.ccs-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: var(--cream);
    color: var(--navy);
    font-size: 1.3rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ccs-modal-close:hover { background: var(--cream-dark); }
.ccs-form { display: block; }
.ccs-form .form-group { margin-bottom: 14px; }
.ccs-form label {
    display: block;
    font-family: var(--font-ui);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 6px;
}
.ccs-form .req { color: var(--gold-dark); }
.ccs-form input,
.ccs-form select,
.ccs-form textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    background: var(--cream);
    font-family: inherit;
    color: var(--text);
}
.ccs-form input:focus,
.ccs-form select:focus,
.ccs-form textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(180, 203, 231, 0.2);
}
.ccs-form textarea { min-height: 90px; resize: vertical; }
.ccs-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 540px) { .ccs-form .form-row { grid-template-columns: 1fr; } }
.ccs-form .form-actions {
    margin-top: 18px;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    flex-wrap: wrap;
}
.ccs-form-success {
    text-align: center;
    padding: 20px 10px;
}
.ccs-form-success .check {
    font-size: 2.2rem;
    color: var(--gold-dark);
    margin-bottom: 8px;
}
.ccs-form-success h3 {
    font-family: var(--font-heading);
    color: var(--navy);
    font-size: 1.4rem;
    margin: 0 0 10px;
}
.ccs-form-success p {
    color: var(--text);
    line-height: 1.7;
    max-width: 420px;
    margin: 0 auto 14px;
}

/* Site-wide btn padding pass for cramped buttons. .btn-roomy was added in
   Phase 3; make it a touch more generous and align with other CTA buttons. */
.btn.btn-roomy {
    padding: 16px 36px;
    letter-spacing: 0.02em;
    min-width: 220px;
}
.btn.btn-roomy svg { margin-left: 6px; }

/* Homepage "Apply Now" / "Submit an Inquiry" dual button row inside Step 1 */
.step-card .step-content .btn-stack {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: stretch;
    width: 100%;
}
.step-card .step-content .btn-stack .btn {
    width: 100%;
    min-width: 0;
    justify-content: center;
}

/* Good Soil quote under the outcomes CTA */
.outcomes-quote {
    max-width: 760px;
    margin: 28px auto 0;
    font-family: var(--font-body);
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.78);
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.18);
    padding-top: 22px;
}

/* Faculty accordion */
.faculty-card { padding: 0; }
.faculty-summary {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 18px 22px;
    cursor: pointer;
    list-style: none;
    border-bottom: 1px solid var(--border);
    user-select: none;
}
.faculty-summary::-webkit-details-marker { display: none; }
.faculty-card[open] .faculty-summary { border-bottom: 1px solid var(--border); }
.faculty-summary .fmini {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    color: var(--gold-light);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
}
.faculty-summary .fmini img { width: 100%; height: 100%; object-fit: cover; display: block; }
.faculty-summary .fname { flex: 1; min-width: 0; }
.faculty-summary .fname strong {
    font-family: var(--font-heading);
    color: var(--navy);
    font-size: 1.1rem;
    display: block;
    line-height: 1.25;
}
.faculty-summary .fname span {
    font-family: var(--font-ui);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--gold-dark);
}
.faculty-summary .fchev {
    flex-shrink: 0;
    width: 28px; height: 28px;
    border-radius: 50%;
    background: var(--cream);
    color: var(--navy);
    display: flex; align-items: center; justify-content: center;
    transition: transform 0.25s;
    font-weight: 700;
}
.faculty-card[open] .faculty-summary .fchev { transform: rotate(45deg); }
.faculty-body {
    padding: 20px 22px 26px;
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 24px;
    align-items: start;
}
@media (max-width: 640px) {
    .faculty-body { grid-template-columns: 1fr; }
}
.faculty-photo-full {
    width: 100%;
    aspect-ratio: 4 / 5;
    border-radius: 10px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    color: var(--gold-light);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 600;
}
.faculty-photo-full img { width: 100%; height: 100%; object-fit: cover; display: block; }
.faculty-body p { margin: 0 0 12px; line-height: 1.7; color: var(--text); font-family: var(--font-body); }

/* Donate page inline CTA */
.donate-inline-cta {
    text-align: center;
    padding: 36px 24px;
    background: var(--cream-dark);
    border-radius: 14px;
    margin: 28px auto;
    max-width: 760px;
}
.donate-inline-cta h3 {
    font-family: var(--font-heading);
    color: var(--navy);
    font-size: 1.4rem;
    margin: 0 0 14px;
}
.donate-inline-cta .btn { min-width: 200px; }
