/* FONTS */
@font-face {
    font-family: Thermal;
    src: url(./fonts/Thermal-Regular.otf) format("opentype");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: Coolvetica;
    src: url(./fonts/Coolvetica-Rg.otf) format("opentype");
    font-weight: 400;
    font-style: normal;
}

/* BACKGROUND VIDEO */
.bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -10;
    opacity: 0.5;
    pointer-events: none;
}

/* PROJECT PAGE */
.project-page {
    min-height: 100vh;
}

.project-layout {
    max-width: 760px;
    padding: 120px 80px 0;
}

.project-hero {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 120px;
}

.project-hero h1 {
    font-size: 80px;
    line-height: 86%;
    color: #fff;
}

.project-hero p {
    margin-top: 34px;
    font-family: Thermal;
    font-size: 16px;
    line-height: 150%;
    color: #fff;
}

.project-side {
    position: fixed;
    top: 220px;
    right: 80px;
    z-index: 3;
    width: 500px;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.project-side.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.project-side h2 {
    font-size: 60px;
    line-height: 90%;
    color: #fff;
    margin-bottom: 34px;
}

.project-menu {
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-family: Thermal;
}

.project-menu-item {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.project-menu-item.active .symbol {
    color: #00ff88;
}

.project-floating-menu {
    display: none;
}

.project-block {
    margin-bottom: 92px;
}

.project-title {
    margin-bottom: 44px;
}

.project-title h2 {
    font-size: 50px;
    line-height: 90%;
    color: #fff;
}

.project-title p {
    margin-top: 8px;
    font-size: 14px;
    color: #fff;
}

.project-service {
    display: flex;
    gap: 24px;
    margin-bottom: 54px;
    flex-direction: column;
}

.project-service h3 {
    font-size: 28px;
    line-height: 100%;
    color: #fff;
}

.project-service p {
    /* margin-top: 26px; */
    font-family: Thermal;
    font-size: 16px;
    line-height: 150%;
    color: rgba(255, 255, 255, 0.82);
}

.project-service .list {
    margin-top: 0;
}

.visual-proof {
    display: grid;
    grid-template-columns: minmax(0, 180px) minmax(0, 1fr);
    gap: 36px;
    align-items: start;
    margin-top: 90px;
}

.visual-proof__title-wrap {
    padding-top: 10px;
}

.visual-proof__title {
    font-size: 70px;
    line-height: 90%;
    color: #fff;
}

.visual-proof__carousel {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 48px;
    gap: 18px;
    align-items: center;
}

.visual-proof__viewport {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 500px;
}

.visual-proof__image-button {
    position: relative;
    width: min(100%, 281px);
    aspect-ratio: 9 / 16;
    border: 0;
    padding: 0;
    background: transparent;
    cursor: zoom-in;
}

.visual-proof__slide,
.visual-proof-lightbox__slide {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.visual-proof__slide.is-active,
.visual-proof-lightbox__slide.is-active {
    opacity: 1;
    visibility: visible;
}

.visual-proof__slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.visual-proof__arrow,
.visual-proof-lightbox__arrow,
.visual-proof-lightbox__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    transition: background-color 0.25s ease, border-color 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
    cursor: pointer;
    backdrop-filter: blur(10px);
    appearance: none;
}

.visual-proof__arrow {
    width: 48px;
    height: 48px;
    border-radius: 999px;
}

.visual-proof__icon {
    width: 20px;
    height: 20px;
    display: block;
    object-fit: contain;
    pointer-events: none;
}

.visual-proof__icon--close {
    width: 18px;
    height: 18px;
}

.visual-proof__arrow:hover,
.visual-proof-lightbox__arrow:hover,
.visual-proof-lightbox__close:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.38);
    transform: translateY(-1px);
}

.visual-proof-lightbox {
    position: fixed;
    inset: 0;
    z-index: 40;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.visual-proof-lightbox.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.visual-proof-lightbox__overlay {
    position: absolute;
    inset: 0;
    background: rgba(5, 5, 5, 0.94);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px;
}

.visual-proof-lightbox__dialog {
    position: relative;
    width: min(100%, 1180px);
    min-height: min(88vh, 980px);
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) 64px;
    gap: 24px;
    align-items: center;
}

.visual-proof-lightbox__viewport {
    position: relative;
    width: 100%;
    min-height: min(84vh, 920px);
}

