* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: #0d0d0d;
    color: #f3f0e9;
    font-family: "DM Sans", sans-serif;
    line-height: 1.6
}

.noise {
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: .025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E")
}

a {
    text-decoration: none;
    color: inherit
}

button {
    font: inherit
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px max(5vw, 24px);
    background: rgba(13, 13, 13, .82);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, .06)
}

.brand {
    font-weight: 700;
    letter-spacing: .15em;
    font-size: .82rem
}

.nav {
    display: flex;
    gap: 28px;
    align-items: center
}

.nav a {
    color: #c9c4ba;
    font-size: .92rem
}

.nav a:hover {
    color: #fff
}

.nav-cta {
    border: 1px solid #c5a14b;
    padding: 10px 16px;
    border-radius: 999px;
    color: #f5d983 !important
}

.menu-btn {
    display: none;
    background: none;
    border: 0;
    color: white;
    font-size: 1.4rem
}

.section-shell {
    width: min(1180px, 90vw);
    margin: auto
}

.hero {
    min-height: 82vh;
    display: grid;
    grid-template-columns: 1.35fr .65fr;
    gap: 64px;
    align-items: center;
    padding: 72px 0
}

.eyebrow {
    color: #d5b35e;
    font-size: .78rem;
    letter-spacing: .18em;
    font-weight: 700;
    margin-bottom: 18px
}

.hero h1,
.section-heading h2,
.contact-card h2,
.about-card h2 {
    font-family: "Playfair Display", serif;
    line-height: 1.08;
    margin: 0
}

.hero h1 {
    font-size: clamp(2.8rem, 6vw, 6.2rem);
    max-width: 900px
}

.hero h1 span {
    color: #d6b35b
}

.hero-text {
    font-size: 1.08rem;
    color: #b9b4aa;
    max-width: 760px;
    margin: 24px 0 30px
}

.hero-actions,
.contact-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 19px;
    border-radius: 999px;
    font-weight: 700;
    font-size: .92rem;
    transition: .2s
}

.btn-primary {
    background: #d4b15a;
    color: #111
}

.btn-primary:hover {
    transform: translateY(-2px);
    background: #e2c477
}

.btn-secondary {
    border: 1px solid #3a3936;
    color: #f4efe6
}

.btn-secondary:hover {
    border-color: #8b7b55
}

.proof-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 44px;
    max-width: 760px
}

.proof-row div {
    border-top: 1px solid #2e2c28;
    padding-top: 15px
}

.proof-row strong {
    display: block;
    color: #f2d47f;
    font-size: 1.25rem
}

.proof-row span {
    display: block;
    color: #8e8980;
    font-size: .78rem;
    margin-top: 4px
}

.hero-card {
    justify-self: end;
    width: min(360px, 100%);
    border: 1px solid #302e29;
    background: linear-gradient(180deg, #171715, #10100f);
    padding: 14px;
    border-radius: 28px;
    transform: rotate(1.5deg)
}

.photo-wrap {
    aspect-ratio: 3/5;
    border-radius: 20px;
    overflow: hidden;
    background: #1b1b1b
}

.photo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.availability {
    display: flex;
    gap: 8px;
    align-items: center;
    padding: 14px 8px 4px;
    color: #c7c1b8;
    font-size: .88rem
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #73d48b;
    border-radius: 50%;
    box-shadow: 0 0 0 5px rgba(115, 212, 139, .08)
}

.section-block {
    padding: 110px 0
}

.section-heading {
    max-width: 800px;
    margin-bottom: 42px
}

.section-heading h2,
.about-card h2,
.contact-card h2 {
    font-size: clamp(2.2rem, 4vw, 4rem)
}

.section-heading p:not(.eyebrow) {
    color: #a7a198
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px
}

.service-card,
.project-card,
.about-card,
.contact-card {
    background: #131312;
    border: 1px solid #282723;
    border-radius: 24px
}

.service-card {
    padding: 26px;
    min-height: 250px
}

.service-no {
    color: #6f6650;
    font-weight: 700
}

.service-card h3,
.project-card h3 {
    font-family: "Playfair Display", serif;
    font-size: 1.6rem;
    margin: 50px 0 12px
}

.service-card p,
.project-card p,
.timeline p,
.about-card p,
.contact-card p {
    color: #aaa49a
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px
}

.project-card {
    padding: 30px;
    min-height: 310px;
    position: relative;
    overflow: hidden
}

.project-card:before {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 177, 90, .08), transparent 65%);
    right: -40px;
    top: -50px
}

.project-card.featured {
    grid-row: auto;
    min-height: auto;
}

.project-meta {
    color: #8e8265;
    font-size: .72rem;
    letter-spacing: .12em;
    font-weight: 700
}

.project-card h3 {
    margin: 80px 0 14px;
    font-size: 2rem
}

.project-card ul {
    color: #9f998f;
    padding-left: 18px
}

