/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #ffffff;
    color: #000000;
    line-height: 1.6;
    width: 100%;
    overflow-x: hidden;
}

/* Container */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

/* Navbar */
.navbar {
    background-color: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
}

@media (min-width: 768px) {
    .nav-wrapper {
        height: 5rem;
    }
}

.logo {
    height: 1.5rem;
    width: 120px;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .logo {
        height: 1.75rem;
        width: 165px;
    }
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Desktop Menu */
.nav-menu {
    display: none;
    align-items: center;
    gap: 4rem;
    list-style: none;
}

@media (min-width: 1024px) {
    .nav-menu {
        display: flex;
    }
}

@media (min-width: 1280px) {
    .nav-menu {
        gap: 5rem;
    }
}

.nav-menu a {
    font-size: 1rem;
    font-weight: 400;
    color: #4a5565;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-menu a.active {
    color: #000000;
}

.nav-menu a:hover {
    color: #000000;
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    cursor: pointer;
}

.dropdown .arrow {
    transition: transform 0.3s ease;
}

.dropdown:hover .arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 1rem;
    background-color: #ffffff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
    min-width: 300px;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    z-index: 60;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.625rem 1.5rem;
    font-size: 0.875rem;
    color: #4a5565;
}

.dropdown-menu a:hover {
    background-color: #f9fafb;
    color: #000000;
}

/* Hamburger Menu */
.hamburger {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    padding: 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
}

@media (min-width: 1024px) {
    .hamburger {
        display: none;
    }
}

.hamburger-line {
    width: 1.5rem;
    height: 2px;
    background-color: #4a5565;
    transition: all 0.3s ease;
}

.hamburger.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    border-top: 1px solid #e5e7eb;
    padding: 1rem 0;
}

.mobile-menu.active {
    display: block;
}

@media (min-width: 1024px) {
    .mobile-menu {
        display: none !important;
    }
}

.mobile-menu a {
    display: block;
    padding: 0.75rem 0;
    font-size: 1rem;
    color: #4a5565;
    text-decoration: none;
}

.mobile-menu a.active {
    color: #000000;
}

