/* Rockhurst Astor LLC - custom styles consolidated from the original pages */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: #0f172a; }
::-webkit-scrollbar-thumb:hover { background: var(--ra-a500, #0ea5e9); }

html { scroll-behavior: smooth; }
body.admin-bar #main-nav { top: 32px; }
@media (max-width: 782px) { body.admin-bar #main-nav { top: 46px; } }

/* Scroll reveals */
.reveal { opacity: 0; transform: translateY(40px); transition: all 0.8s ease-out; }
.reveal.active { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-50px); transition: all 1s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal-right { opacity: 0; transform: translateX(50px); transition: all 1s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal-left.active, .reveal-right.active { opacity: 1; transform: translateX(0); }
@media (prefers-reduced-motion: reduce) { .reveal, .reveal-left, .reveal-right { opacity: 1; transform: none; transition: none; } }

/* Navigation */
#main-nav { transition: background-color 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease; }
.nav-scrolled {
    background-color: rgba(15, 23, 42, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2);
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}

/* Services card hover */
.service-card:hover .service-icon {
    background-color: var(--ra-a500, #0ea5e9);
    color: #ffffff;
    transform: scale(1.1);
    box-shadow: 0 10px 15px -3px rgba(14, 165, 233, 0.3);
}

/* Drawer + modal */
.drawer-open { transform: translateX(0) !important; }
.overlay-open { display: block !important; opacity: 1 !important; }
.modal-active { display: flex !important; }
.modal-show { opacity: 1 !important; }
.modal-content-show { transform: scale(1) !important; }

/* Inner page title bar: white title, blue accent words */
.ra-titlebar { background: var(--ra-tb-bg, #0f172a); }
.ra-titlebar-h1 { color: var(--ra-tb-text, #ffffff); text-shadow: 0 4px 24px rgba(0, 0, 0, 0.35); }
.ra-titlebar-h1 span { color: var(--ra-tb-accent, #38bdf8); font-style: italic; }

/* Patterns */
.bg-dots { background-image: radial-gradient(#cbd5e1 1px, transparent 1px); background-size: 32px 32px; }
.bg-dots-soft { background-image: radial-gradient(#e2e8f0 1px, transparent 1px); background-size: 32px 32px; }
.bg-dots-dark { background-image: radial-gradient(rgba(56, 189, 248, 0.1) 1px, transparent 1px); background-size: 32px 32px; }
.bg-grid { background-size: 40px 40px; background-image: linear-gradient(to right, rgba(15, 23, 42, 0.03) 1px, transparent 1px), linear-gradient(to bottom, rgba(15, 23, 42, 0.03) 1px, transparent 1px); }
.bg-grid-pattern { background-image: radial-gradient(#cbd5e1 1px, transparent 1px); background-size: 40px 40px; }
.glass-card { background: rgba(255, 255, 255, 0.03); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1); }

/* Watermark numerals */
.chapter-num { font-size: 15rem; line-height: 0.8; font-family: 'Playfair Display', serif; font-weight: 700; position: absolute; z-index: 0; pointer-events: none; }
.chapter-num.light { color: rgba(241, 245, 249, 0.8); top: -2rem; left: -3rem; }
.chapter-num.dark { color: rgba(15, 23, 42, 0.8); top: -2rem; right: -3rem; text-shadow: 0 0 40px rgba(14, 165, 233, 0.1); }
.watermark-number { font-size: 12rem; line-height: 1; font-family: 'Playfair Display', serif; font-weight: 700; color: rgba(241, 245, 249, 0.6); position: absolute; top: -2rem; left: -1rem; z-index: 0; pointer-events: none; transition: color 0.5s ease; }
.group:hover .watermark-number { color: rgba(224, 242, 254, 0.5); }
.manifesto-number { font-size: 18rem; line-height: 0.75; font-family: 'Playfair Display', serif; font-weight: 700; position: absolute; z-index: 0; pointer-events: none; letter-spacing: -0.05em; }
.manifesto-number.light { color: rgba(241, 245, 249, 0.8); }
.manifesto-number.dark { color: rgba(15, 23, 42, 0.6); text-shadow: 0 0 50px rgba(14, 165, 233, 0.15); }

/* Team bio drop cap + insight article typography */
.drop-cap::first-letter { float: left; font-family: 'Playfair Display', serif; font-size: 4.5rem; line-height: 0.8; padding-top: 0.2rem; padding-right: 0.5rem; color: var(--ra-a500, #0ea5e9); font-weight: 700; }
.article-body .drop-cap::first-letter, .article-body > p:first-of-type::first-letter { float: left; font-family: 'Playfair Display', serif; font-size: 5rem; line-height: 0.8; padding-top: 0.3rem; padding-right: 0.6rem; color: #0f172a; font-weight: 700; }
.article-body p { margin-bottom: 1.75rem; color: #475569; line-height: 1.8; font-size: 1.125rem; font-weight: 300; }
.article-body h2 { font-family: 'Playfair Display', serif; font-size: 2.25rem; font-weight: 700; color: #0f172a; margin-top: 3.5rem; margin-bottom: 1.5rem; line-height: 1.2; }
.article-body h3 { font-family: 'Inter', sans-serif; font-size: 1.25rem; font-weight: 600; color: #1e293b; margin-top: 2.5rem; margin-bottom: 1rem; }
.article-body ul { margin-bottom: 2rem; padding-left: 1.5rem; }
.article-body li { margin-bottom: 0.75rem; color: #475569; line-height: 1.8; font-size: 1.125rem; position: relative; font-weight: 300; }
.article-body li::before { content: "\2022"; color: var(--ra-a500, #0ea5e9); font-weight: bold; display: inline-block; width: 1em; margin-left: -1em; }
.article-body blockquote { margin: 3rem 0; padding: 2.5rem; background: #f8fafc; border-left: 4px solid var(--ra-a500, #0ea5e9); border-radius: 0 1rem 1rem 0; font-family: 'Playfair Display', serif; font-size: 1.5rem; font-style: italic; color: #0f172a; line-height: 1.4; }
.article-body blockquote p { margin: 0; font-size: inherit; color: inherit; font-weight: 400; line-height: inherit; }
.article-body p a, .article-body li a { color: var(--ra-a600, #0284c7); text-decoration: underline; }
.article-body img { max-width: 100%; height: auto; border-radius: 1rem; }

/* Insight card zoom */
.blog-img-wrapper { overflow: hidden; }
.blog-img-wrapper img { transition: transform 0.7s ease; }
.group:hover .blog-img-wrapper img { transform: scale(1.08); }

/* Forms */
.ra-msg.ra-ok { display: block; background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.ra-msg.ra-err { display: block; background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.ra-form button[disabled] { opacity: .6; cursor: wait; }
.ra-form .ra-invalid { border-color: #ef4444 !important; }

/* pages without a title bar need room for the fixed header */
body.ra-notb { padding-top: 5rem; }
