:root {
    --bg-dark: #050507;
    --bg-panel: #0f1115;
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
    --gold-primary: #d4af37;
    --gold-gradient: linear-gradient(135deg, #d4af37 0%, #aa8a28 100%);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.05);
    --glass-blur: blur(20px);
    --font-display: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
    --ease-out: cubic-bezier(0.215, 0.61, 0.355, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.7;
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: var(--font-display);
    font-weight: 400;
}

.italic {
    font-style: italic;
}

.gold-text {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Layout Utilities */
.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
}

.section {
    padding: 120px 0;
}

.center {
    text-align: center;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: 0.3s ease;
}

.navbar.glass {
    background: rgba(5, 5, 7, 0.9);
    backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    display: block;
}

.nav-links {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-links a {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    transition: 0.3s;
    text-decoration: none;
}

.nav-links a:hover {
    color: var(--gold-primary);
}

.btn-nav {
    border: 1px solid var(--gold-primary);
    padding: 10px 25px;
    color: var(--gold-primary) !important;
    border-radius: 50px;
    text-decoration: none;
}

.btn-nav:hover {
    background: var(--gold-primary);
    color: #000 !important;
}

.mobile-menu-icon {
    display: none;
    cursor: pointer;
    color: var(--gold-primary);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--bg-dark);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: 0.4s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu-close {
    position: absolute;
    top: 30px;
    right: 30px;
    cursor: pointer;
    color: var(--text-muted);
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 30px;
    text-align: center;
}

.mobile-nav-links a {
    font-family: var(--font-display);
    font-size: 2rem;
    color: #fff;
    text-decoration: none;
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    animation: slowZoom 20s infinite alternate;
}

.overlay-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(5, 5, 7, 0.4) 0%, var(--bg-dark) 90%);
}

.hero-content {
    text-align: center;
    z-index: 1;
    max-width: 900px;
}

.hero-subtitle {
    display: block;
    font-size: 0.9rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold-primary);
    margin-bottom: 20px;
}

.hero-title {
    font-size: 5rem;
    line-height: 1.1;
    margin-bottom: 30px;
}

.hero-title .line {
    display: block;
}

.hero-desc {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 40px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: 0.3s;
    text-decoration: none;
}

.btn-gold {
    background: var(--gold-gradient);
    color: #000;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
}

.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.3);
}

/* Who Am I - Magazine Layout */
.magazine-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.mag-image {
    position: relative;
}

.image-frame {
    position: relative;
    z-index: 1;
    border-radius: 2px;
    overflow: hidden;
}

.image-frame img {
    width: 100%;
    filter: grayscale(100%) contrast(1.1);
    transition: 0.5s;
    display: block;
}

.mag-image:hover .image-frame img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.floating-card {
    position: absolute;
    bottom: -30px;
    right: -30px;
    z-index: 2;
    background: rgba(20, 20, 25, 0.9);
    backdrop-filter: blur(15px);
    padding: 30px;
    border: 1px solid var(--glass-border);
    border-left: 3px solid var(--gold-primary);
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 3rem;
    color: var(--gold-primary);
    line-height: 1;
}

.stat-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold-primary);
    margin-bottom: 15px;
    border-bottom: 1px solid var(--gold-primary);
    padding-bottom: 5px;
}

.section-heading {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 30px;
}

.lead-text {
    font-size: 1.2rem;
    color: #fff;
    font-style: italic;
    margin-bottom: 20px;
    border-left: 2px solid var(--gold-primary);
    padding-left: 20px;
}

.body-text {
    color: var(--text-muted);
    margin-bottom: 40px;
}

.signature p {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.signature span {
    color: var(--gold-primary);
    font-size: 0.9rem;
}

/* Practice Areas - Masonry */
.masonry-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.grid-item.item-large {
    grid-column: span 1;
    grid-row: span 2;
}

.grid-item.item-wide {
    grid-column: span 2;
}

.practice-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 40px;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: 0.4s var(--ease-out);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.practice-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--gold-primary);
    transform: translateY(-10px);
}

.card-icon {
    color: var(--gold-primary);
    margin-bottom: 20px;
}

.practice-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.practice-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.card-bg-img {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 80%;
    opacity: 0.1;
    mask-image: linear-gradient(to top, black, transparent);
    -webkit-mask-image: linear-gradient(to top, black, transparent);
    transition: 0.5s;
}

.practice-card:hover .card-bg-img {
    opacity: 0.2;
    transform: scale(1.1);
}

.card-content-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.icon-large {
    border: 1px solid var(--glass-border);
    padding: 80px;
    text-align: center;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

/* Why Us (Centered) */
.why-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 60px;
    max-width: 800px;
    margin: 0 auto;
}

.why-title {
    margin-bottom: 20px;
}

.why-list {
    display: flex;
    flex-direction: column;
    gap: 60px;
    width: 100%;
}

.why-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--glass-border);
}

.why-item:last-child {
    border-bottom: none;
}

.why-item .num {
    font-family: var(--font-display);
    font-size: 3rem;
    color: var(--gold-primary);
    opacity: 1;
    line-height: 1;
}

.why-item h4 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #fff;
}

.why-item p {
    color: var(--text-muted);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* CTA Box */
.cta-box {
    background: var(--bg-panel);
    border: 1px solid var(--glass-border);
    padding: 80px;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gold-gradient);
}

.cta-box h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.cta-box p {
    color: var(--text-muted);
    margin-bottom: 40px;
    font-size: 1.2rem;
}

/* Footer */
.footer {
    border-top: 1px solid var(--glass-border);
    padding: 60px 0 20px;
    background: #020203;
}

.footer-flex {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.footer-logo-img {
    height: 50px;
    width: auto;
    opacity: 0.8;
}

.footer-copy {
    text-align: center;
    border-top: 1px solid var(--glass-border);
    padding-top: 20px;
    font-size: 0.8rem;
    color: #555;
}

/* Animations */
.fade-in {
    opacity: 0;
    animation: fadeIn 1s var(--ease-out) forwards;
}

.reveal-up {
    opacity: 0;
    transform: translateY(50px);
    transition: 1s var(--ease-out);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: 1s var(--ease-out);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: 1s var(--ease-out);
}

.reveal-up.active,
.reveal-left.active,
.reveal-right.active {
    opacity: 1;
    transform: translate(0);
}

.delay-1 {
    animation-delay: 0.2s;
    transition-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
    transition-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
    transition-delay: 0.6s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slowZoom {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.15);
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 4rem;
    }

    .magazine-layout {
        gap: 40px;
    }

    .masonry-grid {
        grid-template-columns: 1fr 1fr;
    }

    .grid-item.item-large {
        grid-column: span 1;
        grid-row: span 1;
    }

    .grid-item.item-wide {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 25px;
    }

    .section {
        padding: 80px 0;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu-icon {
        display: block;
    }

    .hero-title {
        font-size: 3rem;
    }

    .magazine-layout {
        grid-template-columns: 1fr;
    }

    .mag-image {
        order: -1;
        margin-bottom: 40px;
    }

    .floating-card {
        right: 0;
        bottom: -20px;
        padding: 20px;
    }

    .masonry-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .grid-item.item-wide {
        grid-column: span 1;
    }

    .cta-box {
        padding: 40px 20px;
    }

    .cta-box h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .section-heading {
        font-size: 2.5rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }
}