/* ============================================================
   DHRUV AGRAWAL - PORTFOLIO
   Editorial monochrome, one burnt-amber accent, mono annotation
   layer. Light-grey card system preserved from v1.
   ============================================================ */

:root {
    /* Surfaces */
    --bg-page: #ffffff;
    --bg-card: #f2f2f2;
    --bg-sunken: #e8e8e6;
    --bg-ink: #141414;
    --bg-ink-deep: #0c0c0c;

    /* Ink */
    --ink: #111111;
    --ink-2: #4a4a48;
    --ink-3: #8a8a86;
    --paper: #fbfbfa;
    --paper-2: #c9c9c5;
    --rule: rgba(17, 17, 17, 0.10);
    --rule-light: rgba(255, 255, 255, 0.12);

    /* Accent: burnt amber. Dark enough for AA white text. */
    --accent: #b34a12;
    --accent-hover: #9a3e0e;
    --accent-soft: rgba(179, 74, 18, 0.12);

    /* Type */
    --font-display: 'Geist', 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'IBM Plex Mono', monospace;

    /* Radius scale */
    --r-xl: 56px;
    --r-lg: 28px;
    --r-md: 14px;
    --r-full: 999px;

    /* Glass */
    --glass-bg: rgba(17, 17, 17, 0.72);
    --glass-border: rgba(255, 255, 255, 0.16);
}

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

html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-page);
    color: var(--ink);
    min-height: 100vh;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

::selection {
    background: var(--accent);
    color: #fff;
}

/* ------------------------------------------------------------
   Shared primitives
   ------------------------------------------------------------ */

.mono-label {
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-3);
}

.display-title {
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.05;
}

.mobile-menu-btn {
    display: none;
}

/* Scroll reveal (JS adds .is-visible; static under reduced motion) */
.reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ============================================================
   HERO
   ============================================================ */

.hero-card {
    width: 98vw;
    height: 96vh;
    min-height: 640px;
    background-color: var(--bg-card);
    border-radius: var(--r-xl);
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
    margin-top: 2vh;
}

/* Top bar: name masthead left, lane label right */
.hero-topbar {
    position: absolute;
    top: 44px;
    left: 56px;
    right: 56px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    z-index: 20;
}

.hero-eyebrow {
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-3);
    margin-bottom: 10px;
}

.logo {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 2.6vw, 2.4rem);
    font-weight: 650;
    letter-spacing: -0.03em;
    color: var(--ink);
    text-transform: uppercase;
    line-height: 0.95;
}

.hero-topbar-right {
    text-align: right;
    color: var(--ink-3);
}

/* Center portrait + annotation geometry */
.hero {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    position: relative;
}

.center-image-container {
    height: 74vh;
    z-index: 5;
    mix-blend-mode: multiply;
    display: flex;
    align-items: flex-end;
    position: relative;
}

.center-image {
    height: 100%;
    width: auto;
    object-fit: contain;
    filter: contrast(1.1) grayscale(100%);
    mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
}

/* Blueprint-style construction geometry over the portrait */
.hero-annotation {
    position: absolute;
    inset: 0;
    z-index: 4;
    pointer-events: none;
    color: var(--ink);
    opacity: 0.35;
}

.hero-annotation svg {
    width: 100%;
    height: 100%;
}

/* Headline split around the head */
.hero-headline {
    position: absolute;
    top: 50%;
    transform: translateY(-58%);
    z-index: 10;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(1.9rem, 3.4vw, 3.4rem);
    letter-spacing: -0.025em;
    line-height: 1.08;
    color: var(--ink);
    max-width: 30vw;
}

.hero-headline--left {
    left: 56px;
    text-align: left;
}

.hero-headline--right {
    right: 56px;
    text-align: right;
}

.hero-headline .accent-word {
    color: var(--accent);
}

/* Bottom-left: subtext + CTAs */
.hero-bottom {
    position: absolute;
    left: 56px;
    bottom: 48px;
    z-index: 15;
    max-width: 420px;
}

.hero-sub {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--ink-2);
    margin-bottom: 22px;
    max-width: 40ch;
}

.hero-ctas {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 26px;
    border-radius: var(--r-full);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.01em;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.cta-btn:active {
    transform: scale(0.98);
}

.primary-cta {
    background: var(--ink);
    color: #fff;
    border: 1px solid var(--ink);
}

.primary-cta:hover {
    background: var(--accent);
    border-color: var(--accent);
}

.secondary-cta {
    background: transparent;
    color: var(--ink);
    border: 1px solid rgba(17, 17, 17, 0.35);
}

.secondary-cta:hover {
    border-color: var(--ink);
    background: rgba(17, 17, 17, 0.05);
}

/* Quiet proof line under the hero CTAs */
.hero-proof {
    margin-top: 18px;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink-3);
}

