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

:root {
    --teal: #0d9488;
    --teal-light: #14b8a6;
    --teal-dark: #0f766e;
    --teal-subtle: #f0fdfa;
    --slate: #334155;
    --slate-light: #64748b;
    --slate-lighter: #94a3b8;
    --slate-lightest: #e2e8f0;
    --slate-bg: #f8fafc;
    --white: #ffffff;
    --black: #0f172a;
    --font-sans: 'Inter', system-ui, sans-serif;
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --transition: 0.4s var(--ease);
}

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

body {
    font-family: var(--font-sans);
    font-weight: 300;
    color: var(--slate);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}

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

/* Line Indicator */
.line-indicator {
    position: fixed;
    top: 0;
    left: 50%;
    width: 1px;
    height: 0;
    background: var(--teal);
    z-index: 9999;
    transition: height 0.3s var(--ease);
}

/* Typography */
.serif-italic {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--teal);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--teal-dark);
    transform: translateY(-1px);
}

.btn-ghost {
    background: transparent;
    color: var(--slate);
    border: 1px solid var(--slate-lightest);
}

.btn-ghost:hover {
    border-color: var(--teal);
    color: var(--teal);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-eyebrow {
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 0.75rem;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    color: var(--black);
    line-height: 1.2;
}

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

/* ===================== HEADER ===================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.header.scrolled {
    border-bottom-color: var(--slate-lightest);
    box-shadow: 0 1px 0 rgba(0,0,0,0.04);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

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

.logo-mark {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 400;
    color: var(--teal);
    letter-spacing: 0.04em;
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--black);
    letter-spacing: 0.02em;
}

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

.nav-link {
    font-size: 0.8125rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--slate-light);
    text-decoration: none;
    transition: color var(--transition);
    position: relative;
}

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

.nav-link:hover {
    color: var(--teal);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--white);
    background: var(--teal);
    padding: 0.625rem 1.5rem;
    text-decoration: none;
    transition: background var(--transition);
}

.nav-cta:hover {
    background: var(--teal-dark);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 1px;
    background: var(--slate);
    transition: var(--transition);
    transform-origin: center;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
}

/* ===================== HERO ===================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 72px;
    background: var(--white);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

.hero-content {
    padding-right: 1rem;
}

.hero-eyebrow {
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 1.5rem;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 300;
    line-height: 1.15;
    color: var(--black);
    margin-bottom: 1.5rem;
}

.hero-desc {
    font-size: 1.0625rem;
    font-weight: 300;
    color: var(--slate-light);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    max-width: 440px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hero-divider {
    width: 48px;
    height: 1px;
    background: var(--teal);
    margin-bottom: 1.5rem;
}

.hero-details {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.8125rem;
    color: var(--slate-light);
}

.hero-details a {
    color: var(--slate-light);
    text-decoration: none;
    transition: color var(--transition);
}

.hero-details a:hover {
    color: var(--teal);
}

.hero-dot {
    color: var(--slate-lightest);
}

.hero-image {
    position: relative;
}

.hero-img-wrap {
    position: relative;
    overflow: hidden;
}

.hero-img-wrap img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.8s var(--ease);
}

.hero-img-wrap:hover img {
    transform: scale(1.02);
}

.hero-accent {
    position: absolute;
    bottom: -24px;
    right: -24px;
    width: 120px;
    height: 120px;
    border: 1px solid var(--teal);
    opacity: 0.3;
    z-index: -1;
}

/* ===================== SERVICES ===================== */
.services {
    padding: 8rem 0;
    background: var(--slate-bg);
}

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

.service-card {
    padding: 2.5rem 2rem;
    background: var(--white);
    border: 1px solid var(--slate-lightest);
    transition: var(--transition);
}

.service-card:hover {
    border-color: var(--teal);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(13, 148, 136, 0.08);
}

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

.service-name {
    font-family: var(--font-serif);
    font-size: 1.375rem;
    font-weight: 400;
    color: var(--black);
    margin-bottom: 0.75rem;
}

.service-desc {
    font-size: 0.875rem;
    font-weight: 300;
    color: var(--slate-light);
    line-height: 1.7;
}

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

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

.about-image {
    position: relative;
}

.about-img-main {
    position: relative;
    z-index: 2;
}

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

.about-img-float {
    position: absolute;
    bottom: -40px;
    right: -40px;
    z-index: 3;
    overflow: hidden;
    border: 6px solid var(--white);
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

.about-img-float img {
    display: block;
    width: 100%;
    height: auto;
}

.about-line {
    position: absolute;
    top: -40px;
    left: -40px;
    width: 120px;
    height: 120px;
    border-left: 1px solid var(--teal);
    border-top: 1px solid var(--teal);
    opacity: 0.4;
    z-index: 1;
}

.about-content {
    padding: 1rem 0;
}

.about-content .section-eyebrow {
    text-align: left;
}

.about-content .section-title {
    color: var(--black);
    margin-bottom: 2rem;
}

.about-text {
    font-size: 1rem;
    font-weight: 300;
    color: var(--slate-light);
    line-height: 1.9;
    margin-bottom: 1.25rem;
}

.about-stats {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--slate-lightest);
}

.stat-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--teal);
    line-height: 1;
    margin-bottom: 0.375rem;
}

