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

:root {
    --navy: #0A1628;
    --navy-light: #132240;
    --navy-mid: #1A2D4A;
    --gold: #C8A45E;
    --gold-light: #D4B76E;
    --gold-dark: #B8944E;
    --cream: #F5F0E8;
    --cream-light: #FAF7F2;
    --white: #FFFFFF;
    --text-dark: #1A1A1A;
    --text-muted: #6B6B6B;
    --text-light: #9A9A9A;
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-sans);
    color: var(--text-dark);
    background: var(--cream-light);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
    list-style: none;
}

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

/* ===== Typography ===== */
.section-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
}

.section-headline {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--navy);
    margin-bottom: 24px;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: 2px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

.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.5);
}

.btn--outline:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

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

/* ===== Header ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all var(--transition);
}

.header.scrolled {
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(12px);
    padding: 14px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 1001;
}

.logo__mark {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--gold);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--gold);
    border-radius: 4px;
    flex-shrink: 0;
}

.logo__text {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
    letter-spacing: 0.02em;
}

/* ===== Nav ===== */
.nav__list {
    display: flex;
    align-items: center;
    gap: 36px;
}

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

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

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

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

.nav__link--cta {
    padding: 8px 20px;
    border: 1px solid rgba(200, 164, 94, 0.5);
    border-radius: 4px;
    color: var(--gold);
    transition: all var(--transition);
}

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

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

/* ===== Nav Toggle ===== */
.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.nav__toggle-line {
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all var(--transition);
}

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

.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, -5px);
}

/* ===== Nav Overlay ===== */
.nav-overlay {
    position: fixed;
    inset: 0;
    background: var(--navy);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.nav-overlay__list {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.nav-overlay__link {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    transition: color var(--transition);
}

.nav-overlay__link:hover {
    color: var(--gold);
}

.nav-overlay__link--cta {
    color: var(--gold);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-top: 16px;
}

/* ===== 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__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(10, 22, 40, 0.88) 0%,
        rgba(10, 22, 40, 0.7) 50%,
        rgba(10, 22, 40, 0.5) 100%
    );
}

.hero__content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding-top: 80px;
}

.hero__eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 24px;
}

.hero__headline {
    font-family: var(--font-serif);
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 900;
    line-height: 1.05;
    color: var(--white);
    margin-bottom: 24px;
}

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

.hero__sub {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 480px;
    line-height: 1.7;
    margin-bottom: 40px;
}

.hero__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero__scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 1;
}

.hero__scroll span {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

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

@keyframes scrollLine {
    0%, 100% { opacity: 0; transform: scaleY(0); transform-origin: top; }
    50% { opacity: 1; transform: scaleY(1); }
}

/* ===== About ===== */
.about {
    padding: 120px 0;
    background: var(--cream-light);
}

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

.about__image-wrap {
    position: relative;
}

.about__image-wrap img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 4px;
}

.about__image-wrap::before {
    content: '';
    position: absolute;
    top: -16px;
    left: -16px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--gold);
    border-radius: 4px;
    z-index: -1;
}

.about__content {
    padding: 24px 0;
}

.about__body {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about__stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid rgba(10, 22, 40, 0.1);
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat__number {
    font-family: var(--font-serif);
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1;
}

.stat__label {
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-light);
}

/* ===== Services ===== */
.services {
    padding: 120px 0;
    background: var(--navy);
}

.services .section-headline {
    color: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.service-card {
    background: var(--navy-light);
    border: 1px solid rgba(200, 164, 94, 0.15);
    border-radius: 4px;
    padding: 48px 40px;
    transition: all var(--transition);
}

.service-card:hover {
    border-color: var(--gold);
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.service-card__icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gold);
    border-radius: 4px;
    margin-bottom: 24px;
    color: var(--gold);
}

.service-card__title {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
}

.service-card__desc {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
}

/* ===== Work ===== */
.work {
    padding: 120px 0;
    background: var(--cream-light);
}

.work__gallery {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto;
    gap: 16px;
    margin-bottom: 48px;
}

.work__item {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    cursor: pointer;
}

.work__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.work__item:hover img {
    transform: scale(1.05);
}

