* {
    box-sizing: border-box
}

.icon-arrow {
    width: .85em;
    height: .85em;
    display: inline-block;
    vertical-align: -0.08em;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: #f1efe9;
    color: #111;
    font-family: Manrope, sans-serif
}

header {
    position: absolute;
    z-index: 5;
    top: 0;
    left: 0;
    right: 0;
    height: 78px;
    padding: 0 5vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #fff
}

.brand {
    font-weight: 800;
    font-size: 24px;
    letter-spacing: -.08em;
    color: #fff;
    text-decoration: none
}

.brand span {
    color: #b7ff45
}

nav {
    display: flex;
    gap: 32px
}

nav a,
.pill {
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em
}

.menu-btn,
.nav-cta {
    display: none
}

.pill {
    border: 1px solid #454847;
    border-radius: 999px;
    padding: 11px 15px
}

.hero {
    min-height: 100vh;
    padding: 145px 5vw 70px;
    background: #0b0c0c;
    color: #fff;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 6vw;
    align-items: center;
    position: relative
}

.eyebrow {
    font: 12px 'DM Mono', monospace;
    letter-spacing: .12em;
    color: #8f918d
}

.hero .eyebrow {
    color: #a9aaa6
}

.hero h1 {
    font-size: clamp(55px, 7vw, 105px);
    line-height: .93;
    letter-spacing: -.075em;
    margin: 20px 0 30px
}

.hero h1 em,
h2 em {
    font-family: Georgia, serif;
    font-weight: 400
}

.lead {
    max-width: 520px;
    color: #aaa;
    line-height: 1.7
}

.actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 30px
}

.btn {
    padding: 14px 18px;
    border-radius: 999px;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em
}

.light {
    background: #f1efe9;
    color: #111
}

.dark,
.outline {
    border: 1px solid #383c3b;
    color: #fff
}

.eyebrow.dark {
    border: 0;
    color: #66665f
}

.hero-art {
    height: min(650px, 70vh);
    min-height: 430px;
    border: 1px solid #292d2c;
    position: relative;
    overflow: hidden;
    background: #080909
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    filter: saturate(.9) contrast(1.04);
}

.hero-video-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg, #0009 0%, transparent 28%, transparent 55%, #000b 100%),
        linear-gradient(90deg, #0005 0%, transparent 45%, #0003 100%);
    pointer-events: none;
}

.grid {
    position: absolute;
    inset: 0;
    z-index: 2;
    background-image: linear-gradient(#ffffff09 1px, transparent 1px), linear-gradient(90deg, #ffffff09 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
}

.hero-art small {
    position: absolute;
    z-index: 3;
    top: 20px;
    left: 20px;
    right: 20px;
    display: flex;
    justify-content: space-between;
    color: #d2d4cf;
    font: 11px 'DM Mono', monospace;
    letter-spacing: .04em;
}

.hero-video-caption {
    position: absolute;
    z-index: 3;
    left: 9%;
    bottom: 9%;
    color: #fff;
    font-size: clamp(48px, 5vw, 80px);
    font-weight: 800;
    letter-spacing: -.08em;
    line-height: .8;
    text-shadow: 0 4px 24px #0008;
    pointer-events: none;
}

.hero-video-caption i {
    font-family: Georgia, serif;
    font-weight: 400
}

.scroll {
    position: absolute;
    bottom: 30px;
    left: 5vw;
    color: #8f918d;
    font: 11px 'DM Mono', monospace
}

.work {
    padding: 120px 5vw 140px
}

.intro {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 40px;
    margin-bottom: 65px
}

.intro h2,
.process h2 {
    font-size: clamp(45px, 5.5vw, 80px);
    line-height: .95;
    letter-spacing: -.065em;
    margin: 10px 0
}

.intro>p {
    max-width: 380px;
    color: #5f5f5a;
    font-size: 15px;
    line-height: 1.7
}

.featured {
    display: grid;
    grid-template-columns: 1.8fr .65fr;
    gap: 30px;
    margin-bottom: 100px
}

.feature-media {
    aspect-ratio: 16/9;
    background: #171918;
    position: relative;
    overflow: hidden;
    cursor: pointer
}

.feature-media img,
.card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .6s
}

.feature-media:hover img,
.work-card:hover img {
    transform: scale(1.03);
    filter: brightness(.65)
}

.shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, #000a)
}

.label {
    position: absolute;
    top: 18px;
    left: 18px;
    right: 18px;
    display: flex;
    justify-content: space-between;
    color: #fff;
    font: 12px 'DM Mono', monospace
}

