/* ==========================================================================
   DESIGN TOKENS & MAJESTIC LEGAL AESTHETIC SYSTEM
   ========================================================================== */

:root {
    /* Authoritative Midnight Navy & Antique Gold HSL Color Tokens */
    --hue-navy: 222;      /* Deep Midnight Navy */
    --hue-gold: 38;       /* Warm Antique Gold */
    --hue-ivory: 34;      /* Stately Warm Ivory */

    /* Colors */
    --bg-base: HSL(var(--hue-navy), 28%, 5.5%);
    --bg-primary: HSL(var(--hue-navy), 24%, 8.5%);
    --bg-secondary: HSL(var(--hue-navy), 18%, 13.5%);
    --bg-glass: rgba(10, 13, 23, 0.78);
    --border-glass: rgba(197, 168, 128, 0.14); /* Antique Gold translucent borders */
    --border-glass-hover: rgba(197, 168, 128, 0.32);

    --text-primary: HSL(var(--hue-ivory), 30%, 94%); /* Warm Ivory primary text */
    --text-secondary: HSL(var(--hue-navy), 10%, 75%);
    --text-muted: HSL(var(--hue-navy), 10%, 52%);

    --accent-gold: HSL(var(--hue-gold), 45%, 62%); /* Antique Gold */
    --accent-gold-light: HSL(var(--hue-gold), 50%, 76%);
    --accent-glow: rgba(197, 168, 128, 0.18);
    
    /* Typography & Borders */
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Inter', sans-serif;
    --radius-sm: 4px; /* Classical sharp stately corners */
    --radius-md: 10px;
    --radius-lg: 16px;
    
    --header-height: 85px;
    --transition-slow: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-snappy: all 0.2s cubic-bezier(0.33, 1, 0.68, 1);
}

/* Light Theme Variables - Stately Warm Ivory Backdrop with Midnight Navy Text */
[data-theme="light"] {
    --bg-base: HSL(var(--hue-ivory), 25%, 95.5%); /* Premium Ivory Cream */
    --bg-primary: HSL(var(--hue-ivory), 20%, 92.5%);
    --bg-secondary: HSL(var(--hue-ivory), 15%, 87.5%);
    --bg-glass: rgba(246, 244, 235, 0.85);
    --border-glass: rgba(197, 168, 128, 0.26);
    --border-glass-hover: rgba(197, 168, 128, 0.48);

    --text-primary: HSL(var(--hue-navy), 35%, 11.5%); /* Midnight Navy primary text */
    --text-secondary: HSL(var(--hue-navy), 20%, 32%);
    --text-muted: HSL(var(--hue-navy), 15%, 52%);

    --accent-gold: HSL(var(--hue-gold), 48%, 42%);
    --accent-gold-light: HSL(var(--hue-gold), 55%, 32%);
    --accent-glow: rgba(197, 168, 128, 0.1);
}

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

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

body {
    background-color: var(--bg-base);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.68;
    overflow-x: hidden;
    transition: background-color 0.6s ease, color 0.6s ease;
}

/* Stately Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-base);
}
::-webkit-scrollbar-thumb {
    background: var(--bg-secondary);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-gold);
}

/* Typography styles */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: -0.5px;
}

a {
    color: inherit;
    text-decoration: none;
}

button, input, textarea, select {
    font-family: inherit;
    background: none;
    border: none;
    outline: none;
}

/* ==========================================================================
   GLASSMORPHISM & DOUBLE-LINE FRAME UTILITIES
   ========================================================================== */

.glass {
    background: var(--bg-glass);
    backdrop-filter: blur(20px) saturate(140%);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    transition: var(--transition-smooth);
}

