/* ==========================================================
   BLACKROBE LEGAL ADVISORS — Complete Stylesheet
   --------------------------------------------------
   Palette:
     Black:        #0a0a0a  (body bg, navbar, footer)
     Dark:         #111111  (hero, page headers)
     Surface:      #1a1a1a  (cards, sections)
     Surface Alt:  #222222  (alternate cards)
     Border:       rgba(255,255,255,0.08)
     Border Hover: rgba(255,255,255,0.25)
     White:        #ffffff
     Off-White:    #f0f0f0
     Grey Light:   #cccccc
     Grey Mid:     #888888
     Grey Dark:    #444444
   ========================================================== */

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

:root {
    --bg:           #0a0a0a;
    --bg-dark:      #000000;
    --bg-surface:   #1a1a1a;
    --bg-surface2:  #222222;
    --bg-surface3:  #2a2a2a;
    --white:        #ffffff;
    --off-white:    #f0f0f0;
    --grey-light:   #cccccc;
    --grey-mid:     #888888;
    --grey-dark:    #444444;
    --border:       rgba(255,255,255,0.08);
    --border-hover: rgba(255,255,255,0.25);
    --text:         #f0f0f0;
    --text-muted:   #888888;
    --accent:       #ffffff;
    --font-heading: 'Cormorant Garamond', Georgia, serif;
    --font-body:    'Montserrat', -apple-system, sans-serif;
    --ease:         0.3s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
}

a { color: var(--white); text-decoration: none; transition: color var(--ease); }
a:hover { color: var(--grey-light); }
img { max-width: 100%; height: auto; }
img.logo-img { height: 80px !important; width: auto !important; max-width: none !important; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.text-center { text-align: center; }
.mt-3 { margin-top: 2rem; }
.mt-4 { margin-top: 3rem; }

/* ── Buttons ── */
.btn {
    display: inline-block;
    padding: 0.875rem 2.25rem;
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: all var(--ease);
    text-align: center;
}
.btn-primary { background: var(--white); color: var(--bg-dark); }
.btn-primary:hover { background: var(--grey-light); color: var(--bg-dark); }
.btn-outline { background: transparent; border: 1px solid var(--white); color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--bg-dark); }
.btn-large { padding: 1.125rem 3rem; font-size: 0.9375rem; }
.btn-sm { padding: 0.5rem 1.25rem; font-size: 0.75rem; }
.btn-full { width: 100%; }

.link-arrow {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--white);
    letter-spacing: 0.03em;
}
.link-arrow:hover { color: var(--grey-light); }

.required { color: var(--grey-light); }

/* ── Scroll Progress ── */
.scroll-progress {
    position: fixed; top: 0; left: 0; height: 2px;
    background: var(--white);
    z-index: 9999; width: 0%;
}

/* ── Flash Messages ── */
.flash-container {
    position: fixed; top: 80px; right: 2rem; z-index: 8000;
    display: flex; flex-direction: column; gap: 0.5rem;
    max-width: 420px; width: 100%;
}
.flash {
    padding: 1rem 1.25rem;
    display: flex; align-items: center; justify-content: space-between;
    font-size: 0.875rem; gap: 1rem;
    animation: flashIn 0.3s ease;
}
.flash-success { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.2); color: #aaa; }
.flash-error   { background: rgba(180,50,50,0.15); border: 1px solid rgba(180,50,50,0.3); color: #f08080; }
.flash-info    { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.15); color: #ccc; }
.flash-close {
    background: none; border: none; color: inherit;
    font-size: 1.25rem; cursor: pointer; opacity: 0.6;
    padding: 0; line-height: 1;
}
.flash-close:hover { opacity: 1; }
@keyframes flashIn { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: translateX(0); } }

/* ── Navbar ── */
.navbar {
    height: 80px !important;
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: 0;
    background: #ffffff;
    border-bottom: 1px solid #e0e0e0;
    transition: all var(--ease);
    display: flex;
    align-items: center;
}
.navbar.scrolled {
    background: #ffffff;
    backdrop-filter: blur(12px);
    padding: 0;
    border-bottom: 1px solid #cccccc;
}
.nav-container {
    max-width: 1200px; margin: 0 auto; padding: 0 2rem;
    display: flex; align-items: center; justify-content: space-between;
    width: 100%; height: 100%;
}
.logo-img { height: 90px !important; width: auto !important; max-width: none !important; }