/* Mobile Work Submenu */
.mobile-work-toggle {
    display: block;
    width: 100%;
    padding: 0.75rem 0;
    font-size: 1rem;
    line-height: 1.6;
    color: #4a5565;
    background: transparent;
    border: 0;
    text-align: left;
    font-family: inherit;
    font-weight: 400;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

.mobile-work-toggle:focus {
    outline: none;
}

.mobile-work-toggle.active {
    color: #000000;
}

.mobile-work-submenu {
    display: none;
    padding-left: 1.5rem;
}

.mobile-work-submenu.active {
    display: block;
}

.mobile-work-submenu a {
    display: block;
    padding: 0.5rem 0;
    font-size: 0.9rem;
    color: #6b7280;
    text-decoration: none;
}

/* Navbar Spacer */
.navbar-spacer {
    height: 4rem;
}

@media (min-width: 768px) {
    .navbar-spacer {
        height: 5rem;
    }
}

/* Hero Section */
.hero {
    padding: 2rem 0;
}

@media (min-width: 768px) {
    .hero {
        padding: 3rem 0;
    }
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 1024px) {
    .hero-grid {
        grid-template-columns: 41.67% 58.33%;
        gap: 3rem;
    }
}

.hero-left h1 {
    font-size: 1.75rem;
    line-height: 1.25;
    font-weight: 500;
    color: #0a0a0a;
}

@media (min-width: 640px) {
    .hero-left h1 {
        font-size: 2.25rem;
    }
}

@media (min-width: 1024px) {
    .hero-left h1 {
        font-size: 2.688rem;
    }
}

.hero-right {
    padding-top: 0;
    position: relative;
    z-index: 10;
}

@media (min-width: 1024px) {
    .hero-right {
        padding-top: 4rem;
    }
}

.hero-right p {
    font-size: 0.875rem;
    line-height: 1.6;
    color: #4a5565;
}

@media (min-width: 640px) {
    .hero-right p {
        font-size: 1rem;
    }
}

/* Hero Video */
.hero-video {
    width: 100%;
    height: auto;
    display: block;
}

/* Tablet */
@media (max-width: 1023px) {
    .hero-video {
        width: 100%;
        height: 420px;
        object-fit: cover;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .hero-video {
        width: 100%;
        height: 360px;
        object-fit: cover;
    }
}

/* Two Column Text */
.two-column-text {
    padding: 3rem 0;
}

@media (min-width: 768px) {
    .two-column-text {
        padding: 4rem 0;
    }
}

.text-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .text-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

@media (min-width: 1024px) {
    .text-grid {
        gap: 4rem;
    }
}

.text-grid p {
    font-size: 0.875rem;
    line-height: 1.6;
    color: #4a5565;
}

/* Two Images */
.two-images {
    padding-bottom: 48px;
    width: 100%;
    overflow: hidden;
}

.images-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    width: 100%;
    max-width: 100%;
}

.image-box {
    width: 100%;
    max-width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
}

.portfolio-image {
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
    display: block;
}

/* Responsive - Tablet */
@media (min-width: 768px) {
    .images-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .image-box {
        height: 300px;
    }
}

/* Responsive - Desktop */
@media (min-width: 1024px) {
    .image-box {
        height: 350px;
    }
}

@media (min-width: 1280px) {
    .images-grid {
        gap: 32px;
    }

    .image-box {
        height: 396px;
    }
}

/* Work Focus Section */
.work-focus {
    padding: 3rem 0;
}

@media (min-width: 768px) {
    .work-focus {
        padding: 4rem 0;
    }
}

.work-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .work-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

@media (min-width: 1280px) {
    .work-grid {
        gap: 4rem;
    }
}

.work-left h2 {
    font-size: 1.5rem;
    line-height: 1.25;
    font-weight: 500;
    color: #0a0a0a;
    margin-bottom: 4rem;
}

@media (min-width: 640px) {
    .work-left h2 {
        font-size: 1.875rem;
    }
}

@media (min-width: 768px) {
    .work-left h2 {
        margin-bottom: 5rem;
    }
}

.work-left h3 {
    font-size: 1.125rem;
    font-weight: 500;
    color: #0a0a0a;
}

@media (min-width: 640px) {
    .work-left h3 {
        font-size: 1.25rem;
    }
}

.work-text {
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .work-text {
        margin-bottom: 3rem;
    }
}

.work-text p {
    font-size: 0.875rem;
    line-height: 1.6;
    color: #4a5565;
    margin-bottom: 1rem;
}

/* Services Accordion */
.accordion-item {
    border-top: 1px solid #e5e7eb;
}

.accordion-item:last-child {
    border-bottom: 1px solid #e5e7eb;
}

.accordion-toggle {
    width: 100%;
    padding: 0.75rem 0;
    background: none;
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
}

@media (min-width: 768px) {
    .accordion-toggle {
        padding: 1rem 0;
    }
}

.accordion-toggle span:first-child {
    font-size: 0.875rem;
    font-weight: 400;
    color: #364153;
    flex: 1;
}

@media (min-width: 768px) {
    .accordion-toggle span:first-child {
        font-size: 1rem;
    }
}

.accordion-icon {
    font-size: 1rem;
    font-weight: 400;
    color: #364153;
    flex-shrink: 0;
    margin-left: 1rem;
}

@media (min-width: 768px) {
    .accordion-icon {
        font-size: 1.125rem;
    }
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    padding-bottom: 0;
    transition: max-height 0.2s ease-in-out, padding-bottom 0.4s ease-in-out;
}

.accordion-item.active .accordion-content {
    max-height: 500px;
    padding-bottom: 1rem;
}

.accordion-content p {
    font-size: 0.875rem;
    line-height: 1.6;
    color: #666666;
}

/* Footer */
.footer {
    background-color: #000000;
    color: #ffffff;
    padding: 2.5rem 0;
}

@media (min-width: 768px) {
    .footer {
        padding: 3.5rem 0;
    }
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

@media (min-width: 1280px) {
    .footer-grid {
        gap: 4rem;
    }
}

.footer-left h2 {
    font-size: 1.5rem;
    line-height: 1.25;
    font-weight: 400;
    color: #ffffff;
}

@media (min-width: 640px) {
    .footer-left h2 {
        font-size: 1.875rem;
    }
}

@media (min-width: 768px) {
    .footer-left h2 {
        font-size: 2.25rem;
    }
}

.footer-right p {
    font-size: 0.875rem;
    line-height: 1.6;
    color: #99a1af;
    font-weight: 300;
}

.footer-right .contact-label {
    font-size: 0.875rem;
    color: #ffffff;
    font-weight: 400;
    margin-bottom: 0.5rem;
}

.footer-right .contact-info {
    margin-top: 1.25rem;
}

.footer-right .contact-info p {
    margin-bottom: 0.375rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid #374151;
}

.footer-bottom p {
    font-size: 0.875rem;
    color: #f5f5f5;
    font-weight: 400;
}

@media (min-width: 768px) {
    .footer-bottom p {
        font-size: 1rem;
    }
}

/* About Page Styles */

/* About Hero Section */
.about-hero {
    padding: 2rem 0 3rem;
}

@media (min-width: 768px) {
    .about-hero {
        padding: 3rem 0 4rem;
    }
}

.about-hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .about-hero-grid {
        grid-template-columns: 41.67% 58.33%;
        gap: 3rem;
    }
}

.about-hero-left h1 {
    font-size: 1.75rem;
    line-height: 1.25;
    font-weight: 500;
    color: #0a0a0a;
}

@media (min-width: 640px) {
    .about-hero-left h1 {
        font-size: 2.25rem;
    }
}

@media (min-width: 1024px) {
    .about-hero-left h1 {
        font-size: 2.688rem;
    }
}

.about-hero-right {
    padding-top: 0;
    position: relative;
    z-index: 10;
}

@media (min-width: 1024px) {
    .about-hero-right {
        padding-top: 4rem;
    }
}

.about-hero-right p {
    font-size: 1rem;
    line-height: 1.42;
    color: #4a5565;
}

/* Design Banner */
.design-banner {
    width: 100%;
}

.design-banner-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
}

