/* ========================================
   prototype.quest - Y2K Futurism Styles
   Deep Burgundy + Chrome + Editorial
   ======================================== */

/* ----- CSS Custom Properties ----- */
:root {
    --burgundy-deep: #3d0c1c;
    --wine-red: #7c1e3b;
    --dusty-rose: #b07280;
    --champagne: #f5e6d0;
    --cream: #f8f4ee;
    --dark-charcoal: #1c1010;
    --warm-gray: #8a7070;
    --rose-gold: #c4a080;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: "Lato", sans-serif;
    background: var(--dark-charcoal);
    color: var(--cream);
    overflow-x: hidden;
    line-height: 1.6;
}

/* ----- Noise Overlay ----- */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.05;
    background-repeat: repeat;
}

/* ----- Organic Blob ----- */
.blob-container {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 100vh;
    z-index: 10;
    pointer-events: none;
    opacity: 0.7;
}

.blob-svg {
    width: 100%;
    height: 100%;
}

/* ----- Chrome Navigation ----- */
.chrome-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: linear-gradient(180deg, rgba(28, 16, 16, 0.95) 0%, rgba(28, 16, 16, 0.8) 100%);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(192, 160, 128, 0.15);
    transition: all 0.4s ease;
}

.chrome-nav.nav-scrolled {
    background: linear-gradient(180deg, rgba(61, 12, 28, 0.98) 0%, rgba(28, 16, 16, 0.95) 100%);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.nav-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-family: "Bebas Neue", sans-serif;
    font-size: 1.8rem;
    letter-spacing: 0.05em;
}

.logo-text {
    color: var(--cream);
}

.logo-dot {
    color: var(--rose-gold);
}

.logo-quest {
    background: linear-gradient(135deg, var(--rose-gold), var(--dusty-rose));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    font-family: "Lato", sans-serif;
    font-weight: 400;
    font-size: 0.9rem;
    color: var(--champagne);
    text-decoration: none;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--rose-gold);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--rose-gold);
}

/* ----- Chrome CTA Button ----- */
.chrome-cta {
    background: linear-gradient(135deg, #d4a76a, #c4a080, #e8c99b, #c4a080, #a88960);
    background-size: 200% 200%;
    color: var(--burgundy-deep) !important;
    padding: 0.6rem 1.5rem;
    border-radius: 2px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.4s ease;
    animation: chromeShift 3s ease infinite;
    -webkit-text-fill-color: var(--burgundy-deep);
}

.chrome-cta:hover {
    box-shadow: 0 0 20px rgba(196, 160, 128, 0.4), 0 0 40px rgba(196, 160, 128, 0.1);
    transform: translateY(-1px);
}

.chrome-cta::after {
    display: none;
}

@keyframes chromeShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* ----- Split Screen Layout ----- */
.split-screen {
    display: grid;
    grid-template-columns: 1fr 1px 1fr;
    min-height: 100vh;
    padding-top: 70px;
}

.split-divider {
    background: var(--wine-red);
    position: relative;
    z-index: 5;
}

/* ----- Panels ----- */
.panel {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 3rem;
    transition: transform 0.3s ease;
    transform-style: preserve-3d;
    overflow: hidden;
}

.panel-left {
    background: linear-gradient(160deg, #3d0c1c 0%, #1c0608 100%);
}

.panel-right {
    background: var(--cream);
    color: var(--dark-charcoal);
}

/* ----- Ornamental Borders ----- */
.panel-border-ornament {
    position: absolute;
    top: 2rem;
    left: 2rem;
    right: 2rem;
    bottom: 2rem;
    pointer-events: none;
    z-index: 2;
}

.ornament-corner {
    position: absolute;
    width: 40px;
    height: 40px;
}

.panel-left .ornament-corner {
    border-color: rgba(196, 160, 128, 0.3);
}

.panel-right .ornament-corner {
    border-color: rgba(124, 30, 59, 0.2);
}

.ornament-tl {
    top: 0;
    left: 0;
    border-top: 2px solid;
    border-left: 2px solid;
    border-color: inherit;
}

.ornament-tr {
    top: 0;
    right: 0;
    border-top: 2px solid;
    border-right: 2px solid;
    border-color: inherit;
}

.ornament-bl {
    bottom: 0;
    left: 0;
    border-bottom: 2px solid;
    border-left: 2px solid;
    border-color: inherit;
}

.ornament-br {
    bottom: 0;
    right: 0;
    border-bottom: 2px solid;
    border-right: 2px solid;
    border-color: inherit;
}

.panel-left .panel-border-ornament {
    border-color: rgba(196, 160, 128, 0.3);
}

.panel-left .ornament-tl,
.panel-left .ornament-tr,
.panel-left .ornament-bl,
.panel-left .ornament-br {
    border-color: rgba(196, 160, 128, 0.3);
}

.panel-right .ornament-tl,
.panel-right .ornament-tr,
.panel-right .ornament-bl,
.panel-right .ornament-br {
    border-color: rgba(124, 30, 59, 0.2);
}

/* ----- Panel Content ----- */
.panel-content {
    position: relative;
    z-index: 3;
    max-width: 500px;
}

.panel-tag {
    display: inline-block;
    font-family: "Lato", sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 2rem;
}

.panel-left .panel-tag {
    color: var(--rose-gold);
}

.panel-right .panel-tag {
    color: var(--wine-red);
}

.panel-tag::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 1.2rem;
    height: 1px;
    background: currentColor;
}

/* ----- Typography ----- */
.hero-title {
    font-family: "Libre Baskerville", serif;
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--cream);
}