.nav-links {
    display: flex; list-style: none; gap: 2rem; align-items: center; height: 100%;
}
.nav-links a {
    color: #333333;
    font-size: 0.75rem; font-weight: 500;
    letter-spacing: 0.06em; text-transform: uppercase;
    position: relative; padding-bottom: 4px; display: flex; align-items: center;
}
.nav-links a::after {
    content: ''; position: absolute; bottom: 0; left: 0;
    width: 0; height: 1px; background: #000000;
    transition: width var(--ease);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: #000000; }
.nav-links a:hover { color: #000000; }

.nav-cta { margin-left: 0.5rem; }

.nav-toggle {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 5px;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: #000000; transition: all var(--ease); }

/* ── Hero ── */
.hero {
    position: relative; min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    background: var(--bg-dark);
}
.hero::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(255,255,255,0.03) 0%, transparent 60%);
}
.hero-content {
    text-align: center; max-width: 820px; padding: 2rem; position: relative; z-index: 2;
}
.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6.5vw, 5.0rem);
    font-weight: 600; color: var(--white);
    line-height: 0.9; margin-bottom: 1.5rem;
}
.hero-subtitle {
    font-size: 1.05rem; font-weight: 300; color: var(--grey-light);
    max-width: 600px; margin: 0 auto 2.5rem; line-height: 1.9;
    letter-spacing: 0.01em;
}
.hero-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.hero-scroll {
    position: absolute; bottom: 3rem; left: 50%;
    transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 0.75rem; z-index: 2;
}
.hero-scroll span {
    font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--grey-mid);
}
.scroll-line {
    width: 1px; height: 40px;
    background: linear-gradient(to bottom, var(--white), transparent);
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 0.2; } 50% { opacity: 0.8; } }

/* ── Sections ── */
.section { padding: 6rem 0; }

.section-label {
    display: inline-block;
    font-size: 0.75rem; font-weight: 600;
    letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--grey-mid); margin-bottom: 1rem;
    position: relative; padding-left: 2rem;
}
.section-label::before {
    content: ''; position: absolute; left: 0; top: 50%;
    width: 1.25rem; height: 1px; background: var(--grey-mid);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.875rem, 4vw, 2.75rem);
    font-weight: 600; color: var(--white);
    line-height: 1.2; margin-bottom: 1.5rem;
    max-width: 700px;
}

/* ── Page Headers ── */
.page-header {
    padding: 13rem 0 4rem;
    background: var(--bg-dark);
    border-bottom: 1px solid var(--border);
}
.page-title {
    font-family: var(--font-heading);
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 600; color: var(--white);
    line-height: 1.15; margin-bottom: 1rem;
    max-width: 700px;
}
.page-subtitle {
    font-size: 1.05rem; color: var(--grey-light);
    line-height: 1.8; max-width: 600px;
}

/* ── Intro Grid (Home) ── */
.intro-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 4rem; align-items: center;
}
.intro-text p {
    color: var(--grey-light); margin-bottom: 1.25rem; font-size: 0.95rem;
}
.intro-text strong { color: var(--white); }

.image-placeholder {
    width: 80%; aspect-ratio: 4/3;
    background: var(--bg-surface); border: 1px solid var(--border);
    display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 1rem;
}
.placeholder-icon { font-size: 4rem; filter: grayscale(1); }
.image-placeholder span {
    font-family: var(--font-heading); font-size: 1.25rem;
    color: var(--grey-light); letter-spacing: 0.05em;
}

.intro-building-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 1px solid var(--border);
    display: block;
}

.intro-image {
    width: 100%;
    overflow: hidden;
}

/* ── Stats ── */
.stats-section {
    background: var(--bg-surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 4rem 0;
}
.stats-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem;
}
.stat-card {
    text-align: center; padding: 2rem 1rem; position: relative;
}
.stat-card:not(:last-child)::after {
    content: ''; position: absolute; right: 0; top: 20%; height: 60%;
    width: 1px; background: var(--border);
}
.stat-label {
    display: block; font-size: 0.75rem;
    letter-spacing: 0.15em; text-transform: uppercase;
    color: var(--grey-mid); margin-bottom: 0.5rem;
}
.stat-number {
    display: block; font-family: var(--font-heading);
    font-size: 2.75rem; font-weight: 700; color: var(--white);
}

