:root {
    --bg: #0d0d0d;
    --bg2: #161616;
    --panel: #1c1c1c;
    --ink: #f1f1f1;
    --muted: #7a7a7a;
    --copper: #e6e6e6;
    --gold: #c9c9c9;
    --rose: #c9c9c9;
    --line: rgba(255, 255, 255, .16);
    --display: 'Anton', sans-serif;
    --deco: 'Limelight', cursive;
    --serif: 'Cormorant Garamond', serif;
    --body: 'Archivo', sans-serif;
    --mono: 'Courier Prime', monospace;
}

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

html {
    background: var(--bg);
    scroll-behavior: auto
}

html,
body {
    overflow-x: hidden
}

body {
    background: var(--bg);
    color: var(--ink);
    font-family: var(--body);
    font-size: 16px;
    line-height: 1.6;
    cursor: none
}

body.loading {
    overflow: hidden
}

::selection {
    background: #fff;
    color: #000
}

::-webkit-scrollbar {
    width: 10px
}

::-webkit-scrollbar-track {
    background: #0a0a0a
}

::-webkit-scrollbar-thumb {
    background: #ddd;
    border: 2px solid #0a0a0a
}

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

button {
    cursor: none;
    font-family: inherit
}

img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1) contrast(1.08) brightness(.86);
    transition: filter .7s ease
}

h1,
h2,
h3 {
    font-family: var(--display);
    font-weight: 400;
    text-transform: uppercase;
    line-height: .94;
    letter-spacing: .01em
}

.deco {
    font-family: var(--deco);
    font-weight: 400
}

.serif {
    font-family: var(--serif);
    font-style: italic
}

.outline {
    color: transparent;
    -webkit-text-stroke: 1.5px var(--ink)
}

.copper {
    color: var(--copper)
}

/* LOADER */
#loader {
    position: fixed;
    inset: 0;
    background: #2b2b2b;
    display: block;
    width: 100%;
    height: 100%;
    z-index: 9999
}

#c-animation {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden;
    box-shadow: inset 0 0 5em 1em #1a1a1a;
    background: #2b2b2b;
    color: #f0f0f0;
    width: 100%;
    position: relative
}

#c-animation .lines {
    box-shadow: inset 0 0 5em 1em #000;
    position: absolute;
    left: 0;
    width: 100vw;
    height: 100vh
}

#c-animation .lines:before {
    content: "";
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    height: 2px;
    background: #111;
    width: 100%;
    position: absolute
}

#c-animation .lines:after {
    content: "";
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    background: #111;
    height: 100vh;
    position: absolute
}

#c-animation .screen {
    clip-path: polygon(50% 50%, 50% 0, 100% 0, 100% 100%, 0 100%, 0 0, 50% 0);
    background: #5a5a5a;
    position: absolute;
    height: calc(100vh + 100vw);
    width: calc(100vh + 100vw);
    animation: c-spin-fast .56s steps(4) 1 both
}

@keyframes c-spin-fast {
    0% {
        clip-path: polygon(50% 50%, 50% 0, 100% 0, 100% 100%, 0 100%, 0 0, 50% 0)
    }

    25% {
        clip-path: polygon(50% 50%, 100% 0, 100% 0, 100% 100%, 0 100%, 0 0, 50% 0)
    }

    50% {
        clip-path: polygon(50% 50%, 100% 100%, 100% 100%, 100% 100%, 0 100%, 0 0, 50% 0)
    }

    75% {
        clip-path: polygon(50% 50%, 0 100%, 0 100%, 0 100%, 0 100%, 0 0, 50% 0)
    }

    100% {
        clip-path: polygon(50% 50%, 50% 0, 50% 0, 50% 0, 50% 0, 50% 0, 50% 0)
    }
}

#c-animation .number {
    font-family: var(--display);
    font-size: clamp(4rem, 10vw, 8rem);
    position: relative;
    font-weight: 400;
    line-height: 1;
    letter-spacing: .02em;
    text-transform: uppercase;
    z-index: 2;
    opacity: .92
}

#c-animation .number:after,
#c-animation .number:before {
    content: "";
    border: #d9d9d9 solid 2px;
    border-radius: 50%;
    position: absolute;
    opacity: .45
}

