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

:root {
    --navy: #0f1d3a;
    --navy-light: #1a2d52;
    --navy-dark: #091225;
    --gold: #c8a45e;
    --gold-light: #d4b76a;
    --gold-dark: #b8933f;
    --cream: #f8f6f1;
    --white: #ffffff;
    --gray-50: #fafafa;
    --gray-100: #f5f5f5;
    --gray-200: #e8e8e8;
    --gray-300: #d1d1d1;
    --gray-400: #a0a0a0;
    --gray-500: #6e6e6e;
    --gray-600: #4a4a4a;
    --gray-700: #333333;
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-sans);
    color: var(--gray-700);
    background-color: var(--white);
    line-height: 1.7;
    font-weight: 300;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===== NAVIGATION ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
}

.nav.scrolled {
    background: rgba(15, 29, 58, 0.97);
    padding: 1rem 0;
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 rgba(200, 164, 94, 0.15);
}

.nav__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav__brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.nav__brand-mark {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--gold);
    line-height: 1;
}

.nav__brand-text {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--white);
    letter-spacing: 0.02em;
}

.nav__links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    list-style: none;
}

.nav__link {
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
    transition: var(--transition);
    position: relative;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: var(--transition);
}

.nav__link:hover {
    color: var(--white);
}

.nav__link:hover::after {
    width: 100%;
}

.nav__link--cta {
    color: var(--gold);
    border: 1px solid rgba(200, 164, 94, 0.4);
    padding: 0.5rem 1.25rem;
    transition: var(--transition);
}

.nav__link--cta::after {
    display: none;
}

.nav__link--cta:hover {
    background: var(--gold);
    color: var(--navy);
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav__toggle-line {
    width: 24px;
    height: 1.5px;
    background: var(--white);
    transition: var(--transition);
    display: block;
}

.nav__toggle.active .nav__toggle-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 4px);
}

.nav__toggle.active .nav__toggle-line:nth-child(2) {
    opacity: 0;
}

.nav__toggle.active .nav__toggle-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -4px);
}

/* ===== HERO ===== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    transition: transform 8s ease;
}

.hero.loaded .hero__img {
    transform: scale(1);
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(9, 18, 37, 0.92) 0%,
        rgba(15, 29, 58, 0.85) 40%,
        rgba(15, 29, 58, 0.6) 70%,
        rgba(15, 29, 58, 0.4) 100%
    );
}

.hero__content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

.hero__frame {
    max-width: 720px;
    opacity: 0;
    transform: translateY(30px);
    animation: heroFadeIn 1s ease forwards 0.5s;
}

@keyframes heroFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero__eyebrow {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.hero__headline {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    font-weight: 300;
    line-height: 1.2;
    color: var(--white);
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}

.hero__headline em {
    font-style: italic;
    color: var(--gold);
}

.hero__sub {
    font-size: 1.1rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2.5rem;
    max-width: 480px;
    line-height: 1.8;
}

.hero__actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero__scroll {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.hero__scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50% { opacity: 0.5; transform: scaleY(0.7); }
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.9rem 2rem;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border: 1.5px solid transparent;
    border-radius: 0;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn--gold {
    background: var(--gold);
    color: var(--navy);
    border-color: var(--gold);
}

.btn--gold:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(200, 164, 94, 0.3);
}

.btn--outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.35);
}

.btn--outline:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.08);
}

.btn--outline-light {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn--outline-light:hover {
    background: var(--white);
    color: var(--navy);
}

.btn--full {
    width: 100%;
}

/* ===== SECTION COMMON ===== */
.section-eyebrow {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    font-weight: 300;
    color: var(--navy);
    line-height: 1.2;
    margin-bottom: 1.25rem;
    letter-spacing: -0.01em;
}

.section-subtitle {
    font-size: 1.05rem;
    font-weight: 300;
    color: var(--gray-500);
    max-width: 560px;
    line-height: 1.8;
}

.lead {
    font-size: 1.1rem;
    font-weight: 300;
    color: var(--gray-600);
    line-height: 1.9;
    margin-bottom: 1.5rem;
}

/* ===== ABOUT ===== */
.about {
    padding: 8rem 0;
    background: var(--white);
}

.about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about__image {
    position: relative;
}

.about__img {
    width: 100%;
    height: 550px;
    object-fit: cover;
    position: relative;
    z-index: 1;
}

.about__image-accent {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 1px solid var(--gold);
    z-index: 0;
}

.about__content {
    padding: 1rem 0;
}

.about__values {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.value-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.value-item__line {
    width: 40px;
    height: 1px;
    background: var(--gold);
    flex-shrink: 0;
    margin-top: 0.5rem;
}

.value-item strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--navy);
    margin-bottom: 0.25rem;
}

.value-item span {
    font-size: 0.9rem;
    color: var(--gray-500);
    font-weight: 300;
    line-height: 1.6;
}

/* ===== PRACTICE AREAS ===== */
.practice {
    padding: 8rem 0;
    background: var(--cream);
}

.practice__header {
    text-align: center;
    margin-bottom: 4rem;
}

.practice__header .section-subtitle {
    margin: 0 auto;
}

.practice__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.practice-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.practice-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.practice-card:hover {
    border-color: var(--gold);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(15, 29, 58, 0.08);
}

.practice-card:hover::before {
    transform: scaleX(1);
}

.practice-card__icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.practice-card h3 {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 400;
    color: var(--navy);
    margin-bottom: 0.75rem;
}

.practice-card p {
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--gray-500);
    line-height: 1.8;
}