/* ── Practice Cards ── */
.practice-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem; margin-top: 2.5rem;
}
.practice-grid-home { grid-template-columns: repeat(4, 1fr); }

.practice-card {
    display: block; padding: 2.25rem 1.75rem;
    background: var(--bg-surface); border: 1px solid var(--border);
    transition: all var(--ease); color: var(--text);
}
.practice-card:hover {
    border-color: var(--border-hover); transform: translateY(-3px);
    color: var(--text); background: var(--bg-surface2);
}
.practice-icon { font-size: 2rem; margin-bottom: 1rem; filter: grayscale(1); }
.practice-card h3 {
    font-family: var(--font-heading); font-size: 1.25rem;
    color: var(--white); margin-bottom: 0.5rem; line-height: 1.3;
}
.practice-card p { font-size: 0.85rem; color: var(--grey-mid); }

/* ── Practice Detail (Full page) ── */
.practice-detail-grid {
    display: flex; flex-direction: column; gap: 0;
}
.practice-detail-card {
    display: grid; grid-template-columns: 80px 1fr;
    gap: 2rem; padding: 3rem 0;
    border-bottom: 1px solid var(--border);
    align-items: start;
}
.practice-detail-card:first-child { padding-top: 0; }
.practice-detail-card:last-child { border-bottom: none; }
.practice-detail-icon { font-size: 2.5rem; text-align: center; padding-top: 0.25rem; filter: grayscale(1); }
.practice-detail-content h2 {
    font-family: var(--font-heading); font-size: 1.75rem;
    color: var(--white); margin-bottom: 0.75rem;
}
.practice-detail-content p {
    color: var(--grey-light); font-size: 0.95rem; margin-bottom: 1rem; line-height: 1.7;
}
.practice-detail-content ul {
    list-style: none; display: flex; flex-direction: column; gap: 0.5rem;
}
.practice-detail-content li {
    font-size: 0.9rem; color: var(--grey-light);
    padding-left: 1.25rem; position: relative;
}
.practice-detail-content li::before {
    content: '→'; position: absolute; left: 0; color: var(--grey-mid); font-size: 0.8rem;
}

.cta-inline { font-size: 1.05rem; color: var(--grey-mid); }

