/* ============================================
   Graceland Dove — Cyan design system
   ============================================ */

:root {
    --surface: #f0f9ff;
    --surface-elevated: #ffffff;
    --ink: #0f172a;
    --muted: #475569;
    --border: #cbd5e1;
    --brand: #0891b2;
    --brand-dark: #0e7490;
    --brand-light: #06b6d4;
    --cyan-glow: rgba(6, 182, 212, 0.35);
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.25rem;
    --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.dark {
    --surface: #0c1222;
    --surface-elevated: #111827;
    --ink: #f1f5f9;
    --muted: #94a3b8;
    --border: #334155;
}

/* Circular site logo (clips square file to round emblem) */
.site-logo-mark {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    overflow: hidden;
    background: #000;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12);
    transition: transform var(--transition), box-shadow var(--transition);
}
.site-logo-mark img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
a:hover .site-logo-mark,
.group:hover .site-logo-mark {
    transform: scale(1.04);
    box-shadow: 0 4px 14px rgba(8, 145, 178, 0.25);
}
.site-logo-mark--sm { width: 2.25rem; height: 2.25rem; }
.site-logo-mark--md { width: 2.5rem; height: 2.5rem; }
.site-logo-mark--lg { width: 3.5rem; height: 3.5rem; }
.site-logo-mark--xl { width: 4rem; height: 4rem; }
.site-footer .site-logo-mark {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

/* Utility classes for Tailwind complement */
.bg-surface { background-color: var(--surface); }
.text-ink { color: var(--ink); }
.text-muted { color: var(--muted); }

/* ---- Typography ---- */
.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--brand);
}
.dark .section-label { color: #22d3ee; }

.section-title {
    font-family: Manrope, Poppins, sans-serif;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--ink);
    line-height: 1.15;
}

.section-padding {
    padding-top: clamp(3.5rem, 8vw, 6rem);
    padding-bottom: clamp(3.5rem, 8vw, 6rem);
}

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.9375rem;
    line-height: 1.25;
    min-height: 2.75rem;
    padding: 0.625rem 1.25rem;
    border-radius: var(--radius-lg);
    transition: background var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition), transform var(--transition);
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
}
.btn:active { transform: scale(0.98); }
.btn:focus-visible {
    outline: 2px solid #22d3ee;
    outline-offset: 2px;
}

.btn-primary {
    background: #0891b2;
    color: #fff;
    border: 1px solid #0e7490;
    box-shadow: 0 2px 8px rgba(8, 145, 178, 0.35);
}
.btn-primary:hover {
    background: #06b6d4;
    box-shadow: 0 6px 20px rgba(8, 145, 178, 0.45);
    transform: translateY(-1px);
}
.dark .btn-primary {
    border-color: #155e75;
}