.glass:hover {
    border-color: var(--border-glass-hover);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

/* ==========================================================================
   CUSTOM LEGAL GOLD MOUSE CURSOR
   ========================================================================== */

.legal-cursor-dot {
    width: 6px;
    height: 6px;
    background-color: var(--accent-gold);
    position: fixed;
    top: 0;
    left: 0;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}

.legal-cursor-outline {
    width: 36px;
    height: 36px;
    border: 1px solid var(--accent-gold);
    position: fixed;
    top: 0;
    left: 0;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: transform 0.08s ease-out, width 0.3s, height 0.3s, border-color 0.3s;
}

/* Active Hover Expansion */
body.cursor-active .legal-cursor-dot {
    width: 10px;
    height: 10px;
    background-color: var(--text-primary);
}

body.cursor-active .legal-cursor-outline {
    width: 54px;
    height: 54px;
    border-color: var(--accent-gold-light);
    background-color: rgba(197, 168, 128, 0.05);
}

@media (max-width: 1024px) {
    .legal-cursor-dot, .legal-cursor-outline {
        display: none;
    }
}

/* ==========================================================================
   BACKGROUND CANVAS GOLD ORBITS
   ========================================================================== */

#legal-orbits-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
    opacity: 0.65;
}

/* ==========================================================================
   HEADER / NAVBAR
   ========================================================================== */

.navbar {
    position: fixed;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    height: var(--header-height);
    z-index: 1000;
    border-radius: var(--radius-sm);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-glass);
}

.nav-container {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 35px;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--text-primary);
    letter-spacing: 0.5px;
}

.logo-crest {
    color: var(--accent-gold);
    margin-right: 5px;
    font-size: 1.5rem;
}

.logo-title-sub {
    font-size: 1.1rem;
    color: var(--accent-gold);
    font-style: italic;
    opacity: 0.85;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    padding: 8px 12px;
    transition: var(--transition-snappy);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 40%;
    height: 1px;
    background: var(--accent-gold);
    transition: var(--transition-snappy);
}

.nav-link:hover, .nav-link.active {
    color: var(--accent-gold);
}

.nav-link.active::after {
    transform: translateX(-50%) scaleX(1);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.theme-toggle {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-snappy);
    border: 1px solid var(--border-glass);
}

.theme-toggle:hover {
    background-color: var(--accent-gold);
    color: var(--bg-primary);
    box-shadow: 0 0 15px var(--accent-glow);
}

.theme-toggle .moon-icon {
    display: none;
}

[data-theme="light"] .theme-toggle .sun-icon {
    display: none;
}

[data-theme="light"] .theme-toggle .moon-icon {
    display: block;
}

/* Hamburger menu */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    cursor: pointer;
}

.hamburger-menu .bar {
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    transition: var(--transition-snappy);
}

/* Mobile Drawer */
.mobile-drawer {
    position: fixed;
    top: calc(var(--header-height) + 35px);
    right: 5%;
    width: 90%;
    max-width: 320px;
    padding: 30px;
    display: none;
    flex-direction: column;
    gap: 20px;
    z-index: 999;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-glass);
    box-shadow: 0 25px 50px rgba(0,0,0,0.4);
    transform: translateY(-15px);
    opacity: 0;
    transition: var(--transition-smooth);
    pointer-events: none;
}

.mobile-drawer.open {
    display: flex;
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mobile-link {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 500;
    padding: 10px 15px;
    border-radius: var(--radius-sm);
    transition: var(--transition-snappy);
    color: var(--text-secondary);
}

.mobile-link:hover {
    background: rgba(197, 168, 128, 0.06);
    color: var(--accent-gold);
    padding-left: 22px;
}

@media (max-width: 820px) {
    .nav-menu {
        display: none;
    }
    .hamburger-menu {
        display: flex;
    }
    .hamburger-menu.open .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .hamburger-menu.open .bar:nth-child(2) {
        opacity: 0;
    }
    .hamburger-menu.open .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

/* ==========================================================================
   BUTTONS & ACCENTS
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 30px;
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-gold), HSL(var(--hue-gold), 50%, 48%));
    color: var(--bg-base);
    box-shadow: 0 4px 15px var(--accent-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(197, 168, 128, 0.4);
    background: linear-gradient(135deg, HSL(var(--hue-gold), 45%, 68%), var(--accent-gold));
}

.btn-secondary {
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--border-glass);
}

.btn-secondary:hover {
    background-color: var(--bg-primary);
    border-color: var(--accent-gold);
    transform: translateY(-2px);
}

.btn-icon {
    transition: transform 0.3s ease;
}

.btn-primary:hover .btn-icon {
    transform: translateX(4px);
}

/* ==========================================================================
   HERO ZONE
   ========================================================================== */

.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: calc(var(--header-height) + 50px);
    overflow: hidden;
}

.hero-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 50px;
    align-items: center;
}

