/* =============================================================
   David Sowemimo Portfolio — Main Stylesheet
   Gold Theme · Dark Mode · Premium Glassmorphism
   ============================================================= */

/* ---------- Google Font (preconnected in HTML head) ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
    --primary: #c9a227;
    --primary-light: rgba(201,162,39,0.15);
    --primary-glow: rgba(201,162,39,0.25);
    --background: #ffffff;
    --foreground: #0f172a;
    --card: #ffffff;
    --card-foreground: #0f172a;
    --muted: #f8fafc;
    --muted-foreground: #64748b;
    --border: #e2e8f0;
    --input: #e2e8f0;
    --ring: #c9a227;
    --radius: 0.75rem;
    --destructive: #ef4444;
}

.dark {
    --background: #0a0a0f;
    --foreground: #f8fafc;
    --card: #13131a;
    --card-foreground: #f8fafc;
    --muted: #1e1e2a;
    --muted-foreground: #94a3b8;
    --border: rgba(255,255,255,0.08);
    --input: rgba(255,255,255,0.10);
}

/* ---------- Base Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
    transition: background-color 0.3s, color 0.3s;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: inherit; }

/* ---------- Containers ---------- */
.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }

/* ---------- Primary Gold Button ---------- */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--primary);
    color: #0f172a;
    font-weight: 800;
    font-size: 1.125rem;
    padding: 0.875rem 2.5rem;
    border-radius: 9999px;
    border: none;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
    box-shadow: 0 4px 24px var(--primary-glow);
    cursor: pointer;
    text-decoration: none;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px var(--primary-glow);
    background: #d4ab2e;
}
.btn-primary:active { transform: translateY(0); }

/* ---------- Outline Button ---------- */
.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: transparent;
    color: var(--foreground);
    font-weight: 700;
    font-size: 1rem;
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    border: 1.5px solid var(--border);
    transition: all 0.2s;
    cursor: pointer;
    text-decoration: none;
}
.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* ---------- Card ---------- */
.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 1.5rem;
    overflow: hidden;
    transition: box-shadow 0.3s, border-color 0.3s, transform 0.3s;
}
.card:hover {
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
    border-color: rgba(201,162,39,0.3);
}
.dark .card:hover { box-shadow: 0 20px 60px rgba(0,0,0,0.4); }

/* ---------- Tag Badges ---------- */
.tag {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 600;
}

/* ---------- Skeleton Loaders ---------- */
.skeleton {
    background: linear-gradient(90deg, var(--muted) 25%, var(--border) 50%, var(--muted) 75%);
    background-size: 200% 100%;
    animation: skeleton-wave 1.5s infinite;
    border-radius: var(--radius);
}
@keyframes skeleton-wave {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ---------- Pagination ---------- */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}
.page-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--card);
    color: var(--foreground);
    font-weight: 600;
    transition: all 0.2s;
    cursor: pointer;
}
.page-btn:hover, .page-btn.active {
    background: var(--primary);
    color: #0f172a;
    border-color: var(--primary);
}
.page-btn:disabled { opacity: 0.4; cursor: not-allowed; }

/* ---------- Toast Notification ---------- */
#toast-container {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.toast {
    padding: 1rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.9rem;
    min-width: 280px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    animation: toast-in 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.toast-success { background: #dcfce7; color: #166534; border: 1px solid #86efac; }
.toast-error   { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }
.toast-info    { background: #dbeafe; color: #1e40af; border: 1px solid #93c5fd; }
.dark .toast-success { background: #14532d; color: #86efac; }
.dark .toast-error   { background: #7f1d1d; color: #fca5a5; }
.dark .toast-info    { background: #1e3a5f; color: #93c5fd; }
@keyframes toast-in {
    from { opacity: 0; transform: translateX(40px); }
    to   { opacity: 1; transform: translateX(0); }
}

/* ---------- Navbar ---------- */
.site-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    transition: background 0.3s;
}
.dark .site-nav {
    background: rgba(10,10,15,0.85);
}
.site-nav .inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4.5rem;
}
.nav-logo img { width: 3rem; height: 3rem; border-radius: 0.5rem; }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a {
    font-size: 0.9rem;
    font-weight: 600;
    transition: color 0.2s;
    color: var(--muted-foreground);
}
.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.nav-theme-btn {
    width: 2.25rem; height: 2.25rem;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--card);
    display: flex; align-items: center; justify-content: center;
    transition: all 0.2s;
    color: var(--foreground);
}
.nav-theme-btn:hover { background: var(--primary-light); color: var(--primary); }
.nav-hamburger {
    display: none;
    width: 2.25rem; height: 2.25rem;
    border-radius: 0.5rem;
    border: 1px solid var(--border);
    background: var(--card);
    align-items: center; justify-content: center;
    color: var(--foreground);
}
.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid var(--border);
    background: var(--card);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-bottom: 1px solid var(--border);
    color: var(--muted-foreground);
    transition: color 0.2s, background 0.2s;
}
.mobile-menu a:hover { color: var(--primary); background: var(--primary-light); }
@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-hamburger { display: flex; }
}