#c-animation .number:before {
    width: clamp(180px, 27vw, 340px);
    height: clamp(180px, 27vw, 340px);
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%)
}

#c-animation .number:after {
    width: clamp(145px, 22vw, 280px);
    height: clamp(145px, 22vw, 280px);
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%)
}

/* OVERLAYS — film grain / écran analogique sur toute la page */
.spotlight {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: radial-gradient(420px circle at var(--sx, 70%) var(--sy, 30%), rgba(255, 255, 255, .09), transparent 65%);
    mix-blend-mode: screen
}

.vignette {
    position: fixed;
    inset: 0;
    z-index: 59;
    pointer-events: none;
    background: radial-gradient(ellipse at center, transparent 50%, rgba(0, 0, 0, .62) 100%)
}

.grain,
.scratches-film {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 70;
    overflow: hidden
}

.grain {
    isolation: isolate;
    mix-blend-mode: normal
}

.grain:before {
    content: "";
    position: absolute;
    inset: -8%;
    opacity: .085;
    mix-blend-mode: screen;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='table' tableValues='0 .9'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 180px 180px;
    animation: film-noise .14s steps(2) infinite;
    will-change: transform, opacity
}

.grain:after {
    content: "";
    position: absolute;
    inset: -6%;
    opacity: .075;
    mix-blend-mode: overlay;
    background: repeating-radial-gradient(circle at 10% 20%, rgba(255, 255, 255, .15) 0 1px, transparent 1px 3px), repeating-linear-gradient(0deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 4px);
    animation: grain .22s steps(2) infinite;
    will-change: transform, opacity
}

.scratches-film:before,
.scratches-film:after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 120%;
    height: 100%;
    opacity: .04;
    mix-blend-mode: screen;
    background: repeating-linear-gradient(90deg, transparent 0 9px, rgba(255, 255, 255, .12) 10px 11px, transparent 12px 37px);
    animation: scratch .45s steps(1) infinite
}

.scratches-film:after {
    left: 30%;
    animation: inner-scratch 2s infinite
}

@keyframes film-noise {
    0% {
        transform: translate3d(-2%, 1%, 0) scale(1.08);
        opacity: .055
    }

    20% {
        transform: translate3d(1%, -2%, 0) scale(1.06);
        opacity: .09
    }

    40% {
        transform: translate3d(3%, 2%, 0) scale(1.07);
        opacity: .07
    }

    60% {
        transform: translate3d(-3%, -1%, 0) scale(1.09);
        opacity: .1
    }

    80% {
        transform: translate3d(2%, 3%, 0) scale(1.06);
        opacity: .065
    }

    100% {
        transform: translate3d(-1%, -2%, 0) scale(1.08);
        opacity: .085
    }
}

@keyframes grain {

    0%,
    100% {
        transform: translate3d(0, 0, 0);
        opacity: .05
    }

    20% {
        transform: translate3d(1%, -1%, 0);
        opacity: .08
    }

    40% {
        transform: translate3d(-2%, 2%, 0);
        opacity: .065
    }

    60% {
        transform: translate3d(3%, -2%, 0);
        opacity: .09
    }

    80% {
        transform: translate3d(-2%, 1%, 0);
        opacity: .06
    }
}

@keyframes scratch {

    0%,
    100% {
        transform: translateX(0)
    }

    30% {
        transform: translateX(-2%)
    }

    60% {
        transform: translateX(8%)
    }

    90% {
        transform: translateX(-2%)
    }
}

@keyframes inner-scratch {
    0% {
        transform: translateX(0)
    }

    50% {
        opacity: .02
    }

    100% {
        transform: translateX(30%)
    }
}

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

    .grain:before,
    .grain:after,
    .scratches-film:before,
    .scratches-film:after {
        animation: none
    }
}

/* CURSOR */
.cursor-dot,
.cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99;
    pointer-events: none;
    border-radius: 50%;
    transform: translate(-50%, -50%)
}

.cursor-dot {
    width: 6px;
    height: 6px;
    background: var(--copper)
}

.cursor-ring {
    width: 38px;
    height: 38px;
    border: 1px solid var(--copper);
    transition: width .3s, height .3s, border-color .3s;
    display: flex;
    align-items: center;
    justify-content: center
}

