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

:root {
    --charcoal: #374151;
    --charcoal-deep: #1f2937;
    --charcoal-light: #6b7280;
    --coral: #FF6B4A;
    --coral-light: #ff8f74;
    --coral-dark: #e5553a;
    --bg: #fafafa;
    --bg-warm: #f5f3f0;
    --white: #ffffff;
    --line: rgba(55, 65, 81, 0.12);
    --line-strong: rgba(55, 65, 81, 0.25);
    --font-body: 'Inter', -apple-system, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-exp: cubic-bezier(0.05, 0.82, 0.19, 1);
}

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

body {
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--charcoal);
    background: var(--bg);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

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

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

.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    background: var(--charcoal);
    color: var(--white);
    padding: 0.5rem 1rem;
    z-index: 1000;
    font-size: 0.875rem;
    border-radius: 0 0 4px 4px;
}

.skip-link:focus {
    top: 0;
}

/* ─── Header ─── */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(250, 250, 250, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    transition: box-shadow 0.4s var(--ease-out);
}

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

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.9375rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--charcoal);
}

.logo-mark {
    color: var(--coral);
    flex-shrink: 0;
}

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

.nav a {
    font-size: 0.8125rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--charcoal-light);
    transition: color 0.3s ease;
    position: relative;
}

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

.nav a:hover {
    color: var(--charcoal);
}

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

.nav-cta {
    color: var(--coral) !important;
    border: 1px solid var(--coral);
    padding: 0.5rem 1.25rem;
    transition: all 0.3s ease !important;
}

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

.nav-cta:hover {
    background: var(--coral);
    color: var(--white) !important;
}

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

.nav-toggle span {
    width: 22px;
    height: 1.5px;
    background: var(--charcoal);
    transition: all 0.3s var(--ease-out);
    transform-origin: center;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 5px);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
    transform: rotate(-45deg) translate(4px, -5px);
}

/* ─── Hero ─── */
.hero {
    padding-top: 72px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--bg);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 20%;
    right: -10%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,107,74,0.04) 0%, transparent 70%);
    pointer-events: none;
}

.hero-asymmetric {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 4rem 0;
}

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

.hero-headline {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4.25rem);
    font-weight: 400;
    line-height: 1.1;
    color: var(--charcoal-deep);
    margin-bottom: 1.75rem;
    letter-spacing: -0.01em;
}

.hero-headline .accent-italic {
    font-style: italic;
    color: var(--coral);
}

.hero-sub {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--charcoal-light);
    max-width: 480px;
    margin-bottom: 2.5rem;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 1rem 2rem;
    border: 1px solid transparent;
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
    background: none;
}

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

.btn-primary:hover {
    background: var(--coral-dark);
    border-color: var(--coral-dark);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(255,107,74,0.25);
}

.btn-ghost {
    background: transparent;
    color: var(--charcoal);
    border-color: var(--line-strong);
}

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

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

/* Hero Visual */
.hero-visual {
    position: relative;
    padding-left: 2rem;
}

.hero-image-main {
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

.hero-image-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 3/4;
}

.hero-image-accent {
    position: absolute;
    bottom: -2rem;
    left: -3rem;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
    border: 4px solid var(--bg);
    z-index: 2;
}

.hero-image-accent img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4/3;
    display: block;
}

.hero-stat {
    position: absolute;
    top: 2rem;
    right: -1.5rem;
    background: var(--white);
    padding: 1.25rem 1.5rem;
    border-radius: 4px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 400;
    color: var(--coral);
    line-height: 1;
}

.stat-label {
    font-size: 0.6875rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--charcoal-light);
}

/* ─── Section Shared ─── */
section {
    padding: 7rem 0;
}

.section-header {
    margin-bottom: 4rem;
}

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

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 400;
    line-height: 1.15;
    color: var(--charcoal-deep);
    letter-spacing: -0.01em;
}

/* ─── Services ─── */
.services {
    background: var(--white);
}

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

.service-card {
    padding: 2.5rem;
    border: 1px solid var(--line);
    border-radius: 4px;
    transition: all 0.4s var(--ease-out);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--coral);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease-out);
}

.service-card:hover {
    border-color: transparent;
    box-shadow: 0 12px 48px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

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

.service-number {
    font-family: var(--font-display);
    font-size: 0.875rem;
    color: var(--coral);
    opacity: 0.5;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--charcoal-deep);
    margin-bottom: 0.75rem;
}

.service-card p {
    font-size: 0.9375rem;
    color: var(--charcoal-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.service-image {
    border-radius: 2px;
    overflow: hidden;
    aspect-ratio: 3/2;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

.service-card:hover .service-image img {
    transform: scale(1.03);
}

/* ─── Work ─── */
.work {
    background: var(--bg);
}

.work .section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto;
    gap: 1.5rem;
}

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

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

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

.work-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(31,41,55,0.7) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.4s var(--ease-out);
}

.work-item:hover .work-overlay {
    opacity: 1;
}

.work-category {
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--coral-light);
    margin-bottom: 0.25rem;
}

.work-overlay h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--white);
}

.work-item--large {
    grid-column: 1 / 8;
    aspect-ratio: 4/3;
}

.work-item--tall {
    grid-column: 8 / 13;
    aspect-ratio: auto;
    height: 100%;
    min-height: 400px;
}

.work-item:not(.work-item--large):not(.work-item--tall) {
    aspect-ratio: 4/3;
}

/* ─── Process ─── */
.process {
    background: var(--charcoal-deep);
    color: var(--white);
}

.process .section-eyebrow {
    color: var(--coral-light);
}

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

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
}

.process-step {
    padding: 0 1.5rem;
    position: relative;
}