.hero-accent {
    font-family: "Bebas Neue", sans-serif;
    font-size: 5rem;
    letter-spacing: 0.05em;
    background: linear-gradient(135deg, var(--rose-gold), var(--champagne));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.hero-subtitle {
    font-family: "Lato", sans-serif;
    font-size: 1.05rem;
    font-weight: 300;
    line-height: 1.8;
    color: var(--champagne);
    margin-bottom: 2.5rem;
    opacity: 0.85;
}

.section-title {
    font-family: "Libre Baskerville", serif;
    font-size: 2.8rem;
    line-height: 1.15;
    margin-bottom: 2rem;
    color: var(--dark-charcoal);
}

.dark-title {
    color: var(--cream);
}

.title-thin {
    font-family: "Bebas Neue", sans-serif;
    font-size: 3.5rem;
    letter-spacing: 0.08em;
    color: var(--wine-red);
    display: inline-block;
}

.dark-title .title-thin {
    color: var(--rose-gold);
}

.center-tag {
    display: block;
    text-align: center;
    padding-left: 0;
}

.center-tag::before {
    display: none;
}

.center-title {
    text-align: center;
}

/* ----- CTA Button ----- */
.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 0.85rem;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.cta-large {
    padding: 1.2rem 3rem;
    font-size: 1rem;
}

/* ----- Service Grid ----- */
.service-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.service-card {
    padding: 1.5rem;
    background: rgba(61, 12, 28, 0.04);
    border: 1px solid rgba(124, 30, 59, 0.1);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.service-card:hover {
    background: rgba(61, 12, 28, 0.08);
    border-color: rgba(124, 30, 59, 0.25);
    transform: translateX(8px);
}

.service-icon {
    margin-bottom: 1rem;
}

.service-name {
    font-family: "Libre Baskerville", serif;
    font-size: 1.1rem;
    color: var(--burgundy-deep);
    margin-bottom: 0.5rem;
}

.service-desc {
    font-family: "Lato", sans-serif;
    font-size: 0.9rem;
    color: var(--warm-gray);
    line-height: 1.6;
}

/* ----- About Section ----- */
.about-section {
    background: var(--dark-charcoal);
    padding: 8rem 3rem;
}

.about-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: start;
}

.about-text {
    font-family: "Lato", sans-serif;
    font-size: 1.05rem;
    font-weight: 300;
    line-height: 1.9;
    color: var(--champagne);
    margin-bottom: 1.5rem;
    opacity: 0.85;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(196, 160, 128, 0.2);
}

.stat-number {
    display: block;
    font-family: "Bebas Neue", sans-serif;
    font-size: 2.5rem;
    color: var(--rose-gold);
    letter-spacing: 0.05em;
}

.stat-label {
    display: block;
    font-family: "Lato", sans-serif;
    font-size: 0.75rem;
    color: var(--warm-gray);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 0.25rem;
}

/* ----- Work Section ----- */
.work-section {
    background: linear-gradient(180deg, var(--cream) 0%, #ede4d6 100%);
    padding: 8rem 3rem;
    color: var(--dark-charcoal);
}

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

.work-section .panel-tag {
    color: var(--wine-red);
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.work-card {
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.3s ease;
    transform-style: preserve-3d;
    cursor: pointer;
}

.work-card-inner {
    position: relative;
    height: 380px;
    overflow: hidden;
    border-radius: 4px;
}

.work-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: transform 0.6s ease;
}

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

.work-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(transparent, rgba(28, 16, 16, 0.9));
    z-index: 2;
}

.work-category {
    font-family: "Lato", sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--rose-gold);
    margin-bottom: 0.5rem;
    display: block;
}