.visual-proof-lightbox__slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.visual-proof-lightbox__arrow {
    width: 56px;
    height: 56px;
    border-radius: 999px;
}

.visual-proof-lightbox__close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 46px;
    height: 46px;
    border-radius: 999px;
}

.lightbox-open {
    overflow: hidden;
}

.project-photography {
    margin-top: 112px;
    margin-bottom: 70px;
}

.project-photo-grid {
    width: 100vw;
    margin-left: -80px;
    margin-bottom: 0;
}

@media (max-width: 768px) {

    .project-layout {
        max-width: none;
        padding: 60px 20px 0;
    }

    .project-hero {
        margin-bottom: 50px;
    }

    .project-hero h1 {
        font-size: 60px;
    }

    .project-hero p {
        margin-top: 14px;
        font-size: 14px;
    }

    .project-side {
        position: static;
        width: 100%;
        margin-bottom: 90px;
    }

    .project-side h2 {
        margin-bottom: 20px;
        font-size: 48px;
    }

    .visual-proof {
        grid-template-columns: 1fr;
        gap: 28px;
        margin-top: 72px;
    }

    .visual-proof__title-wrap {
        padding-top: 0;
    }

    .visual-proof__title {
        font-size: 48px;
    }

    .visual-proof__carousel {
        grid-template-columns: 40px minmax(0, 1fr) 40px;
        gap: 12px;
    }

    .visual-proof__viewport {
        min-height: 390px;
    }

    .visual-proof__image-button {
        width: min(100%, 220px);
    }

    .visual-proof__arrow {
        width: 40px;
        height: 40px;
    }

    .visual-proof__icon {
        width: 18px;
        height: 18px;
    }

    .visual-proof-lightbox__dialog {
        width: 100%;
        min-height: 100%;
        grid-template-columns: 44px minmax(0, 1fr) 44px;
        gap: 10px;
    }

    .visual-proof-lightbox__viewport {
        min-height: 74vh;
    }

    .visual-proof-lightbox__arrow {
        width: 38px;
        height: 38px;
    }

    .visual-proof-lightbox__close {
        top: 6px;
        right: 6px;
        width: 40px;
        height: 40px;
    }

    .project-floating-menu {
        position: fixed;
        bottom: 20px;
        left: 50%;
        z-index: 10;
        display: flex;
        gap: 28px;
        transform: translateX(-50%);
        background: rgb(71 71 71 / 60%);
        padding: 12px 18px;
        border-radius: 999px;
        backdrop-filter: blur(10px);
        font-family: Thermal;
    }

    .project-floating-menu .project-menu-item {
        gap: 0;
    }

    .project-floating-menu .symbol {
        width: auto;
    }

    .project-block {
        margin-bottom: 80px;
    }

    .project-title h2 {
        font-size: 48px;
    }

    .project-service h3 {
        font-size: 22px;
    }

    .project-service p {
        font-size: 14px;
    }

    .project-photography {
        margin-top: 80px;
        margin-bottom: 44px;
    }

    .project-photo-grid {
        width: auto;
        margin-left: 0;
        margin-bottom: 80px;
    }
}

@font-face {
    font-family: Coolvetica;
    src: url(/static/fonts/Coolvetica.woff2);
}

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

body {
    background: #111 url("media/bg_pic.jpg") center center / cover no-repeat fixed;
    color: #eaeaea;
    font-family: Coolvetica, sans-serif;
    overflow-x: hidden;
}

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

/* SHARED HEADER */
.header {
    display: flex;
    justify-content: space-between;
    padding: 30px 80px;
    font-size: 14px;
}

.header_name {
    display: flex;
    align-items: center;
    gap: 16px;
}

.name {
    font-size: 20px;
    font-family: Coolvetica;
    transition: color 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
}

.name:hover {
    color: orange;
    transform: translateY(-1px);
}

.role {
    font-family: Thermal;
    font-size: 20px;
}

.status {
    display: flex;
    gap: 6px;
    font-family: Thermal;
    align-items: center;
    font-size: 20px;
}

.dot {
    width: 8px;
    height: 8px;
    background: orange;
    border-radius: 50%;
}

/* SHARED FOOTER */
.footer {
    display: flex;
    position: fixed;
    gap: 4px;
    bottom: 80px;
    right: 80px;
    text-align: right;
    font-family: Thermal;
    font-size: 16px;
    flex-direction: column;
}