.feature-media button {
    position: absolute;
    right: 20px;
    bottom: 20px;
    width: 58px;
    height: 58px;
    border: 0;
    border-radius: 50%;
    background: #b7ff45;
    font-size: 22px;
    cursor: pointer
}

.feature-copy {
    display: grid;
    grid-template-columns: 45px 1fr;
    gap: 10px
}

.num {
    font: 12px 'DM Mono', monospace;
    color: #66665f
}

.feature-copy small,
.modal-copy small {
    font: 12px 'DM Mono', monospace;
    text-transform: uppercase;
    color: #66665f;
    letter-spacing: .1em
}

.feature-copy h3 {
    font-size: clamp(28px, 3vw, 46px);
    line-height: 1;
    letter-spacing: -.055em;
    margin: 12px 0 18px
}

.feature-copy p,
.modal-copy p {
    font-size: 15px;
    line-height: 1.7;
    color: #5f5f5a
}

.tags {
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
    margin: 20px 0
}

.tags span {
    border: 1px solid #d2d0c9;
    border-radius: 999px;
    padding: 7px 10px;
    font: 11px 'DM Mono', monospace;
    text-transform: uppercase;
    color: #555
}

.watch {
    border: 0;
    background: none;
    padding: 0;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    cursor: pointer
}

.more-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px
}

.more-head>div {
    display: flex;
    gap: 8px
}

.more-head button {
    width: 44px;
    height: 44px;
    border: 1px solid #a8a59d;
    background: none;
    border-radius: 50%;
    font-size: 18px;
    color: #111;
    cursor: pointer;
    transition: background .2s, color .2s
}

.more-head button:hover:not(:disabled) {
    background: #111;
    color: #f1efe9
}

.more-head button:disabled {
    opacity: .35;
    cursor: default
}

.slider {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth
}

.slider::-webkit-scrollbar {
    display: none
}

.work-card {
    flex: 0 0 min(390px, 78vw);
    cursor: pointer;
    scroll-snap-align: start
}

.card-media {
    aspect-ratio: 16/10;
    background: #171918;
    overflow: hidden;
    position: relative
}

.card-media .index {
    position: absolute;
    top: 14px;
    left: 15px;
    color: #fff;
    font: 12px 'DM Mono', monospace
}

.card-media .open {
    position: absolute;
    bottom: 15px;
    left: 15px;
    color: #fff;
    font: 12px 'DM Mono', monospace;
    opacity: 0;
    transition: .3s
}

.work-card:hover .open {
    opacity: 1
}

.card-info {
    padding: 14px 0
}

.card-info h3 {
    margin: 0 0 5px;
    font-size: 19px;
    letter-spacing: -.03em
}

.card-info p {
    margin: 0;
    color: #66665f;
    font: 12px 'DM Mono', monospace;
    text-transform: uppercase
}

.about,
.contact {
    background: #0b0c0c;
    color: #fff;
    padding: 130px 5vw
}

.about-head {
    display: grid;
    grid-template-columns: 1fr 1.8fr;
    gap: 50px;
    margin-bottom: 80px
}

.about h2 {
    font-size: clamp(47px, 6.5vw, 95px);
    line-height: .92;
    letter-spacing: -.07em;
    margin: 0
}

.about-body {
    display: grid;
    grid-template-columns: 1.25fr .75fr;
    gap: 8vw
}

.about-body p {
    color: #999;
    line-height: 1.7;
    font-size: 16px
}

.about-body .big {
    color: #fff;
    font-size: 27px;
    line-height: 1.3;
    letter-spacing: -.035em
}

.skills {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 75px;
    border-top: 1px solid #292c2b
}

.skills>div {
    padding: 24px 20px 0 0;
    border-right: 1px solid #292c2b
}

.skills>div+div {
    padding-left: 20px
}

.skills b,
.process-grid b {
    display: block;
    color: #8f918d;
    font: 12px 'DM Mono', monospace;
    margin-bottom: 38px
}

.process-grid b {
    color: #66665f
}

.skills strong {
    display: block;
    margin-bottom: 8px
}

.skills small {
    color: #9a9d98;
    font-size: 13px;
    line-height: 1.5
}

.process {
    padding: 125px 5vw 140px
}

.process>div:first-child {
    margin-bottom: 70px
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid #ccc9c2
}

.process-grid>div {
    min-height: 230px;
    padding: 25px 25px 0 0;
    border-right: 1px solid #ccc9c2
}

.process-grid>div+div {
    padding-left: 25px
}