/* ===== APPROACH ===== */
.approach {
    padding: 8rem 0;
    background: var(--white);
}

.approach__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.approach__steps {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.step {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.step__number {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 300;
    color: var(--gold);
    line-height: 1;
    flex-shrink: 0;
    width: 48px;
}

.step__content h4 {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--navy);
    margin-bottom: 0.35rem;
}

.step__content p {
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--gray-500);
    line-height: 1.7;
}

.approach__image {
    position: relative;
}

.approach__img {
    width: 100%;
    height: 600px;
    object-fit: cover;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
    padding: 8rem 0;
    background: var(--navy);
}

.testimonials .section-title {
    color: var(--white);
}

.testimonials__header {
    text-align: center;
    margin-bottom: 4rem;
}

.testimonials__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 2.5rem 2rem;
    transition: var(--transition);
}

.testimonial:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(200, 164, 94, 0.3);
}

.testimonial__quote-mark {
    font-family: var(--font-serif);
    font-size: 4rem;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.testimonial__text {
    font-size: 0.95rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.9;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial__author {
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    color: var(--gold);
    text-transform: uppercase;
}

/* ===== CTA ===== */
.cta {
    position: relative;
    padding: 7rem 0;
    overflow: hidden;
}

.cta__bg {
    position: absolute;
    inset: 0;
}

.cta__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta__overlay {
    position: absolute;
    inset: 0;
    background: rgba(9, 18, 37, 0.88);
}

.cta__inner {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
}

.cta__eyebrow {
    text-align: center;
}

.cta__title {
    color: var(--white);
    text-align: center;
    margin-bottom: 1.25rem;
}

.cta__text {
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    margin-bottom: 2.5rem;
    font-size: 1.05rem;
}

.cta__actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== CONTACT ===== */
.contact {
    padding: 8rem 0;
    background: var(--cream);
}

.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact__details {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-detail {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.contact-detail__icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gray-200);
    color: var(--gold);
    flex-shrink: 0;
}

.contact-detail strong {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--navy);
    margin-bottom: 0.3rem;
    letter-spacing: 0.04em;
}

.contact-detail span,
.contact-detail a {
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--gray-500);
    line-height: 1.7;
}

.contact-detail a:hover {
    color: var(--gold);
}

.contact__form-wrap {
    background: var(--white);
    padding: 3rem;
    border: 1px solid var(--gray-200);
}

.contact__form h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.contact__form-note {
    font-size: 0.85rem;
    color: var(--gray-400);
    margin-bottom: 2rem;
    font-weight: 300;
}

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

.form-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gray-600);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.85rem 0;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--gray-700);
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--gray-200);
    outline: none;
    transition: var(--transition);
    resize: none;
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-300);
}

.form-success {
    display: none;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem;
    background: rgba(200, 164, 94, 0.08);
    border: 1px solid rgba(200, 164, 94, 0.3);
    margin-top: 1.5rem;
    color: var(--navy);
    font-size: 0.9rem;
    font-weight: 400;
}

.form-success svg {
    color: var(--gold);
    flex-shrink: 0;
}

.form-success.show {
    display: flex;
}

/* ===== FOOTER ===== */
.footer {
    padding: 4rem 0 2rem;
    background: var(--navy-dark);
}

.footer__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.footer__brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer__brand-mark {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gold);
}

.footer__brand-name {
    font-family: var(--font-serif);
    font-size: 1rem;
    color: var(--white);
    font-weight: 400;
}

.footer__brand-title {
    font-size: 0.7rem;
    color: var(--gray-400);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-left: 0.5rem;
}

.footer__links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.footer__links a {
    font-size: 0.8rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.06em;
    transition: var(--transition);
}

.footer__links a:hover {
    color: var(--gold);
}

.footer__divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin-bottom: 2rem;
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer__bottom p {
    font-size: 0.8rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.35);
}

/* ===== ANIMATIONS ===== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .about__grid,
    .approach__inner,
    .contact__grid {
        gap: 3rem;
    }

    .practice__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials__grid .testimonial:last-child {
        grid-column: 1 / -1;
        max-width: 50%;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .nav__toggle {
        display: flex;
    }

    .nav__links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--navy-dark);
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
        padding: 2rem;
        transition: var(--transition);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.3);
    }

    .nav__links.open {
        right: 0;
    }

    .nav__link {
        font-size: 0.9rem;
    }

    .hero__headline {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
    }

    .about__grid,
    .approach__inner,
    .contact__grid {
        grid-template-columns: 1fr;
    }

    .about__image {
        order: -1;
    }

    .about__img {
        height: 400px;
    }

    .about__image-accent {
        top: -12px;
        left: -12px;
    }

    .practice__grid {
        grid-template-columns: 1fr;
    }

    .testimonials__grid {
        grid-template-columns: 1fr;
    }

    .testimonials__grid .testimonial:last-child {
        max-width: 100%;
    }

    .approach__img {
        height: 400px;
    }

    .cta__actions {
        flex-direction: column;
        align-items: center;
    }

    .footer__top {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .footer__links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.5rem;
    }

    .footer__bottom {
        flex-direction: column;
        text-align: center;
    }

    .contact__form-wrap {
        padding: 2rem;
    }

    .hero__scroll {
        display: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1.25rem;
    }

    .nav__inner {
        padding: 0 1.25rem;
    }

    .hero__actions {
        flex-direction: column;
    }

    .hero__actions .btn {
        width: 100%;
        text-align: center;
    }

    .about__image-accent {
        top: -8px;
        left: -8px;
    }
}
