:root {
      --plum-header: #38133A;
      --plum-ink: #260D28;
      --stone-page: #EAE7E0;
      --stone-card: #FAF9F6;
      --stone-well: #F1EFEA;
      --border-hairline: #DDD9CF;
      --ink-primary: #181619;
      --ink-secondary: #57535A;
      --accent-pink: #FFB3D6;
      --accent-pink-hover: #FFA0CC;
    }

    html,
    body {
      max-width: 100%;
      overflow-x: clip;
    }

    body {
      background-color: var(--stone-page);
      color: var(--ink-primary);
      font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
    }

    /* Asymmetric Signature Pill Button (Top-Left Sharp 4px, Others 999px) */
    .btn-asymmetric {
      border-radius: 4px 999px 999px 999px;
      background-color: var(--accent-pink);
      color: var(--plum-ink);
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.55),
        0 4px 12px -2px rgba(56, 19, 58, 0.16);
      transition: background-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
    }
    .btn-asymmetric:hover {
      background-color: var(--accent-pink-hover);
      transform: translateY(-1px);
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.65),
        0 8px 20px -4px rgba(56, 19, 58, 0.24);
    }
    .btn-asymmetric:active {
      transform: translateY(0) scale(0.985);
    }

    /* Animated Slide Underline for Header & Footer Links */
    .nav-link-slide {
      position: relative;
      padding-bottom: 2px;
    }
    .nav-link-slide::after {
      content: "";
      position: absolute;
      left: 0;
      bottom: -2px;
      width: 100%;
      height: 1.5px;
      background-color: currentColor;
      transform: scaleX(0);
      transform-origin: right center;
      transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
    }
    .nav-link-slide:hover::after,
    .nav-link-slide:focus-visible::after {
      transform: scaleX(1);
      transform-origin: left center;
    }

    /* ---------------------------------------------------------
       3D Isometric Rotating & Drifting Floor Grid Background
       --------------------------------------------------------- */
    .iso-floor-viewport {
      position: absolute;
      inset: 0;
      overflow: hidden;
      pointer-events: none;
      z-index: 0;
      -webkit-mask-image: radial-gradient(ellipse 68% 66% at 50% 52%, rgba(0, 0, 0, 1) 20%, rgba(0, 0, 0, 0.45) 56%, transparent 82%);
      mask-image: radial-gradient(ellipse 68% 66% at 50% 52%, rgba(0, 0, 0, 1) 20%, rgba(0, 0, 0, 0.45) 56%, transparent 82%);
    }

    .iso-floor-perspective {
      position: absolute;
      left: 50%;
      top: 50%;
      width: 2200px;
      height: 2200px;
      transform: translate(-50%, -44%) perspective(750px) rotateX(60deg);
      transform-style: preserve-3d;
    }

    @keyframes isoSpinAndDrift {
      0% {
        transform: rotateZ(45deg) scale(1);
        background-position: 0px 0px, 0px 0px;
      }
      50% {
        transform: rotateZ(52deg) scale(1.03);
        background-position: 60px 60px, 60px 60px;
      }
      100% {
        transform: rotateZ(45deg) scale(1);
        background-position: 120px 120px, 120px 120px;
      }
    }

    .iso-floor-plane {
      width: 100%;
      height: 100%;
      background-image:
        linear-gradient(to right, rgba(56, 19, 58, 0.075) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(56, 19, 58, 0.075) 1px, transparent 1px);
      background-size: 60px 60px;
      will-change: transform, background-position;
      animation: isoSpinAndDrift 34s ease-in-out infinite;
    }

    /* Subtle warm studio highlight above floor */
    .hero-ambient-glow {
      position: absolute;
      inset: 0;
      pointer-events: none;
      z-index: 0;
      background:
        radial-gradient(ellipse 62% 48% at 50% 34%, rgba(255, 255, 255, 0.72) 0%, transparent 72%),
        radial-gradient(circle at 50% 50%, rgba(255, 179, 214, 0.16) 0%, transparent 58%);
    }

    /* ---------------------------------------------------------
       3D Stage & Tactile Dropzone Card (1920x1080 Calibrated)
       --------------------------------------------------------- */
    .hero-1080p {
      min-height: calc(100vh - 64px);
    }

    .stage-3d {
      perspective: 1400px;
    }

    .dropzone-3d {
      background-color: var(--stone-card);
      border-color: #DCD8CE;
      transform-style: preserve-3d;
      transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1),
                  box-shadow 0.26s cubic-bezier(0.22, 1, 0.36, 1),
                  border-color 0.2s ease;
      box-shadow:
        0 1px 0 0 rgba(255, 255, 255, 0.95) inset,
        0 14px 28px -8px rgba(24, 22, 25, 0.08),
        0 38px 72px -18px rgba(56, 19, 58, 0.14);
      will-change: transform;
    }

    .dropzone-3d:hover {
      border-color: #E3A7C2;
      box-shadow:
        0 1px 0 0 rgba(255, 255, 255, 1) inset,
        0 18px 36px -8px rgba(24, 22, 25, 0.1),
        0 44px 80px -18px rgba(201, 91, 139, 0.2);
    }

    .dropzone-pulse {
      animation: dropPulse 0.65s cubic-bezier(0.22, 1, 0.36, 1);
    }

    @keyframes dropPulse {
      0% {
        box-shadow: 0 0 0 0 rgba(255, 179, 214, 0.7);
      }
      70% {
        box-shadow: 0 0 0 14px rgba(255, 179, 214, 0);
      }
      100% {
        box-shadow:
          0 1px 0 0 rgba(255, 255, 255, 0.95) inset,
          0 14px 28px -8px rgba(24, 22, 25, 0.08),
          0 38px 72px -18px rgba(56, 19, 58, 0.14);
      }
    }

    .dropzone-well-active {
      border-style: solid !important;
      border-color: #38133A !important;
      background-color: #FDF2F7 !important;
    }

    /* Clean White Squircle Upload Icon Tile */
    .tile-3d {
      background: #FFFFFF;
      border: 1px solid #E2DFD7;
      border-radius: 14px;
      box-shadow:
        0 6px 14px -3px rgba(24, 22, 25, 0.07),
        0 1px 2px rgba(24, 22, 25, 0.04);
      transform: translateZ(24px);
      transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s ease;
    }

    .dropzone-3d:hover .tile-3d {
      transform: translateZ(34px) translateY(-2px);
      box-shadow:
        0 12px 22px -4px rgba(56, 19, 58, 0.14),
        0 2px 4px rgba(24, 22, 25, 0.05);
    }

    /* Smooth Accordion Transition */
    .accordion-content {
      display: grid;
      grid-template-rows: 0fr;
      transition: grid-template-rows 0.26s cubic-bezier(0.22, 1, 0.36, 1);
    }
    .accordion-content.open {
      grid-template-rows: 1fr;
    }
    .accordion-inner {
      overflow: hidden;
    }

    /* Checkerboard Preview for Transparent PNGs */
    .checkerboard {
      background-color: #ffffff;
      background-image:
        linear-gradient(45deg, #eae7e0 25%, transparent 25%),
        linear-gradient(-45deg, #eae7e0 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #eae7e0 75%),
        linear-gradient(-45deg, transparent 75%, #eae7e0 75%);
      background-size: 10px 10px;
      background-position: 0 0, 0 5px, 5px -5px, -5px 0;
    }

    @media (prefers-reduced-motion: reduce) {
      .iso-floor-plane {
        animation: none;
        transform: rotateZ(45deg);
      }
    }