.work__item-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 22, 40, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition);
}

.work__item:hover .work__item-overlay {
    opacity: 1;
}

.work__item-overlay span {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.05em;
}

.work__item--large {
    grid-column: 1 / 6;
    grid-row: 1 / 3;
    min-height: 500px;
}

.work__item--tall {
    grid-column: 9 / 13;
    grid-row: 1 / 3;
    min-height: 500px;
}

.work__item:not(.work__item--large):not(.work__item--tall) {
    min-height: 240px;
}

.work__cta {
    text-align: center;
}

/* ===== Testimonials ===== */
.testimonials {
    padding: 120px 0;
    background: var(--white);
}

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

.testimonial-card {
    background: var(--cream-light);
    border-radius: 4px;
    padding: 40px 32px;
    position: relative;
    transition: all var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(10, 22, 40, 0.08);
}

.testimonial-card__quote {
    position: absolute;
    top: 24px;
    right: 28px;
    width: 40px;
    height: 40px;
}

.testimonial-card__text {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-card__author {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--navy);
    letter-spacing: 0.02em;
}

/* ===== Contact ===== */
.contact {
    padding: 120px 0;
    background: var(--cream);
}

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

.contact__body {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 40px;
}

.contact__details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

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

.contact-detail__label {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 4px;
}

.contact-detail__value {
    display: block;
    font-size: 0.95rem;
    color: var(--navy);
    font-weight: 500;
}

.contact-detail__value a {
    color: var(--navy);
    transition: color var(--transition);
}

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

/* ===== Form ===== */
.contact-form {
    background: var(--white);
    border-radius: 4px;
    padding: 48px;
    box-shadow: 0 8px 32px rgba(10, 22, 40, 0.06);
}

.form-group {
    margin-bottom: 24px;
}

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

.form-input {
    width: 100%;
    padding: 14px 16px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--text-dark);
    background: var(--cream-light);
    border: 1px solid rgba(10, 22, 40, 0.12);
    border-radius: 4px;
    transition: all var(--transition);
    outline: none;
}

.form-input:focus {
    border-color: var(--gold);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(200, 164, 94, 0.15);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-success {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 48px 24px;
    gap: 16px;
}

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

.form-success p {
    font-size: 1rem;
    color: var(--text-muted);
}

/* ===== Footer ===== */
.footer {
    background: var(--navy);
    padding: 64px 0 32px;
}

.footer__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer__brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer__brand .logo__mark {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
}

.footer__brand .logo__text {
    font-size: 0.9rem;
}

.footer__tagline {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    max-width: 280px;
    line-height: 1.6;
}

.footer__divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin-bottom: 32px;
}

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

.footer__bottom p {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.4);
}

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

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

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .about__grid {
        gap: 48px;
    }

    .services__grid {
        gap: 24px;
    }

    .service-card {
        padding: 36px 28px;
    }

    .work__item--large {
        grid-column: 1 / 7;
        min-height: 400px;
    }

    .work__item--tall {
        grid-column: 7 / 13;
        min-height: 400px;
    }
}

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

    .nav__list {
        display: none;
    }

    .hero__headline {
        font-size: clamp(2.4rem, 10vw, 3.5rem);
    }

    .hero__actions {
        flex-direction: column;
    }

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

    .about__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about__image-wrap img {
        height: 360px;
    }

    .about__image-wrap::before {
        top: -10px;
        left: -10px;
    }

    .about__stats {
        gap: 24px;
    }

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

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

    .work__item--large,
    .work__item--tall {
        grid-column: auto;
        grid-row: auto;
        min-height: 280px;
    }

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

    .contact__grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .contact-form {
        padding: 32px 24px;
    }

    .footer__top {
        flex-direction: column;
        gap: 24px;
    }

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

    .hero__scroll {
        display: none;
    }
}

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

    .about,
    .services,
    .work,
    .testimonials,
    .contact {
        padding: 80px 0;
    }

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

    .about__stats {
        flex-direction: column;
        gap: 20px;
    }

    .stat {
        flex-direction: row;
        align-items: baseline;
        gap: 12px;
    }

    .stat__number {
        font-size: 1.8rem;
    }
}