.process-grid h3 {
    font-size: 21px;
    margin: 0 0 10px
}

.process-grid p {
    font-size: 14px;
    color: #5f5f5a;
    line-height: 1.7;
    max-width: 250px
}

.contact {
    min-height: 75vh;
    display: flex;
    flex-direction: column;
    justify-content: center
}

.contact h2 {
    font-size: clamp(56px, 8vw, 120px);
    line-height: .87;
    letter-spacing: -.08em;
    margin: 10px 0 30px
}

.contact>p:not(.eyebrow) {
    color: #999;
    max-width: 520px;
    line-height: 1.7
}

.outline {
    display: inline-block
}

footer {
    background: #0b0c0c;
    color: #8f918d;
    border-top: 1px solid #252827;
    padding: 24px 5vw;
    display: flex;
    justify-content: space-between;
    font: 12px 'DM Mono', monospace
}

footer a {
    color: #aaa
}

.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 20;
    align-items: center;
    justify-content: center;
    padding: 4vw
}

.modal.open {
    display: flex
}

.backdrop {
    position: absolute;
    inset: 0;
    background: #000d;
    backdrop-filter: blur(10px)
}

.modal-card {
    position: relative;
    z-index: 1;
    background: #f1efe9;
    width: min(1100px, 100%);
    max-height: 92vh;
    overflow: auto
}

.modal-card>button {
    position: absolute;
    right: 15px;
    top: 15px;
    z-index: 2;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    font-size: 25px;
    cursor: pointer
}

.video {
    aspect-ratio: 16/9;
    background: #000
}

.video iframe {
    width: 100%;
    height: 100%;
    border: 0
}

.modal-copy {
    padding: 30px
}

.modal-copy h3 {
    font-size: 42px;
    margin: 10px 0
}

.modal-copy .tags {
    margin-bottom: 0
}

:focus-visible {
    outline: 2px solid #b7ff45;
    outline-offset: 3px
}

.work :focus-visible,
.process :focus-visible,
.modal-card :focus-visible {
    outline-color: #111
}

@media(prefers-reduced-motion:reduce) {

    html,
    .slider {
        scroll-behavior: auto
    }

    * {
        transition: none !important
    }

    .hero-video {
        display: none;
    }

    .hero-art {
        background: #171918 url("Video/hero-poster.jpg") center / cover no-repeat;
    }
}

@media(max-width:900px) {
    .brand {
        position: relative;
        z-index: 2
    }

    .pill {
        display: none
    }

    .menu-btn {
        display: block;
        position: fixed;
        top: 16px;
        right: 20px;
        z-index: 3;
        width: 46px;
        height: 46px;
        padding: 0;
        border: 1px solid #3a3e3d;
        border-radius: 50%;
        background: #0b0c0ce6;
        -webkit-backdrop-filter: blur(8px);
        backdrop-filter: blur(8px);
        cursor: pointer
    }

    .menu-btn span {
        position: absolute;
        left: 14px;
        right: 14px;
        height: 2px;
        border-radius: 2px;
        background: #fff;
        transition: transform .25s, top .25s
    }

    .menu-btn span:first-child {
        top: 18px
    }

    .menu-btn span:last-child {
        top: 26px
    }

    .menu-btn.open span:first-child {
        top: 22px;
        transform: rotate(45deg)
    }

    .menu-btn.open span:last-child {
        top: 22px;
        transform: rotate(-45deg)
    }

    nav {
        display: none
    }

    nav.open {
        display: flex;
        position: fixed;
        inset: 0;
        z-index: 1;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        gap: 8px;
        padding: 90px 20px 40px;
        background: #0b0c0c;
        overflow-y: auto
    }

    nav.open a {
        font-size: clamp(40px, 12vw, 68px);
        font-weight: 800;
        letter-spacing: -.06em;
        line-height: 1.05;
        text-transform: none
    }

    nav.open a.nav-cta {
        display: inline-block;
        margin-top: 28px;
        padding: 14px 20px;
        border-radius: 999px;
        background: #b7ff45;
        color: #0b0c0c;
        font-size: 12px;
        letter-spacing: .08em;
        text-transform: uppercase
    }

    .hero {
        grid-template-columns: 1fr
    }

    .hero-art {
        height: 450px
    }

    .intro,
    .about-head {
        display: block
    }

    .intro>p {
        margin-top: 25px
    }

    .featured {
        grid-template-columns: 1fr
    }

    .about-body {
        grid-template-columns: 1fr
    }

    .skills,
    .process-grid {
        grid-template-columns: 1fr 1fr
    }
}