.step-line {
    position: absolute;
    top: 0.75rem;
    left: calc(50% + 0.75rem);
    right: calc(-50% + 0.75rem);
    height: 1px;
    background: var(--line-strong);
}

.process-step:last-child .step-line {
    display: none;
}

.step-num {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--coral);
    opacity: 0.4;
    line-height: 1;
    margin-bottom: 1rem;
    display: block;
}

.process-step h3 {
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 400;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.process-step p {
    font-size: 0.9375rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.7;
}

/* ─── About ─── */
.about {
    background: var(--white);
}

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

.about-visual {
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}

.about-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 7/5;
}

.about-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 400;
    line-height: 1.2;
    color: var(--charcoal-deep);
    margin-bottom: 1.5rem;
}

.about-content p {
    font-size: 1rem;
    color: var(--charcoal-light);
    line-height: 1.85;
    margin-bottom: 1rem;
}

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

.about-stat {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.about-stat .stat-num {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 400;
    color: var(--coral);
    line-height: 1;
}

.about-stat .stat-desc {
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--charcoal-light);
}

.about-stat-divider {
    width: 1px;
    height: 40px;
    background: var(--line-strong);
}

/* ─── CTA / Contact ─── */
.cta {
    background: var(--bg-warm);
}

.cta-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 400;
    line-height: 1.15;
    color: var(--charcoal-deep);
    margin-bottom: 1.25rem;
}

.cta-text {
    font-size: 1rem;
    color: var(--charcoal-light);
    line-height: 1.8;
}

.cta-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--charcoal);
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 300;
    color: var(--charcoal);
    background: var(--white);
    border: 1px solid var(--line-strong);
    border-radius: 2px;
    padding: 0.875rem 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    outline: none;
    width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--coral);
    box-shadow: 0 0 0 3px rgba(255,107,74,0.1);
}

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

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

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.form-success {
    text-align: center;
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.form-success h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--charcoal-deep);
}

.form-success p {
    color: var(--charcoal-light);
    font-size: 0.9375rem;
}

/* ─── Contact Info ─── */
.contact-info {
    background: var(--white);
    padding: 4rem 0;
    border-top: 1px solid var(--line);
}

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

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    color: var(--coral);
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-label {
    display: block;
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--charcoal-light);
    margin-bottom: 0.375rem;
}

.contact-item a {
    font-size: 0.9375rem;
    color: var(--charcoal);
    transition: color 0.3s ease;
    line-height: 1.6;
}

.contact-item a:hover {
    color: var(--coral);
}

/* ─── Footer ─── */
.footer {
    background: var(--charcoal-deep);
    color: rgba(255,255,255,0.5);
    padding: 4rem 0 2.5rem;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 3rem;
    align-items: start;
}

.footer-brand .logo {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-brand p {
    font-size: 0.875rem;
    max-width: 280px;
    line-height: 1.7;
}

.footer-nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.footer-nav a {
    font-size: 0.8125rem;
    letter-spacing: 0.04em;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: var(--white);
}

.footer-copy {
    grid-column: 1 / -1;
    font-size: 0.75rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255,255,255,0.08);
    text-align: center;
}

/* ─── Animations ─── */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.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) {
    .hero-asymmetric {
        gap: 3rem;
    }

    .hero-visual {
        padding-left: 0;
    }

    .hero-image-accent {
        left: -1rem;
    }

    .services-grid {
        gap: 1.5rem;
    }

    .process-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }

    .step-line {
        display: none;
    }

    .about-asymmetric {
        gap: 3rem;
    }

    .cta-inner {
        gap: 3rem;
    }
}

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

    section {
        padding: 5rem 0;
    }

    .nav-toggle {
        display: flex;
        z-index: 101;
    }

    .nav {
        position: fixed;
        inset: 0;
        background: rgba(250,250,250,0.98);
        backdrop-filter: blur(20px);
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.4s var(--ease-out);
    }

    .nav.open {
        opacity: 1;
        pointer-events: all;
    }

    .nav ul {
        flex-direction: column;
        gap: 2rem;
    }

    .nav a {
        font-size: 1.125rem;
    }

    .nav-cta {
        font-size: 1rem !important;
    }

    /* Hero */
    .hero {
        min-height: auto;
        padding-top: 100px;
        padding-bottom: 3rem;
    }

    .hero-asymmetric {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 2rem 0;
    }

    .hero-visual {
        order: -1;
        padding-left: 0;
    }

    .hero-image-accent {
        left: 0;
        bottom: -1.5rem;
    }

    .hero-stat {
        right: 0;
        top: auto;
        bottom: -1rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn {
        justify-content: center;
    }

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

    /* Work */
    .work .section-header {
        flex-direction: column;
        align-items: flex-start;
    }

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

    .work-item--large {
        grid-column: 1 / -1;
    }

    .work-item--tall {
        grid-column: 1 / -1;
        min-height: 280px;
    }

    .work-overlay {
        opacity: 1;
    }

    /* Process */
    .process-steps {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    /* About */
    .about-asymmetric {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .about-stats {
        flex-wrap: wrap;
    }

    /* CTA */
    .cta-inner {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

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

    /* Contact Info */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Footer */
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-nav ul {
        flex-wrap: wrap;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .work-grid {
        grid-template-columns: 1fr;
    }

    .work-item--large,
    .work-item--tall {
        grid-column: 1;
        aspect-ratio: 4/3;
    }

    .hero-image-accent {
        display: none;
    }

    .hero-stat {
        position: relative;
        top: auto;
        right: auto;
        bottom: auto;
        left: auto;
        margin-top: 1rem;
    }
}