.hero-crest-container {
    margin-bottom: 25px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 8px 18px;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    border-radius: var(--radius-sm);
    color: var(--accent-gold);
    border: 1px solid var(--border-glass);
}

.gold-shield-icon {
    font-size: 1.1rem;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 4.6rem;
    font-weight: 500;
    line-height: 1.15;
    color: var(--text-primary);
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--text-primary) 40%, var(--accent-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

[data-theme="light"] .hero-title {
    background: linear-gradient(135deg, HSL(var(--hue-navy), 40%, 10%) 40%, var(--accent-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.22rem;
    font-weight: 300;
    color: var(--text-secondary);
    margin-bottom: 45px;
    max-width: 620px;
    line-height: 1.6;
}

.typing-text {
    color: var(--accent-gold);
    font-weight: 500;
    font-style: italic;
    border-right: 2px solid var(--accent-gold);
    padding-right: 4px;
    animation: cursorBlink 0.8s infinite;
}

@keyframes cursorBlink {
    50% { border-color: transparent; }
}

.hero-cta {
    display: flex;
    gap: 20px;
}

/* Stately Visual Frame */
.hero-visual {
    position: relative;
    height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.geometric-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -2;
    opacity: 0.32;
}

.blob-gold {
    width: 280px;
    height: 280px;
    background-color: var(--accent-gold);
    top: 15%;
    right: 5%;
}

.blob-navy {
    width: 250px;
    height: 250px;
    background-color: HSL(var(--hue-navy), 75%, 45%);
    bottom: 10%;
    left: 5%;
}

.legal-frame-box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 320px;
    height: 380px;
    padding: 30px;
    background-color: var(--bg-glass);
    box-shadow: 0 25px 60px rgba(0,0,0,0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.double-border-box {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 1px solid var(--accent-gold);
    pointer-events: none;
}

.double-border-box::before {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    right: 4px;
    bottom: 4px;
    border: 1.5px solid var(--accent-gold);
    opacity: 0.7;
}

.frame-crest {
    font-size: 2.5rem;
    color: var(--accent-gold);
    margin-bottom: 15px;
    display: block;
}

.legal-frame-box h3 {
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 5px;
    letter-spacing: 0.5px;
}

.frame-subtitle {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.frame-divider {
    width: 50px;
    height: 1px;
    background-color: var(--accent-gold);
    margin: 0 auto 20px auto;
    opacity: 0.7;
}

.frame-quote {
    font-family: var(--font-heading);
    font-size: 1.12rem;
    font-style: italic;
    color: var(--text-secondary);
    line-height: 1.5;
    padding: 0 10px;
}

/* Float Animation */
.float-anim {
    animation: floatFrame 7s ease-in-out infinite;
}

@keyframes floatFrame {
    0%, 100% { transform: translate(-50%, -50%) translateY(0px); }
    50% { transform: translate(-50%, -50%) translateY(-12px); }
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: var(--transition-snappy);
}

.scroll-indicator:hover {
    color: var(--accent-gold);
}

.scroll-indicator .mouse {
    width: 20px;
    height: 34px;
    border: 1.5px solid currentColor;
    border-radius: 10px;
    position: relative;
}

.scroll-indicator .wheel {
    width: 3px;
    height: 6px;
    background-color: currentColor;
    border-radius: 1px;
    position: absolute;
    top: 7px;
    left: 50%;
    transform: translateX(-50%);
    animation: mouseScroll 1.6s infinite;
}

@keyframes mouseScroll {
    0% { transform: translate(-50%, 0); opacity: 1; }
    100% { transform: translate(-50%, 8px); opacity: 0; }
}

/* Hero Adaptability */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
        padding-top: 30px;
    }
    .hero-crest-container {
        display: flex;
        justify-content: center;
    }
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-cta {
        justify-content: center;
    }
    .hero-visual {
        height: 380px;
        max-width: 480px;
        margin: 30px auto 0 auto;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
    .hero-subtitle {
        font-size: 1.1rem;
    }
    .hero-cta {
        flex-direction: column;
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }
}

/* ==========================================================================
   SECTION COMMON HEADER
   ========================================================================== */

.section-padding {
    padding: 120px 0;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 90px auto;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 500;
    margin-bottom: 12px;
}

.section-divider {
    width: 60px;
    height: 1px;
    background-color: var(--accent-gold);
    margin: 0 auto 20px auto;
}

.section-subtitle {
    font-size: 1.15rem;
    font-weight: 300;
    font-family: var(--font-heading);
    font-style: italic;
    color: var(--text-secondary);
}

/* ==========================================================================
   ATTORNEY PROFILE / ABOUT
   ========================================================================== */

.profile-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 65px;
    align-items: center;
}

.profile-image-container {
    display: flex;
    justify-content: center;
}

.lawyer-card {
    padding: 24px;
    width: 100%;
    max-width: 360px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
}

.lawyer-frame {
    width: 100%;
    aspect-ratio: 0.82;
    overflow: hidden;
    margin-bottom: 20px;
    border: 1px solid var(--border-glass);
}

.lawyer-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.6s ease;
}

.lawyer-card:hover .lawyer-img {
    transform: scale(1.04);
}

.lawyer-info h3 {
    font-size: 1.35rem;
    font-weight: 500;
    margin-bottom: 5px;
}

.lawyer-info p {
    font-size: 0.8rem;
    color: var(--accent-gold);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.profile-content {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.profile-credentials-title {
    font-size: 2.2rem;
    font-weight: 500;
    margin-bottom: 5px;
}

.profile-description {
    color: var(--text-secondary);
    font-size: 1.05rem;
    font-weight: 300;
    line-height: 1.7;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.highlight-card {
    padding: 20px 10px;
    text-align: center;
    border-radius: var(--radius-sm);
}

.highlight-stat {
    display: block;
    font-size: 1.8rem;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--accent-gold);
    margin-bottom: 5px;
}

.highlight-label {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
}

@media (max-width: 900px) {
    .profile-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .profile-content {
        text-align: center;
    }
    .highlights-grid {
        max-width: 500px;
        margin: 0 auto;
        width: 100%;
    }
}

/* ==========================================================================
   CREDENTIALS & SCHOLARSHIP
   ========================================================================== */

.credentials-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: start;
}

.credential-deck-title {
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border-glass);
    padding-bottom: 10px;
    color: var(--accent-gold);
}

.academic-timeline {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.academic-node {
    padding: 24px 30px;
    border-radius: var(--radius-sm);
    display: flex;
    gap: 25px;
    align-items: center;
}

.ac-date {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent-gold);
    width: 60px;
    flex-shrink: 0;
}

.ac-content h4 {
    font-size: 1.15rem;
    font-weight: 500;
    margin-bottom: 4px;
}

.ac-content p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    font-weight: 300;
}

.skills-deck {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.skills-container {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.skill-item {
    display: flex;
    flex-direction: column;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.progress-bar {
    width: 100%;
    height: 4px;
    background-color: rgba(197, 168, 128, 0.06);
    border-radius: 10px;
    overflow: hidden;
}

[data-theme="light"] .progress-bar {
    background-color: rgba(0,0,0,0.06);
}

.progress {
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--accent-gold), var(--accent-gold-light));
    box-shadow: 0 0 8px var(--accent-glow);
}

.additional-quals {
    padding: 25px 30px;
    border-radius: var(--radius-sm);
    margin-top: 15px;
}

.additional-quals h4 {
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-gold);
    margin-bottom: 12px;
}

.additional-quals ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.additional-quals li {
    font-size: 0.88rem;
    position: relative;
    padding-left: 20px;
    color: var(--text-secondary);
}

.additional-quals li::before {
    content: '⚜';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent-gold);
    font-size: 0.75rem;
}

