@font-face {
    font-family: 'Helvetica Neue Custom';
    src: url('/assets/fonts/helveticaneue-thin.woff2') format('woff2');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Helvetica Neue Custom';
    src: url('/assets/fonts/helveticaneue-light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Helvetica Neue Custom';
    src: url('/assets/fonts/helveticaneue-roman.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Helvetica Neue Custom';
    src: url('/assets/fonts/helveticaneue-medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Helvetica Neue Custom';
    src: url('/assets/fonts/helveticaneue-bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --bg: #EFEFEF;
    --bg-warm: #E5E5E5;
    --bg-deep: #DCDCDC;
    --surface: #FFFFFF;
    --ink: #0A0A0A;
    --ink-soft: #2C2C2C;
    --green: #51ff85;
    --ink-mid: #555555;
    --muted: #8E8E8E;
    --muted-soft: #B5B5B5;
    --line: rgba(10, 10, 10, 0.08);
    --line-strong: rgba(10, 10, 10, 0.18);
    --sans: 'Helvetica Neue Custom', 'Helvetica Neue', 'SF Pro Display', 'SF Pro Text', Helvetica, Arial, sans-serif;
    --mono: ui-monospace, 'SF Mono', SFMono-Regular, Menlo, Consolas, monospace;
    --max: 1900px;
    --pad: clamp(1.25rem, 4vw, 3rem);
    --ease: cubic-bezier(0.65, 0, 0.35, 1);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    
    scroll-behavior: auto;
    scroll-snap-type: none;
    scrollbar-width: none;
    cursor: crosshair;
    
    overscroll-behavior: none;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    font-synthesis: none;
}

*, *::before, *::after {
    font-synthesis: none;
    font-synthesis-weight: none;
    font-synthesis-style: none;
}


@media (max-width: 720px) {
    html, body {
        touch-action: none;
        overscroll-behavior: none;
    }
}

body {
    margin: 0;
    background: #000;
    color: var(--ink);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.5;
    font-weight: 400;
    letter-spacing: -0.005em;
    
    text-rendering: optimizeLegibility;
    
    overflow-x: clip;
    transition: background-color 0.8s var(--ease), color 0.8s var(--ease);
    overflow-y: hidden;
}

main {
    background: var(--bg);
}


.panel {
    position: sticky;
    top: 0;
    min-height: 100svh;
    height: 100svh;
    margin: 0;
    z-index: 1;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    justify-content: center;
    
    overflow: visible;
    
}

.panel-inner {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 0;
    transform-origin: 50% 0%;
    transform:
        perspective(1500px)
        translate3d(0, calc(var(--exit-p, 0) * -36px), calc(var(--exit-p, 0) * -240px))
        scale(calc(1 - var(--exit-p, 0) * 0.07));
    transition: transform 0.05s linear, filter 0.05s linear;
    filter: brightness(calc(1 - var(--exit-p, 0) * 0.28));
    will-change: transform, filter;
    backface-visibility: hidden;
}

.panel::before {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    left: 50%;
    width: 100vw;
    margin-left: -50vw;
    background: var(--bg);
    z-index: -1;
}

.panel-dark::before {
    background: transparent;
}

.panel-light::before {
    background: var(--bg);
}


.landing, .panel { scroll-snap-align: start; }


.panel.work,
.panel.about,
.panel.approach,
.panel.cta {
    border-top: 0;
    padding-top: 5rem;
    padding-bottom: 5rem;
}
.panel.cta { overflow: visible; }


@media (max-width: 720px) {
    .panel.work,
    .panel.about,
    .panel.approach,
    .panel.cta {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
    .panel-inner {
        max-height: 90vh;
        overflow: hidden;
        padding-top: 50px;
    }
}


.panel-dark {
    --bg: #000000;
    --bg-warm: #161616;
    --bg-deep: #1F1F1F;
    --surface: #141414;
    --ink: #F4F4F4;
    --ink-soft: #D6D6D6;
    --ink-mid: #9E9E9E;
    --muted: #6E6E6E;
    --muted-soft: #3E3E3E;
    --line: rgba(244, 244, 244, 0.09);
    --line-strong: rgba(244, 244, 244, 0.22);
    background: transparent;
    color: var(--ink);
}

.panel-light {
    --bg: #EFEFEF;
    --bg-warm: #E5E5E5;
    --bg-deep: #DCDCDC;
    --surface: #FFFFFF;
    --ink: #0A0A0A;
    --ink-soft: #2C2C2C;
    --ink-mid: #555555;
    --muted: #8E8E8E;
    --muted-soft: #B5B5B5;
    --line: rgba(10, 10, 10, 0.08);
    --line-strong: rgba(10, 10, 10, 0.18);
    background: var(--bg);
    color: var(--ink);
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; padding: 0; }
img, video { display: block; max-width: 100%; }

::selection { background: var(--ink); color: var(--bg); }


.bg-curtain {
    position: fixed;
    inset: 0;
    background: #000000;
    z-index: 0;
    pointer-events: none;
    transform: translateY(100%);
    will-change: transform;
}

.grain {
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: 0.05;
    z-index: 1;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.92'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    mix-blend-mode: multiply;
}


.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem var(--pad);
    mix-blend-mode: difference;
    color: #FAFAFA;
    font-weight: 500;
}

.nav-mark {
    font-size: 0.9375rem;
    letter-spacing: -0.01em;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.nav-mark .star {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: currentColor;
    transform: rotate(45deg);
    transition: transform 0.6s var(--ease);
}

.nav-mark:hover .star { transform: rotate(225deg); }

.nav-links {
    display: flex;
    gap: 2.25rem;
    font-size: 0.875rem;
    letter-spacing: -0.005em;
}

.nav-links a {
    position: relative;
    padding: 0.25rem 0;
    transition: opacity 0.25s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s var(--ease);
}

.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }

@media (max-width: 720px) {
    .nav { padding: 1rem var(--pad); }
    .nav-links { gap: 1.25rem; font-size: 0.8125rem; }
}


.landing {
    position: sticky;
    top: 0;
    height: 100svh;
    width: 100%;
    pointer-events: none;
    z-index: 0;
}

.lg-stage {
    position: fixed;
    inset: 0;
    z-index: 60;
    pointer-events: none;
    display: block;
    
    mix-blend-mode: difference;
    color: #FAFAFA;
}

.lg-info,
.lg-name,
.lg-links {
    position: absolute;
    pointer-events: auto;
    transition: opacity 0.3s linear;
    will-change: transform, opacity;
}


.lg-char {
    opacity: 0;
    animation: lg-char-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
@keyframes lg-char-in {
    to { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
    .lg-char { opacity: 1; animation: none; }
}

.lg-info {
    left: var(--pad);
    top: 50%;
    transform: translateY(-50%) translateY(var(--lg-info-y, 0px));
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.35rem 2.25rem;
    font-family: var(--sans);
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    color: inherit;
    min-width: 17rem;
    font-weight: 500;
}
.lg-info .lg-key { opacity: 1; }
.lg-info .lg-val { opacity: 1; }

.lg-info[data-hidden="1"] { pointer-events: none; }

.lg-name {
    
    --logo-visual-x: 0.18;
    --logo-visual-y: 0.5;

    
    --lg-name-scale-end: 0.36;

    left: 50%;
    top: 50%;
    transform-origin: center center;
    transform:
        translate(-50%, -50%)
        translate3d(var(--lg-name-x, 0px), var(--lg-name-y, 0px), 0)
        scale(var(--lg-name-s, 1));
    margin: 0;
    line-height: 0;
    color: inherit;
    display: inline-block;
}
.lg-name img {
    display: block;
    width: clamp(360px, 52vmin, 640px);
    height: auto;
    user-select: none;
    -webkit-user-drag: none;
    pointer-events: none;
    filter: invert();
    
    transform: translateZ(0);
    backface-visibility: hidden;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: high-quality;
}

.lg-availability {
    grid-column: 1 / -1;
    display: inline-flex;
    
    align-items: center;
    gap: 0.625rem;
    margin-top: 0.5rem;
    font-family: var(--sans);
    font-size: 0.6875rem;
    line-height: 1;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: inherit;
    white-space: nowrap;
    font-weight: 500;
}

.lg-availability .dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: transparent;
    position: relative;
    flex: 0 0 auto;
    visibility: hidden;
}


.lg-real-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: var(--green);
    transform: translate3d(var(--x, 0), var(--y, 0), 0);
    pointer-events: none;
    z-index: 70;
    opacity: 0;
    will-change: transform, opacity;
}
.lg-real-dot::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: var(--green);
    opacity: 0.35;
    animation: pulse 2.4s ease-in-out infinite;
}
.lg-link::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s var(--ease);
}
.lg-link:hover::after { transform: scaleX(1); transform-origin: left; }

.lg-links {
    right: var(--pad);
    top: 50%;
    transform: translateY(-50%)
        translate3d(var(--lg-links-x, 0px), var(--lg-links-y, 0px), 0);

    margin: 0;
    padding: 0;
    list-style: none;

    display: flex;
    flex-direction: column;

    align-items: flex-start; 
    gap: 0.35rem;

    font-family: var(--sans);
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    color: inherit;
    font-weight: 500;
}

.lg-link-row {
    display: grid;
    grid-template-columns: auto auto;
    align-items: center;
    column-gap: 2.25rem;

    transform:
        translate3d(var(--link-x, 0px), var(--link-y, 0px), 0);

    will-change: transform;
}

.lg-link-num {
    opacity: 1;
    pointer-events: none;
    
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    z-index: 0;
}
.lg-link { z-index: 1; }

.lg-link {
    display: inline-block;
    position: relative;

    color: inherit;

    transform-origin: left center;
    transform: scale(var(--link-s, 1));
}

.lg-link::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;

    height: 1px;
    background: currentColor;

    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s var(--ease);
}

.lg-link:hover::after,
.lg-link.is-active::after {
    transform: scaleX(1);
    transform-origin: left;
}



.lg-portfolio-title {
    align-self: flex-start;
    text-align: right;
    white-space: nowrap;
    overflow: hidden;
    color: inherit;
    pointer-events: none;
}


.lg-link-blank {
    visibility: hidden;
    pointer-events: none;
}


.lg-stage[data-done="1"] { opacity: 0; pointer-events: none; }
.lg-stage[data-done="1"] .lg-info,
.lg-stage[data-done="1"] .lg-name,
.lg-stage[data-done="1"] .lg-links { pointer-events: none; }


.nav { transition: opacity 0.5s var(--ease); }
.nav[data-hidden="1"] { opacity: 0; pointer-events: none; }

@media (max-width: 720px) {
    .lg-info {
        top: auto; bottom: 8svh;
        transform: translateY(var(--lg-info-y, 0px));
        font-size: 0.6875rem;
        min-width: 0;
        gap: 0.35rem 1.25rem;
    }
    .lg-links {
        top: auto; bottom: calc(8svh + 0.15rem);
        right: var(--pad);
        transform: translate3d(var(--lg-links-x, 0px), var(--lg-links-y, 0px), 0);
        font-size: 0.6875rem;
    }
    
    .lg-link-num { display: none !important; }
    .lg-link-row { column-gap: 0; }
    
    .lg-pf-full { display: none; }
    
    
    .lg-name {
        --lg-name-scale-end: 0.45;
    }

    .lg-name {
        width: clamp(260px, 76vw, 360px);
    }

    .lg-availability {
        align-items: baseline;
    }
}


.container {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 var(--pad);
    position: relative;
    z-index: 2;
}

section { position: relative; }

.label {
    font-family: var(--mono);
    font-size: 0.6875rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 500;
}


.hero {
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    padding: 7rem 0;
}

.hero-eyebrow {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.availability {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    font-family: var(--mono);
    font-size: 0.6875rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-soft);
}

.dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: var(--green);
    position: relative;
}

