/* ========================================
   VARIABLES
   ======================================== */
:root {
    --primary: #2563EB;
    --dark: #050401;
    --light: #FFFAFF;
    --orange: #2563EB;
    --black: #050401;
    --white: #FFFAFF;
    --gray: #888888;

    --font-display: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ========================================
   RESET
   ======================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    color: var(--black);
    background: var(--white);
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

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

button {
    font-family: inherit;
    border: none;
    background: none;
    cursor: pointer;
}

/* ========================================
   NAVIGATION - Fixed Top Right
   ======================================== */
.nav {
    position: fixed;
    top: 40px;
    right: 40px;
    z-index: 1000;
}

.nav-toggle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.nav-toggle:hover {
    background: rgba(255,255,255,0.1);
    transform: scale(1.05);
}

.nav-toggle span {
    width: 20px;
    height: 2px;
    background: var(--white);
    transition: transform 0.3s ease;
}

.nav-toggle.active span:first-child {
    transform: translateY(4px) rotate(45deg);
}

.nav-toggle.active span:last-child {
    transform: translateY(-4px) rotate(-45deg);
}

/* ========================================
   HERO - 677px height, logo top-left
   ======================================== */
.hero {
    height: 677px;
    background: var(--primary);
    color: var(--white);
    position: relative;
    padding: 40px;
    display: flex;
    flex-direction: column;
}

.hero-logo {
    position: absolute;
    top: 40px;
    left: 40px;
}

.logo {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 300;
    letter-spacing: -0.03em;
}

.hero-content {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-bottom: 40px;
    gap: 60px;
}

.hero-left {
    flex: 1;
    max-width: 700px;
}

.hero-right {
    flex: 0 0 400px;
}

.hero-headline {
    font-family: var(--font-display);
    font-size: 64px;
    font-weight: 300;
    line-height: 1.05;
    letter-spacing: -0.03em;
}

.hero-subhead {
    font-size: 18px;
    line-height: 1.6;
    opacity: 0.7;
    margin: 24px 0 0 0;
    max-width: 480px;
}

/* Rotating Text */
.rotating-text__highlight {
    color: var(--dark);
}

[data-rotating-words] {
    display: inline-block;
    position: relative;
    overflow: hidden;
    vertical-align: bottom;
    height: 1.05em;
}

.rotating-text__inner {
    display: inline-block;
    position: relative;
    height: 100%;
}

.rotating-text__word {
    display: block;
    white-space: nowrap;
    position: absolute;
    top: 0;
    left: 0;
}

@media (max-width: 900px) {
    .hero {
        position: relative;
        padding: 20px;
    }

    .hero-content {
        position: absolute;
        bottom: 40px;
        left: 20px;
        right: 20px;
        display: block;
        padding: 0;
    }

    .hero-left {
        max-width: 100%;
    }

    .hero-headline {
        font-size: 56px !important;
    }
}

@media (max-width: 600px) {
    .hero-headline {
        font-size: 48px !important;
    }
}

/* ========================================
   PROJECTS - Full width, no gaps
   ======================================== */
.projects {
    width: 100%;
}

.projects-row {
    display: flex;
    width: 100%;
}

.projects-row .project {
    flex: 1;
}

.projects-row--2col .project {
    flex: 1;
}

.project {
    position: relative;
    overflow: hidden;
}

.project-link {
    display: block;
    position: relative;
}

.project-media {
    position: relative;
    aspect-ratio: 1.52;
    overflow: hidden;
}

.project-thumb {
    width: 100%;
    height: 100%;
    transition: transform 0.6s ease;
}

.project-link:hover .project-thumb {
    transform: scale(1.05);
}

.project-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
    color: var(--white);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-link:hover .project-info {
    opacity: 1;
}

.project-name {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 400;
    letter-spacing: -0.02em;
}

.project-category {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.8;
}

/* ========================================
   CLIENTS - Yellow section
   ======================================== */
.clients {
    background: var(--yellow);
    padding: 80px 40px;
}

.clients-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--black);
    opacity: 0.5;
    margin-bottom: 40px;
}

.clients-list {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 32px 20px;
}

.client {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 400;
    letter-spacing: -0.02em;
    opacity: 0.6;
    transition: opacity 0.3s ease;
    cursor: default;
}

.client:hover {
    opacity: 1;
}

/* ========================================
   ABOUT
   ======================================== */
.about {
    padding: 100px 40px;
    max-width: 1600px;
    margin: 0 auto;
}

.about-row {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 40px;
    padding: 40px 0;
    border-top: 1px solid rgba(0,0,0,0.1);
}

.about-row:first-child {
    border-top: none;
}

.about-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gray);
}

.about-text {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 300;
    line-height: 1.3;
    letter-spacing: -0.02em;
    max-width: 700px;
}

.services {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 32px;
}

.services span {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 400;
    letter-spacing: -0.02em;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.services span:hover {
    opacity: 1;
}

/* ========================================
   CONTACT
   ======================================== */
.contact {
    background: var(--orange);
    color: var(--white);
    padding: 140px 40px;
    text-align: center;
}

.contact-headline {
    font-family: var(--font-display);
    font-size: 64px;
    font-weight: 300;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.contact-btn {
    display: inline-block;
    padding: 16px 40px;
    background: var(--white);
    color: var(--orange);
    font-size: 16px;
    font-weight: 500;
    border-radius: 100px;
    transition: all 0.3s ease;
}

.contact-btn:hover {
    background: var(--black);
    color: var(--white);
    transform: translateY(-2px);
}

/* ========================================
   PARALLAX FOOTER
   ======================================== */
.footer-wrap {
    position: relative;
    overflow: hidden;
}

.parallax-footer {
    background: var(--dark);
    color: var(--light);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 160px 40px 40px;
    position: relative;
}

.parallax-footer__content {
    max-width: 1600px;
    margin: 0 auto;
    width: 100%;
}

.parallax-footer__top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin-bottom: 80px;
}

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

.parallax-footer__col--intro {
    justify-content: space-between;
    gap: 0;
}

.parallax-footer__intro-bottom {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.parallax-footer__label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #d6fd70;
}

.parallax-footer__title {
    font-family: var(--font-display);
    font-size: 56px;
    font-weight: 500;
    letter-spacing: -0.04em;
    line-height: 92%;
    margin: 0;
}

.parallax-footer__text {
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255, 250, 255, 0.7);
    max-width: 400px;
}

/* Footer Form */
.parallax-footer__form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.parallax-footer__form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.parallax-footer__input,
.parallax-footer__textarea {
    width: 100%;
    padding: 14px 16px;
    font-size: 14px;
    font-family: inherit;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0;
    color: var(--light);
    transition: border-color 0.3s ease, background 0.3s ease;
    -webkit-appearance: none;
}

.parallax-footer__input::placeholder,
.parallax-footer__textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
    font-size: 14px;
}

.parallax-footer__input:focus,
.parallax-footer__textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.08);
}

.parallax-footer__textarea {
    min-height: 120px;
    resize: vertical;
}

select.parallax-footer__input {
    cursor: pointer;
    padding-right: 40px;
    background: rgba(255, 255, 255, 0.05) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='rgba(255,255,255,0.5)' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 16px center / 12px;
}

select.parallax-footer__input:focus {
    background: rgba(255, 255, 255, 0.08) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='rgba(255,255,255,0.8)' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 16px center / 12px;
}