.stat-label {
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--slate-lighter);
}

.stat-divider {
    width: 1px;
    height: 48px;
    background: var(--slate-lightest);
}

/* ===================== GALLERY ===================== */
.gallery {
    padding: 8rem 0;
    background: var(--slate-bg);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(2, 280px);
    gap: 1.25rem;
}

.gallery-item {
    overflow: hidden;
    position: relative;
}

.gallery-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item:nth-child(1) { grid-column: 1 / 6; grid-row: 1 / 3; }
.gallery-item:nth-child(2) { grid-column: 6 / 9; grid-row: 1 / 2; }
.gallery-item:nth-child(3) { grid-column: 9 / 13; grid-row: 1 / 2; }
.gallery-item:nth-child(4) { grid-column: 6 / 13; grid-row: 2 / 3; }

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

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
}

.contact-info {
    padding-top: 1rem;
}

.contact-info .section-eyebrow {
    text-align: left;
}

.contact-info .section-title {
    color: var(--white);
    margin-bottom: 3rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.contact-label {
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--teal-light);
}

.contact-value {
    font-size: 1rem;
    font-weight: 300;
    color: var(--slate-lighter);
    line-height: 1.6;
}

.contact-link {
    color: var(--slate-lighter);
    text-decoration: none;
    transition: color var(--transition);
}

.contact-link:hover {
    color: var(--teal-light);
}

.contact-map {
    width: 100%;
    height: 220px;
    border: 0;
    border-radius: 2px;
    opacity: 0.8;
    filter: grayscale(0.5);
}

.contact-form-wrap {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 3rem;
}

.form-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--white);
    margin-bottom: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

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

.form-group label {
    display: block;
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--slate-lighter);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 0;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 300;
    color: var(--white);
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    outline: none;
    transition: border-color var(--transition);
    resize: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--slate-light);
    opacity: 0.5;
}

.form-group select {
    appearance: none;
    cursor: pointer;
}

.form-group select option {
    background: var(--slate);
    color: var(--white);
}

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

.form-success {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3rem 1rem;
    color: var(--teal-light);
}

.form-success svg {
    margin-bottom: 1rem;
}

.form-success p {
    font-size: 0.9375rem;
    font-weight: 300;
    color: var(--slate-lighter);
    line-height: 1.7;
}

/* ===================== FOOTER ===================== */
.footer {
    padding: 2rem 0;
    background: var(--black);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

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

.footer-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.footer-left .logo-text {
    color: var(--white);
    font-size: 1.125rem;
}

.footer-copy {
    font-size: 0.75rem;
    font-weight: 300;
    color: var(--slate-light);
}

.footer-right {
    display: flex;
    gap: 2rem;
}

.footer-right a {
    font-size: 0.8125rem;
    font-weight: 300;
    color: var(--slate-light);
    text-decoration: none;
    transition: color var(--transition);
}

.footer-right a:hover {
    color: var(--teal-light);
}

/* ===================== MOBILE NAV ===================== */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    z-index: 999;
    align-items: center;
    justify-content: center;
}

.nav-overlay.active {
    display: flex;
}

.nav-overlay .nav-list {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
}

.nav-overlay .nav-link {
    font-size: 1.25rem;
    letter-spacing: 0.1em;
    color: var(--black);
}

.nav-overlay .nav-cta {
    font-size: 0.875rem;
    margin-top: 1rem;
}

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

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .gallery-item:nth-child(1) { grid-column: 1 / 2; grid-row: auto; }
    .gallery-item:nth-child(2) { grid-column: 2 / 3; grid-row: auto; }
    .gallery-item:nth-child(3) { grid-column: 1 / 2; grid-row: auto; }
    .gallery-item:nth-child(4) { grid-column: 2 / 3; grid-row: auto; }

    .gallery-item img {
        height: 300px;
    }
}

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

    .menu-toggle {
        display: flex;
        z-index: 1001;
    }

    .nav {
        display: none;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-image {
        order: -1;
    }

    .hero-img-wrap img {
        height: 400px;
    }

    .hero-content {
        padding-right: 0;
        text-align: center;
    }

    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-divider {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-details {
        justify-content: center;
    }

    .services {
        padding: 5rem 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .service-card {
        padding: 2rem 1.5rem;
    }

    .about {
        padding: 5rem 0;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .about-img-float {
        right: -16px;
        bottom: -24px;
    }

    .about-line {
        top: -24px;
        left: -24px;
    }

    .gallery {
        padding: 5rem 0;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .gallery-item img {
        height: 260px;
    }

    .contact {
        padding: 5rem 0;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-form-wrap {
        padding: 2rem 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-right {
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

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

    .btn {
        width: 100%;
        justify-content: center;
    }
}