.dot::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: var(--green);
    opacity: 0.3;
    animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.7); opacity: 0; }
}


.hero-intro-line {
    font-size: clamp(1rem, 1.2vw, 1.0625rem);
    line-height: 1.55;
    color: var(--ink-soft);
    max-width: 38rem;
    font-weight: 400;
    margin: 0 0 2.75rem;
}
.hero-intro-line strong { color: var(--ink); font-weight: 600; }


.showcase {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
    flex: 1;
}


.showcase-left {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.project-list {
    list-style: none;
    margin: 0 0 2.5rem;
    padding: 0;
}

.project-item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-rows: auto 0fr;
    align-items: baseline;
    column-gap: 1rem;
    row-gap: 0;
    padding: 0.1rem 0;
    cursor: pointer;
    position: relative;
    transition: padding-left 0.55s var(--ease-out), grid-template-rows 0.52s var(--ease-out);
}

.project-item .item-details {
    grid-column: 1 / -1;
    overflow: hidden;
}

.project-item .item-details-inner {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.625rem 0 0.875rem 2.75rem;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.4s var(--ease-out) 0.08s, transform 0.4s var(--ease-out) 0.08s;
}

.project-item .num {
    font-family: var(--mono);
    font-size: 0.6875rem;
    color: var(--muted);
    letter-spacing: 0.08em;
    min-width: 1.75rem;
}