.cursor-ring.on {
    width: 70px;
    height: 70px;
    border-color: var(--ink)
}

.cursor-ring:after {
    content: "✳";
    font-size: 10px;
    color: var(--ink);
    opacity: 0;
    transition: opacity .3s
}

.cursor-ring.on:after {
    opacity: 1
}

@media(pointer:coarse) {

    .cursor-dot,
    .cursor-ring {
        display: none
    }

    body,
    a,
    button {
        cursor: auto
    }
}

/* HEADER */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 80;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.4rem 3rem;
    transition: background .4s, padding .4s
}

.header-progress {
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 0;
    height: 1px;
    background: #fff;
    transform-origin: left center
}

header.scrolled {
    background: rgba(0, 0, 0, .82);
    backdrop-filter: blur(8px);
    padding: .9rem 3rem;
    border-bottom: 1px solid var(--line)
}

body.menu-open header {
    background: transparent;
    backdrop-filter: none;
    border-bottom-color: transparent
}

.logo {
    display: flex;
    align-items: center;
    gap: .4rem
}

.logo-star,
.logo-o {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .4)
}

.logo-star svg {
    width: 26px;
    height: 26px;
    fill: var(--ink);
    animation: spin 14s linear infinite
}

.logo-o {
    margin-left: -10px;
    font-family: var(--deco);
    font-size: 1.4rem;
    font-family: 'Montserrat';
    font-weight: 500;
}

#menuBtn {
    background: none;
    border: none;
    width: 44px;
    height: 30px;
    position: relative;
    z-index: 81
}

#menuBtn span {
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--ink);
    transition: transform .5s cubic-bezier(.77, 0, .18, 1), top .5s
}

#menuBtn span:nth-child(1) {
    top: 4px
}

#menuBtn span:nth-child(2) {
    top: 13px
}

#menuBtn span:nth-child(3) {
    top: 22px
}

body.menu-open #menuBtn span:nth-child(1) {
    top: 13px;
    transform: rotate(45deg)
}

body.menu-open #menuBtn span:nth-child(2) {
    opacity: 0
}

body.menu-open #menuBtn span:nth-child(3) {
    top: 13px;
    transform: rotate(-45deg)
}

/* MENU */
#menuOverlay {
    position: fixed;
    inset: 0;
    z-index: 75;
    background: #101010;
    clip-path: inset(0 0 100% 0);
    transition: clip-path .8s cubic-bezier(.77, 0, .18, 1);
    display: flex;
    align-items: center
}

body.menu-open #menuOverlay {
    clip-path: inset(0 0 0% 0)
}

.menu-inner {
    width: 100%;
    padding: 0 8vw;
    display: flex;
    justify-content: space-between;
    gap: 3rem;
    flex-wrap: wrap
}

.menu-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: .4rem
}

.menu-links li {
    overflow: hidden
}

.menu-links a {
    display: inline-flex;
    align-items: baseline;
    gap: 1rem;
    font-family: var(--display);
    font-size: clamp(2.4rem, 6.4vw, 5rem);
    text-transform: uppercase;
    color: var(--ink);
    transform: translateY(120%);
    transition: transform .8s cubic-bezier(.19, 1, .22, 1), color .3s
}

.menu-links a:hover {
    color: var(--copper);
    font-style: italic
}

.menu-links a.active {
    color: var(--copper)
}

body.menu-open .menu-links a {
    transform: translateY(0)
}

.menu-links li:nth-child(1) a {
    transition-delay: .15s
}

.menu-links li:nth-child(2) a {
    transition-delay: .23s
}

.menu-links li:nth-child(3) a {
    transition-delay: .31s
}

.menu-links li:nth-child(4) a {
    transition-delay: .39s
}

.menu-links li:nth-child(5) a {
    transition-delay: .47s
}

.menu-links a i {
    font-family: var(--deco);
    font-size: 1rem;
    color: var(--copper)
}

.menu-meta {
    max-width: 320px;
    color: var(--muted);
    font-size: .9rem
}

.menu-meta .deco {
    color: var(--copper);
    display: block;
    margin-bottom: 1rem;
    letter-spacing: .3em
}