.text-link {
    position: absolute;
    bottom: 28px;
    left: 30px;
    background: none;
    border: 0;
    padding: 0;
    color: #e0bf69;
    font-weight: 700;
    cursor: pointer
}

.split-section {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 70px;
    align-items: start
}

.timeline {
    border-top: 1px solid #2d2b27
}

.timeline-item {
    display: grid;
    grid-template-columns: 170px 1fr;
    gap: 24px;
    padding: 30px 0;
    border-bottom: 1px solid #2d2b27
}

.timeline-year {
    color: #d3b25e;
    font-weight: 700;
    font-size: .86rem
}

.timeline h3 {
    margin: 0 0 8px;
    font-size: 1.25rem
}

.tool-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px
}

.tool-cloud span {
    border: 1px solid #32302c;
    border-radius: 999px;
    padding: 11px 16px;
    color: #c9c4ba;
    background: #121211
}

.about-card {
    padding: 55px;
    max-width: 900px
}

.about-card p {
    font-size: 1.06rem
}

.contact-card {
    padding: 60px;
    background: linear-gradient(135deg, #171612, #111)
}

.contact-card p {
    max-width: 760px
}

.contact-actions {
    margin-top: 28px
}

.contact-details {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 28px;
    color: #817c73;
    font-size: .88rem
}

footer {
    width: min(1180px, 90vw);
    margin: 0 auto;
    padding: 30px 0 50px;
    border-top: 1px solid #24231f;
    color: #777168;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    font-size: .82rem
}

.modal {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: none
}

.modal.open {
    display: block
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .78);
    backdrop-filter: blur(7px)
}

.modal-panel {
    position: relative;
    z-index: 2;
    width: min(760px, 92vw);
    max-height: 82vh;
    overflow: auto;
    margin: 8vh auto;
    background: #141412;
    border: 1px solid #343129;
    border-radius: 24px;
    padding: 36px
}

.modal-close {
    position: absolute;
    right: 18px;
    top: 14px;
    background: none;
    border: 0;
    color: #ddd;
    font-size: 1.8rem;
    cursor: pointer
}

.modal-panel h2 {
    font-family: "Playfair Display", serif;
    font-size: 2.3rem;
    margin: 10px 0
}

.modal-panel h4 {
    color: #dbb861;
    margin: 26px 0 8px
}

.modal-panel p,
.modal-panel li {
    color: #b4aea4
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: .6s ease
}

.reveal.visible {
    opacity: 1;
    transform: none
}

@media(max-width:900px) {
    .nav {
        display: none;
        position: absolute;
        top: 72px;
        right: 5vw;
        left: 5vw;
        background: #141412;
        border: 1px solid #302e29;
        border-radius: 20px;
        padding: 18px;
        flex-direction: column;
        align-items: flex-start
    }

    .nav.open {
        display: flex
    }

    .menu-btn {
        display: block
    }

    .hero {
        grid-template-columns: 1fr;
        padding: 70px 0 30px;
        gap: 38px
    }

    .hero-card {
        justify-self: start;
        width: min(330px, 84vw);
        transform: none
    }

    .service-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .split-section {
        grid-template-columns: 1fr;
        gap: 30px
    }

    .project-card.featured {
        grid-row: auto;
        min-height: 380px
    }

    .project-card h3 {
        margin-top: 55px
    }
}

@media(max-width:620px) {
    .site-header {
        padding: 18px 5vw
    }

    .hero {
        min-height: auto
    }

    .hero h1 {
        font-size: 2.85rem
    }

    .proof-row {
        grid-template-columns: 1fr
    }

    .service-grid,
    .project-grid {
        grid-template-columns: 1fr
    }

    .service-card {
        min-height: 220px
    }

    .section-block {
        padding: 78px 0
    }

    .timeline-item {
        grid-template-columns: 1fr;
        gap: 5px
    }

    .about-card,
    .contact-card {
        padding: 30px
    }

    .contact-actions .btn {
        width: 100%
    }

    footer {
        flex-direction: column
    }

    .modal-panel {
        padding: 28px 22px
    }
}

/* Smaller, modern hero headline */
.hero h1 {
    font-family: Arial, Helvetica, sans-serif;
    font-size: clamp(2.8rem, 4.5vw, 4.8rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.04em;
    max-width: 850px;
}

/* Align profile card better with hero text */
.hero-card {
    align-self: center;
    width: min(380px, 100%);
    position: relative;
    top: -45px;
}

/* Case study screenshots */
.case-study-image {
    display: block;
    width: 85%;
    max-width: 850px;
    height: auto;
    margin: 24px auto 30px;
    border-radius: 12px;
    border: 1px solid #343129;



    .modal-panel {
        width: min(1050px, 94vw) !important;
        max-width: 1050px !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
    }

    #modal-content {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    .case-study-image {
        display: block;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        margin: 24px auto 30px;
        border-radius: 12px;
        border: 1px solid #343129;
    }
.project-card .project-thumbnail {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  height: 220px !important;
  object-fit: contain !important;
  border-radius: 16px;
  margin-bottom: 24px;
}