@media (max-width: 900px) {
    .credentials-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

/* ==========================================================================
   MILESTONES & EXPERIENCE
   ========================================================================== */

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto 80px auto;
    padding: 20px 0;
}

.timeline-line {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 100%;
    background: linear-gradient(180deg, var(--accent-gold), var(--border-glass), transparent);
    top: 0;
}

.timeline-node {
    position: relative;
    width: 100%;
    margin-bottom: 50px;
    display: flex;
}

.timeline-node:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    background-color: var(--bg-base);
    border: 2px solid var(--accent-gold);
    border-radius: 50%;
    z-index: 10;
    box-shadow: 0 0 10px var(--accent-glow);
}

.timeline-date {
    width: 45%;
    padding: 15px 30px;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 500;
    text-align: right;
    color: var(--accent-gold);
}

.timeline-node:nth-child(even) .timeline-date {
    text-align: left;
}

.timeline-card {
    width: 45%;
    padding: 35px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.timeline-card h4 {
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 5px;
}

.timeline-card h5 {
    font-size: 0.85rem;
    color: var(--accent-gold);
    margin-bottom: 18px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.timeline-card p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    margin-bottom: 22px;
    line-height: 1.6;
    font-weight: 300;
}

.timeline-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.badge {
    padding: 4px 10px;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: var(--radius-sm);
    background-color: rgba(197, 168, 128, 0.05);
    border: 1px solid rgba(197, 168, 128, 0.15);
    color: var(--accent-gold);
}

@media (max-width: 768px) {
    .timeline-line {
        left: 20px;
    }
    .timeline-node {
        flex-direction: column !important;
        padding-left: 50px;
        margin-bottom: 40px;
    }
    .timeline-dot {
        left: 20px;
    }
    .timeline-date {
        width: 100%;
        text-align: left !important;
        padding: 0 0 10px 0;
        font-size: 1.15rem;
    }
    .timeline-card {
        width: 100%;
        padding: 25px;
    }
}

/* Beyond the Courtroom Hobbies card */
.hobbies-container {
    max-width: 900px;
    margin: 0 auto 80px auto;
}

.hobbies-card {
    padding: 50px;
    text-align: center;
}

.hobbies-icon-crest {
    font-size: 2.2rem;
    color: var(--accent-gold);
    margin-bottom: 12px;
}

.hobbies-card h3 {
    font-size: 2rem;
    margin-bottom: 5px;
}

.hobbies-subtitle {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.hobbies-grid-icons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.hobby-icon-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.h-emoji {
    font-size: 2rem;
    margin-bottom: 5px;
}

.hobby-icon-card h4 {
    font-size: 1.05rem;
    font-weight: 500;
}

.hobby-icon-card p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 300;
}

@media (max-width: 900px) {
    .hobbies-grid-icons {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    .hobbies-card {
        padding: 30px 20px;
    }
}

/* Integrity Pledge card */
.pledge-container {
    max-width: 900px;
    margin: 0 auto;
}

.pledge-card {
    padding: 50px;
    text-align: center;
    position: relative;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.pledge-card h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: var(--accent-gold);
}

.pledge-card p {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-style: italic;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 650px;
    margin: 0 auto 30px auto;
}

.signature-box {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
}

.sig-line {
    width: 200px;
    height: 1px;
    background-color: var(--accent-gold);
    margin-bottom: 8px;
    opacity: 0.5;
}

.sig-name {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-style: italic;
    color: var(--accent-gold);
    letter-spacing: 0.5px;
}

.sig-title {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

@media (max-width: 600px) {
    .pledge-card {
        padding: 35px 20px;
    }
    .pledge-card p {
        font-size: 1.1rem;
    }
}

/* ==========================================================================
   CONSULTATION / CONTACT
   ========================================================================== */

.consultation-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.trust-info-panel {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.trust-card {
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    border-radius: var(--radius-sm);
}

.trust-icon {
    font-size: 1.8rem;
    color: var(--accent-gold);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: var(--radius-sm);
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-glass);
    flex-shrink: 0;
}

.trust-details h4 {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 5px;
}

.trust-details p, .trust-link {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 300;
}

.phone-link {
    font-weight: 500;
    color: var(--accent-gold);
    margin-top: 5px;
    font-size: 0.85rem;
}

.trust-link:hover {
    color: var(--accent-gold);
}

.creds-seal-card {
    padding: 35px;
    text-align: center;
    border-radius: var(--radius-sm);
}

.crest-circle {
    width: 65px;
    height: 65px;
    border: 1px solid var(--accent-gold);
    border-radius: 50%;
    margin: 0 auto 20px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--accent-gold);
}

.creds-seal-card h4 {
    font-size: 1.15rem;
    margin-bottom: 5px;
}

.seal-caption {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-style: italic;
    color: var(--text-muted);
}

/* Booking Form Deck */
.booking-form-panel {
    padding: 45px;
    border-radius: var(--radius-sm);
}

.form-container {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.form-row-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-secondary);
    letter-spacing: 1px;
}

.input-wrapper {
    position: relative;
    width: 100%;
}

.form-group input, 
.form-group textarea, 
.form-group select {
    width: 100%;
    padding: 12px 18px;
    font-size: 0.9rem;
    color: var(--text-primary);
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    transition: var(--transition-snappy);
}

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='%23c5a880' height='20' viewBox='0 0 24 24' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
    cursor: pointer;
}