.side-tab {
    position: fixed;
    right: 0;
    top: 42%;
    z-index: 65;
    writing-mode: vertical-rl;
    background: #0a0a0a;
    border: 1px solid var(--line);
    border-right: 0;
    padding: 1.1rem .5rem;
    font-size: .62rem;
    letter-spacing: .35em;
    color: var(--muted)
}

.side-tab b {
    color: var(--copper)
}

/* COMMON */
main {
    position: relative;
    z-index: 2
}

section {
    position: relative;
    padding: 8rem 6vw
}

.label {
    font-family: var(--deco);
    color: var(--copper);
    letter-spacing: .4em;
    font-size: .78rem;
    text-transform: uppercase
}

.eyebrow {
    font-family: var(--mono);
    font-size: .7rem;
    letter-spacing: .18em;
    color: var(--muted);
    text-transform: uppercase
}

.line {
    display: block;
    overflow: hidden
}

.line-inner {
    display: inline-block;
    will-change: transform
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 2rem;
    border-bottom: 1px solid var(--line);
    padding-bottom: 1.2rem
}

.section-head h2 {
    font-size: clamp(3rem, 7vw, 7rem)
}

.section-head-copy {
    max-width: 34ch;
    color: var(--muted);
    font-size: .95rem
}

/* HERO */
#projects-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 6vw;
    overflow: hidden;
    background: #0d0d0d
}

.hero-video {
    position: absolute;
    top: 0;
    right: 0;
    left: 50%;
    width: 50%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
    pointer-events: none;
    filter: contrast(1.06) brightness(.9);
    transform-origin: center center
}

.hero-scrim {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(13, 13, 13, 1) 0%, rgba(13, 13, 13, 1) 35%, rgba(13, 13, 13, .96) 48%, rgba(13, 13, 13, .72) 59%, rgba(13, 13, 13, .24) 74%, rgba(13, 13, 13, 0) 88%, rgba(13, 13, 13, .08) 100%)
}

#projects-hero:before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 54%;
    background: linear-gradient(105deg, #0a0a0a 0%, #111 56%, rgba(17, 17, 17, 0) 100%);
    z-index: 1;
    pointer-events: none
}

#projects-hero:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 300px;
    background: linear-gradient(to bottom, rgba(13, 13, 13, 0) 0%, rgba(13, 13, 13, .18) 32%, rgba(13, 13, 13, .76) 76%, var(--bg) 100%);
    z-index: 1;
    pointer-events: none
}

.hero-inner {
    position: relative;
    z-index: 2;
    width: 54%;
    align-self: stretch;
    padding-right: 3rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center
}

.hero-title {
    font-family: var(--display);
    font-size: clamp(4.8rem, 9.8vw, 10rem);
    line-height: .84;
    text-transform: uppercase;
    max-width: none;
    will-change: transform
}

.hero-title .serif-word {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 500;
    letter-spacing: -.02em;
    display: block
}

.hero-copy {
    max-width: 34ch;
    color: #ddd;
    font-size: clamp(1.08rem, 1.45vw, 1.3rem);
    line-height: 1.4;
    margin-top: 1.8rem;
    margin-bottom: 2rem;
    text-shadow: 0 2px 15px rgba(0, 0, 0, .7)
}

.hero-side {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    gap: 1.5rem;
    padding-bottom: .7rem
}

.hero-index {
    font-family: var(--display);
    font-size: clamp(2.8rem, 4.8vw, 5rem);
    line-height: .85;
    color: #fff;
    display: flex;
    align-items: flex-start;
    gap: .45rem
}

.hero-index span {
    font-family: var(--deco);
    font-size: .9rem;
    color: var(--copper);
    padding-top: .28rem
}

.scroll-cue {
    display: flex;
    align-items: center;
    gap: .9rem;
    color: #aaa;
    font-size: clamp(.76rem, .9vw, .86rem);
    letter-spacing: .23em;
    text-transform: uppercase
}

.scroll-line {
    display: block;
    width: 66px;
    height: 1px;
    background: rgba(255, 255, 255, .42);
    position: relative;
    overflow: hidden
}

.scroll-line:after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 26px;
    height: 1px;
    background: #fff;
    animation: scrollline 1.8s ease-in-out infinite
}

@keyframes scrollline {
    0% {
        transform: translateX(-100%)
    }

    50%,
    100% {
        transform: translateX(320%)
    }
}