.project-item .name {
    font-size: clamp(1.5rem, 2.8vw, 1.5rem);
    font-weight: 500;
    letter-spacing: -0.025em;
    line-height: 1.04;
    color: var(--ink);
    opacity: 0.45;
    transition: opacity 0.5s var(--ease), transform 0.55s var(--ease-out);
    display: inline-block;
    transform-origin: left center;
}

.project-item .name em {
    font-style: normal;
    font-weight: 400;
    color: var(--ink-mid);
    font-size: 0.9375rem;
    margin-left: 0.5rem;
}

.project-item .year {
    font-family: var(--mono);
    font-size: 0.6875rem;
    color: var(--muted);
    letter-spacing: 0.08em;
}


.project-item:hover .name { opacity: 0.85; }
.project-item:hover { padding-left: 0rem; }


.project-item.is-active .name { opacity: 1; }
.project-item.is-active { padding-left: 0rem; grid-template-rows: auto 1fr; }
.project-item.is-active .item-details-inner { opacity: 1; transform: translateY(0); }
.project-item.is-active::before {
    content: '';
    position: absolute;
    left: 0; top: 50%;
    width: 0px; height: 0px;
    border-radius: 50%;
    background: transparent;
    transform: translateY(-50%);
}



.project-item {
    opacity: 0;
    transform: translate3d(0, 20px, 0);
    transition:
        opacity 1.05s cubic-bezier(0.22, 1, 0.36, 1),
        transform 1.05s cubic-bezier(0.22, 1, 0.36, 1),
        padding-left 0.55s var(--ease-out),
        grid-template-rows 0.52s var(--ease-out);
}