.work-title {
    font-family: "Libre Baskerville", serif;
    font-size: 1.4rem;
    color: var(--cream);
    margin-bottom: 0.5rem;
}

.work-desc {
    font-family: "Lato", sans-serif;
    font-size: 0.85rem;
    color: var(--champagne);
    opacity: 0.8;
    line-height: 1.5;
}

/* ----- Contact Section ----- */
.contact-section {
    background: linear-gradient(160deg, #3d0c1c, #1c0608);
    padding: 8rem 3rem;
    text-align: center;
}

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

.contact-ornament {
    margin: 1.5rem auto;
    opacity: 0.5;
}

.contact-title {
    font-family: "Libre Baskerville", serif;
    font-size: 3rem;
    color: var(--cream);
    margin-bottom: 1rem;
}

.contact-subtitle {
    font-family: "Lato", sans-serif;
    font-size: 1.1rem;
    font-weight: 300;
    color: var(--champagne);
    margin-bottom: 2.5rem;
    opacity: 0.8;
}

/* ----- Footer ----- */
.site-footer {
    background: var(--dark-charcoal);
    border-top: 1px solid rgba(196, 160, 128, 0.1);
    padding: 3rem 2rem;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-logo {
    font-family: "Bebas Neue", sans-serif;
    font-size: 1.4rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--warm-gray);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--rose-gold);
}

.footer-copy {
    color: var(--warm-gray);
    font-size: 0.8rem;
    opacity: 0.6;
}

/* ----- Scroll Reveal ----- */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

.service-card.reveal-on-scroll.revealed:nth-child(2) {
    transition-delay: 0.15s;
}

.service-card.reveal-on-scroll.revealed:nth-child(3) {
    transition-delay: 0.3s;
}

.stat.reveal-on-scroll.revealed:nth-child(2) {
    transition-delay: 0.15s;
}

.stat.reveal-on-scroll.revealed:nth-child(3) {
    transition-delay: 0.3s;
}

.work-card.reveal-on-scroll.revealed:nth-child(2) {
    transition-delay: 0.15s;
}

.work-card.reveal-on-scroll.revealed:nth-child(3) {
    transition-delay: 0.3s;
}

/* ----- Responsive ----- */
@media (max-width: 1024px) {
    .split-screen {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
    }
    .split-divider {
        height: 1px;
        width: 100%;
    }
    .blob-container {
        display: none;
    }
    .work-grid {
        grid-template-columns: 1fr;
    }
    .about-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-accent {
        font-size: 3.5rem;
    }
    .section-title {
        font-size: 2rem;
    }
    .title-thin {
        font-size: 2.5rem;
    }
    .contact-title {
        font-size: 2.2rem;
    }
    .nav-links {
        gap: 1rem;
    }
    .panel {
        padding: 3rem 1.5rem;
    }
    .about-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .footer-inner {
        flex-direction: column;
        text-align: center;
    }
}