:root {
    --bg: #0b0d11;
    --surface: rgba(255, 255, 255, 0.03);
    --glass: rgba(255, 255, 255, 0.06);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-strong: rgba(255, 255, 255, 0.08);
    --text: #f4f1ec;
    --text-secondary: #a09b93;
    --text-muted: #86827b;
    --accent: #b8e0ff;
    --accent2: #d4b8ff;
    --warm: #ffd6b8;
    --display: 'Instrument Serif', Georgia, serif;
    --sans: 'Outfit', sans-serif;
    --mono: 'JetBrains Mono', monospace;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--sans);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}


/* ---- AMBIENT BG ---- */

.ambient {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.ambient-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.12;
    animation: ambientDrift 20s ease-in-out infinite alternate;
}

.ambient-blob:nth-child(1) {
    width: 600px;
    height: 600px;
    background: #4a8eff;
    top: -10%;
    left: -5%;
    animation-duration: 25s;
}

.ambient-blob:nth-child(2) {
    width: 500px;
    height: 500px;
    background: #a855f7;
    top: 30%;
    right: -10%;
    animation-duration: 30s;
    animation-delay: -5s;
}

.ambient-blob:nth-child(3) {
    width: 700px;
    height: 700px;
    background: #3b82f6;
    bottom: -15%;
    left: 30%;
    animation-duration: 22s;
    animation-delay: -10s;
}

.ambient-blob:nth-child(4) {
    width: 400px;
    height: 400px;
    background: #c084fc;
    top: 60%;
    left: 10%;
    animation-duration: 28s;
    animation-delay: -15s;
}


/* ---- NOISE OVERLAY ---- */

.noise {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
    background-size: 200px;
    opacity: 0.6;
}


/* ---- GLASS PANELS ---- */

.glass-panel {
    background: var(--glass);
    backdrop-filter: blur(40px) saturate(1.4);
    -webkit-backdrop-filter: blur(40px) saturate(1.4);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
}

.glass-panel-strong {
    background: rgba(11, 13, 17, 0.7);
    backdrop-filter: blur(60px) saturate(1.5);
    -webkit-backdrop-filter: blur(60px) saturate(1.5);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
}


/* ---- NAV ---- */

nav {
    position: fixed;
    top: 1.2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    padding: 0.7rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 2.5rem;
    background: rgba(11, 13, 17, 0.5);
    backdrop-filter: blur(30px) saturate(1.3);
    -webkit-backdrop-filter: blur(30px) saturate(1.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 100px;
}

.logo {
    font-family: var(--sans);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 1.8rem;
}

.nav-links a {
    font-family: var(--sans);
    font-size: 0.84rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--text);
}


/* ---- HERO ---- */

#hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

#three-canvas {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 5;
    text-align: center;
    pointer-events: none;
    max-width: 900px;
    padding: 0 2rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.45rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 100px;
    font-family: var(--mono);
    font-size: 0.6rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 2.5rem;
    opacity: 0;
    animation: fadeUp 0.8s 0.8s forwards;
}

.hero-badge .pulse {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    animation: pulse 2s infinite;
}

.hero-title {
    font-family: var(--display);
    font-weight: 400;
    font-size: clamp(3.5rem, 9vw, 8rem);
    line-height: 0.95;
    opacity: 0;
    animation: fadeUp 1s 1s forwards;
}

.hero-title em {
    font-style: italic;
    background: linear-gradient(135deg, var(--accent), var(--accent2), var(--warm));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: clamp(0.95rem, 1.4vw, 1.15rem);
    font-weight: 300;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 500px;
    margin: 2rem auto 0;
    opacity: 0;
    animation: fadeUp 0.8s 1.3s forwards;
}

.hero-cta-row {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2.5rem;
    opacity: 0;
    animation: fadeUp 0.8s 1.6s forwards;
    pointer-events: auto;
}

.hero-scroll {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    opacity: 0;
    animation: fadeUp 0.8s 2s forwards;
}

.scroll-line {
    width: 1px;
    height: 60px;
    margin: 0 auto;
    background: linear-gradient(to bottom, rgba(184, 224, 255, 0.5), transparent);
    animation: scrollPulse 2.5s infinite;
}


/* ---- BUTTONS ---- */