/* ============================================================
   TWO-DOOR FORK
   ============================================================ */

.fork {
    width: 98vw;
    margin-top: 20px;
}

.fork-card {
    background: var(--bg-card);
    border-radius: var(--r-xl);
    padding: clamp(28px, 4vw, 56px);
}

.fork-heading {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(1.5rem, 2.4vw, 2.2rem);
    letter-spacing: -0.02em;
    margin-bottom: 8px;
    color: var(--ink);
}

.fork-intro {
    color: var(--ink-2);
    font-size: 1rem;
    max-width: 60ch;
    line-height: 1.6;
    margin-bottom: 36px;
}

.fork-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.fork-panel {
    border-radius: var(--r-lg);
    padding: clamp(28px, 3vw, 44px);
    display: flex;
    flex-direction: column;
    gap: 18px;
    text-decoration: none;
    position: relative;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    min-height: 380px;
}

.fork-panel:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.14);
}

@media (prefers-reduced-motion: reduce) {
    .fork-panel,
    .fork-panel:hover {
        transform: none;
        transition: none;
    }
}

.fork-panel--dark {
    background: var(--bg-ink);
    color: var(--paper);
}

.fork-panel--light {
    background: var(--paper);
    color: var(--ink);
    border: 1px solid var(--rule);
}

.fork-panel .mono-label {
    color: inherit;
    opacity: 0.75;
}

.fork-panel--dark .mono-label {
    color: #e8b391;
    opacity: 1;
}

.fork-panel-title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(1.4rem, 2vw, 1.9rem);
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.fork-panel-body {
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.82;
    max-width: 44ch;
}

.fork-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
}

.fork-pills span {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 7px 13px;
    border-radius: var(--r-full);
    white-space: nowrap;
}

.fork-panel--dark .fork-pills span {
    border: 1px solid var(--rule-light);
    color: rgba(251, 251, 250, 0.85);
}

.fork-panel--light .fork-pills span {
    border: 1px solid rgba(17, 17, 17, 0.18);
    color: var(--ink-2);
}

.fork-panel-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    margin-top: 20px;
}

.fork-panel-cta .arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.fork-panel--dark .fork-panel-cta .arrow {
    border: 1px solid var(--rule-light);
    color: var(--paper);
}

.fork-panel--light .fork-panel-cta .arrow {
    border: 1px solid rgba(17, 17, 17, 0.25);
    color: var(--ink);
}

.fork-panel:hover .fork-panel-cta .arrow {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    transform: translateX(4px);
}

/* ============================================================
   WORK / PROJECTS
   ============================================================ */

.work-header {
    width: 98vw;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 72px 24px 28px 24px;
    flex-wrap: wrap;
    gap: 20px;
}

.work-title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(2rem, 4vw, 3.2rem);
    letter-spacing: -0.025em;
    color: var(--ink);
}

.work-filters {
    display: flex;
    gap: 8px;
}

.work-filter {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 10px 20px;
    border-radius: var(--r-full);
    border: 1px solid rgba(17, 17, 17, 0.2);
    background: transparent;
    color: var(--ink-2);
    cursor: pointer;
    transition: all 0.25s ease;
}

.work-filter:hover {
    border-color: var(--ink);
    color: var(--ink);
}

.work-filter.active {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff;
}

.projects {
    width: 98vw;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 0 0 20px 0;
    box-sizing: border-box;
}

.project-card {
    position: relative;
    width: 100%;
    height: 560px;
    border-radius: var(--r-xl);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.project-card.is-hidden {
    display: none;
}

.project-card:hover {
    transform: scale(0.99);
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image {
    transform: scale(1.04);
}

/* Overlay: bottom-left, sized to content */
.card-overlay {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 24px;
    background: rgba(10, 10, 10, 0.55);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-radius: var(--r-lg);
    padding: 28px 32px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: background 0.3s ease;
}

.project-card:hover .card-overlay {
    background: rgba(10, 10, 10, 0.7);
}

.card-subtitle {
    font-family: var(--font-mono);
    font-size: 0.625rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
    color: #e8b391;
    text-transform: uppercase;
}

.card-title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.5rem;
    letter-spacing: -0.015em;
    line-height: 1.15;
    margin-bottom: 10px;
}

.card-description {
    font-family: var(--font-body);
    font-size: 0.85rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.75);
    margin: 0 0 16px 0;
    max-width: 56ch;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 4px;
}

