:root {
    --font-heading: "Space Mono", monospace;
    --font-body: "Plus Jakarta Sans", sans-serif;
}

body.portfolio-body {
    background-color: #f7f6f4;
    color: #111;
    font-family: var(--font-body);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
}

.container {
    max-width: 1200px;
}

/* Navbar */
.navbar-brand {
    font-size: 1.2rem;
    color: #222;
    text-decoration: none;
}

.brand-name {
    letter-spacing: 0.2px;
}

.logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border: 2px solid #4a2d2d;
    border-radius: 12px;
    font-weight: 700;
    color: #4a2d2d;
    font-size: 1rem;
}

.navbar .nav-link {
    color: #111;
    font-weight: 500;
    padding: 0.6rem 1rem;
}

.navbar .nav-link:hover {
    color: #6d7fa8;
}

.navbar .nav-link.active {
    text-decoration: underline;
}

.navbar-collapse {
    transition: all 0.3s ease;
}

.navbar-toggler {
    padding: 0;
    z-index: 2001;
}

/* Hamburger */
.hamburger {
    width: 35px;
    height: 35px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background: #555;
    border-radius: 10px;
    transition: all 0.3s ease;
}

/* Animate to X */
.navbar-toggler[aria-expanded="true"] .hamburger span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .hamburger span:nth-child(2) {
    opacity: 0;
}

.navbar-toggler[aria-expanded="true"] .hamburger span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

/* Hero */
.hero-section {
    min-height: 78vh;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 700px;
}

.hero-title {
    font-size: clamp(2.8rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: clamp(2.0rem, 5vw, 4.4rem);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -1px;
}

.highlight-word {
    display: inline-block;
    color: #00975c; 
    font-weight: 800;
}

.hero-text {
    font-size: 1.5rem;
    line-height: 1.6;
    color: #24324a;
}

.hero-image-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image {
    max-width: 420px;
    width: 100%;
    height: auto;
}

/* Work page */
.work-page {
    padding-top: 2rem;
    padding-bottom: 4rem;
}

.work-note {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1rem;
    color: #6f7585;
    line-height: 1.6;
    text-align: center;
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 1.5rem;
}

.work-intro {
    padding-top: 2rem;
    padding-bottom: 1rem;
}

.project-card {
    height: 100%;
}

.project-image-link {
    display: block;
    text-decoration: none;
}

.project-image-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 2.5rem 0;
    overflow: hidden;
    border-radius: 25px;
}

.project-bg-beige {
    background-color: #e9dfc7;
}

.project-bg-blue {
    background-color: #cfd6e8;
}

.project-bg-green {
    background-color: #dbe7dc;
}

.project-bg-peach {
    background-color: #f4dfd8;
}

.project-bg-mint {
    background-color: #dff0ec;
}

.project-bg-teal {
    background-color: #cfe9ea;
}

.project-image {
    max-height: 280px;
    width: auto;
    object-fit: contain;
    transition: transform 0.35s ease;
}

.project-card:hover .project-image {
    transform: scale(1.02);
}

.project-content {
    padding-top: 1.5rem;
}

.project-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    padding: 0.3rem 0.6rem;
    border-radius: 999px;
    color: #333;
    margin-bottom: 0.5rem;
    background-color: #ececec;
}