.btn-glass {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 100px;
    font-family: var(--sans);
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--text);
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: pointer;
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(184, 224, 255, 0.1);
}

.btn-primary {
    background: linear-gradient(135deg, rgba(184, 224, 255, 0.15), rgba(212, 184, 255, 0.15));
    border-color: rgba(184, 224, 255, 0.25);
}

.btn-primary:hover {
    background: linear-gradient(135deg, rgba(184, 224, 255, 0.25), rgba(212, 184, 255, 0.25));
    box-shadow: 0 8px 40px rgba(184, 224, 255, 0.15);
}

.btn-lg {
    font-size: 0.96rem;
    padding: 1rem 2.5rem;
}


/* ---- SECTIONS ---- */

.section {
    position: relative;
    z-index: 5;
    padding: 8rem 3rem;
    max-width: 1300px;
    margin: 0 auto;
}

.s-label {
    font-family: var(--mono);
    font-size: 0.6rem;
    font-weight: 400;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1rem;
}

.s-heading {
    font-family: var(--display);
    font-weight: 400;
    font-size: clamp(2.5rem, 5vw, 4.2rem);
    line-height: 1.1;
    max-width: 700px;
    margin-bottom: 1.5rem;
}

.s-heading em {
    font-style: italic;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.s-desc {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
    font-weight: 300;
    max-width: 550px;
}


/* ---- ABOUT ---- */

.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    margin-top: 3rem;
}

.about-left .s-desc {
    margin-bottom: 1.5rem;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.stat-glass {
    padding: 1.8rem;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.stat-glass:hover {
    transform: translateY(-3px);
    border-color: rgba(184, 224, 255, 0.15);
    box-shadow: 0 8px 32px rgba(184, 224, 255, 0.05);
}

.stat-val {
    font-family: var(--display);
    font-size: 2.8rem;
    line-height: 1;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.4rem;
    font-weight: 400;
}

.features-glass {
    padding: 2.5rem;
    margin-top: 1rem;
}

.feature-item {
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: start;
    gap: 1.2rem;
}

.feature-item:last-child {
    border-bottom: none;
}

.feature-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(184, 224, 255, 0.1), rgba(212, 184, 255, 0.1));
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.feature-item h4 {
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 0.3rem;
}

.feature-item p {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.6;
    font-weight: 300;
}


/* ---- SERVICES ---- */

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

#services .s-desc {
    margin-bottom: 2rem;
}

.svc-card {
    padding: 2.5rem 2rem;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: default;
    position: relative;
    overflow: hidden;
}

.svc-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(184, 224, 255, 0.06) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}

.svc-card:hover {
    transform: translateY(-4px);
    border-color: rgba(184, 224, 255, 0.15);
}

.svc-card:hover::before {
    opacity: 1;
}

.svc-num {
    font-family: var(--mono);
    font-size: 0.55rem;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    margin-bottom: 1.8rem;
}

.svc-card h3 {
    font-family: var(--display);
    font-size: 1.6rem;
    font-weight: 400;
    margin-bottom: 0.8rem;
}

.svc-card p {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.7;
    font-weight: 300;
}

.svc-tag {
    display: inline-block;
    margin-top: 1.2rem;
    font-family: var(--mono);
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.4rem 1rem;
    border-radius: 100px;
    background: linear-gradient(135deg, rgba(184, 224, 255, 0.08), rgba(212, 184, 255, 0.08));
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--accent);
}


/* ---- MARQUEE ---- */

.marquee {
    position: relative;
    z-index: 5;
    padding: 3.5rem 0;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: mScroll 22s linear infinite;
}

.marquee-item {
    font-family: var(--display);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    white-space: nowrap;
    padding: 0 1rem;
    opacity: 0.06;
    font-weight: 400;
}

.marquee-item em {
    font-style: italic;
    opacity: 1;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.marquee-item .sep {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin: 0 1.2rem;
    vertical-align: middle;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    opacity: 0.4;
}


/* ---- WORK ---- */

.work-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 1rem;
    margin-top: 4rem;
}

.work-grid .work-row-2 {
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    gap: 1rem;
    grid-column: 1 / -1;
}

.work-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    aspect-ratio: 16/10;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.02);
}