@media (min-width: 768px) {
    .design-banner-image {
        height: 380px;
    }
}

@media (min-width: 1024px) {
    .design-banner-image {
        height: 650px;
    }
}

/* About Sections */
.about-section {
    padding: 3rem 0;
}

@media (min-width: 768px) {
    .about-section {
        padding: 4rem 0;
    }
}

.about-content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .about-content-grid {
        grid-template-columns: 41.67% 58.33%;
        gap: 3rem;
    }
}

.about-section-title h2 {
    font-size: 1.5rem;
    line-height: 1.2;
    font-weight: 500;
    color: #0a0a0a;
}

@media (min-width: 640px) {
    .about-section-title h2 {
        font-size: 1.875rem;
    }
}

.about-section-content p {
    font-size: 0.875rem;
    line-height: 1.625;
    color: #4a5565;
    margin-bottom: 1.5rem;
}

.about-section-content p:last-child {
    margin-bottom: 0;
}

/* About Subsections */
.about-subsection {
    margin-bottom: 1.5rem;
}

.about-subsection:last-child {
    margin-bottom: 0;
}

.about-subsection h3 {
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 500;
    color: #000000;
    margin-bottom: 0.5rem;
}

.about-subsection p {
    font-size: 0.875rem;
    line-height: 1.625;
    color: #4a5565;
    margin-bottom: 0;
}