.project-item.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}


.preview-frame {
    opacity: 0;
    transform: translate3d(0, 24px, 0) scale(0.985);
    transition:
        opacity 0.26s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.26s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity, transform;
}
.preview-frame.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    transition:
        opacity 1.05s cubic-bezier(0.22, 1, 0.36, 1),
        transform 1.05s cubic-bezier(0.22, 1, 0.36, 1);
}


.preview-controls {
    opacity: 0;
    transition: opacity 0.55s var(--ease);
}
.preview-controls.has-multi.is-section-shown {
    opacity: 1;
}




.project-details {
    position: relative;
    min-height: 5rem;
}

.detail-pane {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.55s var(--ease-out), transform 0.55s var(--ease-out);
    pointer-events: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.detail-pane.is-active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    position: relative;
}

.detail-title {
    font-size: clamp(1.25rem, 1.75vw, 1.5rem);
    font-weight: 500;
    letter-spacing: -0.02em;
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.detail-title .arrow {
    display: inline-block;
    width: 0.7em;
    height: 0.7em;
    transition: transform 0.5s var(--ease);
}

.detail-title:hover .arrow { transform: translate(3px, -3px); }

.detail-desc {
    font-size: 0.9375rem;
    color: var(--ink-soft);
    line-height: 1.6;
    margin: 0;
    max-width: 34rem;
    font-weight: 500;
}


.detail-tags {
    font-family: var(--mono);
    font-size: 0.6875rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink-mid);
    line-height: 1.5;
}
.detail-tags span {
    display: inline;
    color: var(--ink-mid);
}
.detail-tags span:not(:last-child)::after {
    content: ' · ';
    margin: 0 0.15em;
    color: var(--ink-mid);
}

.detail-meta {
    display: flex;
    justify-content: space-between;
    font-family: var(--mono);
    font-size: 0.6875rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
    border-top: 1px solid var(--line);
    padding-top: 0.75rem;
    margin-top: 0.5rem;
}


.showcase-right {
    position: sticky;
    top: 6rem;
    min-width: 0;
}

.preview-frame {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 0px;
    background: transparent;
    isolation: isolate;
    align-items: center;
}


.preview-slide {
    position: absolute;
    inset: 0;
    transform: translateY(100%);
    transition: transform 0.65s var(--ease);
    will-change: transform;
}

.preview-slide.is-active {
    transform: translateY(0);
}

.preview-slide.is-out {
    transform: translateY(-100%);
}


.slider {
    position: absolute;
    inset: 0;
    display: flex;
    transition: transform 0.65s var(--ease);
    will-change: transform;
}

.slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.slide img,
.slide video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}


.slide.placeholder {
    background: linear-gradient(135deg, var(--bg-warm) 0%, var(--bg-deep) 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2rem;
}

.slide.placeholder .ph-mark {
    font-family: var(--mono);
    font-size: 0.6875rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-soft);
}

.slide.placeholder .ph-num {
    font-size: clamp(4rem, 14vw, 9rem);
    font-weight: 400;
    letter-spacing: -0.04em;
    line-height: 0.9;
    color: var(--ink-soft);
    opacity: 0.65;
    font-feature-settings: 'tnum';
}

.slide.placeholder .ph-foot {
    font-family: var(--mono);
    font-size: 0.6875rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    display: flex;
    justify-content: space-between;
}


.preview-controls {
    position: absolute;
    inset: 0;
    z-index: 10;
    pointer-events: none;
    mix-blend-mode: difference;
    color: #fff;
}


