/* UCANSEE / Motion edition — shared layer, no external dependencies. */
:root {
    --bg: #101110;
    --panel: #191b18;
    --panel2: #20221d;
    --text: #f6f7ef;
    --muted: #afb1a8;
    --line: #34372d;
    --accent: #C4D982;
    --radius: 8px;
    --max: 1380px
}

::selection {
    background: var(--accent);
    color: #101110
}

html {
    scroll-padding-top: 110px
}

body {
    overflow-x: clip
}

button,
a {
    -webkit-tap-highlight-color: transparent
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 5px
}

button {
    cursor: pointer
}

.container {
    width: min(calc(100% - 80px), var(--max))
}

.eyebrow {
    font-size: .875rem;
    letter-spacing: .12em
}

.site-header {
    background: rgba(16, 17, 16, .8);
    transition: background .3s, border-color .3s
}

.site-header.is-scrolled {
    background: rgba(16, 17, 16, .96);
    border-color: #3d4330
}

.nav {
    height: 88px
}

.brand img {
    height: 32px;
    max-width: 180px
}

.nav-links {
    gap: 32px
}

.nav-links>a,
.nav-dropdown-toggle {
    position: relative;
    padding: 14px 0
}

.nav-links>a:after {
    content: "";
    position: absolute;
    bottom: 7px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s
}

.nav-links>a:hover:after,
.nav-links>a[aria-current=page]:after {
    transform: scaleX(1)
}

.nav-cta {
    background: var(--accent);
    color: #141610;
    border: 0;
    font-size: .875rem;
    font-weight: 750;
    padding: 13px 20px
}

.nav-dropdown:focus-within .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0)
}

.nav-dropdown-menu:before {
    content: "";
    position: absolute;
    inset: -16px 0 auto;
    height: 18px
}

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 100%;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    z-index: 10001;
    pointer-events: none
}

.hero.hero-video {
    min-height: min(940px, 100svh);
    padding: 140px 0 26px;
    align-items: center;
    background: #161912
}

.hero-video:before {
    z-index: 1;
    background: linear-gradient(180deg, rgba(7, 10, 7, .15), rgba(7, 10, 7, .33) 42%, rgba(7, 10, 7, .94))
}

.hero-video:after {
    display: none
}

.hero-media {
    position: absolute;
    inset: 0;
    overflow: hidden
}

.hero-media video {
    height: 100%;
    width: 100%;
    object-fit: cover;
    opacity: .8;
    filter: saturate(.75);
    transform: scale(1.025)
}

.hero-video .hero-inner {
    z-index: 2;
    width: min(calc(100% - 80px), var(--max))
}

.hero-topline {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 55px
}

.hero-topline .eyebrow {
    color: var(--accent)
}

.hero-location {
    font: .875rem ui-monospace, monospace;
    color: #d5d9ca
}

.hero-video h1 {
    max-width: none;
    font-size: clamp(3rem, 8.5vw, 8.2rem);
    letter-spacing: -.065em;
    line-height: 1.02;
    font-weight: 800;
    margin: 0 0 42px
}

.hero-line {
    display: block
}

.hero-video h1 em {
    font-family: Georgia, serif;
    font-weight: 400;
    letter-spacing: -.07em;
    color: var(--accent)
}

.hero-bottom {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 24px
}

.hero-video .hero-copy {
    color: #e1e4d8;
    font-size: 1.125rem;
    max-width: 410px;
    margin: 0
}

.hero-video .hero-actions {
    margin: 0;
    align-items: center;
    gap: 22px
}

.btn {
    background: var(--accent);
    border-color: var(--accent);
    padding: 16px 24px;
    font-size: .875rem;
    letter-spacing: .025em;
    transition: background .25s, color .25s, box-shadow .25s, transform .25s
}

.btn span {
    font-size: 1.35rem
}

.btn:hover,
.nav-cta:hover {
    background: #edffad;
    box-shadow: 0 0 24px #d6ff3f25
}

.btn.ghost {
    border-color: #74796c
}

.hero-chat {
    font-size: .875rem;
    border-bottom: 1px solid #909783;
    padding: 10px 0
}

.hero-foot {
    border-top: 1px solid #ffffff30;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-top: 64px;
    padding-top: 20px;
    font: .75rem ui-monospace, monospace;
    letter-spacing: .07em;
    color: #d4d8c9
}

.scroll-cue {
    display: flex;
    align-items: center;
    gap: 24px
}

.scroll-cue span {
    font-size: 1.4rem
}

.video-toggle {
    border: 1px solid #8c9384;
    background: #101510b3;
    color: #f6f7ef;
    border-radius: 30px;
    padding: 10px 14px;
    font: .75rem ui-monospace, monospace;
    min-height: 44px
}

.marquee {
    overflow: hidden;
    background: var(--accent);
    color: #161810;
    padding: 19px 0;
    border-block: 1px solid var(--accent)
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: ticker 28s linear infinite;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: .06em
}