.card-tags span {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.03em;
    color: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.14);
    padding: 3px 9px;
    border-radius: var(--r-full);
    white-space: nowrap;
}

.explore-btn {
    color: #fff;
    padding: 0;
    max-height: 0;
    margin-top: 0;
    border: none;
    overflow: hidden;
    border-radius: var(--r-full);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    opacity: 0;
    transform: translateY(8px);
    transition: all 0.35s ease;
    background-color: transparent;
}

.project-card:hover .explore-btn {
    padding: 10px 0 0 0;
    max-height: 48px;
    opacity: 1;
    transform: translateY(0);
}

.explore-btn:hover {
    color: #e8b391;
}

@media (prefers-reduced-motion: reduce) {
    .explore-btn {
        padding: 10px 0 0 0;
        max-height: 48px;
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ============================================================
   ABOUT
   ============================================================ */

.about {
    width: 100%;
    background: linear-gradient(to bottom, #ffffff 20%, #000000 80%);
    display: flex;
    justify-content: center;
    padding: 0 0 50px 0;
}

.about-card {
    width: 98vw;
    height: 800px;
    background-color: #1a1a1a;
    border-radius: var(--r-xl);
    position: relative;
    overflow: hidden;
}

.about-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
}

.about-glass-pill {
    position: absolute;
    top: 50%;
    left: 5%;
    transform: translateY(-50%);
    width: auto;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--r-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    padding: 24px 48px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.about-title {
    font-family: var(--font-display);
    font-weight: 650;
    font-size: clamp(2.6rem, 5vw, 4.5rem);
    color: #fff;
    letter-spacing: -0.03em;
}

.about-text {
    position: absolute;
    top: 50%;
    right: 8%;
    transform: translateY(-50%);
    width: 340px;
    color: #fff;
    font-size: 0.92rem;
    line-height: 1.65;
    text-align: left;
    font-weight: 400;
}

.about-text h3 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.35rem;
    letter-spacing: -0.015em;
    line-height: 1.25;
    color: #fff;
    margin-bottom: 18px;
}

.about-text p {
    margin-bottom: 14px;
    color: rgba(255, 255, 255, 0.82);
}

.about-text .about-kicker {
    font-weight: 600;
    color: #fff;
    margin-top: 20px;
}

/* ============================================================
   CLIENTS
   ============================================================ */

.clients {
    width: 100%;
    background-color: #000000;
    display: flex;
    justify-content: center;
    padding: 0 0 40px 0;
}

.clients-card {
    width: 98vw;
    background-color: var(--bg-ink-deep);
    border-radius: var(--r-xl);
    padding: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
}

.clients-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 56px;
    gap: 24px;
    flex-wrap: wrap;
}

.clients-title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(2.2rem, 4.5vw, 3.6rem);
    letter-spacing: -0.025em;
    color: #fff;
    margin: 0;
    line-height: 1;
}

.clients-description {
    font-family: var(--font-body);
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 380px;
    text-align: left;
}