.preview-controls .ctrl-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 2.75rem;
    height: 2.75rem;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    color: inherit;

    pointer-events: auto;

    transition:
        background 0.25s ease,
        opacity 0.25s ease,
        transform 0.35s var(--ease);
}

.preview-controls .ctrl-btn[disabled] {
    opacity: 0;
    pointer-events: none;
}


.preview-controls .ctrl-btn[data-prev] {
    left: 0rem;
}

.preview-controls .ctrl-btn[data-next] {
    right: 0rem;
}


.preview-controls .ctrl-btn span {
    display: none;
}


.preview-controls .ctrl-btn svg {
    width: 16px;
    height: 16px;
}



.preview-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);

    display: inline-flex;
    gap: 0.4rem;
    align-items: center;

    pointer-events: auto;

    z-index: 20;
}

.preview-dots .pd {
    width: 5px;
    height: 5px;

    border-radius: 999px;

    background: #fff;
    opacity: 0.7;

    transition:
        width 0.4s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.3s ease;
}

.preview-dots .pd.is-active {
    width: 14px;
    opacity: 1;
}


.preview-cta {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 11;

    
    opacity: 0;
    pointer-events: none;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0rem 0.5rem;

    background: rgba(255, 255, 255, 0.65);
    color: #000;
    mix-blend-mode: difference;

    font-family: var(--mono);
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 600;
    white-space: nowrap;
    text-decoration: none;
    cursor: pointer;

    transition:
        opacity 0.55s var(--ease),
        padding 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        background 0.25s ease;
}

.preview-cta.has-href.is-section-shown {
    opacity: 1;
    pointer-events: auto;
}

.preview-cta:hover,
.preview-cta:focus-visible {
    padding: 0.2rem 0.7rem;
    background: rgba(255, 255, 255, 0.65);
    outline: none;
}
.preview-cta:active {
    background: rgba(255, 255, 255, 0.65);
}

@media (max-width: 720px) {
    
    .preview-cta {
        font-size: 0.6875rem;
        letter-spacing: 0.12em;
    }
}

@media (max-width: 880px) {
    .showcase { grid-template-columns: 1fr; gap: 2rem; }
    .showcase-right { position: relative; top: 0; order: -1; }
    .project-details { min-height: 12rem; }
}


.marquee {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 1.5rem 0;
    overflow: hidden;
    white-space: nowrap;
    background: var(--bg-warm);
    position: relative;
}

.marquee-track {
    display: inline-flex;
    gap: 3rem;
    animation: marquee 42s linear infinite;
    font-size: clamp(1.25rem, 2.5vw, 2rem);
    font-weight: 500;
    letter-spacing: -0.025em;
    color: var(--ink);
    line-height: 1;
}

.marquee-track span {
    display: inline-flex;
    align-items: center;
    gap: 3rem;
}

.marquee-track .sep {
    display: inline-block;
    width: 0.5em;
    height: 0.5em;
    background: var(--ink);
    border-radius: 50%;
    margin-top: 0.05em;
}

.marquee-track .ghost { color: var(--muted-soft); }

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@media (max-width: 720px) {
    .marquee-track { animation-duration: 32s; gap: 1.75rem; }
}


.section-head {
    display: grid;
    
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    align-items: end;
}

.section-head .label { grid-column: 1 / span 3; }

.section-head h2 {
    grid-column: 4 / span 8;
    font-family: var(--sans);
    font-weight: 500;
    font-size: clamp(1.5rem, 2.6vw, 2.25rem);
    line-height: 1.08;
    letter-spacing: -0.025em;
    margin: 0;
    color: var(--ink);
}

.section-head h2 em {
    font-style: italic;
    font-weight: 400;
    color: var(--ink-mid);
}

@media (max-width: 720px) {
    .section-head { grid-template-columns: 1fr; gap: 0.75rem; margin-bottom: 1.5rem; }
    .section-head .label, .section-head h2 { grid-column: 1; }
}

.work {
    border-top: 1px solid var(--line);
}


.about {
    border-top: 1px solid var(--line);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.5rem;
    align-items: start;
}

.about-statement {
    grid-column: 1 / span 7;
    font-weight: 500;
    font-size: clamp(1.375rem, 2.2vw, 2rem);
    line-height: 1.22;
    letter-spacing: -0.025em;
    color: var(--ink);
    margin: 0;
}

.about-statement em {
    font-style: italic;
    font-weight: 400;
    color: var(--ink-mid);
}