.form-group input:focus, 
.form-group textarea:focus, 
.form-group select:focus {
    border-color: var(--accent-gold);
    background-color: var(--bg-primary);
}

.input-focus-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: var(--radius-sm);
    box-shadow: 0 0 12px var(--accent-glow);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.form-group input:focus + .input-focus-glow, 
.form-group textarea:focus + .input-focus-glow {
    opacity: 1;
}

.btn-submit {
    align-self: flex-start;
    width: 100%;
    max-width: 250px;
    margin-top: 10px;
}

.form-status-msg {
    font-size: 0.85rem;
    font-weight: 500;
    margin-top: 10px;
    display: none;
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    animation: fadeIn 0.4s ease;
}

.form-status-msg.success {
    display: block;
    background-color: rgba(197, 168, 128, 0.08);
    color: var(--accent-gold);
    border: 1px solid rgba(197, 168, 128, 0.25);
}

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

@media (max-width: 900px) {
    .consultation-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .btn-submit {
        max-width: 100%;
    }
}

@media (max-width: 600px) {
    .form-row-two {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .booking-form-panel {
        padding: 30px 20px;
    }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer {
    border-top: 1px solid var(--border-glass);
    padding: 50px 0;
    margin-top: 90px;
    background-color: var(--bg-primary);
}

.footer-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: center;
    align-items: center;
}

.copyright {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.disclaimer {
    font-size: 0.75rem;
    color: var(--text-muted);
    max-width: 800px;
    line-height: 1.5;
}

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS
   ========================================================================== */

.scroll-reveal {
    opacity: 0;
    transition: opacity 1s ease, transform 1s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.scroll-reveal.reveal-active {
    opacity: 1;
    transform: none !important;
    pointer-events: auto;
}

.fade-slide-up {
    transform: translateY(40px);
}

.fade-slide-down {
    transform: translateY(-40px);
}

.fade-slide-left {
    transform: translateX(40px);
}

.fade-slide-right {
    transform: translateX(-40px);
}

.fade-in {
    transition: opacity 1.4s ease;
}