.hero-details {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.2rem;
    width: min(100%, 620px);
    margin-top: 2.2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, .13)
}

.hero-detail {
    min-width: 0
}

.hero-detail-label {
    display: block;
    font-family: var(--mono);
    font-size: .66rem;
    letter-spacing: .2em;
    color: #777;
    text-transform: uppercase;
    margin-bottom: .35rem
}

.hero-detail-value {
    display: block;
    font-family: var(--mono);
    font-size: clamp(.72rem, .8vw, .82rem);
    line-height: 1.4;
    letter-spacing: .07em;
    color: #b9b9b9;
    text-transform: uppercase
}

.hero-filmnote {
    position: absolute;
    right: 6vw;
    bottom: 9.2rem;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: .8rem;
    color: rgba(255, 255, 255, .62);
    font-family: var(--mono);
    font-size: .56rem;
    letter-spacing: .2em;
    text-transform: uppercase
}

.hero-filmnote:before {
    content: "";
    display: block;
    width: 34px;
    height: 1px;
    background: rgba(255, 255, 255, .3)
}

/* MARQUEE */
.strips {
    position: relative;
    z-index: 3;
    margin: 1rem 0 0
}

.marquee {
    overflow: hidden;
    white-space: nowrap;
    padding: 1rem 0
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: mq 26s linear infinite;
    will-change: transform;
    backface-visibility: hidden;
    transform: translate3d(0, 0, 0)
}

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

@keyframes mq {
    from {
        transform: translate3d(0%, 0, 0)
    }

    to {
        transform: translate3d(-50%, 0, 0)
    }
}

.marquee-group {
    display: flex;
    align-items: center;
    gap: 2.6rem;
    padding-right: 2.6rem
}

.marquee-group span {
    font-family: var(--display);
    font-size: clamp(1.4rem, 3.4vw, 2.6rem);
    text-transform: uppercase
}

.marquee-group i {
    font-style: normal;
    color: var(--rose);
    font-size: 1.4rem
}

.strip-copper {
    background: var(--copper);
    transform: rotate(-2deg) scale(1.02)
}

.strip-copper .marquee-group span {
    color: #111
}

.strip-dark .marquee-group span {
    color: transparent;
    -webkit-text-stroke: 1px var(--muted)
}

.strip-dark i {
    color: var(--copper)
}

/* RECENT PROJECTS */
#recent {
    padding-top: 7rem
}

.recent-wrap {
    margin-top: 2.8rem
}

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

.recent-card {
    position: relative;
    overflow: hidden;
    background: #151515;
    min-height: 38rem;
    isolation: isolate
}

.recent-card:nth-child(1) {
    grid-column: 1/8
}

.recent-card:nth-child(2) {
    grid-column: 8/13;
    min-height: 28rem;
    margin-top: 7rem
}

.recent-card:nth-child(3) {
    grid-column: 2/7;
    min-height: 30rem;
    margin-top: 1rem
}

.recent-card:nth-child(4) {
    grid-column: 7/13;
    min-height: 34rem;
    margin-top: -3rem
}

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

.recent-media:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, .72) 0%, rgba(0, 0, 0, .12) 48%, rgba(0, 0, 0, .16) 100%)
}

.recent-media img {
    transform: scale(1.08);
    will-change: transform
}

.recent-card:hover .recent-media img {
    filter: grayscale(.4) contrast(1.05) brightness(.92)
}

.recent-meta {
    position: absolute;
    left: 1.5rem;
    right: 1.5rem;
    bottom: 1.35rem;
    z-index: 2
}

.recent-cat {
    font-family: var(--deco);
    color: #ddd;
    font-size: .68rem;
    letter-spacing: .28em;
    text-transform: uppercase
}

.recent-title {
    font-size: clamp(2.2rem, 4.5vw, 4.8rem);
    margin-top: .45rem
}

.recent-year {
    font-family: var(--mono);
    font-size: .65rem;
    letter-spacing: .22em;
    color: #aaa;
    margin-top: .7rem
}

.recent-arrow {
    position: absolute;
    right: 1.4rem;
    top: 1.35rem;
    width: 52px;
    height: 52px;
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    font-size: 1.1rem;
    transition: transform .4s, background .4s;
    color: #fff
}