.work-bg {
    position: absolute;
    inset: 0;
    background-size: 300% 300%;
    animation: gradDrift 10s ease infinite var(--delay, 0s);
    transition: transform 0.7s cubic-bezier(0.23, 1, 0.32, 1);
}

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

.work-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(11, 13, 17, 0.9) 0%, rgba(11, 13, 17, 0.2) 40%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.4s;
}

.work-card:hover .work-overlay {
    opacity: 1;
}

.work-overlay span {
    font-family: var(--mono);
    font-size: 0.5rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--accent);
}

.work-overlay h3 {
    font-family: var(--display);
    font-size: 1.5rem;
    margin-top: 0.3rem;
}

.work-overlay .work-tag-row {
    display: flex;
    gap: 0.4rem;
    margin-top: 0.6rem;
}

.work-tag-sm {
    font-family: var(--mono);
    font-size: 0.65rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.32rem 0.75rem;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-secondary);
}


/* ---- TESTIMONIAL ---- */

.testi-section {
    position: relative;
    z-index: 5;
    max-width: 800px;
    margin: 0 auto;
    padding: 8rem 3rem;
    text-align: center;
}

.testi-glass {
    padding: 3.5rem;
    text-align: center;
}

.testi-glass .s-label {
    margin-bottom: 1.5rem;
}

.testi-quote {
    font-family: var(--display);
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    line-height: 1.45;
    font-weight: 400;
    font-style: italic;
    margin-bottom: 2rem;
}

.testi-author {
    font-size: 0.85rem;
    font-weight: 500;
}

.testi-role {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.2rem;
}


/* ---- CTA ---- */

.cta-section {
    position: relative;
    z-index: 5;
    text-align: center;
    padding: 10rem 3rem;
}

.cta-section .s-heading {
    margin: 0 auto 1rem;
}

.cta-section .s-desc {
    margin: 0 auto 2.5rem;
}


/* ---- FOOTER ---- */

footer {
    position: relative;
    z-index: 5;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding: 2.5rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1300px;
    margin: 0 auto;
}

footer span {
    font-family: var(--mono);
    font-size: 0.6rem;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

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

.ft-links a {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 400;
}

.ft-links a:hover {
    color: var(--accent);
}


/* ---- SCROLL REVEAL ---- */

.rv {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.rv.vis {
    opacity: 1;
    transform: translateY(0);
}

.rv-d1 {
    transition-delay: 0.1s;
}

.rv-d2 {
    transition-delay: 0.2s;
}

.rv-d3 {
    transition-delay: 0.3s;
}

.rv-d4 {
    transition-delay: 0.4s;
}

.rv-d5 {
    transition-delay: 0.5s;
}


/* ---- ANIMATIONS ---- */

@keyframes pulse {

    0%,
    100% {
        opacity: 0.4;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.3);
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(35px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scrollPulse {

    0%,
    100% {
        opacity: 0.2;
        transform: scaleY(0.5);
    }

    50% {
        opacity: 0.8;
        transform: scaleY(1);
    }
}

@keyframes gradDrift {

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

    50% {
        background-position: 100% 50%;
    }
}

@keyframes ambientDrift {
    0% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(40px, -30px) scale(1.05);
    }

    66% {
        transform: translate(-20px, 40px) scale(0.95);
    }

    100% {
        transform: translate(30px, 20px) scale(1.02);
    }
}

@keyframes mScroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}


/* ---- MINI BLOB CANVAS (subpages) ---- */

#mini-blob-canvas {
    position: fixed;
    top: -120px;
    right: -120px;
    width: 500px;
    height: 500px;
    pointer-events: none;
    z-index: 0;
    opacity: 0.5;
}


/* ---- NAV ACTIVE STATE ---- */

.nav-links a.active {
    color: var(--text);
}


/* ---- SUBPAGE HERO ---- */

.page-hero {
    position: relative;
    z-index: 5;
    padding: 14rem 3rem 6rem;
    max-width: 1300px;
    margin: 0 auto;
}

.page-hero .s-label {
    margin-bottom: 1.2rem;
}

.page-title {
    font-family: var(--display);
    font-weight: 400;
    font-size: clamp(3rem, 7vw, 6.5rem);
    line-height: 0.95;
    margin-bottom: 1.5rem;
}

.page-title em {
    font-style: italic;
    background: linear-gradient(135deg, var(--accent), var(--accent2), var(--warm));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-subtitle {
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    font-weight: 300;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 520px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--mono);
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 3rem;
    transition: color 0.3s;
}

.back-link:hover {
    color: var(--accent);
}


/* ---- ABOUT PAGE ---- */

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

.value-card {
    padding: 2.5rem 2rem;
}

.value-num {
    font-family: var(--mono);
    font-size: 0.55rem;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.value-card h3 {
    font-family: var(--display);
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 0.8rem;
}

.value-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.75;
    font-weight: 300;
}

.studio-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.studio-text p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
    font-weight: 300;
    margin-bottom: 1.2rem;
}


