@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;1,300;1,400&family=Share+Tech+Mono&display=swap');
@font-face {
    font-family: 'Labrada';
    src: url('fonts/Labrada-Light.ttf') format('truetype');
}



* { margin: 0; padding: 0; box-sizing: border-box; }

*, *:hover, *:focus, a, button, a:hover, button:hover {
    cursor: none !important;
}

html, body {
    margin: 0; padding: 0;
    width: 100%; height: 100%;
    overflow-y: hidden;
    overflow-x: hidden;
    font-family: 'Victory-Striker', sans-serif;
    background-color: #000;
    scroll-behavior: smooth;
}

/* ── Custom cursor ─────────────────────────────────────────────────────────── */
.custom-cursor {
    position: fixed; top: 0; left: 0;
    width: 32px; height: 32px;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
}
.custom-cursor img { width: 32px; height: 32px; transition: transform 0.3s; }
.custom-cursor img.spinning { animation: spin 1.5s linear infinite; }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* ── Canvas & overlays ─────────────────────────────────────────────────────── */
#canvas {
    display: block; width: 100vw; height: 100vh;
    filter: grayscale(100%);
    pointer-events: none !important;
    position: absolute; top: 0; left: 0; z-index: 10;
}
#grains {
    position: absolute; top: 0; left: 0;
    width: 100vw; height: 100vh;
    object-fit: cover; pointer-events: none !important;
    opacity: 0.6; mix-blend-mode: overlay; z-index: 60;
}
.grains-local {
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover; pointer-events: none;
    opacity: 0.1; mix-blend-mode: overlay; z-index: 1;
}
.grad {
    position: absolute; top: 0; left: 0;
    width: 100vw; height: 100vh;
    object-fit: cover; pointer-events: none; z-index: 15;
}

/* ── Section 1 UI ──────────────────────────────────────────────────────────── */
#tit {
    position: absolute; color: #fff;
    top: 47.5%; left: 48.8%;
    transition: opacity 0.3s ease;
    text-align: center; z-index: 80;
}
h3 { font-family: 'Labrada', sans-serif; font-weight: 200; font-size: 25px; }
p  { font-family: 'Labrada', sans-serif; font-weight: 200; }
#title { transition: opacity 0.2s ease; }

#cursor-title {
    position: fixed; pointer-events: none; z-index: 9998;
    color: #fff; background-color: #000;
    padding: 10px; border-radius: 10px;
    font-family: 'Labrada', sans-serif;
    font-size: 1rem; font-weight: 200;
    letter-spacing: 0.15em; opacity: 0;
    transition: opacity 0.2s ease;
    text-transform: uppercase;
}

/* ── Displays ──────────────────────────────────────────────────────────────── */
.medias {
    position: absolute; top: 0; left: 0;
    width: 100vw; height: 100vh;
    pointer-events: none; z-index: 70;
}
.display {
    position: absolute; pointer-events: auto;
    width: 300px; height: 200px;
    display: flex; 
    align-items: center; 
    justify-content: center;
}
.display img { position: absolute; object-fit: contain; }
#best-work {
    position: absolute; top: 20px; left: 50%;
    transform: translateX(-50%); z-index: 80;
    color: #fff; font-family: 'Labrada', sans-serif;
    font-size: 30px; font-weight: 200;
    letter-spacing: 0.4em; text-transform: uppercase;
    border-bottom: 1px solid rgba(255,255,255,1);
    text-align: center; pointer-events: none;
}
.display .clickable {
    position: absolute !important; z-index: 20;
    width: 300px; height: 200px;
    object-fit: contain; cursor: pointer; border-radius: 4px;
}
.modal-title {
    position: absolute; bottom: 30px; left: 50%;
    transform: translateX(-50%);
    color: #fff; font-family: 'Labrada', sans-serif;
    font-size: 1.5rem; font-weight: 200;
    letter-spacing: 0.1em; opacity: 0.8;
}
#modal-s1 .modal-img-wrap img {
    position: static !important; width: auto !important; height: auto !important;
    max-width: 80vw !important; max-height: 80vh !important;
    object-fit: contain !important;
}
.display .circle { z-index: 10; width: 450px; height: 450px; pointer-events: none; }
.display:nth-child(1),.display:nth-child(2),
.display:nth-child(3),.display:nth-child(4) { filter: grayscale(100%); transition: filter 0.3s ease; }
.display:hover { filter: grayscale(0%); }
.display:nth-child(1) { top: 130px;    left: 80px;  }
.display:nth-child(2) { top: 130px;    right: 80px; }
.display:nth-child(3) { bottom: 130px; left: 80px;  }
.display:nth-child(4) { bottom: 130px; right: 80px; }