.btn-secondary {
    background: var(--surface-elevated);
    color: var(--ink);
    border: 2px solid var(--border);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.btn-secondary:hover {
    border-color: #0891b2;
    color: #0e7490;
    background: #ecfeff;
}
.dark .btn-secondary {
    background: var(--surface-elevated);
    color: var(--ink);
}
.dark .btn-secondary:hover {
    background: rgba(8, 145, 178, 0.15);
    border-color: #22d3ee;
    color: #67e8f9;
}

.btn-ghost {
    color: var(--ink);
    background: transparent;
    border: 1px solid transparent;
    min-height: 2.5rem;
}
.btn-ghost:hover {
    color: #0e7490;
    background: rgba(6, 182, 212, 0.08);
    border-color: rgba(6, 182, 212, 0.2);
}
.dark .btn-ghost:hover {
    color: #67e8f9;
    background: rgba(6, 182, 212, 0.12);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}
.btn-glass:hover {
    background: rgba(255, 255, 255, 0.24);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-white {
    background: #fff;
    color: #0e7490;
    border: 2px solid #e2e8f0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}
.btn-white:hover {
    border-color: #67e8f9;
    transform: translateY(-1px);
}

.btn-lg {
    min-height: 3.25rem;
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
    border-radius: var(--radius-xl);
}
.btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: var(--radius-lg);
    color: var(--ink);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: background var(--transition);
}
.btn-icon:hover { background: rgba(15, 23, 42, 0.06); }
.dark .btn-icon:hover { background: rgba(255, 255, 255, 0.08); }

/* ---- Glass ---- */
.glass {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.5);
}
.dark .glass {
    background: rgba(15, 23, 42, 0.75);
    border-color: rgba(255, 255, 255, 0.08);
}

.glass-dark {
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ---- Navbar ---- */
#site-header .nav-bar {
    border-radius: 9999px;
    transition: all var(--transition);
}
#site-header.is-scrolled .nav-bar {
    margin-top: 0.5rem;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 24px -4px rgba(15, 23, 42, 0.1);
    border: 1px solid rgba(226, 232, 240, 0.8);
}
.dark #site-header.is-scrolled .nav-bar {
    background: rgba(15, 23, 42, 0.9);
    border-color: rgba(51, 65, 85, 0.6);
}
#site-header.is-transparent:not(.is-scrolled) .nav-link {
    color: rgba(255, 255, 255, 0.9);
}
#site-header.is-transparent:not(.is-scrolled) .nav-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}
#site-header.is-transparent:not(.is-scrolled) .font-display {
    color: #fff;
}
#site-header.is-transparent:not(.is-scrolled) .btn-ghost {
    color: rgba(255, 255, 255, 0.9);
}
#site-header.is-transparent:not(.is-scrolled) .btn-icon {
    color: #fff;
}

#mobile-sidebar.is-open { transform: translateX(0); }
#mobile-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
}

/* ---- Hero ---- */
.hero-slide {
    background-size: cover;
    background-position: center;
}
.hero-eyebrow, .hero-title, .hero-desc, .hero-cta {
    animation: heroFadeUp 0.9s ease forwards;
}
.hero-title { animation-delay: 0.1s; }
.hero-desc { animation-delay: 0.2s; }
.hero-cta { animation-delay: 0.35s; }

@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ---- Cards ---- */
.stat-card {
    padding: 1.5rem 1.75rem;
    background: var(--surface-elevated);
    border-radius: var(--radius-2xl);
    border: 1px solid var(--border);
    box-shadow: 0 4px 24px -4px rgba(15, 23, 42, 0.06);
    transition: transform var(--transition), box-shadow var(--transition);
}
.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px -8px rgba(15, 23, 42, 0.12);
}

.program-card {
    display: flex;
    flex-direction: column;
    padding: 1.75rem;
    background: var(--surface-elevated);
    border-radius: var(--radius-2xl);
    border: 1px solid var(--border);
    box-shadow: 0 4px 20px -6px rgba(15, 23, 42, 0.08);
    transition: all var(--transition);
}
.program-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -12px rgba(6, 182, 212, 0.18);
    border-color: rgba(8, 145, 178, 0.35);
}
/* Icon badges (Tailwind SVG icons, replaces emojis) */
.icon-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: var(--radius-lg);
    flex-shrink: 0;
}
.icon-badge svg {
    display: block;
}

.program-card-icon {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-xl);
    background: #ecfeff;
    margin-bottom: 1.25rem;
    transition: transform var(--transition);
}
.program-card-icon svg {
    display: block;
}
.dark .program-card-icon {
    background: rgba(6, 182, 212, 0.2);
}
.program-card:hover .program-card-icon { transform: scale(1.08); }

.program-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #0891b2;
}
.dark .program-card-link { color: #22d3ee; }

.event-date-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.5rem 0.75rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-radius: var(--radius-lg);
    color: #0f172a;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* ---- Gallery masonry ---- */
.gallery-masonry {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}
@media (min-width: 640px) {
    .gallery-masonry {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
}
@media (min-width: 1024px) {
    .gallery-masonry {
        grid-template-columns: repeat(4, 1fr);
    }
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 1;
}
.gallery-item-tall { grid-row: span 2; aspect-ratio: auto; }
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding: 1rem 1.15rem;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.45) 55%, transparent 100%);
    opacity: 0;
    transition: opacity var(--transition);
}
.gallery-overlay-inner {
    width: 100%;
}
.gallery-overlay-title {
    font-weight: 600;
    font-size: 0.9rem;
    line-height: 1.35;
    color: #fff;
    margin: 0;
}
.gallery-overlay-story {
    margin: 0.4rem 0 0;
    font-size: 0.75rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.88);
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
@media (hover: none) {
    .gallery-overlay {
        opacity: 1;
        background: linear-gradient(to top, rgba(15, 23, 42, 0.88) 0%, transparent 70%);
    }
}