/* Resume Page */
.resume-page {
    padding: 4rem 0 5rem;
}

.resume-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
}

@media (min-width: 1024px) {
    .resume-grid {
        grid-template-columns: 36% 64%;
        gap: 5rem;
    }
}

.profile-box {
    width: 100%;
    height: 680px;
    overflow: hidden;
    margin-bottom: 2rem;
}

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

.resume-name-small {
    font-size: 1.125rem;
    color: #4a5565;
    margin-bottom: 2rem;
}

.resume-contact {
    display: grid;
    gap: 1.25rem;
}

.resume-contact h4 {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #6b7280;
    margin-bottom: 0.25rem;
}

.resume-contact p {
    font-size: 1rem;
    color: #111111;
}

.sidebar-line {
    height: 1px;
    background-color: #d1d5db;
    margin: 3rem 0;
}

.skills-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.skill-tags span {
    background-color: #f0f1f3;
    padding: 0.75rem 1.1rem;
    border-radius: 4px;
    font-size: 0.95rem;
    color: #374151;
}

.resume-intro {
    margin-bottom: 4rem;
}

.resume-intro h1 {
    font-size: 2.6rem;
    line-height: 1.1;
    font-weight: 700;
    color: #000000;
    margin-bottom: 1rem;
}

.resume-intro p {
    font-size: 1.125rem;
    line-height: 1.6;
    color: #4a5565;
    margin-top: 1.5rem;
}

.orange-line {
    width: 100%;
    height: 2px;
    background-color: #f05a00;
}

.resume-section {
    margin-bottom: 4rem;
}

.resume-section h2 {
    font-size: 2rem;
    line-height: 1.15;
    font-weight: 700;
    color: #000000;
    margin-bottom: 1rem;
}

.resume-item {
    padding-top: 2rem;
}

.resume-item-heading {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.resume-item h3 {
    font-size: 1.35rem;
    line-height: 1.3;
    font-weight: 700;
    color: #000000;
    margin-bottom: 0.5rem;
}

.company,
.year,
.description,
.resume-item li,
.recognition-list p {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #4a5565;
}

.year {
    white-space: nowrap;
}

.resume-item ul {
    list-style: none;
    padding-left: 1.5rem;
}

.resume-item li {
    margin-bottom: 0.35rem;
}

.resume-divider {
    height: 1px;
    background-color: #d1d5db;
    margin: 2.5rem 0;
}

.recognition-list {
    padding-top: 1.75rem;
}

.recognition-list p {
    margin-bottom: 1rem;
}

@media (max-width: 767px) {
    .resume-page {
        padding: 2.5rem 0 4rem;
    }

    .profile-box {
        height: 300px;
    }

    .resume-intro h1 {
        font-size: 2rem;
    }

    .resume-section h2 {
        font-size: 1.65rem;
    }

    .resume-item-heading {
        flex-direction: column;
        gap: 0.25rem;
    }
}

/* FIX: About page right side overflow */
@media (min-width: 1024px) {
    .about-hero-grid,
    .about-content-grid {
        grid-template-columns: minmax(320px, 42%) 1fr;
        gap: 3rem;
    }
}

.about-hero-left,
.about-hero-right,
.about-section-title,
.about-section-content {
    min-width: 0;
}

.about-hero-right p,
.about-section-content p {
    max-width: 100%;
}


/* FIX: Resume page right side overflow */
@media (min-width: 1024px) {
    .resume-grid {
        grid-template-columns: minmax(320px, 38%) 1fr;
        gap: 5rem;
    }
}

.resume-sidebar,
.resume-main {
    min-width: 0;
}

.resume-main {
    overflow: hidden;
}

.resume-intro,
.resume-section,
.resume-item,
.resume-item-heading {
    max-width: 100%;
}

.resume-intro p,
.resume-item p,
.resume-item li,
.recognition-list p {
    max-width: 100%;
}

.resume-item-heading {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: start;
}

.resume-item-heading .year,
.year {
    white-space: nowrap;
}


/* Mobile / Tablet safety */
@media (max-width: 1023px) {
    .about-hero-grid,
    .about-content-grid,
    .resume-grid {
        grid-template-columns: 1fr;
    }

    .resume-item-heading {
        grid-template-columns: 1fr;
        gap: 0.25rem;
    }

    .year {
        white-space: normal;
    }
}

/* ============================================
   BRANDING PAGE
   ============================================ */

.page-header {
    border-bottom: 1px solid #e5e7eb;
    padding: 4rem 0 3rem;
}

.header-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: end;
}