/* ── Why Cards ── */
.why-section {
    background: var(--bg-surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.why-grid {
    display: grid; grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem; margin-top: 2.5rem;
}
.why-card {
    padding: 2.5rem; background: var(--bg-surface2);
    border: 1px solid var(--border);
    transition: border-color var(--ease);
}
.why-card:hover { border-color: var(--border-hover); }
.why-number {
    font-family: var(--font-heading); font-size: 2.25rem;
    font-weight: 700; color: rgba(255,255,255,0.1); margin-bottom: 0.75rem;
}
.why-card h3 {
    font-family: var(--font-heading); font-size: 1.375rem;
    color: var(--white); margin-bottom: 0.5rem;
}
.why-card p { font-size: 0.9rem; color: var(--grey-mid); }

/* ── CTA Section ── */
.cta-section {
    background: var(--bg-surface);
    padding: 5rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.cta-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.75rem);
    color: var(--white); margin-bottom: 1rem;
}
.cta-subtitle {
    font-size: 1.05rem; color: var(--grey-light);
    margin-bottom: 2rem; max-width: 500px;
    margin-left: auto; margin-right: auto;
}

/* ── Content Layout (About, Privacy) ── */
.content-grid {
    display: grid; grid-template-columns: 1fr 340px; gap: 4rem;
}
.content-main h2 {
    font-family: var(--font-heading); font-size: 1.75rem;
    color: var(--white); margin-top: 2.5rem; margin-bottom: 1rem;
}
.content-main h2:first-child { margin-top: 0; }
.content-main p {
    font-size: 0.95rem; color: var(--grey-light);
    margin-bottom: 1rem; line-height: 1.8;
}
.content-main strong { color: var(--white); }

.content-narrow { max-width: 800px; margin: 0 auto; }

.legal-content h2 {
    font-family: var(--font-heading); font-size: 1.5rem;
    color: var(--white); margin-top: 2.5rem; margin-bottom: 0.75rem;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content li {
    font-size: 0.9rem; color: var(--grey-light); line-height: 1.8;
}
.legal-content ul {
    margin: 0.75rem 0 1rem 1.25rem;
}
.legal-content li { margin-bottom: 0.4rem; }
.legal-content strong { color: var(--white); }

.values-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem;
    margin-top: 1.5rem;
}
.value-card {
    padding: 1.75rem; background: var(--bg-surface);
    border: 1px solid var(--border);
    transition: border-color var(--ease);
}
.value-card:hover { border-color: var(--border-hover); }
.value-card h3 {
    font-family: var(--font-heading); font-size: 1.25rem;
    color: var(--white); margin-bottom: 0.5rem;
}
.value-card p { font-size: 0.85rem; color: var(--grey-mid); }

/* ── Sidebar ── */
.content-sidebar { display: flex; flex-direction: column; gap: 1.5rem; }
.sidebar-card {
    padding: 2rem; background: var(--bg-surface);
    border: 1px solid var(--border);
}
.sidebar-card h4 {
    font-family: var(--font-heading); font-size: 1.25rem;
    color: var(--white); margin-bottom: 1rem;
}
.sidebar-card p {
    font-size: 0.875rem; color: var(--grey-light);
    margin-bottom: 1rem; line-height: 1.7;
}
.facts-list {
    list-style: none; display: flex; flex-direction: column; gap: 0.625rem;
}
.facts-list li { font-size: 0.875rem; color: var(--grey-light); }
.facts-list strong { color: var(--white); }

/* ── Team ── */
.team-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
}
.team-card {
    text-align: center; padding: 2.5rem 1.5rem;
    background: var(--bg-surface); border: 1px solid var(--border);
    transition: border-color var(--ease);
}
.team-card:hover { border-color: var(--border-hover); }
.team-photo {
    width: 140px; height: 140px; margin: 0 auto 1.5rem;
    border-radius: 50%; background: var(--bg-surface2);
    border: 2px solid rgba(255,255,255,0.15);
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
.team-photo svg { width: 100%; height: 100%; display: block; }
.photo-placeholder { font-size: 2.5rem; opacity: 0.4; }
.team-card h3 {
    font-family: var(--font-heading); font-size: 1.375rem;
    color: var(--white); margin-bottom: 0.25rem;
}
.team-role {
    display: block; font-size: 0.75rem;
    letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--grey-mid); margin-bottom: 0.5rem;
}
.team-spec { font-size: 0.85rem; color: var(--grey-light); margin-bottom: 0.75rem; }
.team-bio { font-size: 0.8rem; color: var(--grey-mid); line-height: 1.7; }

/* ── Founder Showcase ── */
.founder-showcase {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
}

.founder-photo-section {
    display: flex;
    align-items: center;
    justify-content: center;
}

.founder-photo {
    width: 100%;
    max-width: 450px;
    aspect-ratio: 3/4;
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--bg-surface2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.founder-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.founder-content-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.founder-header {
    margin-bottom: 1rem;
}

.founder-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--grey-light);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.founder-name {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.founder-role {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--grey-light);
    letter-spacing: 0.02em;
}

.founder-details {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.detail-block {
    padding-bottom: 1.75rem;
    border-bottom: 1px solid var(--border);
}

.detail-block:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.detail-label {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--grey-light);
    margin-bottom: 0.75rem;
    display: block;
}

.detail-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.detail-list li {
    font-size: 0.95rem;
    color: var(--grey-mid);
    line-height: 1.6;
    padding-left: 1.25rem;
    position: relative;
}

.detail-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--grey-light);
}

.detail-text {
    font-size: 0.95rem;
    color: var(--grey-mid);
    line-height: 1.7;
}

.founder-quote {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-style: italic;
    color: var(--white);
    line-height: 1.6;
    padding-left: 1.5rem;
    border-left: 3px solid rgba(255,255,255,0.2);
    margin: 0;
}

.contact-info-block {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    padding: 1.75rem;
    margin-top: 0.75rem;
}

