      :root {
        color-scheme: dark;
        --ink: #0a0a0a;
        --paper: #e5e5e5;
        --mist: #bdbdbd;
        --steel: #1a1a1a;
        --shadow-soft: 0 20px 60px rgba(0, 0, 0, 0.45);
        --font-body: "Manrope", sans-serif;
        --font-display: "Philosopher", serif;
      }

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

      html,
      body {
        background: var(--ink);
        color: var(--paper);
        font-family: var(--font-body);
        line-height: 1.6;
        font-weight: 300;
        overflow-x: hidden;
      }

      html {
        scroll-behavior: smooth;
      }

      img {
        max-width: 100%;
        display: block;
      }

      .lazy-image {
        opacity: 1;
      }

      .masonry.masonry--full .lazy-image {
        aspect-ratio: 3 / 4;
        object-fit: cover;
      }


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

      button {
        font: inherit;
        border: none;
        background: transparent;
        color: inherit;
        cursor: pointer;
      }

      .container {
        width: min(1120px, 90%);
        margin: 0 auto;
      }

      .grain {
        position: relative;
      }

      .grain::before {
        content: "";
        position: absolute;
        inset: 0;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='.08'/%3E%3C/svg%3E");
        pointer-events: none;
        mix-blend-mode: soft-light;
        z-index: 0;
      }

      .grain > * {
        position: relative;
        z-index: 1;
      }

      .section {
        padding: 96px 0;
      }

      .section.border {
        border-top: 1px solid rgba(255, 255, 255, 0.05);
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        background: rgba(26, 26, 26, 0.3);
      }

      .section-title {
        font-family: var(--font-display);
        font-size: clamp(2rem, 2.8vw, 2.6rem);
        font-weight: 500;
      }

      .section-eyebrow {
        font-size: 0.7rem;
        letter-spacing: 0.35em;
        text-transform: uppercase;
        color: var(--mist);
      }

      .muted {
        color: var(--mist);
      }

      .cta-outline {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        padding: 12px 24px;
        border: 1px solid rgba(229, 229, 229, 0.4);
        border-radius: 999px;
        text-transform: uppercase;
        letter-spacing: 0.2em;
        font-size: 0.7rem;
        transition: border-color 0.3s ease, color 0.3s ease;
      }

      .cta-outline:hover {
        border-color: var(--paper);
      }

      .cta-underline {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        border-bottom: 1px solid rgba(229, 229, 229, 0.4);
        padding-bottom: 4px;
        text-transform: uppercase;
        letter-spacing: 0.2em;
        font-size: 0.7rem;
        color: rgba(229, 229, 229, 0.7);
        transition: color 0.3s ease, border-color 0.3s ease;
      }

      .cta-underline:hover {
        color: var(--paper);
        border-color: var(--paper);
      }

      .nav {
        position: sticky;
        top: 0;
        z-index: 10;
        background: rgba(10, 10, 10, 0.9);
        backdrop-filter: blur(12px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
      }

      .nav-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 18px 0;
        gap: 20px;
      }

      .nav-title {
        display: flex;
        align-items: center;
        gap: 12px;
        font-size: 0.7rem;
        letter-spacing: 0.3em;
        text-transform: uppercase;
        color: var(--mist);
      }

      .nav-logo {
        height: 45px;
        width: auto;
        display: block;
      }

      .nav-dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: var(--paper);
      }

      .nav-links {
        display: none;
        gap: 28px;
        text-transform: uppercase;
        letter-spacing: 0.2em;
        font-size: 0.72rem;
        color: var(--mist);
        align-items: center;
        justify-content: center;
        flex: 1;
      }

      .nav-links a {
        transition: color 0.3s ease;
      }

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

      .nav-toggle {
        display: none;
        width: 44px;
        height: 44px;
        border-radius: 12px;
        border: 1px solid rgba(255, 255, 255, 0.2);
        align-items: center;
        justify-content: center;
        gap: 6px;
        flex-direction: column;
      }

      .nav-toggle span {
        width: 18px;
        height: 2px;
        background: var(--paper);
        display: block;
        transition: transform 0.3s ease, opacity 0.3s ease;
      }

      .nav-toggle.is-open span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
      }

      .nav-toggle.is-open span:nth-child(2) {
        opacity: 0;
      }

      .nav-toggle.is-open span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
      }

      .nav-dropdown summary {
        text-transform: uppercase;
        letter-spacing: 0.2em;
        font-size: 0.72rem;
        color: var(--mist);
        transition: color 0.3s ease;
      }

      .nav-dropdown summary:hover {
        color: var(--paper);
      }

      .hero {
        padding: 56px 0 24px;
      }

      .hero-shell {
        position: relative;
        min-height: 62vh;
        border-radius: 32px;
        overflow: hidden;
        background: #121212;
        box-shadow: var(--shadow-soft);
      }

      .hero-media {
        position: absolute;
        inset: 0;
        opacity: 0.55;
      }

      .hero-media img {
        width: 100%;
        height: calc(100% + 48px);
        object-fit: cover;
        object-position: center;
        mask-image: linear-gradient(180deg, rgba(0, 0, 0, 1) 70%, rgba(0, 0, 0, 0));
        transform: translateY(-24px);
      }

      .hero-content {
        position: relative;
        padding: 120px 72px 90px;
        max-width: 720px;
      }

      .hero-title {
        font-family: var(--font-display);
        font-size: clamp(2.6rem, 5vw, 4.6rem);
        line-height: 1.05;
        margin-top: 16px;
        font-weight: 500;
      }
      

      .hero-text {
        margin-top: 24px;
        max-width: 560px;
        color: var(--mist);
        font-size: 1.05rem;
      }

      .hero-actions {
        margin-top: 36px;
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
      }

      .portfolio-header {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 24px;
        align-items: center;
      }

      .filter {
        display: inline-flex;
        gap: 8px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 999px;
        padding: 6px;
        text-transform: uppercase;
        letter-spacing: 0.2em;
        font-size: 0.65rem;
        color: var(--mist);
        flex-wrap: wrap;
      }

      .filter [data-filter-btn] {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 10px 20px;
        border-radius: 999px;
        transition: background 0.3s ease, color 0.3s ease;
      }

      .filter [data-filter-btn].active {
        background: var(--paper);
        color: var(--ink);
      }

      .masonry {
        margin-top: 48px;
        columns: 2;
        column-gap: 18px;
        opacity: 1;
        transition: opacity 0.35s ease;
      }

      .masonry.masonry--uniform {
        columns: unset;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
      }

      .masonry.masonry--uniform .masonry-item {
        margin-bottom: 0;
        aspect-ratio: 3 / 4;
        display: flex;
      }

      .masonry.masonry--uniform .masonry-link {
        height: 100%;
        display: block;
        width: 100%;
      }

      .masonry.masonry--uniform .masonry-link picture {
        width: 100%;
        height: 100%;
        display: block;
      }

      .masonry.masonry--uniform .masonry-link img {
        height: 100%;
        object-fit: cover;
        width: 100%;
        filter: none;
      }

      .gallery-full {
        width: 100%;
        padding: 0 4vw 8px;
        position: relative;
      }

      .masonry.masonry--full {
        columns: 3;
        column-gap: 22px;
      }


      .masonry.masonry--full picture,
      .masonry.masonry--full img {
        break-inside: avoid;
        -webkit-column-break-inside: avoid;
      }

      .hero-media-mobile {
        display: none;
        margin-top: 28px;
        border-radius: 22px;
        overflow: hidden;
      }

      .hero-media-mobile picture,
      .hero-media-mobile img {
        width: 100%;
        height: auto;
        display: block;
      }

      .masonry.masonry--full picture,
      .masonry.masonry--full img {
        width: 100%;
        height: auto;
        object-fit: contain;
      }

      .masonry.masonry--loading {
        opacity: 0;
      }

      .masonry-item {
        break-inside: avoid;
        margin-bottom: 18px;
        border-radius: 22px;
        overflow: hidden;
        border: 1px solid rgba(255, 255, 255, 0.05);
        background: rgba(26, 26, 26, 0.4);
        box-shadow: var(--shadow-soft);
        position: relative;
        transition: transform 0.35s ease, box-shadow 0.35s ease, opacity 0.35s ease;
      }

      .masonry-item::after {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.25);
        opacity: 0;
        transition: opacity 0.35s ease;
        pointer-events: none;
      }

      .masonry-item:hover {
        transform: translateY(-6px);
        box-shadow: 0 24px 50px rgba(0, 0, 0, 0.55);
      }

      .masonry-item:hover::after {
        opacity: 1;
      }

      .masonry-item.is-hidden {
        opacity: 0;
        transform: translateY(10px);
      }

      .masonry-link {
        display: block;
        position: relative;
        color: inherit;
      }

      .masonry-link img {
        width: 100%;
        height: auto;
        display: block;
        transition: transform 0.5s ease;
        object-fit: cover;
      }

      .masonry:not(.masonry--uniform) .masonry-item {
        overflow: hidden;
      }

      .masonry:not(.masonry--uniform) picture {
        display: block;
        width: 100%;
      }

      .masonry:not(.masonry--uniform) img {
        width: 100%;
        height: auto;
      }

      .gallery-image {
        cursor: zoom-in;
      }

      .masonry-item:hover .masonry-link img {
        transform: scale(1.03);
      }

      .masonry-caption {
        position: absolute;
        inset: auto 0 0 0;
        padding: 18px 18px 16px;
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
        gap: 12px;
        background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 100%);
      }

      .masonry-title {
        font-size: 0.72rem;
        letter-spacing: 0.2em;
        text-transform: uppercase;
        color: #f2f2f2;
        flex: 1 1 auto;
        min-width: 0;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
      }

      .masonry-cta {
        width: 36px;
        height: 36px;
        min-width: 36px;
        min-height: 36px;
        aspect-ratio: 1 / 1;
        border-radius: 50%;
        border: 1px solid rgba(255, 255, 255, 0.6);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 1rem;
        line-height: 1;
        color: #fff;
        background: rgba(0, 0, 0, 0.3);
        transition: transform 0.35s ease, background 0.35s ease;
        white-space: nowrap;
        flex: 0 0 36px;
      }

      .masonry-item:hover .masonry-cta {
        transform: translateX(4px);
        background: rgba(0, 0, 0, 0.5);
      }

      .services {
        display: grid;
        gap: 32px;
      }

      .service-card {
        padding: 28px;
        border-radius: 24px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        background: rgba(10, 10, 10, 0.7);
        box-shadow: var(--shadow-soft);
      }

      .service-card h3 {
        font-family: var(--font-display);
        font-size: 1.8rem;
      }

      .service-card ul {
        list-style: none;
        margin-top: 20px;
        font-size: 0.65rem;
        letter-spacing: 0.2em;
        text-transform: uppercase;
        color: var(--mist);
        display: grid;
        gap: 8px;
      }

      .trust-grid {
        display: grid;
        gap: 28px;
      }

      .logos {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        text-transform: uppercase;
        letter-spacing: 0.4em;
        font-size: 0.65rem;
        color: var(--mist);
      }

      .logo-item {
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 999px;
        padding: 18px;
        text-align: center;
      }

      .testimonial {
        padding: 32px;
        border-radius: 24px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        background: rgba(10, 10, 10, 0.7);
        box-shadow: var(--shadow-soft);
      }

      .testimonial h3 {
        font-family: var(--font-display);
        font-size: 1.8rem;
      }

      .testimonial-dots {
        display: flex;
        gap: 12px;
        margin-top: 24px;
      }

      .testimonial-dots button {
        width: 48px;
        height: 6px;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.2);
        transition: background 0.3s ease;
      }

      .testimonial-dots button.active {
        background: var(--paper);
      }

      .contact-grid {
        display: grid;
        gap: 32px;
        align-items: start;
      }

      .contact-card {
        padding: 32px;
        border-radius: 24px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        background: rgba(10, 10, 10, 0.7);
        box-shadow: var(--shadow-soft);
      }

      .bio-grid {
        display: grid;
        gap: 24px;
        margin-top: 40px;
      }

      .bio-card {
        padding: 28px;
        border-radius: 24px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        background: rgba(10, 10, 10, 0.7);
        box-shadow: var(--shadow-soft);
      }

      .bio-card h3 {
        font-family: var(--font-display);
        font-size: 1.6rem;
      }

      .contact-links {
        display: grid;
        gap: 16px;
        margin-top: 24px;
      }

      .contact-links a {
        display: flex;
        align-items: center;
        gap: 10px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        padding: 12px 18px;
        border-radius: 999px;
        transition: border-color 0.3s ease;
      }

      .contact-links a:hover {
        border-color: var(--paper);
      }

      .contact-icon {
        width: 18px;
        height: 18px;
        display: inline-flex;
        opacity: 0.7;
      }

      .contact-icon svg {
        width: 100%;
        height: 100%;
      }

      .contact-icon img {
        width: 100%;
        height: 100%;
        display: block;
      }

      .contact-icon i {
        font-size: 16px;
        line-height: 1;
      }

      .contact-photo {
        padding: 0;
        height: auto;
        display: flex;
        align-items: stretch;
        overflow: hidden;
      }

      .contact-photo picture {
        width: 100%;
        height: 100%;
        display: block;
      }

      .contact-photo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 16px;
        filter: none;
      }

      .lightbox {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.86);
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
        z-index: 100;
      }

      .lightbox.is-open {
        opacity: 1;
        pointer-events: auto;
      }

      .lightbox-content {
        position: relative;
        max-width: min(92vw, 1100px);
        max-height: 85vh;
      }

      .lightbox-content img {
        width: 100%;
        height: auto;
        max-height: 85vh;
        border-radius: 18px;
        display: block;
      }

      .lightbox-caption {
        margin-top: 12px;
        color: var(--mist);
        font-size: 0.75rem;
        letter-spacing: 0.2em;
        text-transform: uppercase;
        text-align: center;
      }

      .lightbox-btn {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 44px;
        height: 44px;
        border-radius: 50%;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        color: #fff;
      }

      .lightbox-btn.prev {
        left: 12px;
      }

      .lightbox-btn.next {
        right: 12px;
      }

      .lightbox-close {
        position: absolute;
        top: -54px;
        right: 0;
        border: 1px solid rgba(255, 255, 255, 0.4);
        border-radius: 999px;
        padding: 8px 14px;
        font-size: 0.65rem;
        letter-spacing: 0.2em;
        text-transform: uppercase;
        background: rgba(0, 0, 0, 0.5);
      }

      .case-slider {
        margin-top: 32px;
      }

      .case-slider-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
      }

      .case-slider-track {
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: minmax(220px, 320px);
        gap: 18px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        padding: 18px 0 8px;
        scrollbar-width: none;
        cursor: grab;
        touch-action: pan-y;
      }

      .case-slider-track::-webkit-scrollbar {
        display: none;
      }

      .case-slider-item {
        scroll-snap-align: start;
        border-radius: 18px;
        overflow: hidden;
        border: 1px solid rgba(255, 255, 255, 0.08);
        background: rgba(26, 26, 26, 0.5);
        position: relative;
      }

      .case-slider-item img {
        width: 100%;
        height: 100%;
        aspect-ratio: 4 / 3;
        object-fit: cover;
        display: block;
      }

      .case-slider-caption {
        position: absolute;
        inset: auto 0 0 0;
        padding: 12px 14px;
        font-size: 0.7rem;
        letter-spacing: 0.2em;
        text-transform: uppercase;
        color: #f3f3f3;
        background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.75) 100%);
      }

      .case-slider-actions {
        display: inline-flex;
        gap: 10px;
      }

      .case-slider-actions button {
        width: 38px;
        height: 38px;
        border-radius: 50%;
        border: 1px solid rgba(255, 255, 255, 0.4);
        display: inline-flex;
        align-items: center;
        justify-content: center;
      }

      .back-to-top {
        position: fixed;
        right: 24px;
        bottom: 24px;
        width: 46px;
        height: 46px;
        border-radius: 50%;
        border: 1px solid rgba(255, 255, 255, 0.4);
        background: rgba(0, 0, 0, 0.5);
        color: #fff;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease, transform 0.3s ease;
        z-index: 50;
      }

      .back-to-top.is-visible {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
      }

      .form label {
        display: block;
        font-size: 0.65rem;
        letter-spacing: 0.3em;
        text-transform: uppercase;
        color: var(--mist);
        margin-bottom: 16px;
      }

      .form input,
      .form textarea {
        width: 100%;
        margin-top: 8px;
        padding: 12px 14px;
        background: transparent;
        border: 1px solid rgba(255, 255, 255, 0.1);
        color: var(--paper);
        font-size: 0.9rem;
        transition: border-color 0.3s ease;
      }

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

      #about{padding-top: 0}

      .footer {
        border-top: 1px solid rgba(255, 255, 255, 0.05);
        padding: 32px 0;
        font-size: 0.65rem;
        letter-spacing: 0.25em;
        text-transform: uppercase;
        color: var(--mist);
      }

      .footer-inner {
        display: flex;
        flex-direction: column;
        gap: 16px;
      }

      .footer-links {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
      }

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

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

      @media (min-width: 640px) {
        .masonry {
          columns: 2;
        }

        .masonry.masonry--uniform {
          grid-template-columns: repeat(2, minmax(0, 1fr));
        }

        .masonry.masonry--full {
          columns: 3 !important;
          column-gap: 22px;
          display: block !important;
        }

      }

      @media (min-width: 900px) {
        .masonry {
          columns: 3;
        }

        .masonry.masonry--uniform {
          grid-template-columns: repeat(3, minmax(0, 1fr));
        }

        .masonry.masonry--full {
          columns: 4 !important;
          column-gap: 22px;
          display: block !important;
        }

      }

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

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

        .trust-grid {
          grid-template-columns: 0.9fr 1.1fr;
          align-items: center;
        }

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

        .contact-grid {
          grid-template-columns: 1.1fr 0.9fr;
        }

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

        .footer-inner {
          flex-direction: row;
          justify-content: space-between;
          align-items: center;
        }
      }

      @media (min-width: 1100px) {
        .masonry {
          columns: 4;
        }

        .masonry.masonry--uniform {
          grid-template-columns: repeat(4, minmax(0, 1fr));
        }

        .masonry.masonry--full {
          columns: 5 !important;
          column-gap: 22px;
          display: block !important;
        }

      }
      @media (min-width: 1400px) {
        .masonry.masonry--full {
          columns: 6 !important;
          column-gap: 22px;
          display: block !important;
        }

      }

      @media (max-width: 700px) {
         .hero {
          padding: 0 0 8px;
        }

        .hero .container {
          width: 100%;
        }

         .hero-shell {
          min-height: 36vh;
          border-radius: 0;
          box-shadow: none;
        }

         .hero-content {
          padding: 20px 32px 48px;
        }

          .hero-media-mobile picture, .hero-media-mobile img{margin-bottom: 30px;}

        .hero-media {
          display: none;
        }

        .hero-media-mobile {
          display: block;
        }

        .filter {
          width: 100%;
          justify-content: center;
          border-radius: 18px;
        }

        .filter [data-filter-btn] {
          flex: 1 1 calc(50% - 8px);
          font-size: 0.6rem;
          padding: 8px 12px;
        }

        .gallery-full {
          padding: 0 16px 8px;
        }

        .contact-photo img {
          aspect-ratio: 4 / 5;
        }

        .lightbox-btn.prev,
        .lightbox-btn.next {
          display: inline-flex;
        }
      }

      .nav-dropdown {
        position: relative;
        display: inline-flex;
        align-items: center;
      }

      .nav-link {
        color: var(--mist);
        transition: color 0.3s ease;
      }

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

      .nav-caret {
        display: inline-block;
        margin-left: 6px;
        font-size: 0.8em;
        opacity: 0.7;
      }

      .nav-dropdown-menu {
        position: absolute;
        top: 100%;
        margin-top: 8px;
        left: 0;
        display: grid;
        gap: 8px;
        min-width: 220px;
        padding: 12px;
        border-radius: 16px;
        border: 1px solid rgba(255, 255, 255, 0.12);
        background: rgba(10, 10, 10, 0.98);
        box-shadow: var(--shadow-soft);
        z-index: 20;
        opacity: 0;
        transform: translateY(6px);
        pointer-events: none;
        transition: opacity 0.25s ease, transform 0.25s ease;
      }

      .nav-dropdown-menu::before {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        top: -12px;
        height: 12px;
        pointer-events: auto;
      }

      .nav-dropdown-menu a {
        font-size: 0.7rem;
        letter-spacing: 0.18em;
        text-transform: uppercase;
        color: var(--mist);
        padding: 8px 10px;
        border-radius: 10px;
        transition: color 0.3s ease, background 0.3s ease;
      }

      .nav-dropdown-menu a:hover {
        color: var(--paper);
        background: rgba(255, 255, 255, 0.05);
      }

      .nav-dropdown:hover .nav-dropdown-menu,
      .nav-dropdown:focus-within .nav-dropdown-menu,
      .nav-dropdown.is-open .nav-dropdown-menu {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
      }

      @media (max-width: 900px) {
        .nav-toggle {
          display: inline-flex;
        }

        .nav-inner {
          position: relative;
        }

        .nav-links {
          position: absolute;
          top: calc(100% + 1px);
          left: 0;
          right: 0;
          display: none;
          flex-direction: column;
          gap: 14px;
          padding: 16px 0 18px;
          background: rgba(10, 10, 10, 0.98);
          border-bottom: 1px solid rgba(255, 255, 255, 0.06);
          text-align: center;
        }

        body.nav-open .nav-links {
          display: flex;
        }

        .nav-dropdown {
          width: 100%;
          display: flex;
          justify-content: center;
          align-self: center;
          position: relative;
        }

        .nav-links a {
          padding: 6px 0;
        }

        .nav-dropdown-menu {
          position: absolute;
          left: 50%;
          top: calc(100% + 10px);
          transform: translateX(-50%);
          right: auto;
          min-width: 220px;
          max-width: 220px;
          margin-top: 0;
          display: none;
          text-align: center;
          justify-items: center;
        }

        .nav-dropdown.is-open .nav-dropdown-menu {
          display: grid;
        }
      }
