:root {
    --color-bg-primary: #FAF8F5;
    --color-bg-secondary: #EBE5D9;
    --color-text-main: #2C2621;
    --color-text-muted: #5A524A;
    --color-accent-gold: #B8905B;
    --color-accent-hover: #9A774A;
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Lato', sans-serif;
    --spacing-base: 1rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    color: var(--color-text-main);
    background-color: var(--color-bg-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

h1, h2, h3, .brand-typography, .footer-brand-name {
    font-family: var(--font-serif);
    font-weight: 400;
}

/* --- Header --- */
.aurelius-top-nav {
    position: sticky;
    top: 0;
    background-color: rgba(250, 248, 245, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(184, 144, 91, 0.2);
    z-index: 1000;
    padding: 1.2rem 5%;
}

.nav-inner-bounds {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-mark-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.brand-typography {
    font-size: 1.4rem;
    letter-spacing: 0.5px;
}

.navigation-links-cluster {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-anchor-item {
    text-decoration: none;
    color: var(--color-text-main);
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.nav-anchor-item:hover {
    color: var(--color-accent-gold);
}

.nav-highlight-action {
    border: 1px solid var(--color-accent-gold);
    padding: 0.5rem 1.2rem;
    border-radius: 2px;
}

/* --- Hero --- */
.hero-bifurcated-layout {
    display: flex;
    min-height: 80vh;
    background-color: var(--color-bg-primary);
}

.hero-text-pane {
    flex: 1;
    padding: 8rem 6% 6rem 8%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-visual-pane {
    flex: 1;
}

.hero-cover-asset {
    height: 100%;
}

.hero-primary-statement {
    font-size: 3.5rem;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    color: var(--color-text-main);
}

.hero-sub-statement {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.primary-interaction-trigger {
    display: inline-block;
    background-color: var(--color-text-main);
    color: var(--color-bg-primary);
    text-decoration: none;
    padding: 1rem 2.5rem;
    font-family: var(--font-sans);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    transition: background-color 0.3s ease;
    align-self: flex-start;
    border: none;
    cursor: pointer;
}

.primary-interaction-trigger:hover {
    background-color: var(--color-accent-gold);
}

/* --- Typography Utils --- */
.section-elegant-heading {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--color-text-main);
}

.center-align-override {
    text-align: center;
}

.narrative-body-text {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
}

.inline-text-link {
    color: var(--color-accent-gold);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.inline-text-link:hover {
    border-bottom-color: var(--color-accent-gold);
}

/* --- About Section (Deep Overview) --- */
.firm-deep-overview {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 5rem;
    padding: 7rem 8%;
    background-color: var(--color-bg-secondary);
}

.interactive-tab-system {
    margin-top: 3rem;
    border-top: 1px solid rgba(44, 38, 33, 0.1);
    padding-top: 2rem;
}

.tab-controls-row {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.tab-trigger-btn {
    background: none;
    border: none;
    font-family: var(--font-serif);
    font-size: 1.2rem;
    color: var(--color-text-muted);
    cursor: pointer;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.tab-trigger-btn.active-tab {
    color: var(--color-text-main);
    border-bottom-color: var(--color-accent-gold);
}

.tab-panel-view {
    display: none;
    color: var(--color-text-muted);
}

.tab-panel-view.active-panel {
    display: block;
    animation: fadeIn 0.5s ease;
}

.metrics-list {
    list-style: none;
}

.metrics-list li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.metrics-list li::before {
    content: '▪';
    color: var(--color-accent-gold);
    position: absolute;
    left: 0;
}

.structural-image-asset {
    height: 100%;
    min-height: 500px;
}

/* --- Services Section --- */
.practice-areas-assembly {
    padding: 6rem 5% 8rem 5%;
}

.practice-intro-block {
    max-width: 800px;
    margin: 0 auto 4rem auto;
    text-align: center;
}

.practice-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.practice-card-module {
    background: #fff;
    border: 1px solid rgba(44, 38, 33, 0.05);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.practice-card-module:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.04);
}

.card-top-image {
    height: 240px;
}

.card-text-payload {
    padding: 2.5rem 2rem;
}

.card-title-node {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.card-desc-node {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

/* --- Testimonials Section --- */
.client-feedback-corridor {
    background-color: var(--color-bg-secondary);
    padding: 7rem 5%;
}

.feedback-flow-container {
    display: flex;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
}

.feedback-quote-block {
    flex: 1;
    min-width: 300px;
    text-align: center;
    padding: 2rem;
}

.feedback-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 1.5rem auto;
    border: 2px solid var(--color-accent-gold);
    padding: 4px;
}

.quote-text {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.15rem;
    color: var(--color-text-main);
    margin-bottom: 1.5rem;
}

.quote-author {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-muted);
}

/* --- Contact Section --- */
.inquiry-portal-zone {
    padding: 8rem 8%;
}

.portal-layout-split {
    display: flex;
    gap: 6rem;
    max-width: 1200px;
    margin: 0 auto;
}

.portal-info-side, .portal-form-side {
    flex: 1;
}

.micro-details-cluster {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(44, 38, 33, 0.1);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.detail-node {
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

.secure-inquiry-form {
    background: #fff;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.03);
}

.form-input-group {
    margin-bottom: 1.5rem;
}

.form-input-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-muted);
}

.form-input-group input, 
.form-input-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    background-color: var(--color-bg-primary);
    font-family: var(--font-sans);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-input-group input:focus, 
.form-input-group textarea:focus {
    outline: none;
    border-color: var(--color-accent-gold);
}

.form-submit-override {
    width: 100%;
    margin-top: 1rem;
}

.tiny-legal-noise {
    font-size: 0.75rem;
    color: #999;
    margin-top: 1.5rem;
    text-align: center;
}

/* --- Footer --- */
.aurelius-footer-base {
    background-color: #1A1613;
    color: #F0EBE1;
    padding: 5rem 5% 2rem 5%;
}

.footer-grid-structure {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto 4rem auto;
}

.footer-brand-name {
    font-size: 1.5rem;
    display: block;
    margin-bottom: 1rem;
    color: var(--color-accent-gold);
}

.footer-address {
    color: #A39E98;
    font-size: 0.95rem;
}

.footer-contact-col, .footer-legal-col {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-link-item {
    color: #A39E98;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-link-item:hover {
    color: #fff;
}

.footer-bottom-bar {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #777;
    font-size: 0.85rem;
}

/* --- Animations --- */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Responsive Adjustments --- */
@media (max-width: 1024px) {
    .hero-bifurcated-layout, .firm-deep-overview, .portal-layout-split {
        flex-direction: column;
        grid-template-columns: 1fr;
    }
    .hero-text-pane {
        padding: 6rem 5%;
    }
    .hero-visual-pane {
        height: 50vh;
    }
    .firm-deep-overview {
        padding: 5rem 5%;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .navigation-links-cluster {
        display: none; /* Simplification for mobile */
    }
    .hero-primary-statement {
        font-size: 2.5rem;
    }
    .footer-grid-structure {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .secure-inquiry-form {
        padding: 2rem 1.5rem;
    }
}