.parallax-footer__submit {
    align-self: flex-start;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 500;
    font-family: inherit;
    background: var(--primary);
    color: var(--light);
    border: none;
    border-radius: 0;
    cursor: pointer;
    transition: background 0.3s ease;
}

.parallax-footer__submit:hover {
    background: var(--light);
    color: var(--dark);
}

/* Footer Links */
.parallax-footer__links {
    display: flex;
    gap: 80px;
    padding-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.parallax-footer__links-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.parallax-footer__links-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 250, 255, 0.5);
}

.parallax-footer__nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.parallax-footer__nav a,
.parallax-footer__location {
    font-size: 18px;
    color: var(--light);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.parallax-footer__nav a:hover {
    opacity: 1;
}

/* Footer Logo Row */
.parallax-footer__logo-row {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: auto;
    padding-top: 80px;
}

.parallax-footer__tagline {
    font-size: 14px;
    color: rgba(255, 250, 255, 0.5);
}

.parallax-footer__logo-large {
    display: block;
    width: 100%;
    height: auto;
}

.parallax-footer__copyright {
    font-size: 14px;
    color: rgba(255, 250, 255, 0.4);
    margin-top: 24px;
}

.parallax-footer__social {
    position: absolute;
    right: 40px;
    bottom: 40px;
    color: rgba(255, 250, 255, 0.4);
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.parallax-footer__social:hover {
    color: rgba(255, 250, 255, 0.8);
}

/* Dark overlay for parallax */
.footer-wrap__dark {
    opacity: 0;
    pointer-events: none;
    background-color: var(--dark);
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

/* Responsive Parallax Footer */
@media (max-width: 991px) {
    .parallax-footer__top {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .parallax-footer__col--intro {
        justify-content: flex-start;
        gap: 24px;
    }

    .parallax-footer__links {
        flex-wrap: wrap;
        gap: 40px;
    }

    .parallax-footer__input,
    .parallax-footer__textarea {
        font-size: 13px;
        padding: 14px 12px;
    }

    .parallax-footer__input::placeholder,
    .parallax-footer__textarea::placeholder {
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .parallax-footer {
        padding: 120px 20px 32px;
    }

    .parallax-footer__title {
        font-size: 40px;
    }

    .parallax-footer__form-row {
        grid-template-columns: 1fr;
    }

    .parallax-footer__input,
    .parallax-footer__textarea {
        font-size: 12px;
        padding: 12px 10px;
    }

    .parallax-footer__input::placeholder,
    .parallax-footer__textarea::placeholder {
        font-size: 12px;
    }

    .parallax-footer__links {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .parallax-footer__links-col:last-child {
        grid-column: 1 / -1;
    }
}

/* ========================================
   MENU OVERLAY
   ======================================== */
.menu {
    position: fixed;
    inset: 0;
    background: var(--orange);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.menu.active {
    opacity: 1;
    visibility: visible;
}

.menu-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-bottom: 60px;
}

.menu-link {
    font-family: var(--font-display);
    font-size: 64px;
    font-weight: 300;
    color: var(--white);
    letter-spacing: -0.03em;
    transition: opacity 0.3s ease;
}

.menu-link:hover {
    opacity: 0.5;
}

.menu-footer a {
    color: var(--white);
    font-size: 16px;
    opacity: 0.8;
}

/* ========================================
   RESPONSIVE - TABLET
   ======================================== */
@media (max-width: 1024px) {
    .nav {
        top: 24px;
        right: 24px;
    }

    .hero {
        height: auto;
        min-height: 500px;
        padding: 24px;
    }

    .hero-logo {
        top: 24px;
        left: 24px;
    }

    .logo {
        font-size: 36px;
    }

    .hero-content {
        padding-bottom: 24px;
    }

    .hero-headline {
        font-size: 40px;
    }

    .projects-row {
        flex-wrap: wrap;
    }

    .projects-row .project {
        flex: 1 1 50%;
    }

    .clients {
        padding: 60px 24px;
    }

    .clients-list {
        grid-template-columns: repeat(4, 1fr);
    }

    .client {
        font-size: 22px;
    }

    .about {
        padding: 60px 24px;
    }

    .about-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .about-text {
        font-size: 28px;
    }

    .contact {
        padding: 100px 24px;
    }

    .contact-headline {
        font-size: 40px;
    }

    .footer {
        padding: 40px 24px;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 24px;
        text-align: left;
    }

    .footer-nav,
    .footer-social {
        justify-content: flex-start;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

/* ========================================
   RESPONSIVE - MOBILE
   ======================================== */
@media (max-width: 768px) {
    .nav {
        top: 16px;
        right: 16px;
    }

    .nav-toggle {
        width: 48px;
        height: 48px;
    }

    .hero {
        padding: 16px;
        min-height: 400px;
    }

    .hero-logo {
        top: 16px;
        left: 16px;
    }

    .logo {
        font-size: 28px;
    }

    .hero-content {
        padding-bottom: 16px;
    }

    .hero-headline {
        font-size: 28px;
    }

    .projects-row .project {
        flex: 1 1 100%;
    }

    .clients {
        padding: 40px 16px;
    }

    .clients-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px 16px;
    }

    .client {
        font-size: 18px;
    }

    .about {
        padding: 40px 16px;
    }

    .about-text {
        font-size: 22px;
    }

    .services span {
        font-size: 18px;
    }

    .contact {
        padding: 60px 16px;
    }

    .contact-headline {
        font-size: 28px;
    }

    .footer {
        padding: 32px 16px;
    }

    .menu-link {
        font-size: 40px;
    }
}

/* ========================================
   SERVICES SECTION WITH IMAGE PREVIEW
   ======================================== */
.services-section {
    padding: 100px 40px;
    max-width: 1600px;
    margin: 0 auto;
    position: relative;
}

.services-header {
    margin-bottom: 40px;
}

.services-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gray);
}

.preview-collection {
    width: 100%;
}

.preview-list {
    flex-flow: column;
    width: 100%;
    display: flex;
    position: relative;
}

.preview-item {
    width: 100%;
    transition: opacity 0.2s;
}

.preview-item__inner {
    border-top: 1px solid rgba(0, 0, 0, 0.15);
    width: 100%;
    padding-top: 2em;
    padding-bottom: 2em;
    display: block;
    text-decoration: none;
    color: inherit;
}

.preview-item:last-of-type .preview-item__inner {
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}

.preview-item__row {
    flex-flow: wrap;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    display: flex;
}

.preview-item__col {
    flex: 1;
}

.preview-item__col.is--large {
    max-width: 60%;
}

.preview-item__col.is--medium {
    max-width: 40%;
    text-align: right;
}

.preview-item__heading {
    font-family: var(--font-display);
    font-size: 3.5em;
    font-weight: 300;
    line-height: 1;
    margin: 0;
    letter-spacing: -0.02em;
    transition: opacity 0.3s ease;
}

.preview-item__text {
    font-size: 1em;
    font-weight: 400;
    line-height: 1.2;
    margin: 0;
    color: var(--gray);
}

.preview-item__visual {
    aspect-ratio: 1 / 1.25;
    width: 20em;
    display: none;
    position: absolute;
    overflow: hidden;
}

.preview-follower [data-follower-visual] {
    display: block;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.preview-item__visual-img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.preview-follower {
    z-index: 100;
    aspect-ratio: 1 / 1.25;
    pointer-events: none;
    border-radius: 0.75em;
    justify-content: center;
    align-items: center;
    width: 20em;
    display: flex;
    position: fixed;
    inset: 0% auto auto 0%;
    overflow: hidden;
}

.preview-follower__inner {
    z-index: 2;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    display: flex;
    position: relative;
    opacity: 0;
    transform: scale(0);
    transition: opacity 0.1s ease, transform 0.6s cubic-bezier(0.65, 0.1, 0, 1);
}

.preview-follower__label {
    z-index: 2;
    position: absolute;
    opacity: 0;
    transform: translate(0px, 100%);
    transition: opacity 0.1s ease, transform 0.6s cubic-bezier(0.65, 0.1, 0, 1);
}

.preview-follower__label-span {
    background-color: #fff;
    border-radius: 0.25em;
    padding: 0.75em 1.25em;
    font-size: 1em;
    font-weight: 500;
}

/* Hover states for desktop */
@media (hover: hover) and (min-width: 992px) {
    body:has([data-follower-collection]:hover) .preview-follower__inner {
        opacity: 1;
        transform: scale(1);
    }

    body:has([data-follower-collection]:hover) .preview-follower__label {
        opacity: 1;
        transform: translate(0px, 0%);
    }

    body:has(.preview-item:hover) .preview-item:not(:hover) {
        opacity: 0.4;
    }

    body:has(.preview-item:hover) .preview-item:not(:hover) .preview-item__heading {
        opacity: 0.4;
    }
}

/* Services responsive - Tablet */
@media screen and (max-width: 991px) {
    .services-section {
        padding: 60px 24px;
    }

    .preview-item__col.is--large {
        flex: none;
        width: 100%;
        max-width: none;
        margin-bottom: 0.5em;
    }

    .preview-item__col.is--medium {
        max-width: 100%;
        text-align: left;
    }

    .preview-item__heading {
        font-size: 2.5em;
    }

    .preview-follower {
        display: none;
    }
}

/* Services responsive - Mobile */
@media screen and (max-width: 767px) {
    .services-section {
        padding: 40px 16px;
    }

    .preview-item__heading {
        font-size: 2em;
    }

    .preview-item__inner {
        padding-top: 1.5em;
        padding-bottom: 1.5em;
    }
}

/* ========================================
   UPDATED NAVIGATION
   ======================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 40px;
    background: transparent;
    transition: background 0.3s ease;
}

.nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.nav-logo {
    display: flex;
    align-items: center;
    color: var(--white);
    text-decoration: none;
}

.nav-logo svg {
    height: 20px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-size: 14px;
    color: var(--white);
    opacity: 0.8;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    opacity: 1;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-cta {
    padding: 10px 20px;
    font-size: 14px;
    color: var(--light);
    background: var(--primary);
    text-decoration: none;
    border-radius: 100px;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    background: var(--dark);
    color: var(--light);
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-block;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 100px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--orange);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--black);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-outline {
    background: transparent;
    color: var(--black);
    border: 1px solid rgba(0, 0, 0, 0.2);
}

.btn-outline:hover {
    background: var(--black);
    color: var(--white);
    border-color: var(--black);
}

.btn-large {
    padding: 18px 40px;
    font-size: 16px;
}


/* ========================================
   PROOF STRIP
   ======================================== */
.proof-strip {
    background: var(--black);
    color: var(--white);
    padding: 24px 40px;
}

.proof-inner {
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 24px;
}

.proof-label {
    font-size: 13px;
    opacity: 0.5;
}

.proof-clients {
    display: flex;
    gap: 32px;
}

.proof-client {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 400;
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.proof-client:hover {
    opacity: 1;
}

/* ========================================
   WORK STRIP - Full Width Horizontal
   ======================================== */
.work-strip {
    width: 100%;
}

.work-strip-grid {
    display: flex;
    width: 100%;
}

.work-strip-item {
    flex: 1;
    aspect-ratio: 1 / 1;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: var(--white);
    background: var(--dark);
}

.work-strip-img,
.work-strip-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.work-strip-item:hover .work-strip-img,
.work-strip-item:hover .work-strip-video {
    transform: scale(1.05);
}

.work-strip-content {
    display: none;
}

.work-strip-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 3vw, 42px);
    font-weight: 300;
    margin-bottom: 8px;
}

.work-strip-subtitle {
    font-size: 14px;
    opacity: 0.85;
    max-width: 280px;
}

@media (max-width: 768px) {
    .work-strip-grid {
        flex-direction: column;
    }

    .work-strip-item {
        aspect-ratio: 4 / 3;
    }

    .work-strip-content {
        opacity: 1;
    }
}

/* ========================================
   VIDEO TESTIMONIAL
   ======================================== */
.video-testimonial {
    position: relative;
    width: 100%;
    color: #fff;
    overflow: hidden;
}

.video-testimonial__video-wrap {
    z-index: 1;
    width: 100%;
    height: auto;
    padding-top: 80px;
    padding-bottom: 80px;
    position: relative;
}

.video-testimonial__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
}

.video-testimonial__overlay {
    pointer-events: none;
    background-image: linear-gradient(90deg, rgba(24, 30, 37, 0.64), rgba(24, 30, 37, 0.16) 50%);
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    z-index: 1;
}

.video-testimonial__content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1800px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 32px;
    padding-right: 32px;
}

.video-testimonial__quote-wrap {
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    max-width: 627px;
    margin-bottom: 420px;
    position: relative;
}

.video-testimonial__quote {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 700;
    line-height: 1.125;
    color: #fff;
    margin: 0;
}

.video-testimonial__attribution {
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    position: relative;
}

.video-testimonial__name {
    font-size: 16px;
    font-weight: 500;
    color: #fff;
}

.video-testimonial__title {
    font-size: 16px;
    font-weight: 400;
    color: #fff;
}

@media (max-width: 767px) {
    .video-testimonial__quote-wrap {
        margin-bottom: 140px;
    }
}

@media (max-width: 479px) {
    .video-testimonial__quote-wrap {
        margin-bottom: 100px;
    }
}

/* ========================================
   SECTION LABELS & TITLES
   ======================================== */
.section-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--primary);
    margin-bottom: 16px;
}

.section-label--light {
    color: rgba(255, 250, 255, 0.6);
}

.section-headline {
    font-family: var(--font-display);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 300;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 300;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

.section-intro {
    font-size: 18px;
    color: var(--gray);
    max-width: 500px;
}

/* ========================================
   OUTCOMES SECTION
   ======================================== */
.outcomes {
    padding: 120px 40px;
    background: var(--white);
}

.outcomes-inner {
    max-width: 1600px;
    margin: 0 auto;
}

.outcomes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.outcome-item {
    padding: 32px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.outcome-title {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 8px;
}

.outcome-desc {
    font-size: 15px;
    color: var(--gray);
}

/* ========================================
   WORK PREVIEW
   ======================================== */
.work-preview {
    padding: 120px 40px;
    background: #f8f8f8;
}

.work-preview-inner {
    max-width: 1600px;
    margin: 0 auto;
}

.work-preview-header {
    margin-bottom: 60px;
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.work-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.work-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.work-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.work-card-image {
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.work-card-placeholder {
    width: 100%;
    height: 100%;
    transition: transform 0.6s ease;
}

.work-card:hover .work-card-placeholder {
    transform: scale(1.05);
}

.work-card-content {
    padding: 28px;
}

.work-card-title {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 400;
    margin-bottom: 8px;
}

.work-card-subtitle {
    font-size: 16px;
    color: var(--gray);
    margin-bottom: 16px;
}

.work-card-desc {
    font-size: 15px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 20px;
}

.work-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.work-card-tags span {
    font-size: 12px;
    padding: 6px 12px;
    background: #f0f0f0;
    border-radius: 100px;
    color: var(--gray);
}

.work-preview-cta {
    text-align: center;
    margin-top: 60px;
}

/* ========================================
   ABOUT STATS SECTION
   ======================================== */
.about-stats {
    background: var(--dark);
    padding: 80px 40px;
}

.about-stats__inner {
    max-width: 1800px;
    margin: 0 auto;
}

.about-stats__divider {
    border-bottom: 1px dashed rgba(255, 255, 255, 0.3);
    width: 100%;
    margin-bottom: 32px;
}

.about-stats__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.about-stats__left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.about-stats__label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    line-height: 16px;
    color: #d6fd70;
}

.about-stats__right {
    display: flex;
    flex-direction: column;
    gap: 64px;
}

.about-stats__text {
    font-size: 32px;
    font-weight: 500;
    letter-spacing: -0.03em;
    line-height: 1.2;
    color: var(--light);
    margin: 0;
    max-width: 700px;
}

.about-stats__numbers {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px 32px;
}

.about-stats__item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.08), transparent);
    padding: 28px 16px 24px 40px;
}

.about-stats__number {
    font-size: 48px;
    font-weight: 500;
    letter-spacing: -0.04em;
    line-height: 100%;
    color: var(--light);
}

.about-stats__number .about-stats__label {
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0;
}

.about-stats__desc {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--light);
    opacity: 0.7;
}