.marquee-track span {
    flex-shrink: 0
}

.marquee:hover .marquee-track {
    animation-play-state: paused
}

@keyframes ticker {
    to {
        transform: translateX(-50%)
    }
}

.section {
    padding: 108px 0
}

.section-head {
    margin-bottom: 46px;
    align-items: end
}

.section-head h2 {
    font-size: clamp(2.5rem, 4.8vw, 4.8rem);
    line-height: 1.05;
    font-weight: 750;
    letter-spacing: -.055em;
    margin-top: 14px
}

.section-head p {
    max-width: 370px;
    font-size: 1rem
}

.outline-type {
    color: #bfc4b3
}

.work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px
}

.work-card {
    min-height: 440px;
    padding: 32px;
    transition: background-size .65s, border-color .3s, box-shadow .3s;
    transform-style: preserve-3d;
    will-change: auto;
    background-size: cover;
    background-position: center;
}

.work-card:nth-child(3n+2) {
    background-color: #282c22
}

.work-card:before {
    content: attr(data-index);
    position: absolute;
    top: 25px;
    left: 28px;
    z-index: 2;
    color: #e2e6d5;
    font: .875rem ui-monospace, monospace;
    border: 1px solid #ffffff40;
    border-radius: 30px;
    padding: 7px 13px
}

.work-card:after {
    background: linear-gradient(0deg, #050805ed, transparent 85%)
}

.work-card h3 {
    max-width: 85%;
    font-size: clamp(1.5rem, 2.4vw, 2.25rem);
    font-weight: 650;
    line-height: 1.15;
    margin-top: 9px
}

.work-card .arrow {
    width: 50px;
    height: 50px;
    right: 25px;
    bottom: 28px;
    transition: transform .3s, background .3s, color .3s
}

.work-card:hover,
.work-card:focus-visible {
    background-size: cover;
    background-position: center;
    border-color: #a1b162;
    box-shadow: 0 20px 50px #0003
}

.work-card:hover .arrow,
.work-card:focus-visible .arrow {
    background: var(--accent);
    color: #101510;
    transform: rotate(45deg)
}

.work-card .eyebrow {
    color: #d6dec9
}

.service-grid {
    gap: 0;
    border-top: 1px solid var(--line)
}

.service-card {
    border-radius: 0;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-right: 1px solid var(--line);
    padding: 32px;
    min-height: 250px;
    background: transparent;
    transition: background .3s
}

.service-card:hover {
    background: #22261b
}

.service-card .num {
    color: var(--accent);
    font: .875rem ui-monospace, monospace;
    margin-bottom: 45px
}

.service-card h3 {
    font-size: 1.5rem
}

.service-card p {
    font-size: 1rem
}

.page-title,
.work-detail-top h1 {
    font-weight: 750;
    line-height: 1.03;
    overflow-wrap: anywhere
}

.page-hero {
    padding-top: 156px
}

.page-sub {
    line-height: 1.7
}

.cta-band {
    position: relative;
    overflow: hidden;
    background: var(--accent);
    color: #161810;
    padding: 100px 0
}

.cta-band .eyebrow,
.cta-band .muted {
    color: #3f4928
}

.cta-band .eyebrow {
    margin-bottom: 20px
}

.cta-band h2 {
    font-size: clamp(3rem, 7.5vw, 7rem);
    font-weight: 800;
    line-height: 1.04
}

.cta-band h2 em {
    font-family: Georgia, serif;
    font-weight: 400
}

.cta-band .btn {
    background: #151811;
    color: #f6f7ef;
    border-color: #151811;
    margin-top: 20px
}

.footer {
    padding: 40px 0
}

.footer-inner {
    font-size: .875rem
}

.filter.active {
    background: var(--accent);
    border-color: var(--accent)
}

.video-card {
    transition: border-color .3s
}

.video-card:hover {
    border-color: #6b7650
}

.motion-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 78px;
    height: 78px;
    border-radius: 50%;
    background: var(--accent);
    color: #131710;
    display: grid;
    place-items: center;
    font-size: .75rem;
    font-weight: 800;
    z-index: 10000;
    pointer-events: none;
    opacity: 0;
    transition: opacity .2s;
    box-shadow: 0 5px 30px #0002
}

.motion-cursor.visible {
    opacity: 1
}

.motion-toggle {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 9000;
    color: #eef3df;
    background: #181d15e6;
    border: 1px solid #66714b;
    border-radius: 24px;
    padding: 11px 15px;
    font-size: .75rem;
    min-height: 44px;
    backdrop-filter: blur(10px)
}

.footer {
    padding-bottom: 84px
}

@media(min-width:901px) {
    .home-page .work-card:nth-child(even) {
        margin-bottom: -60px
    }

    .home-page .work-grid {
        padding-bottom: 60px
    }
}