.project-title {
    font-size: clamp(2rem, 3vw, 2.2rem);
    font-weight: 500;
    line-height: 1.1;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.project-subtitle {
    font-size: 1.4rem;
    line-height: 1.4;
    color: #6e7485;
    margin-bottom: 2rem;
    font-weight: 400;
}

.project-button {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.9rem 1.2rem;
    border: 1px solid #6d7fa8;
    border-radius: 15px;
    color: #111;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
    transition: all 0.25s ease;
    background-color: transparent;
}

.project-button:hover {
    background-color: #6d7fa8;
    color: #fff;
}

.project-button .arrow {
    font-size: 1.5rem;
    line-height: 1;
}

/* About us page */

.email-text-about{
    text-align: center;
}

.email-text-about a{
    color: #4f5668;
    font-weight: 600;
}

.contact-box-container{
    padding: 0 !important;
}

.contact-box-container h3{
    text-align: center;
}

.contact-box{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 140px;
    background-color: #d7eff0;
    border-radius: 24px;
    text-decoration: none;
    color: #000;
    font-family: "Space Mono", monospace;
    font-size: 2rem;
    transition: all 0.25s ease;
}

.film-section-title {
    font-family: "Space Mono", monospace;
    font-size: clamp(2rem, 4vw, 3.5rem);
}

.film-section-subtitle {
    color: #b6b6b6;
    font-size: 1rem;
}

.film-scroll-row {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    padding-bottom: 1rem;
    scroll-snap-type: x mandatory;
    /* Hide scrollbar */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}


.film-scroll-row::-webkit-scrollbar {
    height: 10px;
}

.film-scroll-row::-webkit-scrollbar-track {
    background: #1c1c1c;
    border-radius: 999px;
}

.film-scroll-row::-webkit-scrollbar-thumb {
    background: #555;
    border-radius: 999px;
}

.film-card {
    flex: 0 0 240px;
    border-radius: 16px;
    overflow: hidden;
    scroll-snap-align: start;
}

.film-poster {
    width: 100%;
    height: 360px;
    object-fit: cover;
    display: block;
}

.film-card-body {
    padding: 1rem;
}

.film-rating {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: #d7d7d7;
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.film-title {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.3;
    min-height: 3rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.info-box {
    border-radius: 20px;
    padding: 2rem;
    height: 100%;
}

.info-label {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 1rem;
    color: #555;
    margin-bottom: 0.5rem;
}

.info-value {
    font-family: "Space Mono", monospace;
    font-size: 1.5rem;
    line-height: 1.4;
}

/* Project page */
.project-page {
    padding-bottom: 3rem;
}

/* Hero section */
.project-hero {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.project-hero-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.project-hero-card {
    border-radius: 28px;
    padding: 4rem 3rem 0;
    overflow: hidden;
}

.project-eyebrow {
    font-family: "Space Mono", monospace;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #6f7585;
}

.project-hero-title {
    font-family: "Space Mono", monospace;
    font-size: clamp(2.4rem, 6vw, 5rem);
    font-weight: 700;
    line-height: 1.05;
    margin: 0 auto;
    max-width: 900px;
}

.project-hero-subtitle {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 1.2rem;
    line-height: 1.7;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

.project-hero-image-wrap {
    min-height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-hero-image {
    max-width: 100%;
    max-height: 450px;
    object-fit: contain;
}

/* Meta/details section */
.project-meta-section {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.project-meta {
    border-top: 1px solid #cfcfcf;
    border-bottom: 1px solid #cfcfcf;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.project-meta-row {
    display: grid;
    grid-template-columns: 180px 1fr;
    column-gap: 2rem;
    padding: 1.1rem 0;
}

.project-meta-label {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #1f2430;
}

.project-meta-value {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 1.05rem;
    line-height: 1.5;
    color: #50586b;
    max-width: 900px;
}

.text-block {
    max-width: 720px;
    margin: 0 auto;
}

.text-block-heading {
    font-family: "Space Mono", monospace;
    font-size: 1.8rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.text-block p, .text-block ul li {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #4f5668;
    margin-bottom: 1rem;
}

.statement-heading {
    font-family: "Space Mono", monospace;
    font-size: clamp(1.5rem, 5vw, 3rem);
    line-height: 1.15;
    letter-spacing: -1px;
}

.portfolio-img, .portfolio-video{
    margin: 2rem 0;
}

.figure-caption {
    font-style: italic;
    font-size: 0.95rem;
    color: #6c757d; /* Bootstrap muted tone */
    text-align: center;
    margin-bottom: 20px;
    margin-top: 0.2rem !important;
}

.about-gif-mask {
    width: 400px;
    height: 400px;
    margin: 0 auto;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

@media (max-width: 768px) {
    .about-gif-mask {
        width: 250px;
        height: 250px;
    }
}

/* Responsive */
@media (max-width: 767.98px) {
    .project-hero {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    .project-hero-subtitle {
        font-size: 1rem;
    }

    .project-meta-row {
        grid-template-columns: 1fr;
        row-gap: 0.35rem;
        padding: 1rem 0;
    }

    .project-meta-label {
        font-size: 1rem;
    }

    .project-meta-value {
        font-size: 1rem;
    }

    .project-hero-image-wrap {
        min-height: 0;
    }

    .project-hero-image-wrap .project-video {
        width: 100%;
        --bs-aspect-ratio: 70%;
    }

    .project-hero-image-wrap .project-hero-video {
        object-fit: cover;
    }

    .project-hero-title{
        font-size: clamp(2rem, 6vw, 4rem);
    }

}

.site-footer {
    font-size: 14px;
    color: #666;
}

.py-lg-6 {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

@media (min-width: 992px) {
    .navbar-collapse {
        position: static;
        height: auto;
        background: transparent;
        backdrop-filter: none;
        transform: none !important;
        opacity: 1;
        visibility: visible;
    }

    .nav-item {
        opacity: 1;
        transform: none;
    }

    .navbar-nav {
        gap: 2rem;
    }
}

/* Mobile tweaks */
@media (max-width: 991.98px) {
    .hero-section {
        min-height: auto;
        text-align: left;
    }

    .hero-content {
        margin: 0 auto;
    }

    .hero-text {
        margin: 0 auto;
        font-size: 1.1rem;
    }

    .highlight-word {
        display: block;
        margin-left: 0;
        margin-top: 0.5rem;
    }

     .navbar-collapse {
        position: fixed;
        inset: 0;
        width: 100%;
        height: 100vh;
        background: rgba(247, 246, 244, 0.92);
        backdrop-filter: blur(5px);
        z-index: 2000;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        padding-right: 3rem;
        opacity: 0;
        visibility: hidden;
        transition:
            opacity 0.2s ease,
            visibility 0.2s ease;
    }

    .navbar-collapse.show {
        opacity: 1;
        visibility: visible;
    }

    .navbar-nav {
        align-items: flex-end;
        gap: 2rem;
    }

    .nav-link {
        font-family: "Space Mono", monospace;
        font-size: clamp(2.5rem, 8vw, 4rem);
        color: #111 !important;
        padding: 0;
        transition: opacity 0.2s ease;
    }

    .nav-link:hover {
        opacity: 0.5;
    }

    .nav-item {
        opacity: 0;
        transform: translateY(10px);
        transition: all 0.4s ease;
    }

    .navbar-collapse.show .nav-item {
        opacity: 1;
        transform: translateY(0);
    }

    .nav-item:nth-child(1) {
        transition-delay: 0.1s;
    }

    .nav-item:nth-child(2) {
        transition-delay: 0.2s;
    }

    .nav-item:nth-child(3) {
        transition-delay: 0.3s;
    }
}