/* ── Sections ──────────────────────────────────────────────────────────────── */
.section { width: 100vw; height: 100vh; position: relative; }
#section1 { position: relative; transition: none; overflow: hidden; }

.eye-hero, .work-showcase {
    position: absolute;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
}
.work-showcase { pointer-events: none; }

.container {
    position: fixed; top: 0; left: 0;
    width: 100vw; height: 100vh;
    overflow: hidden; display: none; z-index: 120;
}
.scroller {
    position: relative; width: 100%; height: 100%;
    display: flex; will-change: transform; transform: translateX(0);
}
.h-section {
    width: 100vw; height: 100vh; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    background: url("medias/bg_circle.png") no-repeat center;
    background-size: cover; color: white;
}

#back-arrow {
    position: fixed; bottom: 30px; left: 50%;
    transform: translateX(-50%);
    background: none; border: 1px solid rgba(255,255,255,0.3);
    color: #fff; font-size: 1.2rem; padding: 10px 20px;
    cursor: pointer; z-index: 9998; display: none;
    font-family: 'Labrada', sans-serif;
    border-radius: 20px; transition: all 0.3s ease;
}
#back-arrow:hover { background: #fff; color: #000; }

/* ── Section 2 ─────────────────────────────────────────────────────────────── */
#section2 { background: none; }
.content {
    display: flex; justify-content: center; align-items: center;
    width: 100%; opacity: 1; z-index: 2; position: relative; gap: 100px;
}
h2 { font-family: 'Labrada', sans-serif; font-size: 80px; font-weight: 200; margin-bottom: 20px; }
.can { display: flex; justify-content: left; align-items: baseline; gap: 20px; }
.socials { display: flex; gap: 20px; }
.icon svg path { fill: white; transition: transform 0.3s; }
.icon svg { width: 28px; height: 28px; display: block; }
.icon:hover svg { transform: scale(1.25); transition: all 1s; }
.instagram:hover svg path { animation: insta 2s infinite linear; }
@keyframes insta {
    0% { fill: #fd1d1d; } 33% { fill: #fcb045; } 66% { fill: #833ab4; } 100% { fill: #fd1d1d; }
}
.facebook:hover svg path { animation: fb 1s infinite alternate; }
@keyframes fb { from { fill: #1877f2; } to { fill: white; } }
.behance:hover svg path { animation: behance-anim 1s infinite alternate; }
@keyframes behance-anim { from { fill: #0071E0; } to { fill: white; } }
.info { display: flex; gap: 30px; flex-direction: column; }
.content p { font-size: 1.2rem; font-weight: 200; }
@keyframes pulse-saturation {
    0%, 100% { filter: grayscale(100%); } 50% { filter: grayscale(0%); }
}
.pfp img { animation: pulse-saturation 2s ease-in-out infinite; }
.block { width: 30%; }
.des { text-align: justify; }

/* ── Section 3 ─────────────────────────────────────────────────────────────── */
#section3 {
    background: url("medias/bg_circle.png") no-repeat fixed center;
    background-size: cover;
    display: flex; align-items: flex-start; justify-content: center;
    color: white; height: auto; min-height: 100vh;
    overflow-x: hidden; overflow-y: auto; padding: 60px 40px;
}
.content2 {
    text-align: center; width: 100%; opacity: 1;
    transform: translateY(50px); z-index: 120; position: relative;
}
.grid { columns: 3; column-gap: 15px; padding: 20px 40px; width: 100%; }
.grid-item {
    break-inside: avoid; margin-bottom: 15px;
    overflow: hidden; border-radius: 4px;
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.grid-item.hidden { display: none; }
.grid-item img {
    width: 100%; height: auto; display: block; cursor: pointer;
    transition: transform 0.4s ease, filter 0.4s ease;
    filter: grayscale(100%);
}
.grid-item img:hover { transform: scale(1.03); filter: grayscale(0%); }
.filters { display: flex; gap: 12px; justify-content: center; margin-bottom: 30px; }
.filter-btn {
    background: transparent; border: 1px solid rgba(255,255,255,0.3);
    color: #fff; padding: 8px 20px; border-radius: 20px; cursor: pointer;
    font-family: 'Labrada', sans-serif; font-size: 0.9rem; transition: all 0.3s ease;
}
.filter-btn:hover, .filter-btn.active { background: #fff; color: #000; }

/* ── Modals ────────────────────────────────────────────────────────────────── */
.modal {
    display: none; position: fixed; inset: 0;
    background: rgba(0,0,0,0.95); z-index: 9998;
    align-items: center; justify-content: center;
}
.modal.open { display: flex; }
.modal-img-wrap {
    display: flex; align-items: center; justify-content: center;
    max-width: 80vw; max-height: 85vh;
}
.modal-img-wrap img {
    width: auto; height: auto;
    max-width: 80vw; max-height: 85vh;
    object-fit: contain; display: block; margin: auto;
}
.modal-close {
    position: absolute; top: 20px; right: 30px;
    background: none; border: none; color: #fff;
    font-size: 2rem; cursor: pointer; transition: opacity 0.3s;
}
.modal-close:hover { opacity: 0.6; }
.modal-prev, .modal-next {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: none; border: none; color: #fff;
    font-size: 4rem; cursor: pointer; transition: opacity 0.3s; user-select: none;
}
.modal-prev { left: 20px; }
.modal-next { right: 20px; }
.modal-prev:hover, .modal-next:hover { opacity: 0.6; }

/* ── Arrow ─────────────────────────────────────────────────────────────────── */
#arrow { cursor: pointer; transition: transform 0.3s ease, opacity 0.3s ease; display: inline-block; margin-top: 20px; }
#arrow:hover { transform: scale(1.1); opacity: 0.8; }
#arrow img { display: block; width: 100%; height: 100%; margin: 0; }
a#arrow { margin: 0; }

/* ══════════════════════════════════════════════════════════════════════════════
   CONTACT TRIGGER — fixed top-right button, always on top
══════════════════════════════════════════════════════════════════════════════ */
#contact-trigger {
    position: fixed;
    top: 24px;
    left: 80px;
    z-index: 8888;
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: 1px solid rgba(255,255,255,0.18);
    color: #fff;
    padding: 9px 18px 9px 14px;
    border-radius: 2px;
    transition: border-color 0.25s, background 0.25s;
}
#contact-trigger:hover {
    border-color: rgba(255,255,255,0.55);
    background: rgba(255,255,255,0.05);
}
#contact-trigger svg {
    width: 15px;
    height: 15px;
    stroke: #fff;
    fill: none;
    stroke-width: 1.5;
    flex-shrink: 0;
}
#contact-trigger span {
    font-family: 'Labrada', sans-serif; 
    font-weight: 200;
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #fff;
}

/* ══════════════════════════════════════════════════════════════════════════════
   CONTACT OVERLAY — full-screen, fades in over everything
══════════════════════════════════════════════════════════════════════════════ */
#contact-overlay {
    position: fixed;
    inset: 0;
    background: #000;
    z-index: 99990;
    display: flex;
    align-items: center;
    justify-content: center;

    /* hidden by default */
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.45s ease;
}

#contact-overlay.open {
    opacity: 1;
    pointer-events: all;
}