@media (min-width: 1024px) {
    .header-grid {
        grid-template-columns: 41.67% 58.33%;
        gap: 3rem;
    }
}

.header-title h1 {
    font-size: clamp(2.625rem, 5vw, 4.25rem);
    font-weight: 500;
    line-height: 1.05;
    color: #0a0a0a;
    margin: 0;
}

.header-desc p {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.7;
    color: #4a5565;
    margin: 0;
}

/* Project Section */
.project-section {
    padding: 4rem 0 7.5rem;
}

.project-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .project-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

/* Project Card */
.project-card {
    cursor: pointer;
}

.card-img-wrap {
    position: relative;
    overflow: hidden;
    background: #0a0a0a;
    aspect-ratio: 3 / 2;
}

.card-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.18) translateX(0);
    transition: transform 0.7s ease-out;
}

.card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    transition: background 0.5s ease;
    pointer-events: none;
}

.card-info {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1.75rem;
    pointer-events: none;
}

.card-client {
    font-size: 0.6875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: rgba(255, 255, 255, 0.55);
    margin: 0 0 0.5rem;
    line-height: 1;
    transform: translateY(2rem);
    opacity: 0;
    transition: transform 0.5s ease-out, opacity 0.5s ease-out;
}

.card-title-hover {
    font-size: 0.9375rem;
    font-weight: 500;
    color: #ffffff;
    margin: 0 0 0.75rem;
    line-height: 1.35;
    transform: translateY(2rem);
    opacity: 0;
    transition: transform 0.5s ease-out 0.03s, opacity 0.5s ease-out 0.03s;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
    transform: translateY(2rem);
    opacity: 0;
    transition: transform 0.5s ease-out 0.06s, opacity 0.5s ease-out 0.06s;
}

.card-tags span {
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.35);
    padding: 0.125rem 0.5rem;
}

/* Hover */
.project-card:hover .card-img {
    transform: scale(1.18) translateX(2rem);
}

.project-card:hover .card-overlay {
    background: rgba(0, 0, 0, 0.6);
}

.project-card:hover .card-client,
.project-card:hover .card-title-hover,
.project-card:hover .card-tags {
    transform: translateY(0);
    opacity: 1;
}

/* Card Footer */
.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 0 0.25rem;
}

.card-name {
    font-size: 0.875rem;
    font-weight: 400;
    color: #0a0a0a;
    margin: 0;
    line-height: 1.4;
}

.card-year {
    color: #9ca3af;
}

.btn-case-study {
    flex-shrink: 0;
    border: 1px solid #0a0a0a;
    color: #0a0a0a;
    font-size: 0.6875rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 0.375rem 0.875rem;
    text-decoration: none;
    background: transparent;
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
}

.btn-case-study:hover {
    background: #0a0a0a;
    color: #ffffff;
}

/* Responsive */
@media (max-width: 1023px) {
    .page-header {
        padding: 3rem 0 2rem;
    }

    .header-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .project-section {
        padding: 3rem 0 5rem;
    }
}

@media (max-width: 767px) {
    .header-title h1 {
        font-size: 2.5rem;
    }

    .card-footer {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.75rem;
    }
}

/* Contact Page */

.contact-hero {
  width: 100%;
  height: 550px;
  overflow: hidden;
}