@media(max-width:1100px) {
    .hero-bottom {
        align-items: start
    }

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

    .hero-video h1 {
        font-size: 8.3vw
    }

    .hero-topline {
        margin-bottom: 44px
    }

    .hero-foot {
        margin-top: 46px
    }

    .motion-caption {
        display: none
    }

    .nav-links {
        gap: 20px
    }

    .service-card {
        padding: 24px
    }
}

@media(max-width:900px) {

    .container,
    .hero-video .hero-inner {
        width: calc(100% - 40px)
    }

    .nav {
        height: 76px
    }

    .brand img {
        height: 28px
    }

    .nav-cta {
        margin-left: auto
    }

    .menu-btn {
        min-width: 44px;
        min-height: 44px;
        border: 1px solid #5a604e;
        border-radius: 50%;
        padding: 5px
    }

    .mobile-menu.open {
        top: 100%;
        display: flex;
        flex-direction: column;
        gap: 4px;
        max-height: calc(100dvh - 76px);
        overflow-y: auto;
        padding: 20px;
        background: #11140f
    }

    .mobile-menu>a {
        display: block;
        padding: 13px 0;
        border-bottom: 1px solid #ffffff15
    }

    .mobile-dropdown-toggle {
        display: flex;
        justify-content: space-between;
        width: 100%;
        padding: 13px 0;
        color: #fff;
        background: none;
        border: 0;
        text-align: left
    }

    .mobile-dropdown-menu {
        display: none;
        padding: 0 0 14px 15px
    }

    .mobile-dropdown.active .mobile-dropdown-menu {
        display: flex;
        flex-direction: column
    }

    .mobile-dropdown-menu a {
        font-size: .875rem;
        color: #b7c0a7;
        padding: 10px 0
    }

    .mobile-dropdown-arrow {
        width: 7px;
        height: 7px;
        border-right: 1px solid;
        border-bottom: 1px solid;
        transform: rotate(45deg)
    }

    .hero.hero-video {
        min-height: 760px;
        padding-top: 125px !important
    }

    .hero-location {
        display: none
    }

    .hero-video h1 {
        font-size: clamp(3rem, 9vw, 5.8rem);
        margin-bottom: 36px
    }

    .hero-video .hero-copy {
        font-size: 1rem
    }

    .work-card {
        min-height: 350px;
        padding: 24px
    }

    .work-card h3 {
        font-size: 1.6rem
    }

    .section {
        padding: 80px 0
    }

    .work-grid {
        gap: 18px
    }

    .section-head {
        gap: 30px
    }

    .section-head p {
        max-width: 300px
    }

    .motion-cursor {
        display: none
    }
}

@media(max-width:640px) {

    .container,
    .hero-video .hero-inner {
        width: calc(100% - 36px)
    }

    .nav {
        gap: 12px
    }

    .nav-cta {
        padding: 10px 13px;
        font-size: .75rem
    }

    .brand img {
        max-width: 135px;
        height: 25px
    }

    .hero.hero-video {
        min-height: 760px;
        min-height: max(730px, 96svh);
        padding-bottom: 22px
    }

    .hero-video h1 {
        font-size: clamp(2.7rem, 11.4vw, 4.5rem);
        letter-spacing: -.065em;
        line-height: 1.1
    }

    .hero-line:last-child {
        max-width: 7em
    }

    .hero-topline {
        margin-bottom: 38px
    }

    .hero-topline .eyebrow {
        font-size: .75rem
    }

    .hero-bottom {
        flex-direction: column;
        gap: 26px
    }

    .hero-video .hero-actions {
        gap: 14px;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center
    }

    .hero-video .hero-copy {
        line-height: 1.65
    }

    .hero-foot {
        gap: 10px;
        margin-top: 38px;
        font-size: .7rem
    }

    .scroll-cue {
        gap: 10px
    }

    .video-toggle {
        font-size: .7rem;
        padding: 10px
    }

    .marquee {
        padding: 15px 0
    }

    .marquee-track {
        font-size: .875rem
    }

    .section-head h2 {
        font-size: 2.5rem
    }

    .section-head p {
        margin-top: 20px;
        max-width: none
    }

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

    .work-card {
        min-height: 360px
    }

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

    .service-card {
        min-height: 0;
        padding: 25px 4px;
        border-right: 0
    }

    .service-card .num {
        margin-bottom: 16px
    }

    .cta-band {
        padding: 72px 0
    }

    .footer-links {
        gap: 16px
    }

    .page-title {
        font-size: clamp(2.5rem, 11vw, 4rem)
    }

    .motion-toggle {
        right: 12px;
        bottom: 12px
    }

    .contact-card {
        padding: 24px
    }
}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto
    }

    *,
    *:before,
    *:after {
        animation: none !important;
        transition: none !important
    }

    .motion-cursor {
        display: none !important
    }
}

html.motion-paused {
    scroll-behavior: auto
}

html.motion-paused *,
html.motion-paused *:before,
html.motion-paused *:after {
    animation-play-state: paused !important;
    transition: none !important
}

html.motion-paused .motion-cursor {
    display: none
}