      main {
        display: grid;
        grid-template-columns: 460px minmax(0, 648px);
        column-gap: clamp(48px, calc(100vw - 1300px), 140px);
        align-items: start;
        width: 100%;
        max-width: 1440px;
        margin: 0 auto;
        padding: 48px 96px;
      }
      .projects { display: grid; gap: 32px; min-width: 0; }
      .project-frame {
        position: relative;
        margin: 0;
        aspect-ratio: 4 / 3;
        overflow: hidden;
        border: 1px solid rgb(0 0 0 / 8%);
        background: #000000;
      }
      .project-frame.square-video { aspect-ratio: 1; }
      .project-frame.hug-video, .project-frame.slap-video { aspect-ratio: 2304 / 1600; }
      .project-frame.nearby-video { aspect-ratio: 2304 / 1416; }
      .project-frame.stem-video { aspect-ratio: 2700 / 1774; }
      .project-frame.vinyl-video { aspect-ratio: 5 / 4; border: 0; background: #000000; }
      /* Cover fractional video-layer gaps on touch screens without changing desktop sizing. */
      @media (hover: none) and (pointer: coarse) {
        .project-frame.vinyl-video > video {
          position: absolute;
          inset: -1px;
          width: calc(100% + 2px);
          height: calc(100% + 2px);
          object-fit: cover;
        }
      }
      .project-frame.page-background { background: var(--page); }
      .project-frame img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: center;
      }
      .page-background img { object-fit: cover; }
      .project-frame video {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: contain;
      }
      .js .project-frame video:not([data-controls-visible])::-webkit-media-controls { display: none !important; }
      .project-frame.portrait-video {
        aspect-ratio: auto;
        height: 580px;
        border: 0;
        background: transparent;
      }
      .portrait-video video {
        position: absolute;
        inset: 0;
        object-fit: cover;
        object-position: center 55%;
      }
      @media (max-width: 1100px) {
        main { grid-template-columns: 1fr; gap: 48px; padding: 48px var(--gutter); }
        .project-frame { width: 100%; max-width: 648px; }
      }
      .profile { width: 100%; max-width: var(--measure); }
      @media (min-width: 1101px) {
        .profile {
          position: fixed;
          top: 48px;
          left: calc(96px + max(0px, (100vw - 1440px) / 2));
          width: 460px;
          max-height: calc(100svh - 96px);
          overflow-y: auto;
          display: flex;
          flex-direction: column;
        }
        .projects { grid-column: 2; }
        .profile .contact { margin-top: 144px; }
      }
      .uzum-yard { position: relative; isolation: isolate; margin-top: clamp(135px, 22.5svh, 240px); height: clamp(440px, 65svh, 620px); min-height: calc(100svh - clamp(135px, 22.5svh, 240px)); overflow: hidden; }
      .uzum-yard .grass-scene { position: absolute; }
      .uzum-yard uzum-pet[floating] { position: absolute; left: calc(50% - var(--uzum-size) / 2); bottom: max(32px, env(safe-area-inset-bottom)); z-index: 2; }
      @media (max-width: 479px) { main { padding-top: 40px; } }
      @media print { .uzum-yard { display: none; } }