/* About Testimonial */
.about-testimonial {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 24px;
    background-color: #1a1a1a;
    padding: 16px;
}

.about-testimonial__stars {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #d6fd70;
}

.about-testimonial__star {
    width: 14px;
    height: 14px;
}

.about-testimonial__quote {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--light);
    margin: 0;
}

.about-testimonial__bottom {
    display: none; /* Temporarily hidden */
    align-items: center;
    gap: 8px;
}

.about-testimonial__avatar {
    width: 32px;
    height: 32px;
    border-radius: 100vw;
    overflow: hidden;
}

.about-testimonial__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-testimonial__attribution {
    display: flex;
    flex-direction: column;
}

.about-testimonial__name {
    font-size: 13px;
    font-weight: 500;
    color: var(--light);
}

.about-testimonial__role {
    font-size: 13px;
    font-weight: 400;
    color: var(--light);
    opacity: 0.64;
}

@media (max-width: 991px) {
    .about-stats__grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-stats__number {
        font-size: 40px;
    }

    .about-stats__number .about-stats__label {
        font-size: 14px;
    }
}

@media (max-width: 767px) {
    .about-stats {
        padding: 48px 20px;
    }

    .about-stats__text {
        font-size: 24px;
    }

    .about-stats__number {
        font-size: 36px;
    }

    .about-stats__number .about-stats__label {
        font-size: 13px;
    }

    .about-stats__item {
        padding: 24px 16px 20px 24px;
    }

    .about-testimonial {
        margin-top: 32px;
    }
}