.recent-card:hover .recent-arrow {
    transform: rotate(-45deg);
    background: #fff;
    color: #000
}

.recent-index {
    position: absolute;
    top: 1.2rem;
    left: 1.4rem;
    z-index: 2;
    font-family: var(--mono);
    font-size: .64rem;
    letter-spacing: .25em;
    color: #bbb
}

/* ARCHIVE */
#archive {
    padding-top: 10rem
}

.archive-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    margin-top: 2.2rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 70px;
    background: linear-gradient(var(--bg) 74%, rgba(13, 13, 13, 0));
    z-index: 20
}

.filters {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap
}

.filter-btn {
    position: relative;
    border: 1px solid rgba(255, 255, 255, .14);
    background: transparent;
    color: #aaa;
    padding: .72rem 1rem;
    font-family: var(--mono);
    font-size: .63rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    transition: all .35s cubic-bezier(.77, 0, .18, 1);
    overflow: hidden
}

.filter-btn:before {
    content: "";
    position: absolute;
    inset: 0;
    background: #fff;
    transform: translateY(100%);
    transition: transform .35s cubic-bezier(.77, 0, .18, 1);
    z-index: -1
}

.filter-btn:hover,
.filter-btn.active {
    border-color: #fff;
    color: #000
}

.filter-btn:hover:before,
.filter-btn.active:before {
    transform: translateY(0)
}

.archive-count {
    font-family: var(--mono);
    font-size: .68rem;
    letter-spacing: .2em;
    color: #777;
    white-space: nowrap
}

.archive-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1rem 1.2rem;
    margin-top: 3rem
}

.project-card {
    grid-column: span 6;
    position: relative;
    overflow: hidden;
    min-height: 34rem;
    background: #141414;
    will-change: transform;
    isolation: isolate
}

.project-card:nth-child(3n+1) {
    grid-column: span 7
}

.project-card:nth-child(3n+2) {
    grid-column: span 5
}

.project-card:nth-child(4n) {
    margin-top: 7rem
}

.project-card:nth-child(5n) {
    grid-column: span 5
}

.project-card:nth-child(6n) {
    grid-column: span 7;
    margin-top: -2rem
}

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

.project-media img {
    transform: scale(1.04);
    will-change: transform
}

.project-card:before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, .76) 0%, rgba(0, 0, 0, .12) 46%, rgba(0, 0, 0, .02) 100%);
    z-index: 1;
    pointer-events: none
}

.project-card:hover .project-media img {
    filter: grayscale(.2) contrast(1.05) brightness(.9)
}

.project-overlay {
    position: absolute;
    left: 1.4rem;
    right: 1.4rem;
    bottom: 1.3rem;
    z-index: 2
}

.project-topline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: .55rem
}

.project-cat {
    font-family: var(--deco);
    font-size: .65rem;
    letter-spacing: .25em;
    color: #ddd;
    text-transform: uppercase
}

.project-no {
    font-family: var(--mono);
    font-size: .62rem;
    letter-spacing: .18em;
    color: #aaa
}

.project-name {
    font-size: clamp(2.2rem, 4.6vw, 4.8rem)
}

.project-meta {
    display: flex;
    gap: 1.3rem;
    flex-wrap: wrap;
    margin-top: .7rem;
    color: #aaa;
    font-family: var(--mono);
    font-size: .61rem;
    letter-spacing: .12em;
    text-transform: uppercase
}

.project-tag {
    border-top: 1px solid rgba(255, 255, 255, .18);
    padding-top: .6rem
}

.project-link {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    width: 52px;
    height: 52px;
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    z-index: 3;
    transition: transform .4s, background .4s, color .4s
}

.project-card:hover .project-link {
    transform: rotate(-45deg);
    background: #fff;
    color: #000
}

.project-card.is-hidden {
    display: none
}

/* FOOTER */
footer {
    position: relative;
    z-index: 2;
    padding: 8rem 6vw 3rem;
    background: #0a0a0a
}

.footer-cta {
    display: block;
    font-family: var(--display);
    font-size: clamp(3rem, 9.5vw, 9.5rem);
    line-height: 1;
    text-transform: uppercase;
    transition: transform .5s, color .4s
}