.clients-carousel-window {
    width: 100%;
    overflow: hidden;
    position: relative;
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.clients-track {
    display: flex;
    gap: 24px;
    width: max-content;
    animation: scroll 28s linear infinite;
}

.clients-track:hover {
    animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
    .clients-track {
        animation: none;
        flex-wrap: wrap;
        width: 100%;
    }
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

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

.client-logo-card {
    background-color: #161616;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--r-lg);
    height: 220px;
    width: 240px;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: border-color 0.3s ease;
}

.client-logo-card:hover {
    border-color: rgba(255, 255, 255, 0.18);
}

.client-logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    height: 100%;
    padding: 20px;
    box-sizing: border-box;
}

.client-logo-name {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: -0.01em;
    color: #fff;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.client-logo-industry {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    color: #6f6f6c;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* ============================================================
   EXPERTISE + METRICS
   ============================================================ */

.services-milestones {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 10px;
    gap: 20px;
    background-color: #000;
}

.split-card {
    flex: 1;
    background-color: var(--bg-ink-deep);
    border-radius: var(--r-xl);
    height: 800px;
    padding: 72px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.section-title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    letter-spacing: -0.02em;
    color: #fff;
    margin-bottom: 40px;
    z-index: 10;
}

/* 3D Carousel */
.carousel-container {
    width: 100%;
    height: 400px;
    perspective: 1000px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
}

.carousel-3d {
    width: 200px;
    height: 280px;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.carousel-item {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: var(--r-lg);
    overflow: hidden;
    background: #222;
    opacity: 0.6;
    transition: opacity 0.3s, transform 0.3s;
}

.carousel-item:nth-child(1) {
    transform: rotateY(0deg) translateZ(240px);
}

.carousel-item:nth-child(2) {
    transform: rotateY(60deg) translateZ(240px);
}

.carousel-item:nth-child(3) {
    transform: rotateY(120deg) translateZ(240px);
}

.carousel-item:nth-child(4) {
    transform: rotateY(180deg) translateZ(240px);
}

.carousel-item:nth-child(5) {
    transform: rotateY(240deg) translateZ(240px);
}

.carousel-item:nth-child(6) {
    transform: rotateY(300deg) translateZ(240px);
}

.carousel-item.active {
    opacity: 1;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-info {
    margin-top: 100px;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 80%;
    position: relative;
    z-index: 100;
}

.service-pill {
    background: #fff;
    color: #000;
    padding: 10px 28px;
    border-radius: var(--r-full);
    font-family: var(--font-mono);
    font-weight: 500;
    font-size: 0.8rem;
    letter-spacing: 0.02em;
    margin-bottom: 20px;
}

.service-description {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.92rem;
    line-height: 1.6;
    max-width: 500px;
    transition: opacity 0.3s;
}

/* Metrics (honest outcome numbers) */
.milestones-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    gap: 20px;
    width: 100%;
}

.milestone-item {
    text-align: center;
}

.milestone-number {
    font-family: var(--font-display);
    font-weight: 650;
    font-size: 3.2rem;
    letter-spacing: -0.03em;
    color: var(--accent);
    margin-bottom: 8px;
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 6px;
    filter: brightness(1.35);
}

.milestone-number .plus {
    color: rgba(255, 255, 255, 0.35);
    font-size: 2.2rem;
}

.milestone-label {
    color: rgba(255, 255, 255, 0.7);
    font-family: var(--font-body);
    font-size: 0.95rem;
}

.milestone-note {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
    margin-top: 4px;
}

.milestone-separator {
    width: 40%;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.12);
}

/* ============================================================
   CONTACT
   ============================================================ */

.contact {
    width: 100%;
    background-color: #000;
    padding: 0 0 40px 0;
    display: flex;
    justify-content: center;
}

.contact-card {
    width: 98vw;
    min-height: 800px;
    border-radius: var(--r-xl);
    position: relative;
    overflow: hidden;
    background-color: #050505;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-bg-glow {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 80%;
    height: 100%;
    background: radial-gradient(circle at 80% 50%, rgba(179, 74, 18, 0.45) 0%, rgba(90, 35, 8, 0.25) 40%, transparent 80%);
    pointer-events: none;
    z-index: 1;
}

.contact-noise {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/noise.svg');
    opacity: 0.05;
    z-index: 2;
    pointer-events: none;
    filter: contrast(120%) brightness(100%);
}

.contact-content {
    position: relative;
    z-index: 5;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 80px 100px;
    gap: 48px;
}

.contact-text-side {
    width: 45%;
}

.contact-title {
    font-family: var(--font-display);
    font-weight: 650;
    font-size: clamp(2.6rem, 5vw, 4.6rem);
    letter-spacing: -0.03em;
    color: #fff;
    line-height: 1.05;
    margin-bottom: 28px;
}

.contact-description {
    font-family: var(--font-body);
    color: rgba(255, 255, 255, 0.78);
    font-size: 1rem;
    line-height: 1.65;
    max-width: 450px;
}

.contact-status {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 18px;
}

.contact-form-wrapper {
    width: 100%;
    max-width: 520px;
    background: rgba(40, 40, 40, 0.2);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--r-lg);
    padding: 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    box-sizing: border-box;
    overflow: hidden;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: flex;
    gap: 20px;
}

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

.form-group label {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--r-md);
    padding: 13px 15px;
    color: #fff;
    width: 100%;
    font-family: var(--font-body);
    font-size: 0.9rem;
    outline: none;
    transition: background 0.3s, border-color 0.3s;
}

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