.about-side {
    grid-column: 9 / span 4;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.about-block .label { display: block; margin-bottom: 0.875rem; }

.about-block p {
    margin: 0;
    font-size: 0.9375rem;
    color: var(--ink-soft);
    line-height: 1.6;
    font-weight: 500;
}

.capability-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    font-size: 0.9375rem;
    color: var(--ink);
    font-weight: 500;
}

.capability-list li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    border-bottom: 1px solid var(--line);
    padding-bottom: 0.625rem;
}

.capability-list li span:last-child {
    color: var(--muted);
    font-family: var(--mono);
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}


.testimonials {
    grid-column: 1 / span 7;
    
    align-self: center;
    
    width: 100%;
    max-width: 34rem;
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    min-width: 0;
}

.testi-label {
    font-family: var(--mono);
    font-size: 0.6875rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    display: block;
}

.testi-stack {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    position: relative;
}
.testi-slide {
    grid-area: 1 / 1;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.42s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity;
}
.testi-slide.is-active {
    opacity: 1;
    pointer-events: auto;
    
    transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.06s;
}

.testi-meta,
.testi-quote {
    opacity: 0;
    transform: translate3d(0, 10px, 0);
    transition:
        opacity 0.26s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.26s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity, transform;
}
.testi-slide.is-active .testi-meta,
.testi-slide.is-active .testi-quote {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    transition:
        opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}
.testi-slide.is-active .testi-meta  { transition-delay: 0.10s; }
.testi-slide.is-active .testi-quote { transition-delay: 0.22s; }


.testi-meta {
    display: flex;
    align-items: center;
    gap: 0.875rem;
}
.testi-avatar {
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-warm);
    border: 1px solid var(--line-strong);
    overflow: hidden;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.testi-avatar::before {
    content: attr(data-initials);
    font-family: var(--mono);
    font-size: 0.625rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink-soft);
}
.testi-avatar img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.testi-id {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}
.testi-name {
    font-size: 0.9375rem;
    font-weight: 500;
    letter-spacing: -0.005em;
    color: var(--ink);
    line-height: 1.2;
}
.testi-role {
    font-family: var(--mono);
    font-size: 0.6875rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    line-height: 1.2;
}


.testi-quote {
    margin: 0;
    font-family: var(--sans);
    font-size: clamp(1.0625rem, 1.4vw, 1.25rem);
    line-height: 1.55;
    letter-spacing: -0.005em;
    color: var(--ink-soft);
    font-weight: 500;
}
.testi-quote p { margin: 0; }
.testi-quote::before {
    content: '“';
    margin-right: 0.05em;
    color: var(--ink-mid);
}
.testi-quote::after {
    content: '”';
    margin-left: 0.05em;
    color: var(--ink-mid);
}


.testi-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-family: var(--mono);
    font-size: 0.6875rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    margin-top: 0.25rem;
}
.testi-btn {
    
    height: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--ink-soft);
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition:
        color 0.25s ease,
        border-color 0.25s ease,
        background 0.25s ease;
}
.testi-btn:hover {
    color: var(--ink);
    border-color: var(--ink);
}
.testi-btn:focus-visible {
    outline: 2px solid var(--ink);
    outline-offset: 2px;
}
.testi-btn svg {
    width: 12px;
    height: 12px;
}
.testi-counter {
    font-feature-settings: 'tnum';
    color: var(--ink-soft);
    min-width: 4.25ch;
    display: none;
}
.testi-progress {
    flex: 1;
    height: 1px;
    max-width: 9rem;
    background: var(--line-strong);
    overflow: hidden;
    position: relative;
}
.testi-progress-bar {
    display: block;
    width: 100%;
    height: 100%;
    background: var(--ink);
    transform: scaleX(0);
    transform-origin: left center;
}

@media (max-width: 880px) {
    .about-statement, .about-side { grid-column: 1 / -1; }
    .about-side { margin-top: 2.5rem; }
    .testimonials {
        grid-column: 1 / -1;
        max-width: none;
        margin-bottom: 2.5rem;
    }

    .testi-controls { gap: 0.75rem; margin-top: 0; justify-content: center; }
}