.contact-info-block .detail-label {
    margin-bottom: 1rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.contact-details p {
    font-size: 0.95rem;
    color: var(--grey-mid);
}

.contact-details strong {
    color: var(--white);
}

/* ── Founder Showcase Responsive ── */
@media (max-width: 1024px) {
    .founder-showcase {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .founder-photo {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .founder-name {
        font-size: 1.875rem;
    }

    .founder-quote {
        font-size: 1rem;
    }

    .detail-block {
        padding-bottom: 1.25rem;
    }
}

.join-us-card {
    margin-top: 3rem; padding: 3rem;
    background: var(--bg-surface); border: 1px solid var(--border);
    text-align: center;
}
.join-us-card h2 {
    font-family: var(--font-heading); font-size: 2rem;
    color: var(--white); margin-bottom: 0.75rem;
}
.join-us-card p {
    font-size: 0.95rem; color: var(--grey-light);
    max-width: 500px; margin: 0 auto 1.5rem; line-height: 1.7;
}

/* ── Insights ── */
.insights-grid {
    display: grid; grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}
.insight-card {
    padding: 2.25rem 2rem; background: var(--bg-surface);
    border: 1px solid var(--border);
    transition: border-color var(--ease);
}
.insight-card:hover { border-color: var(--border-hover); }
.insight-featured {
    grid-column: 1 / -1;
    background: var(--bg-surface2);
}
.insight-date {
    display: inline-block; font-size: 0.75rem;
    letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--grey-mid); margin-bottom: 0.5rem;
}
.insight-tag {
    display: inline-block; font-size: 0.65rem; font-weight: 600;
    letter-spacing: 0.1em; text-transform: uppercase;
    padding: 0.15rem 0.625rem;
    background: rgba(255,255,255,0.06); color: var(--grey-light);
    border: 1px solid var(--border);
    margin-left: 0.5rem;
}
.insight-card h2, .insight-card h3 {
    font-family: var(--font-heading); color: var(--white);
    line-height: 1.3; margin-bottom: 0.75rem;
}
.insight-card h2 { font-size: 1.75rem; }
.insight-card h3 { font-size: 1.375rem; }
.insight-card p {
    font-size: 0.875rem; color: var(--grey-mid);
    line-height: 1.7; margin-bottom: 0.75rem;
}

/* ── Contact ── */
.contact-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 4rem;
}
.contact-details {
    display: flex; flex-direction: column; gap: 1.5rem;
}
.contact-item {
    display: flex; gap: 1rem; align-items: flex-start;
}
.contact-icon { font-size: 1.25rem; margin-top: 0.2rem; filter: grayscale(1); }
.contact-item strong {
    display: block; color: var(--white); font-size: 0.8rem;
    letter-spacing: 0.05em; text-transform: uppercase;
    margin-bottom: 0.2rem;
}
.contact-item p { font-size: 0.9rem; color: var(--grey-light); }
.contact-item a { color: var(--grey-light); text-decoration: none; transition: color var(--ease); }
.contact-item a:hover { color: var(--white); text-decoration: underline; }
.contact-item small { font-size: 0.8rem; opacity: 0.6; }

.contact-social { margin-top: 2rem; }
.contact-social h4 {
    font-family: var(--font-heading); font-size: 1.125rem;
    color: var(--white); margin-bottom: 0.75rem;
}
.social-links { display: flex; gap: 1.5rem; }
.social-links a {
    font-size: 0.8rem; font-weight: 500;
    letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--grey-mid);
}
.social-links a:hover { color: var(--white); }

.contact-note-box {
    margin-top: 2rem; padding: 1.5rem;
    background: var(--bg-surface); border: 1px solid var(--border);
}
.contact-note-box h4 {
    font-family: var(--font-heading); font-size: 1.125rem;
    color: var(--white); margin-bottom: 0.5rem;
}
.contact-note-box p { font-size: 0.85rem; color: var(--grey-light); line-height: 1.7; }

/* ── Contact Form ── */
.contact-form-wrapper {
    background: var(--bg-surface); border: 1px solid var(--border); padding: 2.5rem;
}
.contact-form h3 {
    font-family: var(--font-heading); font-size: 1.625rem;
    color: var(--white); margin-bottom: 1.75rem;
}
.form-group { margin-bottom: 1.25rem; }
.form-group label {
    display: block; font-size: 0.75rem; font-weight: 500;
    letter-spacing: 0.05em; text-transform: uppercase;
    color: var(--grey-mid); margin-bottom: 0.5rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%; padding: 0.875rem 1rem;
    background: var(--bg-surface2); border: 1px solid var(--border);
    color: var(--text); font-family: var(--font-body);
    font-size: 0.9rem; outline: none;
    transition: border-color var(--ease);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--grey-dark); }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { border-color: rgba(255,255,255,0.4); }