.form-group input:focus,
.form-group textarea:focus,
.contact-form select:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.45);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.contact-form select {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--r-md);
    padding: 13px 15px;
    color: #fff;
    width: 100%;
    font-family: var(--font-body);
    font-size: 0.9rem;
    outline: none;
    transition: background 0.3s, border-color 0.3s;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml;utf8,<svg fill='white' height='20' viewBox='0 0 24 24' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
    background-repeat: no-repeat;
    background-position: right 15px center;
}

.contact-form select option {
    background-color: #111;
    color: #fff;
}

/* Honeypot: visually removed, still in the DOM for bots */
.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.submit-btn {
    margin-top: 10px;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: var(--r-full);
    padding: 16px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.2s ease;
    width: 100%;
}

.submit-btn:hover {
    background: var(--accent-hover);
}

.submit-btn:active {
    transform: scale(0.99);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: wait;
}

.form-status {
    display: none;
    font-family: var(--font-body);
    font-size: 0.9rem;
    line-height: 1.5;
    border-radius: var(--r-md);
    padding: 14px 16px;
    margin-top: 4px;
}

.form-status.success {
    display: block;
    background: rgba(38, 97, 68, 0.25);
    border: 1px solid rgba(94, 178, 133, 0.4);
    color: #a9dfc2;
}

.form-status.error {
    display: block;
    background: rgba(140, 40, 30, 0.25);
    border: 1px solid rgba(220, 110, 90, 0.4);
    color: #f0b4a6;
}

.contact-direct {
    margin-top: 20px;
    text-align: center;
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
}

.contact-direct a {
    color: #fff;
    text-decoration: underline;
}

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
    width: 100%;
    background-color: #000;
    padding: 0 0 20px 0;
    display: flex;
    justify-content: center;
}

