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

:root {
    --teal-50: #f0fdfa;
    --teal-100: #ccfbf1;
    --teal-200: #99f6e4;
    --teal-400: #2dd4bf;
    --teal-500: #14b8a6;
    --teal-600: #0d9488;
    --teal-700: #0f766e;
    --teal-800: #115e59;
    --teal-900: #134e4a;

    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    --slate-950: #080e1a;

    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;

    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    font-weight: 300;
    color: var(--slate-800);
    background: #ffffff;
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
}

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

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

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

/* ── Navigation ── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--slate-200);
    transition: box-shadow 0.3s var(--ease-out);
}

.nav.scrolled {
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.nav-logo-text {
    font-family: var(--font-serif);
    font-size: 18px;
    font-weight: 500;
    color: var(--slate-900);
    letter-spacing: -0.01em;
}

.nav-logo-sub {
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--teal-600);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-links a {
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--slate-600);
    transition: color 0.25s var(--ease-out);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--teal-600);
    transition: width 0.3s var(--ease-out);
}

.nav-links a:hover {
    color: var(--slate-900);
}

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

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

.nav-toggle-line {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--slate-700);
    transition: all 0.3s var(--ease-out);
    transform-origin: center;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}

/* ── Hero ── */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 72px;
    background: #ffffff;
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    width: 100%;
}

.hero-eyebrow {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--teal-600);
    margin-bottom: 24px;
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(32px, 4.5vw, 56px);
    font-weight: 400;
    line-height: 1.15;
    color: var(--slate-900);
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    max-width: 540px;
}

.hero-headline em {
    font-style: italic;
    color: var(--teal-700);
}

.hero-sub {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.8;
    color: var(--slate-500);
    margin-bottom: 40px;
    max-width: 420px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 32px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 14px 28px;
    border-radius: 0;
    border: none;
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
}

.btn-primary {
    background: var(--teal-600);
    color: #ffffff;
}

.btn-primary:hover {
    background: var(--teal-700);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(13, 148, 136, 0.25);
}

.btn-text {
    background: none;
    color: var(--slate-700);
    padding: 14px 0;
    border-bottom: 1px solid var(--slate-300);
}

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

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

.hero-right {
    position: relative;
}

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

.hero-image-wrap::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 1px solid var(--teal-200);
    z-index: -1;
}

.hero-image-wrap img {
    width: 100%;
    height: 70vh;
    max-height: 800px;
    object-fit: cover;
    display: block;
}

/* ── Divider ── */
.divider-line {
    max-width: 1200px;
    margin: 0 auto;
    height: 1px;
    background: var(--slate-200);
}

/* ── Section Shared ── */
.section {
    padding: 120px 0;
}

.section-eyebrow {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--teal-600);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(28px, 3.5vw, 44px);
    font-weight: 400;
    line-height: 1.15;
    color: var(--slate-900);
    letter-spacing: -0.02em;
    margin-bottom: 56px;
}

/* ── Work ── */
.work-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.work-item {
    cursor: pointer;
}

.work-item-img {
    overflow: hidden;
    margin-bottom: 16px;
}

.work-item-img img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

.work-item:hover .work-item-img img {
    transform: scale(1.03);
}

.work-item-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.work-item-cat {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--teal-600);
}

.work-item-title {
    font-family: var(--font-serif);
    font-size: 18px;
    font-weight: 400;
    color: var(--slate-800);
}

/* ── About ── */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-img-wrap img {
    width: 100%;
    height: 600px;
    object-fit: cover;
}

.about-body {
    font-size: 15px;
    font-weight: 300;
    line-height: 1.85;
    color: var(--slate-600);
    margin-bottom: 20px;
}

.about-stats {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--slate-200);
}

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

.stat-number {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--teal-600);
}

.stat-label {
    font-family: var(--font-serif);
    font-size: 18px;
    color: var(--slate-800);
}

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

/* ── Services ── */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.service-card {
    padding: 40px 32px;
    border: 1px solid var(--slate-200);
    margin-left: -1px;
    transition: all 0.3s var(--ease-out);
}