/* ---- Forms ---- */
.input-dark {
    padding: 0.75rem 1rem;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 0.875rem;
    transition: border-color var(--transition);
}
.input-dark::placeholder { color: rgba(255, 255, 255, 0.45); }
.input-dark:focus {
    outline: none;
    border-color: #22d3ee;
}

/* ---- Form inputs ---- */
.input,
input.input:not(.input-dark),
textarea.input,
select.input {
    width: 100%;
    padding: 0.875rem 1rem;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    background: var(--surface-elevated);
    color: var(--ink);
    font-size: 0.9375rem;
    transition: border-color var(--transition), box-shadow var(--transition);
}
.input:focus,
textarea.input:focus,
select.input:focus {
    outline: none;
    border-color: #0891b2;
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.2);
}

.card {
    background: var(--surface-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-2xl);
    box-shadow: 0 4px 24px -4px rgba(15, 23, 42, 0.08);
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.625rem;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-radius: 9999px;
    background: #fef3c7;
    color: #b45309;
}
.dark .badge { background: rgba(251, 191, 36, 0.15); color: #fbbf24; }

.badge-brand {
    background: #cffafe;
    color: #0e7490;
    border: 1px solid #a5f3fc;
}
.dark .badge-brand { background: rgba(6, 182, 212, 0.2); color: #67e8f9; border-color: rgba(34, 211, 238, 0.3); }

/* Blog cards */
.blog-card {
    display: flex;
    flex-direction: column;
    background: var(--surface-elevated);
    border-radius: var(--radius-2xl);
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: 0 4px 20px -6px rgba(15, 23, 42, 0.08);
    transition: all var(--transition);
    height: 100%;
}
.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px -12px rgba(6, 182, 212, 0.15);
    border-color: rgba(8, 145, 178, 0.3);
}
.blog-card-image {
    aspect-ratio: 16/10;
    background: #e2e8f0;
    overflow: hidden;
}
.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.blog-card:hover .blog-card-image img { transform: scale(1.05); }

/* Forum topic */
.forum-topic {
    padding: 1.25rem 1.5rem;
    background: var(--surface-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-2xl);
    transition: all var(--transition);
}
.forum-topic:hover {
    border-color: rgba(8, 145, 178, 0.3);
    box-shadow: 0 8px 24px -8px rgba(15, 23, 42, 0.1);
}

/* Article content */
/* Inner pages — spacing below hero */
.page-breadcrumb {
    padding-top: 2rem;
    padding-bottom: 1.75rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
    background: var(--surface);
}
.dark .page-breadcrumb {
    border-bottom-color: rgba(51, 65, 85, 0.6);
}
.page-breadcrumb a {
    color: var(--muted);
    transition: color 0.2s ease;
}
.page-breadcrumb a:hover {
    color: #0891b2;
}
.page-breadcrumb li[aria-hidden="true"] {
    color: rgba(148, 163, 184, 0.6);
    user-select: none;
}

.page-content-wrap {
    padding-top: 2.5rem;
}
@media (min-width: 1024px) {
    .page-content-wrap {
        padding-top: 3rem;
    }
}

.program-detail-intro {
    padding-top: 2.5rem;
    padding-bottom: 3.5rem;
    background: var(--surface);
}
@media (min-width: 1024px) {
    .program-detail-intro {
        padding-top: 3rem;
        padding-bottom: 4rem;
    }
}
.hero-slider--page .max-w-3xl {
    padding-bottom: 0.5rem;
}

/* FAQ */
.faq-filter {
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
    font-weight: 600;
    border-radius: 9999px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: var(--surface);
    color: var(--muted);
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.faq-filter:hover {
    border-color: rgba(6, 182, 212, 0.45);
    color: #0891b2;
}
.faq-filter.is-active {
    background: #0891b2;
    border-color: transparent;
    color: #fff;
}
.faq-item summary::-webkit-details-marker {
    display: none;
}
.faq-item[open] {
    border-color: rgba(6, 182, 212, 0.25);
}
.faq-section--compact .faq-filters {
    display: none;
}

/* Program videos */
.program-video-player iframe,
.program-video-player video {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}
.program-video-play-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    border-radius: 9999px;
    background: rgba(6, 182, 212, 0.9);
    box-shadow: 0 8px 24px rgba(6, 182, 212, 0.45);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.program-video-link:hover .program-video-play-btn {
    transform: scale(1.06);
    box-shadow: 0 12px 32px rgba(6, 182, 212, 0.55);
}
.program-video-card {
    border: 1px solid rgba(148, 163, 184, 0.2);
}
.dark .program-video-card {
    border-color: rgba(51, 65, 85, 0.6);
}

/* Program detail — full-width department pages */
.program-detail-icon {
    width: 5rem;
    height: 5rem;
    border-radius: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.program-detail-icon svg {
    display: block;
}
.program-detail-band {
    border-y: 1px solid rgba(15, 23, 42, 0.06);
}
.dark .program-detail-band {
    border-color: rgba(255, 255, 255, 0.06);
}
.program-detail-panel {
    border: 1px solid rgba(15, 23, 42, 0.06);
}
.program-detail-panel-icon {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(6, 182, 212, 0.12);
    flex-shrink: 0;
}
.program-detail-panel-icon svg {
    display: block;
}
.program-detail-cta {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.program-detail-cta:hover {
    transform: translateY(-2px);
}

.content-article { max-width: 48rem; margin: 0 auto; }
.content-article .prose { color: var(--ink); line-height: 1.8; opacity: 0.92; }
.card p, .card .text-muted, .program-card .text-muted {
    color: var(--muted);
}
.content-article .prose h2, .content-article .prose h3 { color: var(--ink); font-family: Manrope, sans-serif; }

/* Pagination */
.pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.5rem; margin-top: 2.5rem; }
.pagination a, .pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
    padding: 0 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid var(--border);
    background: var(--surface-elevated);
    color: var(--muted);
    transition: all var(--transition);
    text-decoration: none;
}
.pagination a:hover { border-color: #0891b2; color: #0891b2; }
.pagination .is-active {
    background: #0891b2;
    color: #fff;
    border-color: transparent;
}

/* Auth layout */
.auth-wrap {
    min-height: calc(100vh - 8rem);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    background: var(--surface);
}
.dark .auth-wrap {
    background: var(--surface);
}
.auth-card {
    width: 100%;
    max-width: 28rem;
    padding: 2rem;
    background: var(--surface-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-2xl);
    box-shadow: 0 20px 50px -20px rgba(15, 23, 42, 0.15);
}

/* Progress bar */
.progress-bar {
    height: 0.5rem;
    background: #e2e8f0;
    border-radius: 9999px;
    overflow: hidden;
}
.dark .progress-bar { background: #334155; }
.progress-bar-fill {
    height: 100%;
    background: #0891b2;
    border-radius: 9999px;
    transition: width 0.6s ease;
}

input:not(.input-dark):not(.input), textarea:not(.input), select:not(.input) {
    transition: border-color var(--transition), box-shadow var(--transition);
}

/* ---- Scroll reveal ---- */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---- Carousel ---- */
.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.scrollbar-hide::-webkit-scrollbar { display: none; }

.events-carousel { scroll-behavior: smooth; }

/* ---- Skeleton ---- */
.skeleton {
    background: #e2e8f0;
    animation: skeleton-pulse 1.5s ease-in-out infinite;
    border-radius: var(--radius-lg);
}
.dark .skeleton {
    background: #334155;
}
@keyframes skeleton-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.55; }
}

/* ---- Utilities ---- */
.line-clamp-2, .line-clamp-3 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.line-clamp-2 { -webkit-line-clamp: 2; }
.line-clamp-3 { -webkit-line-clamp: 3; }

.prose img { border-radius: var(--radius-xl); margin: 1rem 0; }

.animate-slide-down {
    animation: slideDown 0.4s ease;
}
@keyframes slideDown {
    from { opacity: 0; transform: translate(-50%, -12px); }
    to { opacity: 1; transform: translate(-50%, 0); }
}

.rounded-4xl { border-radius: 2rem; }

/* Footer — readable text on cyan-tinted dark (not flat black) */
.site-footer {
    background: #0f3d47;
    color: #cbd5e1;
    border-top: 1px solid rgba(34, 211, 238, 0.15);
}
.site-footer-bar {
    background: rgba(7, 71, 87, 0.6);
    border-top: 1px solid rgba(23, 114, 126, 0.12);
}
.footer-heading {
    font-family: Manrope, Poppins, sans-serif;
    font-weight: 600;
    font-size: 0.875rem;
    color: #f8fafc;
    margin-bottom: 1rem;
}
.footer-link {
    color: #e2e8f0;
    text-decoration: none;
    transition: color 0.2s ease;
}
.footer-link:hover {
    color: #67e8f9;
}
.footer-social {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.75rem;
    background: rgba(34, 211, 238, 0.08);
    border: 1px solid rgba(34, 211, 238, 0.2);
    color: #a5f3fc;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.footer-social:hover {
    background: rgba(6, 182, 212, 0.35);
    border-color: rgba(103, 232, 249, 0.5);
    color: #fff;
}
.footer-credit {
    font-weight: 600;
    color: rgba(103, 232, 249, 0.95);
    text-decoration: none;
    transition: color 0.2s ease, text-shadow 0.2s ease;
}
.footer-credit:hover {
    color: #cffafe;
    text-shadow: 0 0 20px rgba(34, 211, 238, 0.45);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Partners (homepage) */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}
@media (min-width: 768px) {
    .partners-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 1.25rem;
    }
}
.partner-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.75rem 1.25rem 1.5rem;
    border-radius: 1.5rem;
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: #fff;
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    min-height: 100%;
}
.dark .partner-card {
    background: rgba(15, 23, 42, 0.55);
    border-color: rgba(51, 65, 85, 0.8);
}
.partner-card--link {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}
.partner-card--link:hover,
.partner-card.group:hover {
    transform: translateY(-4px);
    border-color: rgba(6, 182, 212, 0.45);
    box-shadow: 0 16px 40px rgba(6, 182, 212, 0.12);
}
.partner-card-logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 5.5rem;
    height: 5.5rem;
    margin-bottom: 1rem;
    border-radius: 1.25rem;
    background: linear-gradient(145deg, #f0fdfa 0%, #ecfeff 100%);
    border: 1px solid rgba(6, 182, 212, 0.15);
}
.dark .partner-card-logo-wrap {
    background: rgba(6, 182, 212, 0.08);
    border-color: rgba(34, 211, 238, 0.2);
}
.partner-card-logo {
    max-width: 4rem;
    max-height: 3.5rem;
    width: auto;
    height: auto;
    object-fit: contain;
}
.partner-card-monogram {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 9999px;
    font-family: var(--font-display, ui-serif, Georgia, serif);
    font-weight: 700;
    font-size: 1.125rem;
    letter-spacing: 0.04em;
    color: #0e7490;
    background: #fff;
    border: 2px solid rgba(6, 182, 212, 0.25);
}
.dark .partner-card-monogram {
    color: #67e8f9;
    background: rgba(15, 23, 42, 0.9);
}
.partner-card-name {
    font-family: var(--font-display, ui-serif, Georgia, serif);
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.35;
    color: #0f172a;
    margin: 0;
}
.dark .partner-card-name {
    color: #f8fafc;
}
.partner-card-desc {
    margin: 0.5rem 0 0;
    font-size: 0.75rem;
    line-height: 1.45;
    color: #64748b;
}
.dark .partner-card-desc {
    color: #94a3b8;
}
.partner-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: auto;
    padding-top: 0.85rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #0891b2;
}
.dark .partner-card-link {
    color: #22d3ee;
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    .reveal { opacity: 1; transform: none; }
}