.footer-card {
    width: 98vw;
    background-color: var(--bg-ink-deep);
    border-radius: var(--r-xl);
    padding: 100px 80px 80px 60px;
    flex-direction: column;
    box-sizing: border-box;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 100px;
    gap: 40px;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.contact-col {
    width: 40%;
}

.footer-label {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 24px;
    text-transform: uppercase;
    font-weight: 500;
}

.footer-email {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(1.2rem, 2vw, 1.9rem);
    letter-spacing: -0.015em;
    color: #fff;
    margin-bottom: 24px;
    text-transform: uppercase;
    word-break: break-word;
}

.footer-email a {
    color: inherit;
    text-decoration: none;
    transition: color 0.25s ease;
}

.footer-email a:hover {
    color: #e8b391;
}

.footer-description {
    font-family: var(--font-body);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 460px;
}

.nav-col {
    width: 20%;
}

.footer-nav {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-nav li a {
    text-decoration: none;
    color: #fff;
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 1.15rem;
    letter-spacing: -0.01em;
    line-height: 1.6;
    transition: color 0.3s;
}

.footer-nav li a:hover {
    color: #e8b391;
}

.social-col {
    width: 20%;
}

.social-icons {
    display: flex;
    gap: 16px;
}

.social-icon {
    width: 42px;
    height: 42px;
    background: #262626;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-decoration: none;
    transition: background 0.3s;
}

.social-icon:hover {
    background: var(--accent);
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-logo {
    font-family: var(--font-display);
    font-weight: 650;
    font-size: clamp(3rem, 8vw, 8rem);
    letter-spacing: -0.04em;
    color: rgba(255, 255, 255, 0.85);
    text-transform: uppercase;
    margin-bottom: 32px;
    line-height: 0.95;
}

.copyright {
    font-family: var(--font-mono);
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.7rem;
    letter-spacing: 0.04em;
}

/* ============================================================
   FLOATING NAV
   ============================================================ */

.floating-nav {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 10px 10px 10px 18px;
    border-radius: var(--r-full);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--glass-border);
    z-index: 100;
    gap: 28px;
}

.nav-icon {
    width: 38px;
    height: 38px;
    background: var(--accent);
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

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

.nav-links a {
    text-decoration: none;
    color: #fff;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    transition: color 0.3s;
    white-space: nowrap;
}

.nav-links a:hover {
    color: #e8b391;
}

.contact-btn {
    background: #fff;
    color: var(--ink);
    border: none;
    padding: 12px 22px;
    border-radius: var(--r-full);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.78rem;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.2s ease;
    white-space: nowrap;
}

.contact-btn:hover {
    background: #e8b391;
}

/* ============================================================
   LANE PAGES (systems.html / studio.html)
   ============================================================ */

.lane-page-dark {
    background: #0a0a0a;
    color: var(--paper);
}

.lane-page-light {
    background: var(--bg-page);
    color: var(--ink);
}

.lane-hero {
    width: 98vw;
    min-height: 78vh;
    border-radius: var(--r-xl);
    margin-top: 2vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(40px, 6vw, 96px);
    position: relative;
    overflow: hidden;
}

.lane-page-dark .lane-hero {
    background: var(--bg-ink);
}

.lane-page-light .lane-hero {
    background: var(--bg-card);
}

.lane-hero .mono-label {
    margin-bottom: 24px;
}

.lane-page-dark .lane-hero .mono-label {
    color: #e8b391;
}

.lane-hero-title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(2.2rem, 5vw, 4.4rem);
    letter-spacing: -0.03em;
    line-height: 1.04;
    max-width: 18ch;
    margin-bottom: 24px;
}

.lane-hero-sub {
    font-size: 1.05rem;
    line-height: 1.65;
    max-width: 52ch;
    opacity: 0.78;
    margin-bottom: 36px;
}

.lane-crosslink {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    opacity: 0.55;
    margin-top: 48px;
}

.lane-crosslink a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.lane-crosslink a:hover {
    opacity: 1;
}

/* Full-width visual band on lane pages */
.lane-visual {
    width: 98vw;
    margin-top: 20px;
    border-radius: var(--r-xl);
    overflow: hidden;
    height: min(62vh, 640px);
}

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

/* Section shells on lane pages */
.lane-section {
    width: 98vw;
    margin-top: 20px;
    border-radius: var(--r-xl);
    padding: clamp(40px, 5vw, 80px);
}

.lane-page-dark .lane-section {
    background: var(--bg-ink);
}

.lane-page-light .lane-section {
    background: var(--bg-card);
}

.lane-section-title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(1.8rem, 3.2vw, 2.8rem);
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.lane-section-intro {
    font-size: 1rem;
    line-height: 1.65;
    max-width: 62ch;
    opacity: 0.75;
    margin-bottom: 48px;
}

/* Problem → Solution → Outcome service cards */
.service-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.pso-card {
    border-radius: var(--r-lg);
    padding: 36px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.lane-page-dark .pso-card {
    background: #1c1c1c;
    border: 1px solid rgba(255, 255, 255, 0.07);
}

.lane-page-light .pso-card {
    background: var(--paper);
    border: 1px solid var(--rule);
}

.pso-title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.35rem;
    letter-spacing: -0.015em;
}

.pso-row {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pso-row .mono-label {
    font-size: 0.6rem;
}

.lane-page-dark .pso-row .mono-label {
    color: rgba(255, 255, 255, 0.4);
}

.pso-row p {
    font-size: 0.92rem;
    line-height: 1.55;
    opacity: 0.85;
}

.pso-outcome p {
    color: var(--accent);
    font-weight: 600;
    opacity: 1;
}

.lane-page-dark .pso-outcome p {
    color: #e8956a;
}

.pso-ideal {
    margin-top: auto;
    padding-top: 14px;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    opacity: 0.55;
    border-top: 1px solid rgba(128, 128, 128, 0.2);
}

/* Evidence strip (repos / proof rows) */
.evidence-list {
    display: flex;
    flex-direction: column;
}

.evidence-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 24px;
    padding: 22px 4px;
    text-decoration: none;
    color: inherit;
    border-top: 1px solid rgba(128, 128, 128, 0.18);
    transition: padding-left 0.25s ease;
}

.evidence-row:hover {
    padding-left: 12px;
}

.evidence-row:last-child {
    border-bottom: 1px solid rgba(128, 128, 128, 0.18);
}

.evidence-name {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.15rem;
    letter-spacing: -0.01em;
    white-space: nowrap;
}

.evidence-desc {
    font-size: 0.88rem;
    line-height: 1.5;
    opacity: 0.65;
    flex: 1;
}

.evidence-arrow {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    opacity: 0.6;
    white-space: nowrap;
}

.evidence-row:hover .evidence-arrow {
    color: var(--accent);
    opacity: 1;
}

.lane-page-dark .evidence-row:hover .evidence-arrow {
    color: #e8956a;
}

/* How I work ladder */
.ladder {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.ladder-step {
    border-radius: var(--r-lg);
    padding: 32px;
}

.lane-page-dark .ladder-step {
    background: #1c1c1c;
    border: 1px solid rgba(255, 255, 255, 0.07);
}

.lane-page-light .ladder-step {
    background: var(--paper);
    border: 1px solid var(--rule);
}

.ladder-step h3 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.2rem;
    letter-spacing: -0.01em;
    margin: 10px 0 10px 0;
}

.ladder-step p {
    font-size: 0.9rem;
    line-height: 1.6;
    opacity: 0.75;
}

/* Trust / confidentiality block */
.trust-block {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.trust-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 24px;
    border-radius: var(--r-md);
}

.lane-page-dark .trust-item {
    background: #1c1c1c;
    border: 1px solid rgba(255, 255, 255, 0.07);
}

.lane-page-light .trust-item {
    background: var(--paper);
    border: 1px solid var(--rule);
}

.trust-item h4 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: -0.005em;
}

.trust-item p {
    font-size: 0.88rem;
    line-height: 1.55;
    opacity: 0.72;
}

/* Lane CTA band */
.lane-cta {
    width: 98vw;
    margin: 20px 0 120px 0;
    border-radius: var(--r-xl);
    padding: clamp(48px, 6vw, 96px);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    position: relative;
    overflow: hidden;
}

.lane-page-dark .lane-cta {
    background: var(--bg-ink);
}

.lane-page-light .lane-cta {
    background: var(--bg-ink);
    color: var(--paper);
}

.lane-cta-title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(2rem, 4vw, 3.4rem);
    letter-spacing: -0.025em;
    line-height: 1.05;
    max-width: 20ch;
}