/* ---------- Footer ---------- */
.site-footer {
    background: var(--card);
    border-top: 1px solid var(--border);
    padding: 5rem 0 2.5rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}
.footer-brand { grid-column: span 1; }
@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-brand { grid-column: span 1; }
}
.footer-logo {
    font-size: 2rem;
    font-weight: 900;
    font-style: italic;
    letter-spacing: -0.05em;
    color: var(--primary);
}
.footer-logo span { color: var(--foreground); }
.footer-social { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.social-btn {
    width: 2.75rem; height: 2.75rem;
    border-radius: 50%;
    background: var(--muted);
    border: 1px solid var(--border);
    display: inline-flex; align-items: center; justify-content: center;
    color: var(--muted-foreground);
    transition: all 0.2s;
    font-size: 1.1rem;
}
.social-btn:hover {
    background: var(--primary-light);
    color: var(--primary);
    border-color: var(--primary);
    transform: translateY(-2px);
}
.footer-col h4 { font-size: 0.8rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted-foreground); margin-bottom: 1.5rem; }
.footer-links { display: flex; flex-direction: column; gap: 1rem; }
.footer-links a {
    color: var(--muted-foreground);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    transition: color 0.2s;
    font-size: 0.95rem;
}
.footer-links a:hover { color: var(--primary); }
.footer-location { display: flex; align-items: flex-start; gap: 0.75rem; color: var(--muted-foreground); font-size: 0.95rem; }
.footer-location svg { flex-shrink: 0; margin-top: 0.1rem; color: var(--primary); }
.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--muted-foreground);
}

/* ---------- Section Headings ---------- */
.section-heading { text-align: center; margin-bottom: 4rem; }
.section-heading h1, .section-heading h2 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--primary);
}
.section-heading p {
    margin-top: 1rem;
    font-size: 1.2rem;
    color: var(--muted-foreground);
    max-width: 40rem;
    margin-left: auto;
    margin-right: auto;
}

/* ---------- Lightbox ---------- */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9000;
    background: rgba(0,0,0,0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    animation: fade-in 0.2s ease;
}
.lightbox.hidden { display: none; }
.lightbox img {
    max-height: 90vh;
    max-width: 90vw;
    border-radius: 0.75rem;
    box-shadow: 0 25px 60px rgba(0,0,0,0.5);
}
.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 3rem; height: 3rem;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s;
    cursor: pointer;
}
.lightbox-close:hover { background: rgba(255,255,255,0.2); }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Admin Sidebar ---------- */
.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar {
    width: 17rem;
    min-height: 100vh;
    background: var(--card);
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    padding: 2rem;
    position: fixed;
    top: 0; left: 0; bottom: 0;
    z-index: 40;
    transition: transform 0.3s;
}
.admin-main {
    flex: 1;
    margin-left: 17rem;
    padding: 2.5rem;
    min-height: 100vh;
    overflow-x: hidden;
}
@media (max-width: 1024px) {
    .admin-sidebar {
        transform: translateX(-100%);
    }
    .admin-sidebar.open {
        transform: translateX(0);
        box-shadow: 0 0 0 100vw rgba(0,0,0,0.4);
    }
    .admin-main { margin-left: 0; }
}
.sidebar-logo { display: flex; align-items: center; gap: 1rem; margin-bottom: 3rem; }
.sidebar-logo img { width: 2.5rem; height: 2.5rem; border-radius: 0.5rem; }
.sidebar-logo-text h2 { font-weight: 900; font-size: 1rem; line-height: 1; }
.sidebar-logo-text p { font-size: 0.65rem; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 0.25rem; }
.sidebar-nav { display: flex; flex-direction: column; gap: 0.25rem; flex: 1; }
.sidebar-link {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.875rem 1.25rem;
    border-radius: 1rem;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--muted-foreground);
    transition: all 0.2s;
}
.sidebar-link:hover { background: var(--primary-light); color: var(--primary); }
.sidebar-link.active { background: var(--primary); color: #0f172a; box-shadow: 0 4px 16px var(--primary-glow); }
.sidebar-link svg { width: 1.25rem; height: 1.25rem; flex-shrink: 0; }
.sidebar-logout {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.875rem 1.25rem;
    border-radius: 1rem;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--destructive);
    background: rgba(239,68,68,0.08);
    border: none;
    width: 100%;
    text-align: left;
    transition: all 0.2s;
    cursor: pointer;
    margin-top: 2rem;
}
.sidebar-logout:hover { background: var(--destructive); color: white; }