@media (max-width: 479px) {
    .about-stats__numbers {
        grid-template-columns: 1fr 1fr;
        gap: 32px 8px;
    }

    .about-stats__number {
        font-size: 32px;
    }

    .about-stats__number .about-stats__label {
        font-size: 12px;
    }

    .about-stats__desc {
        font-size: 12px;
    }
}

/* ========================================
   ABOUT VIDEO PLAYER
   ======================================== */
.about-video-player {
    margin-top: auto;
}

.about-video-player__thumbnail {
    position: relative;
    width: 280px;
    height: 158px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-video-player__thumbnail:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.about-video-player__preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-video-player__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    transition: background 0.3s ease;
}

.about-video-player__thumbnail:hover .about-video-player__overlay {
    background: rgba(0, 0, 0, 0.15);
}

.about-video-player__btn {
    position: absolute;
    bottom: 16px;
    left: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    padding: 0;
    pointer-events: none;
}

.about-video-player__play-icon {
    width: 32px;
    height: 32px;
    background: #d6fd70;
    border-radius: 50%;
    padding: 8px;
    color: #050401;
    transition: transform 0.3s ease;
}

.about-video-player__thumbnail:hover .about-video-player__play-icon {
    transform: scale(1.1);
}

.about-video-player__label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #d6fd70;
}

/* Video Modal */
.video-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.video-modal.is-active {
    opacity: 1;
    visibility: visible;
}

.video-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    cursor: pointer;
}

.video-modal__content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.video-modal.is-active .video-modal__content {
    transform: scale(1);
}

.video-modal__close {
    position: absolute;
    top: -48px;
    right: 0;
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 8px;
    transition: opacity 0.3s ease;
}

.video-modal__close:hover {
    opacity: 0.7;
}

.video-modal__video {
    width: 100%;
    border-radius: 12px;
    background: #000;
}

@media (max-width: 991px) {
    .about-video-player {
        margin-top: 48px;
    }

    .about-video-player__thumbnail {
        width: 100%;
        max-width: 400px;
        height: auto;
        aspect-ratio: 16 / 9;
    }
}

@media (max-width: 767px) {
    .about-video-player__thumbnail {
        max-width: 100%;
    }

    .video-modal__close {
        top: -40px;
    }
}

/* ========================================
   APPROACH SECTION - Video Cards
   ======================================== */
.approach {
    background: #f4f3f9;
    padding: 96px 40px;
    overflow: hidden;
}

.approach-inner {
    max-width: 1800px;
    margin: 0 auto;
}

.approach-header {
    max-width: 640px;
    margin-bottom: 64px;
}

.approach .section-label {
    color: rgba(5, 4, 1, 0.6);
}

.approach .section-headline {
    color: var(--dark);
    letter-spacing: -0.04em;
    font-size: 56px;
    font-weight: 500;
    line-height: 92%;
    margin: 0;
}

.approach-videos-wrap {
    overflow: hidden;
}

.approach-videos {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 10px;
}

.approach-videos::-webkit-scrollbar {
    display: none;
}

.approach-video-card {
    position: relative;
    flex: 0 0 auto;
    width: 400px;
    height: 500px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 40px;
    transition: width 0.5s ease;
}

.approach-video-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 1;
    pointer-events: none;
}

.approach-video-card:hover {
    width: 500px;
}

.approach-video-card__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.approach-video-card__content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.approach-video-card__top {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.approach-video-card__label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    line-height: 16px;
    color: #fff;
}

.approach-video-card__number {
    font-size: 80px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.04em;
    color: #fff;
}