@media (max-width: 720px) {
    .detail-desc {
        font-size: 0.8125rem;
    }

    .detail-tags {
        font-size: 0.625rem;
    }

    .project-item .name em {
        font-size: 0.8125rem;
    }

    .project-item .name {
        font-size: 1.25rem;
    }

    .about-grid {
        gap: 1rem;
    }
    .about-side {
        margin-top: 1.25rem;
    }
    .testimonials {
        
        gap: 1rem;
        margin-bottom: 0;
    }
    .testi-slide { gap: 0.75rem; }
    .testi-quote {
        font-size: 0.9375rem;
        line-height: 1.45;
    }
    .testi-avatar { width: 36px; height: 36px; }
    .testi-name { font-size: 0.8125rem; }
    .testi-role { font-size: 0.625rem; }
    .testi-btn { height: 1.5rem; }
    .about-statement {
        font-size: clamp(1.0625rem, 4.6vw, 1.375rem);
        line-height: 1.25;
    }
    .about-block p {
        font-size: 0.8125rem;
        line-height: 1.5;
    }
    .about-block .label { margin-bottom: 0.5rem; }
    .capability-list {
        gap: 0.4rem;
        font-size: 0.8125rem;
    }
    .capability-list li { padding-bottom: 0.4rem; }
    .capability-list li span:last-child { font-size: 0.625rem; }
}

@media (prefers-reduced-motion: reduce) {
    .testi-slide,
    .testi-meta,
    .testi-quote {
        transition: opacity 0.15s linear !important;
        transform: none !important;
    }
    .testi-progress-bar { transform: scaleX(1) !important; }
}


.about-slides { display: contents; }
.about-dots { display: none; }

@media (max-width: 880px) {
    
    .about-grid {
        display: block;
        position: relative;
        overflow: hidden;
        gap: 0;
        
        padding-bottom: 2.25rem;
    }

    
    .about-slides {
        display: flex;
        flex-direction: row-reverse;
        
        --about-gap: 2rem;
        --about-i: 0;
        
        width: calc(200% + var(--about-gap));
        gap: var(--about-gap);
        
        transform: translate3d(
            calc(var(--about-i) * (-50% - var(--about-gap) / 2)),
            0,
            0
        );
        transition: transform 0.65s var(--ease);
        will-change: transform;
    }
    
    .about-slides > .about-side,
    .about-slides > .testimonials {
        flex: 0 0 calc(50% - var(--about-gap) / 2);
        min-width: 0;
        max-width: none;
        margin: 0;
        grid-column: auto;
        align-self: stretch;
        
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .about-slides > .about-side {
        margin-top: 0;
        
        align-items: stretch;
    }
    
    .about-slides > .testimonials {
        display: flex !important;
        
        margin: 0;
        gap: 1rem;
        align-items: stretch;
    }

    
    .about-dots {
        display: inline-flex;
        position: absolute;
        left: 50%;
        bottom: 0.25rem;
        transform: translateX(-50%);
        gap: 0.4rem;
        align-items: center;
        z-index: 5;
        pointer-events: auto;
    }
    .about-dots .pd {
        position: relative;
        appearance: none;
        background: var(--ink);
        opacity: 0.35;
        border: 0;
        border-radius: 999px;
        padding: 0;
        width: 5px;
        height: 5px;
        cursor: pointer;
        transition:
            width 0.4s cubic-bezier(0.22, 1, 0.36, 1),
            opacity 0.3s ease;
    }
    
    .about-dots .pd::before {
        content: '';
        position: absolute;
        inset: -12px;
    }
    .about-dots .pd.is-active {
        width: 14px;
        opacity: 1;
    }
    .about-dots .pd:focus-visible {
        outline: 2px solid var(--ink);
        outline-offset: 4px;
    }
}


@media (max-width: 880px) and (prefers-reduced-motion: reduce) {
    .about-slides { transition: none; }
    .about-dots .pd { transition: none; }
}


.approach {
    padding: 7rem 0;
    border-top: 1px solid var(--line);
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    padding-top: 7rem;
}

.approach-step {
    padding: 2.5rem 2rem 2.5rem 0;
    border-right: 1px solid var(--line);
}

.approach-step:nth-child(2) { padding-left: 2rem; }
.approach-step:last-child { border-right: none; padding-left: 2rem; padding-right: 0; }

.approach-step .num {
    font-family: var(--mono);
    font-size: 0.6875rem;
    color: var(--muted);
    letter-spacing: 0.08em;
}

.approach-step h3 {
    font-weight: 500;
    font-size: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.025em;
    margin: 1.25rem 0 0.875rem;
    color: var(--ink);
}

.approach-step h3 em {
    font-style: italic;
    font-weight: 400;
    color: var(--ink-mid);
}

.approach-step p {
    margin: 0;
    font-size: 0.9375rem;
    color: var(--ink-soft);
    line-height: 1.6;
}

@media (max-width: 880px) {
    .approach-grid { grid-template-columns: 1fr; }
    .approach-step, .approach-step:nth-child(2), .approach-step:last-child {
        border-right: none; border-bottom: 1px solid var(--line);
        padding: 2.5rem 0;
    }
    .approach-step:last-child { border-bottom: none; }
}


.cta {
    border-top: 1px solid var(--line);
    overflow: hidden;
}

.cta-eyebrow {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 1.5rem;
}

.cta-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.5rem;
    align-items: end;
}