.service-card:hover {
    background: var(--teal-50);
    border-color: var(--teal-200);
}

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

.service-title {
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 400;
    color: var(--slate-900);
    margin-bottom: 12px;
}

.service-desc {
    font-size: 14px;
    font-weight: 300;
    line-height: 1.75;
    color: var(--slate-500);
}

/* ── Contact ── */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-body {
    font-size: 15px;
    font-weight: 300;
    line-height: 1.85;
    color: var(--slate-500);
    margin-bottom: 40px;
}

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

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

.contact-detail-label {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--teal-600);
}

.contact-detail-value {
    font-size: 15px;
    font-weight: 400;
    color: var(--slate-800);
    line-height: 1.6;
}

.contact-detail-value a {
    color: var(--slate-800);
    transition: color 0.25s var(--ease-out);
    border-bottom: 1px solid transparent;
}

.contact-detail-value a:hover {
    color: var(--teal-600);
    border-color: var(--teal-600);
}

/* ── Form ── */
.contact-form-wrap {
    position: relative;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

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

.form-group label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--slate-500);
}

.form-group input,
.form-group textarea {
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 300;
    color: var(--slate-800);
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--slate-200);
    padding: 10px 0;
    outline: none;
    transition: border-color 0.3s var(--ease-out);
    resize: none;
}

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

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

.form-success {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 60px 40px;
    text-align: center;
    background: var(--teal-50);
    border: 1px solid var(--teal-200);
}

.form-success svg {
    color: var(--teal-600);
}

.form-success p {
    font-size: 15px;
    font-weight: 400;
    color: var(--slate-700);
}

/* ── Footer ── */
.footer {
    background: var(--slate-950);
    padding: 48px 0;
}

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

.footer-logo {
    font-family: var(--font-serif);
    font-size: 16px;
    font-weight: 500;
    color: #ffffff;
}

.footer-copy {
    font-size: 12px;
    font-weight: 300;
    color: var(--slate-500);
    margin-top: 8px;
}

.footer-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.footer-right a {
    font-size: 13px;
    font-weight: 400;
    color: var(--slate-400);
    transition: color 0.25s var(--ease-out);
}

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

.footer-right span {
    font-size: 13px;
    color: var(--slate-500);
}

/* ── Mobile Menu Overlay ── */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 999;
    align-items: center;
    justify-content: center;
}

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

.nav-overlay-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.nav-overlay-links a {
    font-family: var(--font-serif);
    font-size: 32px;
    font-weight: 400;
    color: var(--slate-800);
    transition: color 0.25s var(--ease-out);
}

.nav-overlay-links a:hover {
    color: var(--teal-600);
}

/* ── Scroll Reveal (progressive enhancement) ── */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
    }

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

/* ── Responsive ── */
@media (max-width: 1024px) {
    .hero-inner {
        gap: 40px;
    }

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

    .service-card {
        margin-left: 0;
        border-left: 1px solid var(--slate-200);
    }

    .service-card:nth-child(2) {
        border-left: none;
    }

    .about-grid {
        gap: 48px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        min-height: auto;
        padding-top: 100px;
        padding-bottom: 60px;
    }

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

    .hero-right {
        order: -1;
    }

    .hero-image-wrap img {
        height: 50vh;
        max-height: 500px;
    }

    .hero-image-wrap::before {
        display: none;
    }

    .hero-headline {
        max-width: 100%;
    }

    .section {
        padding: 80px 0;
    }

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

    .work-item-img img {
        height: 360px;
    }

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

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

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

    .service-card {
        border: none;
        border-bottom: 1px solid var(--slate-200);
        padding: 32px 0;
    }

    .service-card:hover {
        background: transparent;
        border-color: var(--slate-200);
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 56px;
    }

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

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .footer-right {
        flex-wrap: wrap;
        gap: 16px;
    }
}

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

    .nav-inner {
        padding: 0 20px;
    }

    .hero {
        padding-top: 80px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .btn {
        padding: 12px 24px;
        font-size: 12px;
    }

    .about-stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .stat-divider {
        display: none;
    }
}