/* ---------- Modal ---------- */
.modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    animation: fade-in 0.2s ease;
}
.modal-backdrop.hidden { display: none; }
.modal-box {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 1.5rem;
    width: 100%;
    max-width: 52rem;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 60px rgba(0,0,0,0.3);
}
.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border);
}
.modal-header h2 { font-size: 1.5rem; font-weight: 800; }
.modal-close {
    width: 2.25rem; height: 2.25rem;
    border-radius: 50%;
    background: var(--muted);
    border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    color: var(--muted-foreground);
    transition: all 0.2s;
    cursor: pointer;
}
.modal-close:hover { background: rgba(239,68,68,0.1); color: var(--destructive); }
.modal-body { padding: 2rem; }

/* ---------- Form Inputs ---------- */
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-label { font-size: 0.875rem; font-weight: 600; }
.form-input, .form-textarea, .form-select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1.5px solid var(--input);
    border-radius: var(--radius);
    background: var(--background);
    color: var(--foreground);
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}
.form-textarea { resize: vertical; min-height: 6rem; }
.form-input[type="file"] { padding: 0.5rem; cursor: pointer; }

/* ---------- Admin Grid Utilities ---------- */
.admin-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.admin-grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1.5rem; }
@media (max-width: 900px) {
    .admin-grid-2, .admin-grid-3 { grid-template-columns: 1fr; }
}

/* ---------- CKEditor Dark Mode ---------- */
.dark .ck.ck-editor__main>.ck-editor__editable {
    background-color: var(--card) !important;
    color: var(--foreground) !important;
    border-color: var(--border) !important;
}
.dark .ck.ck-toolbar {
    background-color: var(--muted) !important;
    border-color: var(--border) !important;
}
.dark .ck.ck-button, .dark .ck.ck-dropdown {
    color: var(--foreground) !important;
}
.ck-editor__editable { min-height: 280px; }
.ck-editor__editable.ck-rounded-corners { border-radius: 0 0 var(--radius) var(--radius) !important; }
.ck.ck-toolbar { border-radius: var(--radius) var(--radius) 0 0 !important; }

/* ---------- Rich Text Content Renderer ---------- */
.cts-heading, .prose h1, .prose h2, .prose h3, .prose h4 {
    font-weight: 800;
    line-height: 1.3;
    margin: 1.5rem 0 0.75rem;
    color: var(--foreground);
}
.cts-h1, .prose h1 { font-size: 2rem; }
.cts-h2, .prose h2 { font-size: 1.5rem; }
.cts-h3, .prose h3 { font-size: 1.25rem; }
.cts-paragraph, .prose p { margin-bottom: 1.25rem; line-height: 1.8; color: var(--muted-foreground); }
.cts-list, .prose ul, .prose ol { padding-left: 1.5rem; margin-bottom: 1.25rem; }
.cts-list li, .prose li { margin-bottom: 0.5rem; line-height: 1.7; color: var(--muted-foreground); }
.cts-image img, .prose img { border-radius: var(--radius); margin: 1.5rem 0; max-width: 100%; }
.cts-caption, .prose figcaption { font-size: 0.875rem; color: var(--muted-foreground); text-align: center; margin-top: 0.5rem; }
.cts-quote, .prose blockquote {
    border-left: 4px solid var(--primary);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    background: var(--primary-light);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-style: italic;
    color: var(--muted-foreground);
}
.cts-delimiter, .prose hr { border: none; border-top: 2px solid var(--border); margin: 2rem 0; }
.cts-embed, .prose .embed { border-radius: var(--radius); overflow: hidden; margin: 1.5rem 0; }
.cts-embed iframe { width: 100%; aspect-ratio: 16/9; }
.cts-code, .prose pre {
    background: var(--muted);
    border-radius: var(--radius);
    padding: 1.25rem;
    overflow-x: auto;
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    font-size: 0.875rem;
    margin: 1.5rem 0;
}
.aspect-video { aspect-ratio: 16/9; }
.aspect-video iframe { width: 100%; height: 100%; }