/* ---- CONTACT PAGE ---- */

.contact-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    margin-top: 3rem;
    align-items: start;
}

.form-group {
    margin-bottom: 1.4rem;
}

.form-label {
    display: block;
    font-family: var(--mono);
    font-size: 0.6rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.6rem;
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 0.9rem 1.1rem;
    font-family: var(--sans);
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--text);
    transition: border-color 0.3s, background 0.3s;
    appearance: none;
    outline: none;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    border-color: rgba(184, 224, 255, 0.3);
    background: rgba(255, 255, 255, 0.06);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--text-muted);
}

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

.form-select option {
    background: #1a1d24;
    color: var(--text);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.contact-info {
    position: sticky;
    top: 8rem;
}

.contact-info h3 {
    font-family: var(--display);
    font-size: 1.6rem;
    font-weight: 400;
    margin-bottom: 0.6rem;
}

.contact-info > p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
    font-weight: 300;
    margin-bottom: 2rem;
}

.contact-detail {
    padding: 1.4rem;
    margin-bottom: 0.8rem;
}

.contact-detail-label {
    font-family: var(--mono);
    font-size: 0.55rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.4rem;
}

.contact-detail-value {
    font-size: 0.9rem;
    color: var(--text);
    font-weight: 400;
}

.contact-detail-value a {
    color: var(--accent);
    text-decoration: none;
}

.process-steps {
    margin-top: 2rem;
    padding: 2rem;
}