.contact-form select {
    cursor: pointer; appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23888' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 1rem center;
    background-color: var(--bg-surface2);
}
.contact-form select option { background: var(--bg-surface2); color: var(--text); }
.contact-form textarea { resize: vertical; min-height: 120px; }

.form-note {
    font-size: 0.75rem; color: var(--grey-mid);
    text-align: center; margin-top: 1rem;
}

/* ── FAQ ── */
.faq-list {
    border: 1px solid var(--border);
}
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; }

.faq-question {
    width: 100%; display: flex;
    justify-content: space-between; align-items: center;
    padding: 1.5rem 2rem;
    background: none; border: none; cursor: pointer;
    font-family: var(--font-heading); font-size: 1.2rem;
    color: var(--white); text-align: left; gap: 1rem;
    transition: background var(--ease);
}
.faq-question:hover { background: rgba(255,255,255,0.03); }
.faq-icon {
    font-size: 1.25rem; color: var(--grey-mid);
    flex-shrink: 0; transition: transform var(--ease);
}
.faq-item.active .faq-icon { transform: rotate(45deg); }
.faq-answer {
    max-height: 0; overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding: 0 2rem;
}
.faq-item.active .faq-answer { max-height: 300px; padding-bottom: 1.5rem; }
.faq-answer p { font-size: 0.9rem; color: var(--grey-light); line-height: 1.8; }

.faq-cta p {
    font-size: 1rem; color: var(--grey-light); margin-bottom: 1rem;
}