/* ---------- Dropdown Menu ---------- */
.dropdown-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 0.5rem);
    min-width: 11rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    padding: 0.375rem;
    z-index: 30;
    animation: fade-in 0.12s ease;
}
.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.625rem 0.875rem;
    border-radius: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s;
    width: 100%;
    text-align: left;
    border: none;
    background: none;
    color: var(--foreground);
}
.dropdown-item:hover { background: var(--primary-light); color: var(--primary); }
.dropdown-item.danger { color: var(--destructive); }
.dropdown-item.danger:hover { background: rgba(239,68,68,0.1); }
.dropdown-divider { height: 1px; background: var(--border); margin: 0.25rem 0; }

/* ---------- View Mode Toggle ---------- */
.view-toggle { display: flex; gap: 0.25rem; }
.view-btn {
    width: 2rem; height: 2rem;
    border-radius: 0.5rem;
    border: 1px solid var(--border);
    background: var(--card);
    display: flex; align-items: center; justify-content: center;
    color: var(--muted-foreground);
    cursor: pointer;
    transition: all 0.2s;
}
.view-btn.active, .view-btn:hover { background: var(--primary); color: #0f172a; border-color: var(--primary); }

/* ---------- Stats Card ---------- */
.stat-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 2rem;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}
.stat-card .stat-label {
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--muted-foreground);
    margin-bottom: 1rem;
}
.stat-card .stat-value {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1;
    color: var(--foreground);
}

/* ---------- Animations ---------- */
[data-aos="fade-right"] { opacity: 0; transform: translateX(-40px); transition: opacity 0.8s ease, transform 0.8s ease; }
[data-aos="fade-left"]  { opacity: 0; transform: translateX(40px);  transition: opacity 0.8s ease, transform 0.8s ease; }
[data-aos="fade-up"]    { opacity: 0; transform: translateY(40px);   transition: opacity 0.8s ease, transform 0.8s ease; }
[data-aos="zoom-in"]    { opacity: 0; transform: scale(0.9);          transition: opacity 0.8s ease, transform 0.8s ease; }
[data-aos].aos-animate  { opacity: 1; transform: none; }

/* ---------- Gallery Grid ---------- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}
@media (max-width: 1200px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px)  { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .gallery-grid { grid-template-columns: 1fr; } }
.gallery-item {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    cursor: pointer;
    group: '';
}
.gallery-item img {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.25rem;
    transition: background 0.3s;
}
.gallery-item:hover .gallery-overlay { background: rgba(0,0,0,0.55); }
.gallery-overlay-content {
    transform: translateY(16px);
    opacity: 0;
    transition: all 0.3s;
}
.gallery-item:hover .gallery-overlay-content { transform: translateY(0); opacity: 1; }
.gallery-overlay h3 { color: white; font-weight: 700; font-size: 1rem; }
.gallery-overlay p  { color: rgba(255,255,255,0.8); font-size: 0.825rem; margin-top: 0.25rem; }

/* ---------- Upload progress ---------- */
.upload-progress {
    height: 0.375rem;
    background: var(--muted);
    border-radius: 9999px;
    overflow: hidden;
    display: none;
}
.upload-progress.show { display: block; }
.upload-progress-bar {
    height: 100%;
    background: var(--primary);
    border-radius: 9999px;
    transition: width 0.3s;
}

/* ---------- Contact Cards ---------- */
.contact-info-card {
    padding: 1.5rem;
    border-radius: 1.5rem;
    background: var(--card);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.2s;
    text-decoration: none;
    color: inherit;
}
.contact-info-card:hover { border-color: var(--primary); box-shadow: 0 8px 32px rgba(0,0,0,0.1); }
.contact-icon-wrap {
    width: 3rem; height: 3rem;
    border-radius: 0.875rem;
    background: var(--primary-light);
    color: var(--primary);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    transition: transform 0.2s;
}
.contact-info-card:hover .contact-icon-wrap { transform: scale(1.1); }
.contact-info-label { font-size: 0.8rem; font-weight: 600; color: var(--muted-foreground); }
.contact-info-value { font-weight: 700; font-size: 0.95rem; }

/* ---------- Misc Utilities ---------- */
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); }
.line-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.line-clamp-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.text-primary { color: var(--primary); }
.bg-primary  { background: var(--primary); }
.border-primary { border-color: var(--primary); }
.spin { animation: spin 0.8s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