.cta-headline {
    grid-column: 1 / span 8;
    font-weight: 500;
    font-size: clamp(1.75rem, 3.2vw, 2.75rem);
    line-height: 1.12;
    letter-spacing: -0.025em;
    margin: 0;
    color: var(--ink);
}

.cta-headline em {
    font-style: italic;
    font-weight: 400;
    color: var(--ink-mid);
}

.cta-action {
    grid-column: 9 / span 4;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.625rem;
    padding: 0.5rem 0;
    font-size: 1rem;
    font-weight: 500;
    color: var(--ink);
    border-bottom: 1px solid var(--ink);
    justify-self: end;
    transition: gap 0.4s var(--ease), opacity 0.3s ease;
    align-self: end;
}

.cta-action:hover { gap: 1rem; opacity: 0.7; }
.cta-action svg { transition: transform 0.4s var(--ease); }
.cta-action:hover svg { transform: translateX(4px); }

@media (max-width: 880px) {
    .cta-headline, .cta-action { grid-column: 1 / -1; justify-self: start; }
    .cta-action { margin-top: 1.5rem; }
}

.footer {
    padding: 4rem 0 2rem;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.5rem;
    border-top: 1px solid var(--line);
    font-size: 0.8125rem;
    margin-top: 3rem;
}

.footer-col { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col:nth-child(1) { grid-column: 1 / span 4; }
.footer-col:nth-child(2) { grid-column: 5 / span 3; }
.footer-col:nth-child(3) { grid-column: 8 / span 3; }
.footer-col:nth-child(4) { grid-column: 11 / span 2; text-align: right; }

.footer .label { margin-bottom: 0.5rem; }
.footer a { transition: opacity 0.25s ease; color: var(--ink); }
.footer a:hover { opacity: 0.55; }
.footer-mark { font-size: 1.125rem; font-weight: 600; letter-spacing: -0.02em; }

@media (max-width: 880px) {
    .footer { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
    .footer-col:nth-child(1) { grid-column: 1 / -1; }
    .footer-col:nth-child(2), .footer-col:nth-child(3) { grid-column: span 1; }
    .footer-col:nth-child(4) { grid-column: 1 / -1; text-align: left; }
}



.reveal {
    opacity: 0;
    transform: translate3d(0, calc(24px + var(--enter-trail-y, 0px)), 0);
    transition: opacity 0.95s var(--ease-out), transform 0.95s var(--ease-out);
}

.reveal.is-in {
    opacity: 1;
    transform: translate3d(0, var(--enter-trail-y, 0px), 0);
    transition: opacity 0.6s var(--ease-out), transform 0.15s linear;
}


#about .reveal,
#about .reveal.is-in {
    transition:
        opacity 1.05s cubic-bezier(0.22, 1, 0.36, 1),
        transform 1.05s cubic-bezier(0.22, 1, 0.36, 1);
}


#work .section-head.reveal {
    transform: translate3d(0, 16px, 0);
    transition:
        opacity 1.05s cubic-bezier(0.22, 1, 0.36, 1),
        transform 1.05s cubic-bezier(0.22, 1, 0.36, 1);
}
#work .section-head.reveal.is-in {
    transform: translate3d(0, 0, 0);
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
    .reveal { opacity: 1; transform: none; }
    .marquee-track { animation: none; }
}



.bg-video {
    position: fixed;
    inset: 0;

    width: 100vw;
    height: 100vh;

    object-fit: cover;

    opacity: 0;

    z-index: 0;

    pointer-events: none;

    transition: opacity 2s var(--ease);
}

@media (min-width: 881px) and (hover: hover) and (pointer: fine) {
    html {
        scrollbar-width: none;
    }

    html::-webkit-scrollbar {
        width: 0;
        height: 0;
    }

    .fake-scrollbar {
        position: fixed;
        top: 0;
        right: 0;
        width: 12px;
        height: 100svh;
        z-index: 140;
        pointer-events: none;
        background: transparent;
    }

    .fake-scrollbar-thumb {
        position: absolute;
        top: 0;
        right: 4px;
        width: 6px;
        height: var(--fake-scrollbar-h, 72px);
        transform: translate3d(0, var(--fake-scrollbar-y, 0px), 0);
        background: var(--bg);
        mix-blend-mode: difference;
        border-radius: 999px;
        opacity: 0;
        will-change: transform, height;
        transition: opacity 1s var(--ease);
    }
}

@media (max-width: 880px), (hover: none), (pointer: coarse) {
    .fake-scrollbar {
        display: none;
    }
}