.approach-video-card__text {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.approach-video-card__title {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: #fff;
    margin: 0;
}

.approach-video-card__desc {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.5;
    color: #fff;
    opacity: 0.8;
    margin: 0;
    max-width: 350px;
}

.approach-nav {
    display: flex;
    gap: 16px;
    margin-top: 48px;
}

.approach-nav-btn {
    background-color: #251e34;
    border: none;
    width: 64px;
    height: 64px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.approach-nav-btn:hover {
    background-color: #4a4a4a;
    transform: scale(1.05);
}

.approach-nav-btn svg {
    color: #fff;
}

@media (max-width: 991px) {
    .approach {
        padding: 64px 32px;
    }

    .approach .section-headline {
        font-size: 48px;
    }

    .approach-header {
        max-width: 450px;
        margin-bottom: 48px;
    }

    .approach-video-card {
        width: 350px;
        height: 450px;
        padding: 32px;
    }

    .approach-video-card:hover {
        width: 420px;
    }

    .approach-video-card__number {
        font-size: 64px;
    }

    .approach-video-card__title {
        font-size: 28px;
    }

    .approach-nav-btn {
        width: 48px;
        height: 48px;
    }
}

@media (max-width: 767px) {
    .approach {
        padding: 48px 20px;
    }

    .approach .section-headline {
        font-size: 40px;
    }

    .approach-header {
        max-width: 400px;
    }

    .approach-video-card {
        width: 300px;
        height: 400px;
        padding: 24px;
    }

    .approach-video-card:hover {
        width: 340px;
    }

    .approach-video-card__number {
        font-size: 56px;
    }

    .approach-video-card__title {
        font-size: 24px;
    }

    .approach-video-card__desc {
        font-size: 14px;
    }

    .approach-nav {
        margin-top: 32px;
    }
}

/* ========================================
   SERVICES CTA
   ======================================== */
.services-cta {
    margin-top: 40px;
}

/* ========================================
   ENGAGEMENTS SECTION - Contained
   ======================================== */
.engagements-section {
    padding: 120px 40px;
    background: linear-gradient(135deg, #1e3a8a 0%, #0f1d45 100%);
}

.engagements-section .section-label {
    color: #d6fd70;
}

.engagements-inner {
    max-width: 1400px;
    margin: 0 auto;
}

.engagements-header {
    margin-bottom: 64px;
}

.engagements-header .section-label {
    margin-bottom: 16px;
}

.engagements-section .section-headline {
    color: var(--light);
    letter-spacing: -0.04em;
    font-size: 56px;
    font-weight: 500;
    line-height: 92%;
    margin: 0;
}

.engagements-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.engagement-item {
    background: rgba(15, 26, 46, 0.8);
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    gap: 32px;
    height: 100%;
    transition: background 0.3s ease;
}

.engagement-item:hover {
    background: rgba(26, 42, 74, 0.9);
}

.engagement-header {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.engagement-name-wrap {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.engagement-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #d6fd70;
    line-height: 120%;
}

.engagement-title {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 400;
    letter-spacing: -0.5px;
    line-height: 1.2;
    color: var(--light);
    margin: 0;
}

.engagement-subtitle {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.5;
    color: rgba(255, 250, 255, 0.6);
    margin: 0;
}

.engagement-divider {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    height: 0;
}

.engagement-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.engagement-feature {
    display: flex;
    align-items: center;
    gap: 12px;
}

.engagement-check {
    color: #d6fd70;
    flex: none;
    justify-content: center;
    align-items: center;
    width: 20px;
    height: 20px;
    display: flex;
}

.engagement-check svg {
    width: 16px;
    height: auto;
}

.engagement-feature-text {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.4;
    color: var(--light);
    margin: 0;
}

.engagement-desc {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 250, 255, 0.6);
}

.engagement-bottom {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.engagement-bottom-label {
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 120%;
    color: rgba(255, 250, 255, 0.4);
}

.engagement-bottom-text {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    color: rgba(255, 250, 255, 0.6);
    margin: 0;
}

@media (max-width: 991px) {
    .engagements-grid {
        grid-template-columns: 1fr 1fr;
    }

    .engagement-item {
        padding: 32px 24px;
    }
}

@media (max-width: 991px) {
    .engagements-section .section-headline {
        font-size: 48px;
    }
}

@media (max-width: 767px) {
    .engagements-section {
        padding: 80px 20px;
    }

    .engagements-header {
        margin-bottom: 48px;
    }

    .engagements-section .section-headline {
        font-size: 40px;
    }

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

    .engagement-item {
        padding: 32px 24px;
    }

    .engagement-title {
        font-size: 24px;
    }
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about-section {
    padding: 120px 40px;
    background: var(--white);
}

.about-inner {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-text {
    font-size: 20px;
    line-height: 1.6;
    color: #444;
    margin-bottom: 40px;
}

/* ========================================
   FINAL CTA SECTION
   ======================================== */
.final-cta {
    padding: 160px 40px;
    background: var(--orange);
    color: var(--white);
    text-align: left;
}

.final-cta-inner {
    max-width: 700px;
    margin: 0;
}

.final-cta-title {
    font-family: var(--font-display);
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 24px;
}

.final-cta-text {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 40px;
}

/* ========================================
   PAGE HEADER (for inner pages)
   ======================================== */
.page-header {
    padding: 160px 40px 80px;
    background: var(--orange);
    color: var(--white);
}

.page-header-inner {
    max-width: 1600px;
    margin: 0 auto;
}

.page-title {
    font-family: var(--font-display);
    font-size: clamp(48px, 8vw, 80px);
    font-weight: 300;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
}

.page-intro {
    font-size: 20px;
    opacity: 0.9;
    max-width: 600px;
}

/* ========================================
   WORK PAGE
   ======================================== */
.work-page {
    padding: 80px 40px;
    background: var(--white);
}

.work-page-inner {
    max-width: 1600px;
    margin: 0 auto;
}

.work-grid--full {
    grid-template-columns: 1fr;
    gap: 60px;
}

.work-card--large {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.work-card--large .work-card-link {
    display: contents;
}

.work-card--large .work-card-image {
    aspect-ratio: 4 / 3;
    border-radius: 12px 0 0 12px;
}

.work-card--large .work-card-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 48px;
    background: #f8f8f8;
    border-radius: 0 12px 12px 0;
}

.work-card--large .work-card-title {
    font-size: 36px;
}

/* ========================================
   SERVICES PAGE
   ======================================== */
.services-page {
    padding: 80px 40px;
    background: var(--white);
}

.services-page-inner {
    max-width: 1000px;
    margin: 0 auto;
}

.service-block {
    padding: 48px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.service-block:first-child {
    padding-top: 0;
}

.service-block-title {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 400;
    margin-bottom: 16px;
}

.service-block-desc {
    font-size: 18px;
    color: #666;
    line-height: 1.6;
}

/* ========================================
   PAGE CTA
   ======================================== */
.page-cta {
    padding: 120px 40px;
    background: #f8f8f8;
    text-align: center;
}

.page-cta-inner {
    max-width: 600px;
    margin: 0 auto;
}

.page-cta-title {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 300;
    margin-bottom: 16px;
}

.page-cta-text {
    font-size: 18px;
    color: #666;
    margin-bottom: 32px;
}

/* ========================================
   CONTACT FORM
   ======================================== */
.contact-form-section {
    padding: 80px 40px;
    background: var(--white);
}

.contact-form-inner {
    max-width: 700px;
    margin: 0 auto;
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group--full {
    grid-column: span 2;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: var(--black);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 16px;
    font-size: 16px;
    font-family: inherit;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    background: var(--white);
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--orange);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ========================================
   CASE STUDY PAGES
   ======================================== */
.case-header {
    padding: 160px 40px 80px;
    background: var(--orange);
    color: var(--white);
}

.case-header-inner {
    max-width: 1000px;
    margin: 0 auto;
}

.case-back {
    display: inline-block;
    font-size: 14px;
    color: var(--white);
    opacity: 0.7;
    text-decoration: none;
    margin-bottom: 32px;
    transition: opacity 0.3s ease;
}

.case-back:hover {
    opacity: 1;
}

.case-title {
    font-family: var(--font-display);
    font-size: clamp(48px, 8vw, 72px);
    font-weight: 300;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
}

.case-subtitle {
    font-size: 22px;
    opacity: 0.9;
    margin-bottom: 24px;
}

.case-tags {
    display: flex;
    gap: 12px;
}

.case-tags span {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 100px;
    font-size: 14px;
}

.case-hero-image {
    aspect-ratio: 21 / 9;
    overflow: hidden;
}

.case-hero-placeholder {
    width: 100%;
    height: 100%;
}

.case-content {
    padding: 100px 40px;
    background: var(--white);
}

.case-content-inner {
    max-width: 800px;
    margin: 0 auto;
}

.case-section {
    margin-bottom: 60px;
}

.case-section:last-child {
    margin-bottom: 0;
}

.case-section-title {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 400;
    margin-bottom: 16px;
}

.case-section-text {
    font-size: 18px;
    line-height: 1.7;
    color: #444;
}

.case-themes,
.case-tactics {
    list-style: none;
    padding: 0;
}

.case-themes li,
.case-tactics li {
    font-size: 18px;
    line-height: 1.6;
    color: #444;
    padding-left: 24px;
    position: relative;
    margin-bottom: 12px;
}

.case-themes li::before,
.case-tactics li::before {
    content: "·";
    position: absolute;
    left: 0;
    color: var(--orange);
    font-weight: bold;
}

.case-images {
    padding: 0 40px 100px;
    background: var(--white);
}

.case-image-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.case-image-placeholder {
    aspect-ratio: 4 / 3;
    border-radius: 12px;
}

.case-next {
    padding: 80px 40px;
    background: #f8f8f8;
}

.case-next-inner {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.case-next-label {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gray);
    display: block;
    margin-bottom: 16px;
}

.case-next-link {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    color: var(--black);
}

.case-next-title {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 300;
    transition: color 0.3s ease;
}

.case-next-link:hover .case-next-title {
    color: var(--orange);
}

.case-next-arrow {
    font-size: 32px;
    transition: transform 0.3s ease;
}

.case-next-link:hover .case-next-arrow {
    transform: translateX(8px);
}

/* ========================================
   RESPONSIVE UPDATES
   ======================================== */
@media (max-width: 1024px) {
    .nav-links,
    .nav-ctas {
        display: none;
    }

    .outcomes-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .work-grid {
        grid-template-columns: 1fr;
    }

    .approach-steps {
        grid-template-columns: repeat(3, 1fr);
    }

    .engagements-grid {
        grid-template-columns: 1fr;
    }

    .work-card--large {
        grid-template-columns: 1fr;
    }

    .work-card--large .work-card-image {
        border-radius: 12px 12px 0 0;
    }

    .work-card--large .work-card-content {
        border-radius: 0 0 12px 12px;
    }
}

@media (max-width: 768px) {
    .nav {
        padding: 16px 20px;
    }

    .hero-ctas {
        flex-direction: column;
    }

    .proof-strip {
        padding: 20px;
    }

    .proof-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .outcomes,
    .work-preview,
    .approach,
    .engagements,
    .about-section,
    .final-cta,
    .services-section {
        padding: 80px 20px;
    }

    .outcomes-grid {
        grid-template-columns: 1fr;
    }

    .approach-steps {
        grid-template-columns: 1fr;
    }

    .page-header {
        padding: 120px 20px 60px;
    }

    .contact-form {
        grid-template-columns: 1fr;
    }

    .form-group--full {
        grid-column: span 1;
    }

    .case-image-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   ADVANCED FORM VALIDATION
   ======================================== */
.form-wrapper {
    width: 100%;
}

.form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.form-field-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-field-group--full {
    grid-column: span 2;
}

.form-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--black);
}

.form-required {
    color: var(--primary);
}

.form-field {
    position: relative;
    display: flex;
    align-items: center;
}

.form-input {
    width: 100%;
    padding: 14px 48px 14px 16px;
    font-size: 16px;
    font-family: inherit;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    background: var(--white);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    -webkit-appearance: none;
    appearance: none;
}

.form-input:focus {
    outline: none;
    border-color: var(--dark);
    box-shadow: 0 0 0 3px rgba(5, 4, 1, 0.1);
}

.form-input::placeholder {
    color: rgba(0, 0, 0, 0.4);
}

.form-input.is--textarea {
    resize: vertical;
    min-height: 140px;
    padding-right: 48px;
}

/* Select field styling */
select.form-input {
    padding-right: 80px;
    cursor: pointer;
}

.form-field-chevron {
    position: absolute;
    right: 16px;
    width: 20px;
    height: 20px;
    pointer-events: none;
    color: var(--dark);
    opacity: 0.5;
    transition: opacity 0.2s ease;
}

.form-field:has(select:focus) .form-field-chevron {
    opacity: 1;
}

/* Validation icons */
.form-field-icon {
    position: absolute;
    right: 16px;
    width: 20px;
    height: 20px;
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.2s ease, transform 0.2s ease;
    pointer-events: none;
}

.form-field-icon.is--success {
    color: #22c55e;
}

.form-field-icon.is--error {
    color: #ef4444;
}

.form-field-icon.is--select {
    right: 44px;
}

/* Validation states */
.form-field-group.is--valid .form-input {
    border-color: #22c55e;
}

.form-field-group.is--valid .form-field-icon.is--success {
    opacity: 1;
    transform: scale(1);
}

.form-field-group.is--error .form-input {
    border-color: #ef4444;
}

.form-field-group.is--error .form-field-icon.is--error {
    opacity: 1;
    transform: scale(1);
}

/* Hide chevron when validation icon shows on select */
.form-field-group.is--valid select.form-input ~ .form-field-chevron,
.form-field-group.is--error select.form-input ~ .form-field-chevron {
    opacity: 0;
}

/* Submit button */
.form-submit-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    background: var(--primary);
    color: var(--light);
    border-radius: 100px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    overflow: hidden;
}

.form-submit-btn:hover {
    background: var(--dark);
    transform: translateY(-2px);
}

.form-submit-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(252, 81, 48, 0.3);
}

.form-submit-btn-p {
    font-size: 16px;
    font-weight: 500;
    margin: 0;
    position: relative;
    z-index: 1;
}

.form-submit {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

/* Responsive form */
@media (max-width: 768px) {
    .form {
        grid-template-columns: 1fr;
    }

    .form-field-group--full {
        grid-column: span 1;
    }

    .contact-form-section {
        padding: 60px 20px;
    }
}

/* ========================================
   DARK PAGE THEME
   ======================================== */
body.dark-page {
    background-color: #0a0a0a;
    color: var(--light);
}

body.dark-page .nav-logo,
body.dark-page .nav-cta {
    color: var(--light);
}

body.dark-page .nav-toggle span {
    background: var(--light);
}

body.dark-page .page-header {
    background: #0a0a0a;
}

body.dark-page .page-title,
body.dark-page .page-intro {
    color: var(--light);
}

body.dark-page .page-intro {
    color: rgba(255, 255, 255, 0.7);
}

body.dark-page .services-page {
    background: #0a0a0a;
}

body.dark-page .service-block {
    background: #141414;
    border-color: rgba(255, 255, 255, 0.1);
}

body.dark-page .service-block-title {
    color: var(--light);
}

body.dark-page .service-block-desc {
    color: rgba(255, 255, 255, 0.6);
}

body.dark-page .page-cta {
    background: #141414;
}

body.dark-page .page-cta-title {
    color: var(--light);
}

body.dark-page .page-cta-text {
    color: rgba(255, 255, 255, 0.6);
}

body.dark-page .case-header {
    background: #0a0a0a;
}

body.dark-page .case-back {
    color: rgba(255, 255, 255, 0.6);
}

body.dark-page .case-title {
    color: var(--light);
}

body.dark-page .case-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

body.dark-page .case-tags span {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
}

body.dark-page .case-content {
    background: #0a0a0a;
}

body.dark-page .case-section-title {
    color: var(--light);
}

body.dark-page .case-section-text,
body.dark-page .case-themes li,
body.dark-page .case-tactics li {
    color: rgba(255, 255, 255, 0.7);
}

body.dark-page .case-images {
    background: #0a0a0a;
}

body.dark-page .case-next {
    background: #141414;
}

body.dark-page .case-next-label {
    color: rgba(255, 255, 255, 0.5);
}

body.dark-page .case-next-title {
    color: var(--light);
}

body.dark-page .case-next-arrow {
    color: var(--light);
}

body.dark-page .work-grid-section {
    background: #0a0a0a;
}

body.dark-page .work-item-title {
    color: var(--light);
}

body.dark-page .work-item-tags {
    color: rgba(255, 255, 255, 0.6);
}

body.dark-page .footer {
    background: #0a0a0a;
    padding: 80px 40px 60px;
}

body.dark-page .footer-inner {
    max-width: 1400px;
    margin: 0 auto;
}

body.dark-page .footer-links {
    display: flex;
    gap: 80px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark-page .footer-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

body.dark-page .footer-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.5);
}

body.dark-page .footer-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

body.dark-page .footer-nav a,
body.dark-page .footer-location {
    font-size: 18px;
    color: var(--light);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

body.dark-page .footer-nav a:hover {
    opacity: 1;
}

body.dark-page .footer-logo-row {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-top: 60px;
}

body.dark-page .footer-tagline {
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.5);
}

body.dark-page .footer-logo-large {
    font-family: var(--font-display);
    font-size: clamp(100px, 20vw, 320px);
    font-weight: 900;
    line-height: 0.85;
    letter-spacing: -0.04em;
    width: 100%;
    color: var(--light);
}

body.dark-page .footer-copyright {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 20px;
}

body.dark-page .footer-logo-row {
    position: relative;
}

body.dark-page .footer-social {
    position: absolute;
    right: 0;
    bottom: 0;
    color: rgba(255, 255, 255, 0.4);
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.dark-page .footer-social:hover {
    color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 991px) {
    body.dark-page .footer-links {
        flex-wrap: wrap;
        gap: 40px;
    }

    body.dark-page .footer-logo-large {
        font-size: clamp(80px, 18vw, 200px);
    }
}

@media (max-width: 768px) {
    body.dark-page .footer {
        padding: 60px 20px 40px;
    }

    body.dark-page .footer-links {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    body.dark-page .footer-col:last-child {
        grid-column: 1 / -1;
    }

    body.dark-page .footer-logo-large {
        font-size: clamp(60px, 18vw, 180px);
    }

    body.dark-page .footer-logo-row {
        padding-top: 40px;
    }
}

/* ========================================
   THANK YOU PAGE
   ======================================== */
.thank-you {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 40px;
    text-align: center;
    background: #0a0a0a;
}

.thank-you-inner {
    max-width: 480px;
}

.thank-you-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    color: #d6fd70;
    margin-bottom: 32px;
}

.thank-you-check svg {
    width: 100%;
    height: 100%;
}

.thank-you-title {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 400;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
    color: var(--light);
}

.thank-you-text {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    margin-bottom: 40px;
}

@media (max-width: 767px) {
    .thank-you {
        padding: 100px 20px;
    }

    .thank-you-title {
        font-size: 36px;
    }
}

/* ========================================
   CAREERS PAGE
   ======================================== */
.careers-hero {
    position: relative;
    width: 100%;
    height: 50vh;
    min-height: 400px;
    max-height: 500px;
    overflow: hidden;
}

.careers-hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.careers-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.careers-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.7) 100%);
    pointer-events: none;
}

.careers-hero-content {
    position: absolute;
    bottom: 40px;
    left: 40px;
    text-align: left;
    z-index: 2;
}

.careers-label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #d6fd70;
    margin-bottom: 16px;
}

.careers-title {
    font-family: var(--font-display);
    font-size: 56px;
    font-weight: 500;
    line-height: 0.92;
    letter-spacing: -0.04em;
    color: var(--light);
}

.careers-content-section {
    background: #0a0a0a;
    padding: 100px 40px 120px;
}

.careers-content-wrapper {
    max-width: 800px;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
}

.careers-headline {
    font-family: var(--font-display);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--light);
}

.careers-description {
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    max-width: 640px;
}

.careers-email {
    color: #d6fd70;
    text-decoration: none;
    border-bottom: 1px solid rgba(214, 253, 112, 0.4);
    transition: border-color 0.2s ease;
}

.careers-email:hover {
    border-color: #d6fd70;
}

.careers-content-wrapper .btn {
    margin-top: 16px;
}

@media (max-width: 991px) {
    .careers-hero {
        height: 45vh;
        min-height: 350px;
        max-height: 450px;
    }

    .careers-hero-content {
        bottom: 32px;
        left: 40px;
    }

    .careers-title {
        font-size: 48px;
    }

    .careers-content-section {
        padding: 80px 40px 100px;
    }
}

@media (max-width: 767px) {
    .careers-hero {
        height: 40vh;
        min-height: 300px;
        max-height: 400px;
    }

    .careers-hero-content {
        bottom: 24px;
        left: 20px;
        right: 20px;
    }

    .careers-title {
        font-size: 40px;
    }

    .careers-content-section {
        padding: 60px 20px 80px;
    }

    .careers-headline {
        font-size: 28px;
    }

    .careers-description {
        font-size: 16px;
    }
}

/* ========================================
   LEGAL PAGE
   ======================================== */
.legal-section {
    margin-bottom: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.legal-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.legal-section-title {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 400;
    color: var(--light);
    margin-bottom: 16px;
}

.legal-text {
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 16px;
}

.legal-text:last-child {
    margin-bottom: 0;
}

.legal-text a {
    color: #d6fd70;
    text-decoration: none;
    border-bottom: 1px solid rgba(214, 253, 112, 0.4);
    transition: border-color 0.2s ease;
}

.legal-text a:hover {
    border-color: #d6fd70;
}

.legal-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.legal-list li {
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.legal-list li:last-child {
    border-bottom: none;
}

.legal-list strong {
    color: var(--light);
    font-weight: 500;
}

.legal-list a {
    color: #d6fd70;
    text-decoration: none;
}

.legal-list a:hover {
    text-decoration: underline;
}

@media (max-width: 767px) {
    .legal-section {
        margin-bottom: 36px;
        padding-bottom: 36px;
    }

    .legal-section-title {
        font-size: 20px;
    }

    .legal-text,
    .legal-list li {
        font-size: 15px;
    }
}

/* ========================================
   PROJECT PAGE (Modal-like Case Studies)
   ======================================== */
body.project-page {
    background: #fff;
    color: #000;
    min-height: 100vh;
    overflow: hidden;
}

/* Fixed Header */
.project-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: 80px;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    border-bottom: 1px solid #eee;
}

.project-header-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.project-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
    overflow: hidden;
}

.project-icon:has(img) {
    background: transparent;
}

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

.project-header-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.project-header-title {
    font-size: 14px;
    font-weight: 500;
    color: #000;
}

.project-header-subtitle {
    font-size: 12px;
    color: #000;
    opacity: 0.4;
}

/* Close Button */
.project-close {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: #000;
    text-decoration: none;
    opacity: 0.4;
    transition: opacity 0.2s ease;
}

.project-close:hover {
    opacity: 1;
}

/* Two-Column Layout */
.project-layout {
    display: grid !important;
    grid-template-columns: 420px 1fr !important;
    height: calc(100vh - 80px);
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

/* Left Column - Fixed Info */
body.project-page .project-info {
    grid-column: 1 !important;
    grid-row: 1 !important;
    position: relative !important;
    opacity: 1 !important;
    padding: 40px;
    padding-bottom: 200px;
    box-sizing: border-box;
    background: #fff !important;
    overflow-y: auto;
    color: #111 !important;
    display: block !important;
    height: 100%;
}

body.project-page .project-info,
body.project-page .project-info * {
    color: #111;
}

body.project-page .project-info-inner {
    width: 100%;
    padding-top: 40px;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

body.project-page .project-info .project-title,
body.project-page .project-info h1.project-title,
body.project-page .project-info-inner .project-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 300;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #111 !important;
    margin: 0 0 24px 0;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

body.project-page .project-info .project-description,
body.project-page .project-info p.project-description,
body.project-page .project-info-inner .project-description {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.6;
    color: #555 !important;
    margin: 0 0 16px 0;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

body.project-page .project-info .project-description:last-of-type {
    margin-bottom: 0;
}

body.project-page .project-info .project-tags,
body.project-page .project-info-inner .project-tags {
    display: flex !important;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 32px;
    visibility: visible !important;
    opacity: 1 !important;
}

body.project-page .project-info .project-tags span,
body.project-page .project-info-inner .project-tags span {
    font-size: 12px;
    font-weight: 500;
    color: #111 !important;
    padding: 6px 12px;
    background: #f0f0f0;
    border-radius: 2px;
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Right Column - Scrollable Gallery */
.project-gallery {
    grid-column: 2 !important;
    grid-row: 1 !important;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow-y: auto;
    box-sizing: border-box;
    height: 100%;
}

.project-image {
    width: 100%;
    flex-shrink: 0;
}

.project-image-placeholder {
    width: 100%;
    aspect-ratio: 3 / 2;
}

.project-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Side-by-side image row */
.project-image-row {
    display: flex;
    gap: 8px;
    width: 100%;
    flex-shrink: 0;
}

.project-image-row .project-image {
    flex: 1;
    min-width: 0;
}

.project-image-row .project-image-placeholder {
    aspect-ratio: 1 / 1;
}

/* Next Project Section - In Left Column */
body.project-page .project-next {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 420px;
    padding: 40px;
    display: block !important;
    box-sizing: border-box;
    background: #fff;
    z-index: 10;
}

body.project-page .project-next-label {
    font-size: 12px;
    font-weight: 400;
    color: #888 !important;
    display: block;
    margin-bottom: 16px;
    text-align: left;
}

body.project-page .project-next-link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: #f5f5f5;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s ease;
    width: 100%;
    box-sizing: border-box;
}

body.project-page .project-next-link:hover {
    background: #eee;
}

body.project-page .project-next-icon {
    width: 40px;
    height: 40px;
    background: #111;
    color: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 500;
    flex-shrink: 0;
    overflow: hidden;
}

body.project-page .project-next-icon:has(img) {
    background: transparent;
}

body.project-page .project-next-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

body.project-page .project-next-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: left;
}

body.project-page .project-next-title {
    font-size: 15px;
    font-weight: 500;
    color: #111 !important;
}

body.project-page .project-next-subtitle {
    font-size: 13px;
    color: #888 !important;
}

body.project-page .project-next-arrow {
    display: none;
}

/* Project Page Responsive */
@media (max-width: 768px) {
    body.project-page {
        overflow: auto;
    }

    .project-header {
        padding: 0 24px;
    }

    .project-layout {
        display: flex !important;
        flex-direction: column !important;
        grid-template-columns: none !important;
        height: auto;
        min-height: calc(100vh - 80px);
    }

    body.project-page .project-info {
        order: 1;
        grid-column: auto !important;
        grid-row: auto !important;
        padding: 48px 24px;
        padding-bottom: 48px;
        border-right: none;
        display: block !important;
    }

    body.project-page .project-gallery {
        order: 2;
        grid-column: auto !important;
        grid-row: auto !important;
        padding: 8px;
        overflow: visible;
    }

    body.project-page .project-next {
        position: static;
        order: 3;
        width: 100%;
        padding: 32px 24px 48px 24px;
        background: #fff;
    }

    .project-info-inner {
        max-width: 600px;
        padding-top: 0;
    }

    body.project-page .project-next-link {
        display: flex;
        align-items: center;
        gap: 16px;
        padding: 16px 20px;
        text-decoration: none;
        color: #000;
        transition: background 0.2s ease;
        background: #f5f5f5;
        border-radius: 8px;
        width: 100%;
        box-sizing: border-box;
    }

    body.project-page .project-next-link:hover {
        background: #eee;
    }

    body.project-page .project-next-arrow {
        opacity: 0.4;
        transition: opacity 0.2s ease;
    }

    .project-next-link:hover .project-next-arrow {
        opacity: 1;
    }
}

@media (max-width: 767px) {
    .project-header {
        height: 64px;
        padding: 0 16px;
    }

    .project-header-left {
        gap: 12px;
    }

    .project-icon {
        width: 32px;
        height: 32px;
        font-size: 10px;
    }

    .project-header-title {
        font-size: 13px;
    }

    .project-header-subtitle {
        font-size: 11px;
    }

    .project-close {
        width: 32px;
        height: 32px;
    }

    .project-layout {
        margin-top: 64px;
    }

    .project-info {
        padding: 32px 16px;
    }

    h1.project-title {
        font-size: 24px;
        margin-bottom: 20px;
    }

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

    .project-gallery {
        padding: 4px;
        gap: 4px;
    }

    body.project-page .project-next {
        position: static;
        width: 100%;
        padding: 24px 16px 32px 16px;
    }

    .project-next-link {
        padding: 16px 20px;
        gap: 16px;
    }

    .project-next-title {
        font-size: 15px;
    }
}