/* Noise */
#contact-overlay::before {
    content: '';
    position: absolute; inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.08'/%3E%3C/svg%3E");
    opacity: 0.4;
    pointer-events: none;
    z-index: 0;
}

/* Close button */
#contact-close {
    position: absolute;
    top: 28px; right: 34px;
    background: none;
    border: none;
    color: #ffffff;
    z-index: 2;
    transition: color 0.2s;
    display: flex; align-items: center; justify-content: center;
}
#contact-close:hover { color: #e8e4da; }
#contact-close svg {
    width: 40px; height: 40px;
    stroke: currentColor; fill: none; stroke-width: 1.5;
}

/* Inner grid */
.contact-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 4rem;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 6rem;
    align-items: center;
}

.contact-heading {
    font-family: 'Labrada', sans-serif; 
    font-size: clamp(3.5rem, 5vw, 6rem);
    font-weight: 300; line-height: 0.92;
    color: #ffffff; letter-spacing: -0.01em;
    margin-bottom: 2rem;
}
.contact-heading em { font-style: italic; color: #ffffff; }

.contact-subtext {
    font-family: 'Labrada', sans-serif; 
    font-size: 1.2rem; line-height: 1.5;
    color: #ffffff; font-weight: 300; max-width: 340px;
}

.field { position: relative; margin-bottom: 1.8rem; }

.field input,
.field textarea,
.field select {
    width: 100%; background: transparent;
    border: none; border-bottom: 1px solid #2a2a27;
    padding: 1.2rem 0 0.5rem;
    font-family: 'Labrada', sans-serif; 
    font-size: 17px; font-weight: 300;
    color: #fff; outline: none;
    transition: border-color 0.3s;
    border-radius: 0; appearance: none; -webkit-appearance: none;
    letter-spacing: 0.02em;
}
.field input::placeholder,
.field textarea::placeholder { color: transparent; }
.field textarea { resize: none; height: 90px; }
.field input:focus,
.field textarea:focus,
.field select:focus { border-bottom-color: #ffffff; }

.field label {
    position: absolute; top: 0.4rem; left: 0;
    font-family: 'Labrada', sans-serif; 
    font-size: 9px; letter-spacing: 0.16em;
    text-transform: uppercase; color: #ffffff;
    pointer-events: none;
    transform: translateY(14px); transition: all 0.22s;
}
.field input:focus ~ label,
.field input:not(:placeholder-shown) ~ label,
.field textarea:focus ~ label,
.field textarea:not(:placeholder-shown) ~ label,
.field.sel-active label { transform: translateY(0); color: #fff; }

#contact-overlay select option {
    background-color: #000;
    color: #fff;
}

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }

.sel-arrow { position: absolute; right: 0; top: 55%; pointer-events: none; }
.sel-arrow svg { width: 11px; height: 11px; stroke: #ffffff; fill: none; stroke-width: 1.5; }

.char-count {
    font-family: 'Labrada', sans-serif; 
    font-size: 10px; color: #ffffff;
    text-align: right; margin-top: 5px;
    letter-spacing: 0.08em; transition: color 0.2s;
}
.char-count.hot { color: #888880; }

.submit-row {
    display: flex; align-items: center; justify-content: space-between;
    margin-top: 2.5rem; padding-top: 2rem;
    border-top: 1px solid #1e1e1c;
}

.submit-btn {
    display: inline-flex; align-items: center; gap: 14px;
    background: none; border: none; cursor: pointer; padding: 0;
    font-family: 'Labrada', sans-serif; 
    font-size: 1.6rem; font-weight: 300; font-style: italic;
    letter-spacing: 0.06em; color: #fff; transition: color 0.2s;
}
.submit-btn:hover { color: #fff; }
.btn-circle {
    width: 46px; height: 46px;
    border: 1px solid #fff; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    transition: border-color 0.25s; flex-shrink: 0;
}
.submit-btn:hover .btn-circle { border-color: #fff; background-color: #fff;}
.btn-circle svg {
    width: 16px; height: 16px;
    stroke: #fff; fill: none; stroke-width: 1.3;
    transition: transform 0.25s;
}
.submit-btn:hover .btn-circle svg { transform: translate(2px, -2px); stroke: #000;}

/* ── Success ── */
.form-success {
    display: none; flex-direction: column;
    gap: 1.2rem; padding: 2rem 0;
    animation: fadeUp 0.5s ease;
}
.form-success.show { display: flex; }
.form-body.hidden  { display: none; }
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}
.success-tag { display: flex; align-items: center; gap: 10px; margin-bottom: 0.5rem; }
.success-tag svg { width: 18px; height: 18px; stroke: #ffffff; fill: none; stroke-width: 1.5; }
.success-tag span {
    font-family: 'Labrada', sans-serif; 
    font-size: 10px; letter-spacing: 0.18em;
    color: #ffffff; text-transform: uppercase;
}
.success-heading {
    font-family: 'Labrada', sans-serif; 
    font-size: 4rem; font-weight: 300;
    color: #e8e4da; line-height: 0.95;
}
.success-heading em { font-style: italic; color: #ffffff; }
.success-body {
    font-family: 'Labrada', sans-serif; 
    font-size: 15px; font-weight: 300;
    color: #555550; line-height: 1.8; max-width: 300px;
}
.reset-btn {
    margin-top: 1rem;
    font-family: 'Labrada', sans-serif; 
    font-size: 9px; letter-spacing: 0.14em;
    text-transform: uppercase; color: #ffffff;
    background: none; border: none; cursor: pointer; padding: 0;
    transition: color 0.2s;
}
.reset-btn:hover { color: #ffffff; }

/* ── Responsive TABLET ────────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    html, body { overflow-y: auto; height: auto; }

    #section1 {
        width: 100%;
        display: flex;
        flex-direction: column;
        height: auto;
        overflow: visible;
    }

    .eye-hero {
        position: relative;
        width: 100%;
        height: 56.25vw;
        max-height: 100vh;
        flex-shrink: 0;
    }
    .eye-hero video#grains,
    .eye-hero img.grad,
    .eye-hero canvas#canvas {
        position: absolute;
        top: 0; left: 0;
        width: 100%; height: 100%;
    }

    #tit {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .work-showcase {
        position: relative;
        width: 100%;
        max-width: 90%;
        margin: 0 auto;
        height: auto;
        pointer-events: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 60px 32px 60px;
        box-sizing: border-box;
    }

    .display:nth-child(1),.display:nth-child(2),
.display:nth-child(3),.display:nth-child(4) { filter: grayscale(0); transition: filter 0.3s ease; }

    #best-work { position: static; transform: none; margin-bottom: 25px; }

    .medias {
        position: static;
        width: 100%;
        height: auto;
        pointer-events: auto;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 15px;
        box-sizing: border-box;
    }

    .display { position: static; width: 100%; height: auto; aspect-ratio: 3 / 2; }
    .display .clickable { position: static !important; width: 100%; height: 100%; object-fit: cover; }
    .display .circle { display: none; }

    .container {
        position: relative !important;
        display: block !important;
        width: 100%;
        height: auto;
        overflow: visible;
    }
    .scroller {
        flex-direction: column;
        transform: none !important;
        width: 100% !important;
        height: auto;
    }
    .h-section {
        width: 100%;
        height: auto;
        min-height: auto;
        padding: 20px 0;
    }

    .grid{
        columns: 2;
    }

    /* Unify heading size across ALL h-sections (section2 + section3) */
    .h-section h2 { font-size: 40px; margin-bottom: 15px; }

    #section2 .content {
        flex-direction: column;
        gap: 24px;
        padding: 0;
        text-align: center;
        align-items: center;
    }
    #section2 .pfp img { width: 300px; height: auto; }
    #section2 .block { width: 100%; display: flex; flex-direction: column; align-items: center; }
    #section2 .can { justify-content: center; }
    #section2 .info { align-items: center; width: 100%; }
    #section2 .des { text-align: center; max-width: 500px; }
    #section2 .socials { justify-content: center; width: 100%; }

    #back-arrow, #cursor-title { display: none !important; }

    .grid-item img { filter: none !important; }

    .custom-cursor { display: none !important; }
    *, *:hover, *:focus, a, button, a:hover, button:hover {
        cursor: auto !important;
    }
}

/* ── Responsive MOBILE ────────────────────────────────────────────────────────────── */
@media (max-width: 767px) {
    /* ── Eye hero: keep 16:9 but it'll just be a shorter strip on narrow screens ── */
    #tit h3 { font-size: 14px; }
    #tit img#arrow { width: 16px;}
     #tit {
        top: auto;
        bottom: 8%;
        left: 50%;
        transform: translateX(-50%);
        text-align: center;
    }
    /* ── Best Work: single column instead of 2x2 ── */
    .work-showcase {
        padding: 40px 20px 40px;
        max-width: 100%;
    }
    #best-work {
        font-size: 20px;
        letter-spacing: 0.25em;
        margin-bottom: 20px;
    }
    .medias {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .display { aspect-ratio: 16 / 10; }

    /* ── Section 2 — About: tighter and smaller ── */
    .h-section h2 { font-size: 30px; }
    #section2 .content { padding: 40px 20px; gap: 18px; }
    #section2 .pfp img { width: 150px; }
    #section2 .des { font-size: 0.95rem; max-width: 100%; }
    #section2 .socials { gap: 16px; }
    #section3{padding: 20px 20px;}
    .icon svg { width: 24px; height: 24px; }

    /* ── Section 3 — Album grid: 2 columns instead of 3 ── */
    .grid { columns: 2; column-gap: 10px; padding: 10px 16px; }
    .filters { flex-wrap: wrap; gap: 8px; }
    .filter-btn { padding: 6px 14px; font-size: 0.8rem; }

    /* ── Contact overlay: stack instead of 2-column grid ── */
    .contact-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1.5rem;
    }
    .contact-heading { font-size: 2.8rem; }
    .contact-subtext { max-width: 100%; }
    .field-row { grid-template-columns: 1fr; gap: 0; }

    /* ── Contact trigger: smaller, tighter ── */
    #contact-trigger {
        top: 16px;
        left: 16px;
        padding: 7px 12px 7px 10px;
    }
    #contact-trigger span { font-size: 9px; }

    .grid{
        columns: 1;
        padding: 0;
    }
}