.footer-cta:hover {
    color: var(--copper);
    transform: skewX(-5deg)
}

.footer-mail {
    display: inline-block;
    margin-top: 3rem;
    font-family: var(--serif);
    font-style: italic;
    font-size: clamp(1.2rem, 2.6vw, 2rem);
    color: var(--copper);
    border-bottom: 1px solid var(--copper)
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    margin-top: 6rem;
    padding-top: 2rem;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: .75rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    flex-wrap: wrap
}

#toTop {
    background: none;
    border: 1px solid var(--copper);
    color: var(--ink);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    font-size: 1.1rem;
    transition: background .3s, transform .3s
}

#toTop:hover {
    background: var(--copper);
    color: #000;
    transform: rotate(-45deg)
}

/* RESPONSIVE */
@media(max-width:900px) {
    header {
        padding: 1rem 1.4rem
    }

    .section-head {
        align-items: flex-start;
        flex-direction: column
    }

    .hero-video {
        left: 38%;
        width: 62%;
        opacity: .95
    }

    .hero-scrim {
        background: linear-gradient(90deg, rgba(13, 13, 13, 1) 0%, rgba(13, 13, 13, 1) 34%, rgba(13, 13, 13, .9) 48%, rgba(13, 13, 13, .35) 70%, rgba(13, 13, 13, .08) 100%)
    }

    #projects-hero:before {
        width: 56%;
        background: linear-gradient(105deg, #0a0a0a 0%, #101010 68%, rgba(16, 16, 16, 0) 100%)
    }

    .hero-inner {
        width: 64%;
        align-self: stretch;
        padding-right: 1rem
    }

    .hero-side {
        flex-wrap: wrap
    }

    .hero-copy {
        max-width: 36ch;
        margin-top: 1.35rem
    }

    .hero-details {
        width: 100%;
        max-width: 620px;
        gap: 1rem
    }

    .recent-list {
        display: block
    }

    .recent-card,
    .recent-card:nth-child(1),
    .recent-card:nth-child(2),
    .recent-card:nth-child(3),
    .recent-card:nth-child(4) {
        display: block;
        min-height: 30rem;
        margin: 1rem 0
    }

    .archive-toolbar {
        top: 58px;
        align-items: flex-start;
        flex-direction: column
    }

    .archive-grid {
        display: block
    }

    .project-card,
    .project-card:nth-child(3n+1),
    .project-card:nth-child(3n+2),
    .project-card:nth-child(4n),
    .project-card:nth-child(5n),
    .project-card:nth-child(6n) {
        min-height: 28rem;
        margin: 0 0 1rem
    }

    .menu-inner {
        padding: 0 1.5rem
    }

    .menu-meta {
        display: none
    }
}

@media(max-width:560px) {
    section {
        padding: 5.5rem 6vw
    }

    .hero-video {
        left: 22%;
        width: 78%;
        opacity: .8
    }

    .hero-scrim {
        background: linear-gradient(90deg, rgba(13, 13, 13, 1) 0%, rgba(13, 13, 13, .98) 26%, rgba(13, 13, 13, .78) 48%, rgba(13, 13, 13, .24) 76%, rgba(13, 13, 13, .08) 100%)
    }

    #projects-hero:before {
        width: 68%
    }

    .hero-inner {
        width: 90%;
        align-self: stretch;
        padding-right: 0
    }

    .hero-title {
        font-size: clamp(4rem, 17vw, 7.5rem);
        line-height: .86
    }

    .hero-copy {
        max-width: 30ch;
        font-size: 1.02rem
    }

    .hero-details {
        grid-template-columns: 1fr;
        width: 100%;
        gap: .9rem;
        padding-top: .85rem;
        margin-top: 1.8rem
    }

    .hero-detail-label {
        font-size: .62rem
    }

    .hero-detail-value {
        font-size: .68rem
    }

    .hero-filmnote {
        display: none
    }

    .project-name {
        font-size: 2.8rem
    }

    .recent-title {
        font-size: 2.8rem
    }

    .filters {
        gap: .35rem
    }

    .filter-btn {
        padding: .58rem .72rem;
        font-size: .56rem
    }

    .archive-grid {
        margin-top: 1.8rem
    }

    .side-tab {
        display: none
    }
}