.contact-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.contact-main {
  padding: 90px 0 110px;
  background-color: #ffffff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 120px;
  align-items: start;
}

.contact-left h1 {
  font-size: 48px;
  font-weight: 500;
  letter-spacing: -1.5px;
  margin-bottom: 28px;
  color: #050505;
}

.contact-left p {
  max-width: 360px;
  font-size: 15px;
  line-height: 1.7;
  color: #555555;
}

.contact-right {
  padding-top: 22px;
}

.contact-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 40px;
  padding: 28px 0;
  border-bottom: 1px solid #d48a2a;
}

.contact-row:last-child {
    border-bottom: none;
}

.contact-row:first-child {
  padding-top: 0;
}

.contact-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  color: #999999;
}

.contact-row p:not(.contact-label) {
  font-size: 15px;
  line-height: 1.6;
  color: #222222;
}

/* Responsive */

@media screen and (max-width: 900px) {
  .contact-hero {
    height: 280px;
  }

  .contact-main {
    padding: 60px 0 80px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .contact-left h1 {
    font-size: 38px;
  }

  .contact-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

/* ============================================
   CASE STUDY PAGE
   ============================================ */

.cs-header {
    padding: 40px 0;
}

@media (min-width: 768px) {
    .cs-header {
        padding: 56px 0 48px;
    }
}

.cs-header-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

@media (min-width: 1024px) {
    .cs-header-grid {
        grid-template-columns: 5fr 7fr;
        gap: 48px;
        align-items: start;
    }
}

.breadcrumb {
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: #9ca3af;
    margin-bottom: 20px;
}

.cs-title {
    font-weight: 500;
    font-size: 36px;
    line-height: 1.08;
    color: #0a0a0a;
}

@media (min-width: 640px) {
    .cs-title {
        font-size: 46px;
    }
}

@media (min-width: 1024px) {
    .cs-title {
        font-size: 56px;
    }
}

.cs-header-right {
    display: flex;
    align-items: flex-start;
}

@media (min-width: 1024px) {
    .cs-header-right {
        padding-top: 56px;
    }
}

.cs-description {
    font-size: 1rem;
    line-height: 1.7;
    color: #4a5565;
    font-weight: 400;
}

.cs-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 32px;
}

@media (min-width: 768px) {
    .cs-meta {
        grid-template-columns: repeat(4, 1fr);
    }
}

.cs-meta-item {
    text-align: center;
    padding: 20px 16px;
}

.cs-meta-item {
    position: relative;
    text-align: center;
    padding: 20px 16px;
}

.cs-meta-item.border-right::after {
    content: "";
    position: absolute;
    right: 0;
    top: 20px;
    bottom: 20px;
    width: 1px;
    background: #e5e7eb;
}

.meta-label {
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: #9ca3af;
    margin-bottom: 6px;
}

.meta-value {
    font-size: 0.875rem;
    color: #0a0a0a;
}

/* Carousel */
.carousel {
    position: relative;
    width: 100%;
    height: 72vh;
    min-height: 380px;
    overflow: hidden;
    background: #0a0a0a;
}

.carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.7s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

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

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    z-index: 10;
    transition: background 0.2s ease;
    backdrop-filter: blur(4px);
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 0.4);
}

.carousel-btn--prev {
    left: 32px;
}

.carousel-btn--next {
    right: 32px;
}

.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.carousel-dot {
    width: 6px;
    height: 6px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: width 0.3s ease, background 0.3s ease;
}

.carousel-dot.active {
    width: 24px;
    background: #ffffff;
}

.cs-section {
    padding: 48px 0;
}

@media (min-width: 768px) {
    .cs-section {
        padding: 64px 0;
    }
}

.border-bottom {
    border-bottom: 1px solid #e5e7eb;
}

.cs-section-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

@media (min-width: 1024px) {
    .cs-section-grid {
        grid-template-columns: 3fr 9fr;
        gap: 112px;
        align-items: start;
    }
}