.process-step {
    display: flex;
    gap: 1rem;
    align-items: start;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.process-step:last-child {
    border-bottom: none;
}

.process-step-num {
    font-family: var(--mono);
    font-size: 0.55rem;
    letter-spacing: 0.1em;
    color: var(--accent);
    padding-top: 0.15rem;
    flex-shrink: 0;
}

.process-step p {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.6;
    font-weight: 300;
}

.process-step strong {
    display: block;
    font-size: 0.85rem;
    color: var(--text);
    font-weight: 500;
    margin-bottom: 0.2rem;
}


/* ---- PROJECT DETAIL PAGE ---- */

.project-hero {
    position: relative;
    z-index: 5;
    padding: 14rem 3rem 4rem;
    max-width: 1300px;
    margin: 0 auto;
}

.project-category {
    font-family: var(--mono);
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1.2rem;
}

.project-headline {
    font-family: var(--display);
    font-weight: 400;
    font-size: clamp(3rem, 7vw, 6.5rem);
    line-height: 0.95;
    margin-bottom: 1.5rem;
}

.project-headline em {
    font-style: italic;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.project-tagline {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 300;
    line-height: 1.6;
    max-width: 500px;
}

.project-meta-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    margin: 4rem 0;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    overflow: hidden;
}

.project-meta-item {
    padding: 1.8rem;
    background: var(--bg);
}

.project-meta-item dt {
    font-family: var(--mono);
    font-size: 0.55rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.project-meta-item dd {
    font-size: 0.95rem;
    color: var(--text);
    font-weight: 400;
    line-height: 1.5;
}

.project-visual {
    position: relative;
    z-index: 5;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 3rem 5rem;
}

.project-visual-frame {
    border-radius: 24px;
    overflow: hidden;
    aspect-ratio: 16/9;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.project-body {
    position: relative;
    z-index: 5;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 3rem 8rem;
}

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

.project-section-label {
    font-family: var(--mono);
    font-size: 0.55rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1rem;
}

.project-section h2 {
    font-family: var(--display);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 400;
    margin-bottom: 1.2rem;
    line-height: 1.2;
}

.project-section p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.85;
    font-weight: 300;
    margin-bottom: 1rem;
}

.project-next {
    position: relative;
    z-index: 5;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding: 6rem 3rem;
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.project-next-label {
    font-family: var(--mono);
    font-size: 0.6rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.project-next h3 {
    font-family: var(--display);
    font-size: 2rem;
    font-weight: 400;
}


/* ---- PROCESS FLOW (services page) ---- */

.process-flow {
    margin-top: 5rem;
}

.process-flow-item {
    display: grid;
    grid-template-columns: 90px 1fr auto;
    align-items: start;
    gap: 3rem;
    padding: 3.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    transition: border-top-color 0.4s;
    cursor: default;
}

.process-flow-item:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.process-flow-item:hover {
    border-top-color: rgba(184, 224, 255, 0.14);
}

.process-flow-num {
    font-family: var(--display);
    font-size: 4.5rem;
    font-weight: 400;
    font-style: italic;
    color: var(--accent);
    opacity: 0.12;
    line-height: 1;
    transition: opacity 0.4s;
    user-select: none;
}

.process-flow-item:hover .process-flow-num {
    opacity: 0.38;
}

.process-flow-content {
    padding-top: 0.5rem;
}

.process-flow-content h3 {
    font-family: var(--display);
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 0.8rem;
}

.process-flow-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
    font-weight: 300;
    max-width: 580px;
}

.process-flow-duration {
    font-family: var(--mono);
    font-size: 0.62rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    padding-top: 0.7rem;
    white-space: nowrap;
}


/* ---- PROJECTS EDITORIAL (projects page) ---- */

.projects-editorial {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-top: 5rem;
}

.project-item {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    display: block;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.06);
    cursor: pointer;
    background: rgba(255, 255, 255, 0.02);
}

.project-item--full {
    aspect-ratio: 21/9;
}

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

.project-pair .project-item {
    aspect-ratio: 4/3;
}

.project-item-visual {
    position: absolute;
    inset: 0;
    background-size: 300% 300%;
    animation: gradDrift 10s ease infinite var(--delay, 0s);
    transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.project-item:hover .project-item-visual {
    transform: scale(1.04);
}

.project-item-info {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(8, 10, 14, 0.95) 0%, rgba(8, 10, 14, 0.35) 45%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2.5rem;
}

.project-item-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.7rem;
}

.project-item-num {
    font-family: var(--mono);
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    color: var(--accent);
    opacity: 0.6;
}

.project-item-cat {
    font-family: var(--mono);
    font-size: 0.6rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.project-item-title {
    font-family: var(--display);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 400;
    line-height: 0.95;
    color: var(--text);
    margin-bottom: 1.1rem;
}

.project-item-title em {
    font-style: italic;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}


/* ---- PROJECT DETAIL — IMPROVEMENTS ---- */

.project-meta-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    margin: 3rem 0 0;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.project-meta-pair dt {
    font-family: var(--mono);
    font-size: 0.62rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    display: block;
}

.project-meta-pair dd {
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--text-secondary);
    line-height: 1.5;
}

.project-pull-quote {
    border-left: 2px solid var(--accent);
    padding: 1.5rem 0 1.5rem 2.5rem;
    margin: 4rem 0;
}

.project-pull-quote blockquote {
    font-family: var(--display);
    font-size: clamp(1.3rem, 2.5vw, 1.9rem);
    font-style: italic;
    font-weight: 400;
    color: var(--text);
    line-height: 1.45;
    margin-bottom: 1rem;
}

.project-pull-source {
    font-family: var(--mono);
    font-size: 0.62rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.project-stat-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    margin: 3rem 0;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    overflow: hidden;
}

.project-stat {
    padding: 2rem 1.8rem;
    background: var(--bg);
}

.project-stat-val {
    font-family: var(--display);
    font-size: 3rem;
    font-weight: 400;
    line-height: 1;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.project-stat-label {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 300;
    margin-top: 0.4rem;
}

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

.project-visual-pair .project-visual-frame {
    aspect-ratio: 4/3;
}

.project-visual-frame--wide {
    aspect-ratio: 21/9;
}

.project-visual-frame--standard {
    aspect-ratio: 16/9;
}

.project-visual-frame--portrait {
    aspect-ratio: 3/4;
}

.project-visual-frame--square {
    aspect-ratio: 1;
}

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

.project-visual-trio .project-visual-frame {
    aspect-ratio: 3/4;
}

.project-visual-asymmetric {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 1rem;
}

.project-visual-asymmetric .project-visual-frame {
    aspect-ratio: 3/4;
}


/* ---- MOBILE NAV ---- */

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    position: relative;
    z-index: 200;
    transition: border-color 0.3s, background 0.3s;
    flex-shrink: 0;
}

.nav-toggle:hover {
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.1);
}

.nav-toggle span {
    display: block;
    width: 18px;
    height: 1.5px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
    transform-origin: center;
}

body.nav-open .nav-toggle span:first-child {
    transform: translateY(3.25px) rotate(45deg);
}

body.nav-open .nav-toggle span:last-child {
    transform: translateY(-3.25px) rotate(-45deg);
}

.nav-mobile {
    position: fixed;
    inset: 0;
    z-index: 150;
    background: rgba(8, 10, 14, 0.97);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

body.nav-open .nav-mobile {
    opacity: 1;
    pointer-events: all;
}

.nav-mobile-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
}

.nav-mobile-link {
    font-family: var(--display);
    font-size: clamp(2.8rem, 12vw, 5rem);
    font-weight: 400;
    color: var(--text);
    text-decoration: none;
    opacity: 0.2;
    line-height: 1.15;
    transform: translateY(24px);
    transition: opacity 0.3s ease, transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

body.nav-open .nav-mobile-link {
    transform: translateY(0);
}

body.nav-open .nav-mobile-link:nth-child(1) { transition-delay: 0.05s; }
body.nav-open .nav-mobile-link:nth-child(2) { transition-delay: 0.10s; }
body.nav-open .nav-mobile-link:nth-child(3) { transition-delay: 0.15s; }
body.nav-open .nav-mobile-link:nth-child(4) { transition-delay: 0.20s; }

.nav-mobile-link:hover {
    opacity: 0.75;
}

.nav-mobile-link.active {
    opacity: 0.85;
    font-style: italic;
}

.nav-mobile-footer {
    position: absolute;
    bottom: 2.5rem;
    font-family: var(--mono);
    font-size: 0.6rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
}


/* ---- RESPONSIVE ---- */

/* Mobile nav trigger */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    nav {
        top: 0.8rem;
        padding: 0.5rem 1rem;
        gap: 1rem;
    }
}

@media (max-width: 900px) {
    .about-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

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

    .section {
        padding: 5rem 1.5rem;
    }

    nav {
        top: 0.8rem;
        padding: 0.5rem 1rem;
        gap: 1.2rem;
    }

    .nav-links {
        gap: 1.2rem;
    }

    footer {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        padding: 2rem 1.5rem;
    }

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

    .studio-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

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

    .contact-info {
        position: static;
    }

    /* Project detail */
    .project-meta-strip {
        gap: 2rem;
    }

    .project-visual-trio,
    .project-visual-asymmetric {
        grid-template-columns: 1fr;
    }

    .project-stat-row {
        grid-template-columns: 1fr;
        gap: 1px;
    }

    .project-visual-pair {
        grid-template-columns: 1fr;
    }

    .project-hero,
    .project-visual,
    .project-body,
    .project-next {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .project-next {
        flex-direction: column;
        gap: 2rem;
        align-items: flex-start;
    }

    .page-hero {
        padding: 11rem 1.5rem 4rem;
    }

    /* Projects editorial */
    .project-pair {
        grid-template-columns: 1fr;
    }

    .project-item--full {
        aspect-ratio: 4/3;
    }

    /* Process flow */
    .process-flow-item {
        grid-template-columns: 60px 1fr;
        gap: 1.5rem;
    }

    .process-flow-duration {
        display: none;
    }

    .process-flow-num {
        font-size: 3rem;
    }

    #mini-blob-canvas {
        width: 320px;
        height: 320px;
        top: -80px;
        right: -80px;
        opacity: 0.35;
    }
}

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

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

    .hero-cta-row {
        flex-direction: column;
        align-items: center;
    }

    .project-pull-quote {
        padding-left: 1.2rem;
    }

    .testi-section {
        padding: 5rem 1.5rem;
    }

    .cta-section {
        padding: 6rem 1.5rem;
    }
}