    html {
      height: 100%;
    }

    ::selection {
      background-color: #c17a4f;
      color: #ffffff;
    }

    ::-moz-selection {
      background-color: #c17a4f;
      color: #ffffff;
    }

    body {
      overflow-y: auto;
      font-size: 1rem;
      scrollbar-gutter: stable both-edges;
      height: 100%;
      color: #0d0c22;
      font-family: "Google Sans Flex", sans-serif;
      -webkit-font-smoothing: antialiased;
      background-color: #f2e8e2;
      background-image: url(bg.png);
      background-repeat: no-repeat;
      background-position: top right;
      background-size: 25% auto;
      overflow-x: hidden;
      scrollbar-color: transparent transparent;
      scrollbar-width: thin;
      --scrollbar-background: var(--styled-scrollbar-background, var(--shreddit-content-background));
    }

    body.drawer-open {
      overflow: hidden;
    }

    h4 {
      line-height: 2rem;
    }

    .main-container {
      height: 100%;
      display: flex;
      flex-direction: column;
    }

    .container {
      @media (min-width: 1080px) {
        max-width: 1080px;
      }
    }

    .link {
      font-size: 0.9rem;
      font-weight: 500;
      color: #555;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      gap: 0.25rem;
      background: rgba(255, 255, 255, 0.55);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      border: 1px solid rgba(255, 255, 255, 0.85);
      border-radius: var(--bs-border-radius-pill);
      padding: 0.35rem 0.9rem;
      transition:
        color 0.15s,
        background 0.15s;
    }

    .link:hover {
      background: rgba(255, 255, 255, 0.85);
      color: #111;
    }

    .nav-pill {
      background: rgba(255, 255, 255, 0.55);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      border: 1px solid rgba(255, 255, 255, 0.85);
      border-radius: var(--bs-border-radius-pill);
      padding: 0.35rem 0.4rem;
      display: flex;
      align-items: center;
      position: relative;
    }

    .nav-pill-slider {
      position: absolute;
      top: 0.35rem;
      height: calc(100% - 0.7rem);
      background: #fff;
      border-radius: var(--bs-border-radius-pill);
      box-shadow: 0 1px 4px rgba(0, 0, 0, 0.09);
      transition:
        left 0.25s cubic-bezier(0.4, 0, 0.2, 1),
        width 0.25s cubic-bezier(0.4, 0, 0.2, 1);
      pointer-events: none;
    }

    .nav-pill button {
      background: none;
      border: none;
      font-family: inherit;
      font-size: 0.875rem;
      color: #666;
      padding: 0.35rem 1.1rem;
      border-radius: var(--bs-border-radius-pill);
      cursor: pointer;
      position: relative;
      z-index: 1;
      transition: color 0.2s;
    }

    .nav-pill button:hover {
      color: #111;
    }

    .nav-pill button.active {
      color: #111;
      font-weight: 500;
    }

    .tab-panel {
      display: none;
    }

    .tab-panel.active {
      display: block;
    }

    .w-lg-75 {
      max-width: 100%;

      @media (min-width: 768px) {
        max-width: 75%;
      }
    }

    .cases-grid {
      grid-template-columns: 1fr;
    }

    @media (min-width: 768px) {
      .cases-grid {
        grid-template-columns: 1fr 1fr;
      }
    }

    @keyframes fade-n {
      0% {
        opacity: 0;
        transform: translateY(24px);
      }

      100% {
        opacity: 1;
        transform: none;
      }
    }

    .case-card {

      text-decoration: none;
      color: inherit;
      background: rgba(250, 249, 247, 1);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      border: 1px solid rgba(255, 255, 255, 0.9);
      border-radius: 2rem;
      overflow: hidden;
      box-shadow: rgba(0, 0, 0, 0.04) 0px 1px 3px 0px, rgba(0, 0, 0, 0.04) 0px 1px 2px 0px, rgba(255, 255, 255, 0.9) 0px 1px 0px 0px inset, rgba(0, 0, 0, 0.04) 0px -1px 0px 0px;
      transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;

      p {
        line-height: 1.5rem;
        font-size: 1rem;
      }
    }

    .case-thumb-btn {
      opacity: 0;
      pointer-events: none;
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      transition: opacity 0.2s ease;
    }

    #tab-work .case-card:hover {
      transform: translateY(-3px);
      box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);

      .case-thumb-btn {
        opacity: 1;
        pointer-events: auto;
      }
    }

    .case-thumb {
      aspect-ratio: 4 / 3;
      overflow: hidden;
    }

    .case-thumb svg {
      opacity: 0.75;
    }

    .thumb-1 {
      background-color: #e8edf5;
    }

    .thumb-2 {
      background-color: #f5ede8;
    }

    .thumb-3 {
      background-color: #e8f5ee;
    }

    .thumb-4 {
      background-color: #f0ecf8;
    }

    .thumb-5 {
      background-color: #f8f3e8;
    }

    .thumb-6 {
      background-color: #e8f5f4;
    }

    .icon-btn svg {
      width: 24px;
      height: 24px;
      overflow: visible;
    }

    .env-rect {
      fill: none;
      stroke: #212529;
      stroke-width: 1.5;
      stroke-linecap: round;
      transition: stroke 0.2s ease;
    }

    .env-flap {
      fill: none;
      stroke: #212529;
      stroke-width: 1.5;
      stroke-linecap: round;
      stroke-linejoin: round;
      transform-origin: 12px 12px;
      transition: stroke 0.2s ease, transform 0.32s cubic-bezier(0.34, 1.5, 0.64, 1);
    }

    .icon-btn:hover .env-rect {
      stroke: #000;
    }

    .icon-btn:hover .env-flap {
      stroke: #000;
      transform: translateY(-3px) scaleY(-1);
    }

    /* ── CASE DRAWER (CLEAN + iOS SPRING) ── */

    .case-drawer-backdrop {
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, 0);
      z-index: 1040;
      pointer-events: none;
      transition: background 0.35s ease;
    }

    .case-drawer-backdrop.open {
      background: rgba(0, 0, 0, 0.75);
      pointer-events: auto;

    }

    .badge {
      font-size: .825rem;
    }

    .badge-blue {
      background-color: #e8edf5;
      color: #6b7a99;
    }

    .badge-orange {
      background-color: #f5ede8;
      color: #996b55;
    }

    .badge-green {
      background-color: #e8f5ee;
      color: #4a9168;
    }

    .badge-purple {
      background-color: #f0ecf8;
      color: #7a6a99;
    }

    .badge-yellow {
      background-color: #f8f3e8;
      color: #99824a;
    }

    .badge-teal {
      background-color: #e8f5f4;
      color: #4a9190;
    }

    /* Drawer */
    .case-drawer {
      position: fixed;
      left: 0;
      right: 0;
      bottom: 0;
      top: auto;
      width: 100%;
      height: 100dvh;
      background: #fff;
      z-index: 1050;
      display: flex;
      flex-direction: column;
      overflow-y: auto;
      overflow-x: hidden;
      border-top: 1px solid rgba(0, 0, 0, 0.06);
      box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.1);
      transform: translateY(100%);
      transition: transform 0.45s cubic-bezier(0.25, 0.96, 0.5, 1);
      will-change: transform;
      border-top-left-radius: 1rem;
      border-top-right-radius: 1rem;

      @media (min-width: 720px) {
        height: 98dvh;
      }
    }

    .case-drawer p {
      margin-bottom: 1.5rem;
    }

    .case-drawer.open {
      transform: translateY(0);
    }

    .drawer-topbar {
      position: sticky;
      top: 0;
      z-index: 10;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 1.5rem;
    }

    /* Close button */
    .drawer-close-btn {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 36px;
      height: 36px;
      border-radius: 50%;
      border: 1px solid rgba(0, 0, 0, 0.1);
      background: rgba(255, 255, 255, 0.8);
      cursor: pointer;
      color: #333;
      transition: background 0.15s, color 0.15s;
    }

    .drawer-close-btn:hover {
      background: #fff;
      color: #000;
    }



    section {
      margin-top: 1.5rem;
      margin-bottom: 1.5rem;

      @media (min-width: 720px) {
        margin-top: 3rem;
        margin-bottom: 3rem;
      }

      p,
      li {

        line-height: 1.7;
        font-size: 1.1rem;
        font-weight: 400;

      }

      p:last-child {
        margin-bottom: 0;
      }

    }

    .drawer-content {
      padding: 0 .75rem;

      @media (min-width: 720px) {
        padding: 0;
      }

      img {
        width: 100%;
        margin-top: 2rem;
        margin-bottom: 2rem;
        background: #f2f2f2;
        display: block;
        border-radius: 2rem;
        overflow: hidden;

      }
    }



    /* Content */
    #drawerBody {
      flex: 1;
      width: 100%;
      max-width: 840px;
      margin: 0 auto;

      @media (min-width: 720px) {
        padding: 0 3.5rem 4rem;
      }

    }

    .drawer-content li {
      margin-bottom: 1rem;
    }

    .card-summary-label {
      display: block;
      text-transform: uppercase;
      font-size: 0.8rem;
      font-weight: 600;
      letter-spacing: 0.06em;
      color: var(--bs-secondary-color, #6c757d);

    }

    .card-summary-value {
      color: var(--bs-body-color, #212529);
    }

    .about {
      max-width: 680px;
    }

    .about-card {
      padding: 2rem;
    }


    