.footer a {
    display: flex;
    margin-bottom: 4px;
    justify-content: flex-end;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.footer a:hover {
    opacity: 0.72;
    transform: translateY(-1px);
}

.label {
    margin-left: 14px;
    width: 50px;
    text-align: right;
}

.copy {
    margin-top: 10px;
}

/* HOME */
.container {
    position: absolute;
    bottom: 80px;
    display: flex;
    padding: 80px 80px 0 80px;
    gap: 50px;
    flex-direction: column;
}

.section {
    display: flex;
    gap: 24px;
    flex-direction: column;
}

.section h1 {
    font-size: 70px;
    line-height: 100%;
}

.sub {
    font-family: Coolvetica;
    font-size: 14px;
    margin-left: 24px;
}

.title_container,
.work-item {
    display: block;
    cursor: pointer;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.title_container:hover,
.work-item:hover {
    opacity: 0.75;
    transform: translateY(-1px);
}

.non_hover:hover {
    opacity: 1 !important;
}

.date {
    display: flex;
    gap: 6px;
    font-family: Thermal;
    font-size: 14px;
    align-items: center;
    color: #fff;
}

.green {
    width: 8px;
    height: 8px;
    background: #00ff88;
    border-radius: 50%;
    display: inline-block;
}

h2 {
    font-size: 50px;
    color: #C4C4C4;
    line-height: 86%;
}

.work-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 24px;
    padding-left: 24px;
}

/* ECOMMERCE */
.ecommerce-hero {
    display: flex;
    justify-content: space-between;
    padding: 80px;
}

.hero-left {
    display: flex;
    max-width: 600px;
    flex-direction: column;
}

.ecommerce-hero h1 {
    font-size: 80px;
    line-height: 90%;
}

.ecommerce-hero p {
    font-size: 16px;
    margin-top: 10px;
}

.ig {
    font-family: Thermal;
    margin-top: 10px;
}

.side {
    max-width: 600px;
    position: fixed;
    right: 80px;
    top: 200px;
}

.side h2 {
    color: #fff;
    font-size: 60px;
    margin-bottom: 20px;
    line-height: 90%;
}

.menu {
    font-family: Thermal;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.menu-item {
    display: flex;
    gap: 8px;
    cursor: pointer;
    align-items: center;
}

.menu-item.active {
    opacity: 1;
}

.symbol {
    width: 14px;
}

.menu-item.active .symbol {
    color: #00ff88;
}

.quote {
    text-align: right;
    margin-top: 80px;
    font-size: 36px;
    opacity: 0.4;
}

.content {
    max-width: 700px;
    padding: 0 80px 120px;
}

.process-section {
    margin-top: 120px;
}

.process-section h3 {
    font-size: 70px;
    line-height: 90%;
}

.process-section p {
    font-size: 14px;
    margin-top: 8px;
    /* opacity: 0.7; */
}

.list {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    font-family: Thermal;
}

/* ADDED: bullets inside process sections */
.list div {
    font-size: 13px;
    display: flex;
    gap: 12px;
    align-items: baseline;
}

.list-bullet {
    flex: 0 0 auto;
    font-family: Thermal;
    color: #fff;
}

.floating-menu {
    display: none;
}

.btn_container {
    margin-top: 32px;
    margin: 70px 0 370px 0;
    display: flex;
    justify-content: start;
}

.btn_project {
    margin: 0 0 250px 0 !important;
    width: 100vw;
    justify-content: center;
}

.contact_btn {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-family: thermal;
    padding: 10px 30px;
    width: fit-content;
    color: #fff;
    background: transparent;
    border: 2px solid #ffffffa1;
    border-radius: 999px;
    transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.contact_btn::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.14) 50%, transparent 100%);
    opacity: 0;
    transform: translateX(-18%);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}

.contact_btn:hover {
    background-color: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.82);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 0 18px rgba(255, 255, 255, 0.08);
}

.contact_btn:hover::before {
    opacity: 1;
    transform: translateX(18%);
}

.dot,
.green {
    animation: blink-dot 1.4s infinite ease-in-out;
}

@keyframes blink-dot {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.25;
    }

    100% {
        opacity: 1;
    }
}

/* PHOTOGRAPHY */
.photo-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 200px;
}