/* ── Footer ── */
.footer {
    background: #ffffff; border-top: 1px solid #e0e0e0;
    padding: 3rem 0 1.5rem;
}
.footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem; margin-bottom: 3rem;
}
.footer-logo { height: 90px !important; width: auto !important; max-width: none !important; margin-bottom: 0.75rem; }
.footer-tagline { font-size: 0.9rem; color: #555555; }
.footer-est { font-size: 0.8rem; color: #888888; margin-top: 0.2rem; margin-bottom: 1rem; }
.footer-social { display: flex; gap: 1rem; }
.footer-social a {
    font-size: 0.8rem; font-weight: 500;
    letter-spacing: 0.08em; text-transform: uppercase;
    color: #555555;
}
.footer-social a:hover { color: #000000; }

.footer-links h4 {
    font-family: var(--font-heading); font-size: 1.125rem;
    color: #000000; margin-bottom: 1rem;
}
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a { font-size: 0.85rem; color: #555555; }
.footer-links a:hover { color: #000000; }
.footer-contact li { font-size: 0.85rem; color: #555555; }
.footer-contact a { color: #555555; text-decoration: none; transition: color var(--ease); }
.footer-contact a:hover { color: #000000; text-decoration: underline; }

.footer-bottom {
    display: flex; align-items: center; justify-content: space-between;
    border-top: 1px solid #e0e0e0; padding-top: 1.5rem;
}
.footer-bottom p { font-size: 0.8rem; color: #888888; }
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a { font-size: 0.8rem; color: #888888; }
.footer-bottom-links a:hover { color: #000000; }

/* ── Back to Top ── */
.back-to-top {
    position: fixed; bottom: 2rem; right: 2rem;
    width: 44px; height: 44px;
    background: var(--white); color: var(--bg-dark);
    border: none; font-size: 1.125rem; font-weight: 700;
    cursor: pointer; z-index: 4000;
    opacity: 0; pointer-events: none;
    transition: opacity var(--ease), transform var(--ease);
    display: flex; align-items: center; justify-content: center;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { background: var(--grey-light); transform: translateY(-3px); }

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

/* ── Responsive ── */
@media (max-width: 1024px) {
    .practice-grid, .practice-grid-home { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .content-grid { grid-template-columns: 1fr; }
    .content-sidebar { flex-direction: row; }
    .sidebar-card { flex: 1; }
}

/* --- Index page specific overrides moved from inline styles --- */
.hero {
    background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('/static/images/1S5A1982.JPG');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.stats-grid.index-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
    gap: 0;
}

.stat-card.index-stat {
    text-align: center;
    position: relative;
    padding: 1rem 2rem;
}

.stat-card.index-stat:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 15%;
    height: 70%;
    width: 1px;
    background-color: rgba(255,255,255,0.15);
}

.stat-label.index-label {
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.75rem;
    color: #888;
    margin-bottom: 1.5rem;
    font-family: sans-serif;
}

.stat-number.index-number {
    display: block;
    font-size: 2.25rem; /* reduced from larger sizes for better balance */
    color: #ffffff;
    font-family: "Georgia", "Times New Roman", serif;
    font-weight: bold;
}

@media (max-width: 768px) {
    .stats-grid.index-stats { grid-template-columns: 1fr; gap: 3rem; }
    .stat-card.index-stat:not(:last-child)::after { display: none; }
}

@media (max-width: 768px) {
    .section { padding: 4rem 0; }
    .page-header { padding: 8rem 0 3rem; }

    .nav-links {
        display: none; position: fixed; inset: 0;
        background: var(--bg-dark);
        flex-direction: column; align-items: center;
        justify-content: center; gap: 2rem; z-index: 999;
    }
    .nav-links.active { display: flex; }
    .nav-cta { display: none; }
    .nav-toggle { display: flex; z-index: 1001; }
    .nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
    .nav-toggle.active span:nth-child(2) { opacity: 0; }
    .nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

    .intro-grid { grid-template-columns: 1fr; gap: 2rem; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .stat-card:not(:last-child)::after { display: none; }
    .practice-grid, .practice-grid-home { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: 1fr; }
    .insights-grid { grid-template-columns: 1fr; }
    .insight-featured { grid-column: auto; }
    .contact-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .values-grid { grid-template-columns: 1fr; }
    .content-sidebar { flex-direction: column; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 0.75rem; text-align: center; }
    .practice-detail-card { grid-template-columns: 1fr; gap: 1rem; }
    .practice-detail-icon { text-align: left; }
}
/* -- Disclaimer Modal -- */
.disclaimer-overlay {
    position: fixed; inset: 0; z-index: 99999;
    background: rgba(0,0,0,0.82);
    display: flex; align-items: center; justify-content: center;
    padding: 1.5rem;
    backdrop-filter: blur(4px);
    transition: opacity 0.3s ease;
}
.disclaimer-modal {
    background: #ffffff;
    color: #111;
    max-width: 500px; width: 100%;
    border-top: 4px solid #000;
    animation: modalIn 0.35s ease;
}
@keyframes modalIn {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}
.disclaimer-header {
    padding: 1.5rem 1.75rem 0;
    display: flex; align-items: center; gap: 0.5rem;
}
.disclaimer-icon { font-size: 1.5rem; }
.disclaimer-header h2 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.375rem; font-weight: 600;
    color: #000; margin: 0;
}
.disclaimer-body {
    padding: 1rem 1.75rem 1.25rem;
}
.disclaimer-body p {
    font-size: 0.8rem; color: #555;
    line-height: 1.6; margin-bottom: 0.65rem;
}
.disclaimer-body p:last-child { margin-bottom: 0; }
.disclaimer-body strong { color: #000; }
.disclaimer-body a { color: #000; font-weight: 500; }
.disclaimer-footer {
    padding: 1.25rem 1.75rem;
    border-top: 1px solid #e8e8e8;
    display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
    background: #f9f9f9;
}
.btn-disclaimer-agree {
    background: #000; color: #fff;
    border: none; cursor: pointer;
    padding: 0.7rem 1.5rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem; font-weight: 600;
    letter-spacing: 0.08em; text-transform: uppercase;
    transition: background 0.2s;
    flex: 1;
}
.btn-disclaimer-agree:hover { background: #222; }
.btn-disclaimer-decline {
    background: #f0f0f0; color: #555;
    border: none; cursor: pointer;
    padding: 0.7rem 1.5rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem; font-weight: 600;
    letter-spacing: 0.08em; text-transform: uppercase;
    transition: all 0.2s;
    flex: 1;
}
.btn-disclaimer-decline:hover { background: #e0e0e0; color: #000; }