.lane-cta p {
    max-width: 52ch;
    line-height: 1.6;
    opacity: 0.75;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1200px) {
    .hero-headline {
        max-width: 34vw;
        font-size: clamp(1.5rem, 2.8vw, 2.4rem);
    }
}

@media (max-width: 1024px) {

    .hero-card {
        height: auto;
        min-height: 92vh;
        padding-bottom: 40px;
    }

    .hero {
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 140px;
    }

    .hero-topbar {
        top: 36px;
        left: 28px;
        right: 28px;
    }

    .hero-topbar-right {
        display: none;
    }

    .center-image-container {
        height: 44vh;
        width: 100%;
        justify-content: center;
        order: 1;
    }

    .hero-headline {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        transform: none;
        max-width: 90%;
        text-align: center;
        margin: 0 auto;
    }

    .hero-headline--left {
        order: 0;
        margin-top: 12px;
    }

    .hero-headline--right {
        order: 2;
        margin-top: 20px;
        text-align: center;
    }

    .hero-bottom {
        position: relative;
        left: auto;
        bottom: auto;
        order: 3;
        margin: 28px auto 0 auto;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-annotation {
        display: none;
    }

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

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

    .project-card {
        height: 500px;
    }

    .about-card {
        height: auto;
        min-height: 800px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .about-glass-pill {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        margin-top: -100px;
        margin-bottom: 20px;
        max-width: 85%;
        padding: 16px 32px;
    }

    .about-text {
        position: relative;
        top: auto;
        right: auto;
        transform: none;
        width: 85%;
        text-align: left;
        padding-bottom: 40px;
    }

    .clients-card {
        padding: 40px;
        height: auto;
    }

    .clients-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .client-logo-card {
        width: 180px;
        height: 180px;
    }

    .services-milestones {
        flex-direction: column;
        align-items: center;
    }

    .split-card {
        width: 100%;
        height: auto;
        min-height: 700px;
        padding: 40px;
    }

    .carousel-container {
        height: 300px;
    }

    .contact-content {
        flex-direction: column;
        justify-content: center;
        padding: 60px 24px;
        gap: 48px;
    }

    .contact-card {
        height: auto;
    }

    .contact-text-side {
        width: 100%;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .contact-form-wrapper {
        max-width: 520px;
        padding: 30px;
    }

    .contact-bg-glow {
        background: radial-gradient(circle at 50% 50%, rgba(179, 74, 18, 0.4) 0%, transparent 70%);
        width: 100%;
    }

    .footer-content {
        flex-direction: column;
        gap: 60px;
    }

    .contact-col,
    .nav-col,
    .social-col {
        width: 100%;
        text-align: center;
        align-items: center;
    }

    .footer-nav {
        align-items: center;
    }

    .footer-card {
        padding: 60px 30px 150px 30px;
    }

    .service-grid,
    .trust-block {
        grid-template-columns: 1fr;
    }

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

    .evidence-row {
        flex-direction: column;
        gap: 8px;
    }

    .evidence-name {
        white-space: normal;
    }

    .floating-nav {
        width: 92%;
        justify-content: space-between;
        gap: 10px;
    }
}

@media (max-width: 768px) {

    .hero-card,
    .about-card,
    .clients-card,
    .split-card,
    .contact-card,
    .footer-card,
    .fork-card,
    .lane-hero,
    .lane-section,
    .lane-visual,
    .lane-cta {
        border-radius: 40px !important;
        width: 95vw;
    }

    .hero-card {
        min-height: 0;
    }

    .fork,
    .projects,
    .work-header {
        width: 95vw;
    }

    .logo {
        font-size: 1.8rem;
    }

    .hero-headline {
        font-size: 1.6rem;
    }

    .hero-sub {
        font-size: 0.95rem;
    }

    .work-header {
        flex-direction: column;
        align-items: flex-start;
        padding: 56px 8px 20px 8px;
    }

    .project-card {
        height: 460px;
        border-radius: 40px;
    }

    .card-overlay {
        left: 14px;
        right: 14px;
        bottom: 14px;
        padding: 22px 22px;
    }

    .card-title {
        font-size: 1.2rem;
    }

    .card-description {
        font-size: 0.78rem;
    }

    .about-title {
        font-size: 2rem;
    }

    .clients-title {
        font-size: 2.2rem;
    }

    .section-title {
        font-size: 1.7rem;
        margin-bottom: 20px;
    }

    .service-info {
        margin-top: 20px;
        width: 90%;
        margin-bottom: 20px;
    }

    .carousel-3d {
        width: 150px;
        height: 220px;
    }

    .carousel-item:nth-child(1) {
        transform: rotateY(0deg) translateZ(150px);
    }

    .carousel-item:nth-child(2) {
        transform: rotateY(60deg) translateZ(150px);
    }

    .carousel-item:nth-child(3) {
        transform: rotateY(120deg) translateZ(150px);
    }

    .carousel-item:nth-child(4) {
        transform: rotateY(180deg) translateZ(150px);
    }

    .carousel-item:nth-child(5) {
        transform: rotateY(240deg) translateZ(150px);
    }

    .carousel-item:nth-child(6) {
        transform: rotateY(300deg) translateZ(150px);
    }

    .contact-title {
        font-size: 2.2rem;
    }

    .contact-form-wrapper {
        padding: 22px;
    }

    .form-row {
        flex-direction: column;
    }

    .footer-card {
        padding: 60px 20px 100px 20px;
    }

    .footer-email {
        font-size: 1.1rem;
    }

    .footer-logo {
        font-size: 11vw;
    }

    .footer-nav li a {
        font-size: 1rem;
    }

    /* Mobile Nav */
    .nav-links,
    .desktop-contact-btn {
        display: none !important;
    }

    .mobile-menu-btn {
        display: block !important;
        background: #fff;
        color: #000;
        border: none;
        padding: 10px 20px;
        border-radius: var(--r-full);
        font-family: var(--font-body);
        font-weight: 600;
        font-size: 0.78rem;
        cursor: pointer;
    }

    .floating-nav {
        width: 92%;
        justify-content: space-between;
        padding: 10px 14px;
    }

    .floating-nav.active {
        flex-direction: column;
        justify-content: flex-start;
        padding: 40px 20px 30px 20px;
        border-radius: 40px;
        background: rgba(12, 12, 12, 0.96);
        backdrop-filter: blur(20px);
        border: 1px solid rgba(255, 255, 255, 0.1);
        height: 90vh;
        bottom: 0;
        width: 100%;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
        z-index: 9999;
        transform: none;
        left: 0;
    }

    .floating-nav.active .mobile-menu-btn {
        order: -1;
        background: transparent;
        color: #fff;
        border: none;
        font-size: 2rem;
        width: auto;
        height: auto;
        align-self: center;
        margin-bottom: 20px;
        padding: 10px;
        display: block !important;
    }

    .floating-nav.active .nav-links {
        display: flex !important;
        flex-direction: column;
        gap: 32px;
        text-align: center;
        width: 100%;
        margin: auto 0;
    }

    .floating-nav.active .nav-links a {
        color: #fff;
        font-family: var(--font-display);
        font-weight: 600;
        font-size: 1.4rem;
        letter-spacing: -0.01em;
        text-transform: none;
    }

    .floating-nav.active .desktop-contact-btn {
        display: inline-block !important;
        width: 100%;
        text-align: center;
        padding: 18px;
        background: var(--accent);
        color: #fff;
        border-radius: var(--r-full);
        font-family: var(--font-body);
        font-weight: 600;
        font-size: 1rem;
        margin-top: 20px;
        order: 2;
    }

    .floating-nav.active .nav-icon {
        display: none;
    }
}