.cs-section-label h2 {
    font-size: 1rem;
    font-weight: 500;
    color: #0a0a0a;
}

.cs-section-body p {
    font-size: 0.875rem;
    line-height: 1.7;
    color: #4a5565;
}

.cs-solution-body {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.two-col-images {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 40px;
}

@media (min-width: 768px) {
    .two-col-images {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
}

.img-box {
    overflow: hidden;
    background: #f3f4f6;
}

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

.aspect-4-3 {
    aspect-ratio: 4 / 3;
}

.aspect-wide {
    aspect-ratio: 21 / 8;
}

.aspect-wider {
    aspect-ratio: 21 / 9;
}

.final-outcome {
    width: 100%;
    margin-top: 48px;
    padding-bottom: 80px;
}

@media (min-width: 768px) {
    .final-outcome {
        margin-top: 64px;
        padding-bottom: 112px;
    }
}

.outcome-title {
    font-size: 1rem;
    font-weight: 500;
    color: #0a0a0a;
    margin-bottom: 24px;
}

.outcome-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

@media (min-width: 768px) {
    .outcome-grid {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .carousel {
        height: 50vh;
    }

    .carousel-btn--prev {
        left: 16px;
    }

    .carousel-btn--next {
        right: 16px;
    }
}

.final-outcome .two-col-images {
    margin-top: 0;
}

.case-video {
    margin: 48px 0;
}

.case-video video {
    width: 100%;
    height: auto;
    display: block;
}

/* RubberLand */

/* Design Process */
.rubberland-process {
    aspect-ratio: auto !important;
    overflow: visible !important;
}

.rubberland-process img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}


/* Final Outcome */
.rubberland-wide,
.rubberland-wider,
.rubberland-square {
    aspect-ratio: auto !important;
    overflow: visible !important;
}

.rubberland-wide img,
.rubberland-wider img,
.rubberland-square img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

/* ===========================
   Haven
=========================== */

/* Banner */

.case-banner{
    margin-top: 48px;
}

.haven-banner{
    width: 100%;
    overflow: hidden;
}

.haven-banner img{
    width: 100%;
    height: auto;
    display: block;
}


/* Process */

.haven-process{
    aspect-ratio: auto !important;
    overflow: visible !important;
}

.haven-process img{
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}


/* Final Outcome */

.haven-gallery{
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.haven-two-col{
    display: flex;
    gap: 32px;
    align-items: stretch;
}

.haven-video,
.haven-image{
    flex: 1;
    display: flex;
}

.haven-long{
    overflow: visible;
}

.haven-video video,
.haven-image img{
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.haven-long img{
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

/* ===========================
   flyID
=========================== */

/* Banner */

.flyid-banner{
    width: 100%;
    overflow: hidden;
}

.flyid-banner img{
    width: 100%;
    height: auto;
    display: block;
}


/* Design Process */

.flyid-process-grid{
    display:flex;
    gap:32px;
    align-items:center;
    margin-top:48px;
}

.flyid-process-portrait{
    width:35%;
}

.flyid-process-landscape{
    flex:1;
}

.flyid-process-portrait img{
    width:100%;
    height:auto;
    display:block;
}

.flyid-process-landscape img{
    width:100%;
    height:auto;
    display:block;
}


/* Final Outcome */

.flyid-gallery{
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.flyid-two-col{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: stretch;
}

.flyid-image-equal{
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.flyid-image-equal img{
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.flyid-long img{
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}


/* Mobile */

@media (max-width: 768px){

    .flyid-process-grid,
    .flyid-two-col{
        display: flex;
        flex-direction: column;
        gap: 24px;
    }

    .flyid-process-portrait{
        width: 100%;
    }

    .flyid-image-equal{
        aspect-ratio: auto;
        overflow: visible;
    }

    .flyid-image-equal img{
        height: auto;
        object-fit: contain;
    }
}