.photography-grid {
    width: 100vw;
    margin-left: 0;
}

.photo-card {
    position: relative;
    min-height: 0;
    aspect-ratio: 4 / 5;
    background: #f2f2f2;
    overflow: hidden;
}

.photo-card-light {
    background: #f5f5f5;
}

.photo-card-mid {
    background: #b7b7b7;
}

.photo-card-wide {
    grid-column: 1 / -1;
    background: #dedede;
}

.photo-card-wide-short {
    aspect-ratio: 16 / 10;
}

.photo-card-wide-tall {
    aspect-ratio: 1 / 1.08;
}

.photo-card img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}


/* MOBILE */
@media (max-width: 768px) {
    body {
        background: #111 url("media/bg_pic_mobile.jpg") center center / cover no-repeat;
    }

    .header {
        padding: 20px 20px 12px 20px;
        flex-direction: column;
        gap: 6px;
        align-items: flex-start;
    }

    .header_name {
        gap: 6px;
        flex-direction: column;
        align-items: flex-start;
    }

    .name {
        font-size: 18px;
    }

    .role,
    .status {
        font-size: 16px;
    }

    .container {
        position: initial;
        padding: 20px;
        gap: 28px;
    }

    .section {
        gap: 20px;
    }

    .section h1 {
        font-size: 40px;
        line-height: 100%;
        word-break: break-word;
    }

    .sub {
        font-size: 12px;
        margin-left: 20px;
    }

    .work-list {
        padding-left: 0;
        gap: 16px;
        margin-bottom: 12px;
    }

    .date {
        font-size: 14px;
    }

    h2 {
        font-size: 36px;
        line-height: 90%;
    }

    .ecommerce-hero {
        flex-direction: column;
        padding: 32px 20px 40px 20px;
    }

    .ecommerce-hero h1 {
        font-size: 50px;
    }

    .ecommerce-hero p {
        font-size: 14px;
        margin-top: 10px;
    }

    .side {
        position: static;
        width: 100%;
        margin-top: 50px;
    }

    .side h2 {
        font-size: 40px;
    }

    .quote {
        font-size: 24px;
        margin-top: 40px;
    }

    .content {
        display: flex;
        gap: 60px;
        margin-top: 70px;
        padding: 0 20px 160px;
        flex-direction: column;
    }

    .process-section {
        margin-top: 0;
    }

    .process-section h3 {
        font-size: 48px;
    }

    .btn_container {
        margin: 32px;
        justify-content: center;
    }

    /* ADDED: specifically hide only the menu label on mobile */
    .menu-item .menu-label {
        display: none;
    }

    .footer {
        align-items: end;
        position: static;
        margin-top: 0;
        margin-bottom: 70px;
        padding: 8px 20px 20px;
        text-align: left;
        font-size: 14px;
    }

    .footer a {
        display: flex;
        justify-content: space-between;
        gap: 20px;
    }

    .label {
        margin-left: 0;
    }

    .copy {
        margin-top: 12px;
        /* opacity: 0.6; */
    }

    .side .menu {
        position: static;
        transform: none;
        flex-direction: column;
        background: transparent;
        padding: 0;
        border-radius: 0;
        backdrop-filter: none;
    }

    .side .menu .menu-label {
        display: inline;
    }

    .floating-menu {
        position: fixed;
        bottom: 20px;
        left: 50%;
        z-index: 10;
        display: flex;
        gap: 28px;
        transform: translateX(-50%);
        background: rgb(71 71 71 / 60%);
        padding: 12px 18px;
        border-radius: 999px;
        backdrop-filter: blur(10px);
        font-family: Thermal;
    }

    .floating-menu .menu-item {
        display: flex;
        gap: 0;
    }

    .floating-menu .symbol {
        width: auto;
    }

    .photo-grid {
        position: static;
        left: auto;
        width: 100%;
        grid-template-columns: 1fr;
        margin-bottom: 120px;
    }

    .project-photo-grid {
        width: 100vw;
        margin-left: calc((100% - 100vw) / 2);
    }

    .photo-card,
    .photo-card-wide-short,
    .photo-card-wide-tall,
    .photo-card-wide {
        aspect-ratio: 4 / 5;
        grid-column: 1 / -1;
    }

    .btn_project {
        margin: 0 0 50px 0 !important;
        width: 100%;
    }
}
