/* === PROJECT DETAIL PAGE === */

.tl-project-detail {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 60px);
}

.tl-project-hero {
    margin: 0 calc(-1 * clamp(20px, 4vw, 60px));
    margin-bottom: 48px;
}

.tl-project-hero img {
    width: 100%;
    max-height: 70vh;
    object-fit: cover;
}

.tl-project-header {
    margin-bottom: 40px;
}

.tl-project-title {
    font-family: var(--display);
    font-size: clamp(28px, 4vw, 52px);
    font-weight: 500;
    line-height: 1.1;
    margin-bottom: 16px;
}

.tl-project-info {
    display: flex;
    gap: 16px;
    align-items: center;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--dim);
}

.tl-project-client {
    color: var(--text);
}

.tl-project-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.tl-tool-tag {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 4px 12px;
    border: 1px solid var(--line);
    border-radius: 20px;
    color: var(--dim);
}

.tl-project-desc {
    max-width: 680px;
    font-size: 15px;
    line-height: 1.7;
    color: var(--text);
    margin-bottom: 48px;
}

.tl-project-desc p {
    margin-bottom: 1em;
}

.tl-project-gallery {
    display: grid;
    gap: 2px;
    margin-bottom: 48px;
}

.tl-gallery-item {
    overflow: hidden;
}

.tl-gallery-item img {
    width: 100%;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.tl-gallery-item:hover img {
    transform: scale(1.02);
}

/* === VIDEO EMBEDS === */

.tl-project-videos {
    margin-bottom: 48px;
}

.tl-video-wrap {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 */
    margin-bottom: 2px;
    background: #000;
}

.tl-video-wrap iframe,
.tl-video-wrap video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.tl-video-native {
    padding-bottom: 0;
}

.tl-video-native video {
    position: relative;
    width: 100%;
    height: auto;
}

.tl-project-download {
    margin-bottom: 48px;
}

.tl-download-btn {
    display: inline-block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 10px 24px;
    border: 1px solid var(--line);
    border-radius: 4px;
    color: var(--text);
    transition: all 0.2s;
}

.tl-download-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--fluo);
    color: var(--fluo);
}

.tl-project-nav-footer {
    display: flex;
    justify-content: space-between;
    padding: 32px 0 48px;
    border-top: 1px solid var(--line);
    font-size: 12px;
    color: var(--dim);
}

.tl-project-nav-footer a {
    transition: color 0.2s;
}

.tl-project-nav-footer a:hover {
    color: var(--text);
}

.tl-nav-next {
    margin-left: auto;
}