@media(max-width:600px) {
    header {
        padding: 0 20px
    }

    .pill {
        display: none
    }

    .hero,
    .work,
    .about,
    .process,
    .contact {
        padding-left: 20px;
        padding-right: 20px
    }

    .hero {
        padding-top: 120px;
        min-height: 900px
    }

    .hero h1 {
        font-size: 54px
    }

    .hero-art {
        height: 420px
    }

    .scroll {
        left: 20px
    }

    .skills,
    .process-grid {
        grid-template-columns: 1fr
    }

    .skills>div,
    .skills>div+div,
    .process-grid>div,
    .process-grid>div+div {
        padding-left: 0;
        border-right: 0;
        border-bottom: 1px solid #292c2b;
        padding-bottom: 25px
    }

    .contact h2 {
        font-size: 58px
    }

    footer {
        padding: 22px 20px;
        gap: 12px;
        flex-wrap: wrap
    }

    .modal {
        padding: 0
    }

    .modal-card {
        height: 100%;
        max-height: none
    }
}
/* --- Video portfolio previews --- */
.feature-media video,
.card-media video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .6s ease, filter .6s ease;
}

.feature-media:hover video,
.work-card:hover .card-media video {
    transform: scale(1.025);
    filter: brightness(.68);
}

.feature-media .shade,
.card-media .card-shade {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(0,0,0,.05) 30%, rgba(0,0,0,.58) 100%);
}

.feature-open {
    position: absolute;
    right: 20px;
    bottom: 20px;
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #b7ff45;
    color: #111;
    text-decoration: none;
    font-size: 22px;
    z-index: 2;
    transition: transform .2s ease;
}

.feature-open:hover {
    transform: scale(1.06);
}

.card-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.card-media {
    cursor: pointer;
}

.card-media .play-badge {
    position: absolute;
    right: 15px;
    bottom: 15px;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.65);
    border-radius: 50%;
    color: #fff;
    background: rgba(0,0,0,.18);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    opacity: .95;
    transition: transform .25s ease, background .25s ease;
    z-index: 2;
}

.work-card:hover .play-badge {
    transform: scale(1.08);
    background: rgba(183,255,69,.95);
    color: #111;
}

.work-card:hover .open {
    opacity: 1;
}

.featured .label,
.featured .feature-open,
.featured .feature-copy {
    z-index: 2;
}

@media (max-width: 600px) {
    .feature-open {
        width: 50px;
        height: 50px;
        right: 15px;
        bottom: 15px;
    }
}

/* --- Refined contact / social pills --- */
.contact-actions {
    margin-top: 34px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
}

.youtube-cta {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    min-width: min(430px, 100%);
    padding: 17px 20px;
    border: 1px solid #303331;
    border-radius: 18px;
    color: #fff;
    text-decoration: none;
    background: rgba(255,255,255,.025);
    box-shadow: 0 0 0 rgba(0,0,0,0);
    transition: transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s ease, border-color .35s ease, background .35s ease;
}

.youtube-cta:hover {
    transform: translateY(-7px);
    border-color: #b7ff45;
    background: rgba(183,255,69,.055);
    box-shadow: 0 18px 35px rgba(0,0,0,.16);
}

.youtube-cta b {
    display: block;
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.youtube-cta small {
    display: block;
    margin-top: 5px;
    color: #999;
    font: 12px 'DM Mono', monospace;
}

.cta-arrow {
    font-size: 20px;
    line-height: 1;
    transition: transform .35s cubic-bezier(.22,1,.36,1);
}

.youtube-cta:hover .cta-arrow {
    transform: translate(4px,-4px);
}

.contact-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.contact-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid #303331;
    border-radius: 999px;
    color: #f1efe9;
    text-decoration: none;
    background: transparent;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
    transition: transform .35s cubic-bezier(.22,1,.36,1), background .35s ease, border-color .35s ease, color .35s ease, box-shadow .35s ease;
    will-change: transform;
}

.contact-pill:hover {
    transform: translateY(-6px);
    background: #f1efe9;
    color: #111;
    border-color: #f1efe9;
    box-shadow: 0 14px 28px rgba(0,0,0,.16);
}

.contact-pill:active {
    transform: translateY(-2px);
}

@media (max-width: 600px) {
    .youtube-cta {
        min-width: 0;
        width: 100%;
    }

    .contact-pills {
        width: 100%;
    }

    .contact-pill {
        flex: 1 1 auto;
    }
}
